| /linux-6.15/drivers/net/can/rockchip/ |
| H A D | rockchip_canfd-timestamp.c | 80 priv->can.clock.freq % MEGA / KILO / 10, in rkcanfd_timestamp_init() 82 bitrate % MEGA / KILO / 100, in rkcanfd_timestamp_init() 85 rate % MEGA / KILO / 10, in rkcanfd_timestamp_init()
|
| /linux-6.15/include/linux/ |
| H A D | units.h | 13 #define KILO 1000UL macro 38 #define BYTES_PER_KBIT (KILO / BITS_PER_BYTE)
|
| /linux-6.15/drivers/thermal/ |
| H A D | loongson2_thermal.c | 80 *temp = ((val & LOONGSON2_THSENS_OUT_MASK) - HECTO) * KILO; in loongson2_2k1000_get_temp() 91 *temp = ((val & 0xffff) * 820 / 0x4000 - 311) * KILO; in loongson2_2k2000_get_temp()
|
| /linux-6.15/drivers/net/can/dev/ |
| H A D | calc_bittiming.c | 85 if (bt->bitrate > 800 * KILO /* BPS */) in can_calc_bittiming() 87 else if (bt->bitrate > 500 * KILO /* BPS */) in can_calc_bittiming()
|
| /linux-6.15/drivers/cpufreq/ |
| H A D | loongson3_cpufreq.c | 226 return ret * KILO; in loongson3_cpufreq_get() 272 data->table[i].frequency = ret * KILO; in configure_freq_table()
|
| /linux-6.15/drivers/iio/adc/ |
| H A D | ad7779.c | 303 decimal = ((mult_frac(div, KILO, freq_khz) - dec * KILO) << 16) in ad7779_set_sampling_frequency() 304 / KILO; in ad7779_set_sampling_frequency()
|
| H A D | ad4851.c | 1069 .max_sample_rate_hz = 250 * KILO, 1078 .max_sample_rate_hz = 250 * KILO, 1105 .max_sample_rate_hz = 250 * KILO, 1114 .max_sample_rate_hz = 250 * KILO,
|
| H A D | ad7625.c | 183 cnv_wf.period_length_ns = clamp(target, 100, 10 * KILO); in ad7625_set_sampling_freq()
|
| H A D | ad7606.c | 242 .max_samplerate = 800 * KILO, 1405 chip_info->max_samplerate ? : 2 * KILO); in ad7606_probe()
|
| H A D | ad4695.c | 413 .max_sample_rate = 500 * KILO, 427 .max_sample_rate = 500 * KILO,
|
| /linux-6.15/drivers/iio/dac/ |
| H A D | adi-axi-dac.c | 593 10, 100 * KILO); in axi_dac_data_stream_enable() 687 10, 100 * KILO); in __axi_dac_bus_reg_write() 744 100 * KILO); in axi_dac_bus_set_io_mode()
|
| /linux-6.15/drivers/iio/light/ |
| H A D | veml6070.c | 64 data->rset /= KILO; in veml6070_calc_it()
|
| /linux-6.15/drivers/i2c/busses/ |
| H A D | i2c-designware-platdrv.c | 37 return clk_get_rate(dev->clk) / KILO; in i2c_dw_get_clk_rate_khz()
|
| /linux-6.15/drivers/iio/frequency/ |
| H A D | admv4420.c | 196 st->lo_freq_hz = (u64)tmp * KILO; in admv4420_fw_parse()
|
| /linux-6.15/drivers/hwmon/ |
| H A D | ltc4282.c | 113 #define LTC4282_CLKIN_MIN (250 * KILO) 114 #define LTC4282_CLKIN_MAX (15500 * KILO) 116 #define LTC4282_CLKOUT_SYSTEM (250 * KILO)
|
| H A D | asus_wmi_sensors.c | 406 return DIV_ROUND_CLOSEST(value, KILO); in asus_wmi_scale_sensor_value()
|
| /linux-6.15/drivers/iio/proximity/ |
| H A D | hx9023s.c | 686 *val = KILO / odr; in hx9023s_get_samp_freq() 687 *val2 = div_u64((KILO % odr) * MICRO, odr); in hx9023s_get_samp_freq()
|
| /linux-6.15/drivers/iio/imu/bmi323/ |
| H A D | bmi323_core.c | 333 2500 * KILO, 334 1250 * KILO,
|
| /linux-6.15/drivers/pci/controller/dwc/ |
| H A D | pcie-qcom.c | 1507 freq_kbps = freq_mbps * KILO; in qcom_pcie_icc_opp_update()
|