Home
last modified time | relevance | path

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

/linux/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/include/linux/
H A Dunits.h13 #define KILO 1000UL macro
38 #define BYTES_PER_KBIT (KILO / BITS_PER_BYTE)
/linux/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/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/drivers/i2c/busses/
H A Di2c-designware-platdrv.c37 return clk_get_rate(dev->clk) / KILO; in i2c_dw_get_clk_rate_khz()
/linux/drivers/iio/frequency/
H A Dadmv4420.c196 st->lo_freq_hz = (u64)tmp * KILO; in admv4420_fw_parse()
/linux/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/drivers/iio/adc/
H A Dad4695.c269 .max_sample_rate = 500 * KILO,
283 .max_sample_rate = 500 * KILO,
H A Dad7606.c235 .max_samplerate = 800 * KILO,
1292 chip_info->max_samplerate ? : 2 * KILO); in ad7606_probe()
H A Dad7625.c183 cnv_wf.period_length_ns = clamp(target, 100, 10 * KILO); in ad7625_set_sampling_freq()
/linux/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/drivers/iio/dac/
H A Dadi-axi-dac.c679 10, 100 * KILO); in __axi_dac_bus_reg_write()
/linux/drivers/iio/imu/bmi323/
H A Dbmi323_core.c333 2500 * KILO,
334 1250 * KILO,