Searched refs:clk_khz (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/i2c/busses/ |
| H A D | i2c-img-scb.c | 1151 unsigned int clk_khz, bitrate_khz, clk_period, tckh, tckl, tsdh; in img_i2c_init() local 1192 clk_khz = clk_get_rate(i2c->scb_clk) / 1000; in img_i2c_init() 1195 prescale = SCB_OPT_INC * clk_khz / (256 * 16 * bitrate_khz); in img_i2c_init() 1197 clk_khz /= prescale; in img_i2c_init() 1200 inc = (256 * 16 * bitrate_khz) / clk_khz; in img_i2c_init() 1210 if (clk_khz < 20000) { in img_i2c_init() 1212 } else if (clk_khz < 40000) { in img_i2c_init() 1216 filt = (64000 / ((clk_khz / 1000) * SCB_FILT_GLITCH)); in img_i2c_init() 1219 if (64000 % ((clk_khz / 1000) * SCB_FILT_GLITCH)) in img_i2c_init() 1231 clk_period = (256 * 1000000) / (clk_khz * inc); in img_i2c_init()
|
| /linux/drivers/net/wireless/st/cw1200/ |
| H A D | main.c | 488 u32 cw1200_dpll_from_clk(u16 clk_khz) in cw1200_dpll_from_clk() argument 490 switch (clk_khz) { in cw1200_dpll_from_clk() 515 clk_khz); in cw1200_dpll_from_clk()
|
| /linux/drivers/iio/adc/ |
| H A D | at91-sama5d2_adc.c | 958 u32 clk_khz = st->current_sample_rate / 1000; in at91_adc_configure_touch() local 982 clk_khz / 1000, 1); in at91_adc_configure_touch() 1009 clk_khz / 1000) - 1, 1); in at91_adc_configure_touch()
|
| /linux/drivers/gpu/drm/amd/display/dc/ |
| H A D | dc.h | 2800 enum dc_status dc_set_clock(struct dc *dc, enum dc_clock_type clock_type, uint32_t clk_khz, uint32_…
|