Home
last modified time | relevance | path

Searched refs:KILO (Results 1 – 19 of 19) sorted by relevance

/linux-6.15/drivers/net/can/rockchip/
H A Drockchip_canfd-timestamp.c80 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 Dunits.h13 #define KILO 1000UL macro
38 #define BYTES_PER_KBIT (KILO / BITS_PER_BYTE)
/linux-6.15/drivers/thermal/
H A Dloongson2_thermal.c80 *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 Dcalc_bittiming.c85 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 Dloongson3_cpufreq.c226 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 Dad7779.c303 decimal = ((mult_frac(div, KILO, freq_khz) - dec * KILO) << 16) in ad7779_set_sampling_frequency()
304 / KILO; in ad7779_set_sampling_frequency()
H A Dad4851.c1069 .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 Dad7625.c183 cnv_wf.period_length_ns = clamp(target, 100, 10 * KILO); in ad7625_set_sampling_freq()
H A Dad7606.c242 .max_samplerate = 800 * KILO,
1405 chip_info->max_samplerate ? : 2 * KILO); in ad7606_probe()
H A Dad4695.c413 .max_sample_rate = 500 * KILO,
427 .max_sample_rate = 500 * KILO,
/linux-6.15/drivers/iio/dac/
H A Dadi-axi-dac.c593 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 Dveml6070.c64 data->rset /= KILO; in veml6070_calc_it()
/linux-6.15/drivers/i2c/busses/
H A Di2c-designware-platdrv.c37 return clk_get_rate(dev->clk) / KILO; in i2c_dw_get_clk_rate_khz()
/linux-6.15/drivers/iio/frequency/
H A Dadmv4420.c196 st->lo_freq_hz = (u64)tmp * KILO; in admv4420_fw_parse()
/linux-6.15/drivers/hwmon/
H A Dltc4282.c113 #define LTC4282_CLKIN_MIN (250 * KILO)
114 #define LTC4282_CLKIN_MAX (15500 * KILO)
116 #define LTC4282_CLKOUT_SYSTEM (250 * KILO)
H A Dasus_wmi_sensors.c406 return DIV_ROUND_CLOSEST(value, KILO); in asus_wmi_scale_sensor_value()
/linux-6.15/drivers/iio/proximity/
H A Dhx9023s.c686 *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 Dbmi323_core.c333 2500 * KILO,
334 1250 * KILO,
/linux-6.15/drivers/pci/controller/dwc/
H A Dpcie-qcom.c1507 freq_kbps = freq_mbps * KILO; in qcom_pcie_icc_opp_update()