Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/can/dev/
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()
81 if (bt->sample_point) { in can_calc_bittiming()
82 sample_point_nominal = bt->sample_point; in can_calc_bittiming()
146 bt->sample_point = can_update_sample_point(btc, sample_point_nominal, in can_calc_bittiming()
Dbittiming.c43 bt->sample_point = ((tseg1 + 1) * 1000) / alltseg; in can_fixup_bittiming()
/linux-6.1.9/include/uapi/linux/can/
Dnetlink.h33 __u32 sample_point; /* Sample point in one-tenth of a percent */ member
/linux-6.1.9/drivers/staging/rts5208/
Dsd.c815 static int sd_change_phase(struct rtsx_chip *chip, u8 sample_point, u8 tune_dir) argument
824 __func__, sample_point, tune_dir);
842 sample_point);
872 sample_point);
883 sample_point);
902 if ((val & DCMPS_CURRENT_PHASE) != sample_point)
1426 static int sd_sdr_tuning_rx_cmd(struct rtsx_chip *chip, u8 sample_point) argument
1431 retval = sd_change_phase(chip, sample_point, TUNE_RX);
1453 static int sd_ddr_tuning_rx_cmd(struct rtsx_chip *chip, u8 sample_point) argument
1459 retval = sd_change_phase(chip, sample_point, TUNE_RX);
[all …]
/linux-6.1.9/drivers/net/can/usb/etas_es58x/
Des581_4.h66 __le32 sample_point; member
Des581_4.c401 tx_conf_msg.sample_point = cpu_to_le32(bt->sample_point / 10U); in es581_4_set_bittiming()
/linux-6.1.9/drivers/mmc/host/
Drtsx_usb_sdmmc.c579 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()
Drtsx_pci_sdmmc.c616 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()
/linux-6.1.9/drivers/net/can/usb/
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-6.1.9/drivers/net/can/ctucanfd/
Dctucanfd_base.c305 ssp_offset = (priv->can.clock.freq / 1000) * dbt->sample_point / dbt->bitrate; in ctucan_set_secondary_sample_point()
/linux-6.1.9/drivers/net/can/m_can/
Dm_can.c1195 ssp = dbt->sample_point; in m_can_set_bittiming()
/linux-6.1.9/Documentation/networking/
Dcan.rst1244 bitrate 125000 sample_point 0.875