Home
last modified time | relevance | path

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

/linux/drivers/iio/adc/
H A Dad4000.c295 .max_rate_hz = 500 * KILO,
305 .max_rate_hz = 500 * KILO,
315 .max_rate_hz = 500 * KILO,
325 .max_rate_hz = 1800 * KILO,
345 .max_rate_hz = 500 * KILO,
375 .max_rate_hz = 250 * KILO,
383 .max_rate_hz = 500 * KILO,
391 .max_rate_hz = 250 * KILO,
399 .max_rate_hz = 500 * KILO,
407 .max_rate_hz = 400 * KILO,
[all …]
H A Dad7606.c134 .max_samplerate = 300 * KILO,
143 .max_samplerate = 200 * KILO,
154 .max_samplerate = 200 * KILO,
166 .max_samplerate = 200 * KILO,
178 .max_samplerate = 800 * KILO,
210 .max_samplerate = 200 * KILO,
222 .max_samplerate = 200 * KILO,
234 .max_samplerate = 200 * KILO,
H A Dad4851.c1071 .max_sample_rate_hz = 250 * KILO,
1080 .max_sample_rate_hz = 250 * KILO,
1107 .max_sample_rate_hz = 250 * KILO,
1116 .max_sample_rate_hz = 250 * KILO,
H A Dad7779.c305 decimal = ((mult_frac(div, KILO, freq_khz) - dec * KILO) << 16) in ad7779_set_sampling_frequency()
306 / KILO; in ad7779_set_sampling_frequency()
H A Dad7625.c183 cnv_wf.period_length_ns = clamp(target, 100, 10 * KILO); in ad7625_set_sampling_freq()
H A Dad4695.c410 .max_sample_rate = 500 * KILO,
424 .max_sample_rate = 500 * KILO,
/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
63 #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/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/drivers/net/can/dev/
H A Dcalc_bittiming.c16 if (bt->bitrate > 800 * KILO /* BPS */) in can_calc_sample_point_nrz()
19 if (bt->bitrate > 500 * KILO /* BPS */) in can_calc_sample_point_nrz()
/linux/drivers/pwm/
H A Dpwm-rzg2l-gpt.c425 rzg2l_gpt->rate_khz = rate / KILO; in rzg2l_gpt_probe()
426 if (rzg2l_gpt->rate_khz * KILO != rate) in rzg2l_gpt_probe()
/linux/drivers/gpu/drm/renesas/rz-du/
H A Drzg2l_mipi_dsi.c554 clk_set_rate(dsi->vclk, mode_freq * KILO); in rzg2l_dphy_conf_clks()
556 if (vclk_rate != mode_freq * KILO) in rzg2l_dphy_conf_clks()
558 mode_freq * KILO, vclk_rate); in rzg2l_dphy_conf_clks()
586 mode_freq_hz = mul_u32_u32(mode_freq, KILO); in rzv2h_dphy_mode_clk_check()
/linux/drivers/iio/light/
H A Dveml6070.c64 data->rset /= KILO; in veml6070_calc_it()
/linux/drivers/hwmon/
H A Dltc4282.c111 #define LTC4282_CLKIN_MIN (250 * KILO)
112 #define LTC4282_CLKIN_MAX (15500 * KILO)
114 #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/gpu/drm/mediatek/
H A Dmtk_hdmi_v2.c746 mtk_hdmi_v2_enable_scrambling(hdmi, hdmi->mode.clock >= 340 * KILO); in mtk_hdmi_v2_change_video_resolution()
777 .dp = { .link_rate = hdmi->mode.clock * KILO } in mtk_hdmi_v2_output_set_display_mode()
1018 .dp = { .link_rate = hdmi->mode.clock * KILO } in mtk_hdmi_v2_bridge_pre_enable()
/linux/drivers/iio/frequency/
H A Dadmv4420.c196 st->lo_freq_hz = (u64)tmp * KILO; in admv4420_fw_parse()
/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/net/ethernet/mellanox/mlx5/core/
H A Den_dcbnl.c41 #define MLX5E_100MB_TO_KB (100 * MEGA / KILO)
42 #define MLX5E_1GB_TO_KB (GIGA / KILO)
/linux/drivers/gpu/drm/bridge/
H A Dssd2825.c447 tx_freq_khz = clk_get_rate(priv->tx_clk) / KILO; in ssd2825_setup_pll()
/linux/drivers/iio/dac/
H A Dadi-axi-dac.c645 100 * KILO); in axi_dac_wait_bus_free()
/linux/drivers/iio/imu/bmi323/
H A Dbmi323_core.c333 2500 * KILO,
334 1250 * KILO,
/linux/drivers/pci/controller/dwc/
H A Dpcie-qcom.c1586 freq_kbps = freq_mbps * KILO; in qcom_pcie_icc_opp_update()