Home
last modified time | relevance | path

Searched refs:sample_point (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/net/can/dev/
H A Dcalc_bittiming.c31 unsigned int sample_point, best_sample_point = 0; in can_update_sample_point() local
46 sample_point = 1000 * (tseg + CAN_SYNC_SEG - tseg2) / in can_update_sample_point()
48 sample_point_error = abs(sample_point_nominal - sample_point); in can_update_sample_point()
50 if (sample_point <= sample_point_nominal && in can_update_sample_point()
52 best_sample_point = sample_point; in can_update_sample_point()
82 if (bt->sample_point) { in can_calc_bittiming()
83 sample_point_nominal = bt->sample_point; in can_calc_bittiming()
148 bt->sample_point = can_update_sample_point(btc, sample_point_nominal, in can_calc_bittiming()
H A Dbittiming.c106 bt->sample_point = ((CAN_SYNC_SEG + tseg1) * 1000) / can_bit_time(bt); in can_fixup_bittiming()
H A Dnetlink.c43 if (bt->sample_point >= 1000) { in can_validate_bittiming()
/linux/include/uapi/linux/can/
H A Dnetlink.h33 __u32 sample_point; /* Sample point in one-tenth of a percent */ member
/linux/drivers/net/can/usb/etas_es58x/
H A Des581_4.h66 __le32 sample_point; member
H A Des581_4.c401 tx_conf_msg.sample_point = cpu_to_le32(bt->sample_point / 10U); in es581_4_set_bittiming()
/linux/drivers/net/can/usb/
H A Ducan.c143 __le16 sample_point; /* Samplepoint on tenth percent */ member
1255 cmd_set_bittiming->sample_point = in ucan_set_bittiming()
1256 cpu_to_le16(up->can.bittiming.sample_point); in ucan_set_bittiming()
/linux/drivers/net/can/ctucanfd/
H A Dctucanfd_base.c305 ssp_offset = (priv->can.clock.freq / 1000) * dbt->sample_point / dbt->bitrate; in ctucan_set_secondary_sample_point()
/linux/drivers/net/can/m_can/
H A Dm_can.c1406 ssp = dbt->sample_point; in m_can_set_bittiming()
/linux/Documentation/networking/
H A Dcan.rst1279 bitrate 125000 sample_point 0.875