Searched refs:sample_point (Results 1 – 8 of 8) sorted by relevance
/Linux-v4.19/drivers/net/can/ |
D | dev.c | 95 unsigned int sample_point, best_sample_point = 0; in can_update_sample_point() local 108 sample_point = 1000 * (tseg + CAN_CALC_SYNC_SEG - tseg2) / (tseg + CAN_CALC_SYNC_SEG); in can_update_sample_point() 109 sample_point_error = abs(sample_point_nominal - sample_point); in can_update_sample_point() 111 if ((sample_point <= sample_point_nominal) && (sample_point_error < best_sample_point_error)) { in can_update_sample_point() 112 best_sample_point = sample_point; in can_update_sample_point() 141 if (bt->sample_point) { in can_calc_bittiming() 142 sample_point_nominal = bt->sample_point; in can_calc_bittiming() 205 bt->sample_point = can_update_sample_point(btc, sample_point_nominal, best_tseg, in can_calc_bittiming() 278 bt->sample_point = ((tseg1 + 1) * 1000) / alltseg; in can_fixup_bittiming()
|
/Linux-v4.19/include/uapi/linux/can/ |
D | netlink.h | 33 __u32 sample_point; /* Sample point in one-tenth of a percent */ member
|
/Linux-v4.19/drivers/staging/rts5208/ |
D | sd.c | 856 static int sd_change_phase(struct rtsx_chip *chip, u8 sample_point, u8 tune_dir) argument 865 __func__, sample_point, tune_dir); 884 sample_point); 919 sample_point); 932 sample_point); 954 if ((val & DCMPS_CURRENT_PHASE) != sample_point) { 1497 static int sd_sdr_tuning_rx_cmd(struct rtsx_chip *chip, u8 sample_point) argument 1502 retval = sd_change_phase(chip, sample_point, TUNE_RX); 1525 static int sd_ddr_tuning_rx_cmd(struct rtsx_chip *chip, u8 sample_point) argument 1531 retval = sd_change_phase(chip, sample_point, TUNE_RX); [all …]
|
/Linux-v4.19/drivers/mmc/host/ |
D | rtsx_usb_sdmmc.c | 589 static int sd_change_phase(struct rtsx_usb_sdmmc *host, u8 sample_point, int tx) in sd_change_phase() argument 595 __func__, tx ? "TX" : "RX", sample_point); in sd_change_phase() 603 0x0F, sample_point); in sd_change_phase() 606 0x0F, sample_point); in sd_change_phase() 681 u8 opcode, u8 sample_point) in sd_tuning_rx_cmd() argument 686 err = sd_change_phase(host, sample_point, 0); in sd_tuning_rx_cmd()
|
D | rtsx_pci_sdmmc.c | 618 u8 sample_point, bool rx) in sd_change_phase() argument 623 __func__, rx ? "RX" : "TX", sample_point); in sd_change_phase() 628 PHASE_SELECT_MASK, sample_point); in sd_change_phase() 631 PHASE_SELECT_MASK, sample_point); in sd_change_phase() 700 u8 opcode, u8 sample_point) in sd_tuning_rx_cmd() argument 706 sd_change_phase(host, sample_point, true); in sd_tuning_rx_cmd()
|
/Linux-v4.19/drivers/net/can/usb/ |
D | ucan.c | 146 __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-v4.19/drivers/net/can/m_can/ |
D | m_can.c | 1011 ssp = dbt->sample_point; in m_can_set_bittiming()
|
/Linux-v4.19/Documentation/networking/ |
D | can.rst | 1206 bitrate 125000 sample_point 0.875
|