/openbmc/linux/drivers/net/can/dev/ |
H A D | calc_bittiming.c | 31 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 D | bittiming.c | 106 bt->sample_point = ((CAN_SYNC_SEG + tseg1) * 1000) / can_bit_time(bt); in can_fixup_bittiming()
|
H A D | netlink.c | 43 if (bt->sample_point >= 1000) { in can_validate_bittiming()
|
/openbmc/u-boot/drivers/serial/ |
H A D | serial_mtk.c | 31 u32 sample_point; member 115 writel((tmp - 2) >> 1, &priv->regs->sample_point); in _mtk_serial_setbrg() 118 writel(0xff, &priv->regs->sample_point); in _mtk_serial_setbrg() 123 writel((samplecount - 2) >> 1, &priv->regs->sample_point); in _mtk_serial_setbrg()
|
/openbmc/linux/include/uapi/linux/can/ |
H A D | netlink.h | 33 __u32 sample_point; /* Sample point in one-tenth of a percent */ member
|
/openbmc/linux/drivers/net/can/usb/etas_es58x/ |
H A D | es581_4.h | 66 __le32 sample_point; member
|
H A D | es581_4.c | 401 tx_conf_msg.sample_point = cpu_to_le32(bt->sample_point / 10U); in es581_4_set_bittiming()
|
/openbmc/linux/drivers/staging/rts5208/ |
H A D | sd.c | 824 __func__, sample_point, tune_dir); 842 sample_point); 872 sample_point); 883 sample_point); 902 if ((val & DCMPS_CURRENT_PHASE) != sample_point) 1431 retval = sd_change_phase(chip, sample_point, TUNE_RX); 1459 retval = sd_change_phase(chip, sample_point, TUNE_RX); 1501 retval = sd_change_phase(chip, sample_point, TUNE_RX); 1530 retval = sd_change_phase(chip, sample_point, TUNE_TX); 1563 retval = sd_change_phase(chip, sample_point, TUNE_TX); [all …]
|
/openbmc/linux/drivers/mmc/host/ |
H A D | rtsx_usb_sdmmc.c | 579 static int sd_change_phase(struct rtsx_usb_sdmmc *host, u8 sample_point, int tx) in sd_change_phase() argument 584 __func__, tx ? "TX" : "RX", sample_point); in sd_change_phase() 592 0x0F, sample_point); in sd_change_phase() 595 0x0F, sample_point); in sd_change_phase() 665 u8 opcode, u8 sample_point) in sd_tuning_rx_cmd() argument 670 err = sd_change_phase(host, sample_point, 0); in sd_tuning_rx_cmd()
|
H A D | rtsx_pci_sdmmc.c | 616 u8 sample_point, bool rx) in sd_change_phase() argument 621 __func__, rx ? "RX" : "TX", sample_point); in sd_change_phase() 627 PHASE_SELECT_MASK, sample_point); in sd_change_phase() 631 PHASE_SELECT_MASK, sample_point); in sd_change_phase() 701 u8 opcode, u8 sample_point) in sd_tuning_rx_cmd() argument 707 sd_change_phase(host, sample_point, true); in sd_tuning_rx_cmd()
|
/openbmc/linux/drivers/net/can/usb/ |
H A D | ucan.c | 143 __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()
|
/openbmc/linux/drivers/net/can/ctucanfd/ |
H A D | ctucanfd_base.c | 305 ssp_offset = (priv->can.clock.freq / 1000) * dbt->sample_point / dbt->bitrate; in ctucan_set_secondary_sample_point()
|
/openbmc/linux/drivers/net/can/m_can/ |
H A D | m_can.c | 1236 ssp = dbt->sample_point; in m_can_set_bittiming()
|
/openbmc/linux/Documentation/networking/ |
H A D | can.rst | 1277 bitrate 125000 sample_point 0.875
|