Searched refs:clk_khz (Results 1 – 3 of 3) sorted by relevance
/drivers/i2c/busses/ |
D | i2c-designware-pcidrv.c | 68 u32 clk_khz; member 107 .clk_khz = 25000, 114 .clk_khz = 25000, 121 .clk_khz = 25000, 128 .clk_khz = 25000, 135 .clk_khz = 25000, 142 .clk_khz = 25000, 184 return dev->controller->clk_khz; in i2c_dw_get_clk_rate_khz()
|
D | i2c-img-scb.c | 1111 unsigned int clk_khz, bitrate_khz, clk_period, tckh, tckl, tsdh; in img_i2c_init() local 1151 clk_khz = clk_get_rate(i2c->scb_clk) / 1000; in img_i2c_init() 1154 prescale = SCB_OPT_INC * clk_khz / (256 * 16 * bitrate_khz); in img_i2c_init() 1156 clk_khz /= prescale; in img_i2c_init() 1159 inc = (256 * 16 * bitrate_khz) / clk_khz; in img_i2c_init() 1169 if (clk_khz < 20000) { in img_i2c_init() 1171 } else if (clk_khz < 40000) { in img_i2c_init() 1175 filt = (64000 / ((clk_khz / 1000) * SCB_FILT_GLITCH)); in img_i2c_init() 1178 if (64000 % ((clk_khz / 1000) * SCB_FILT_GLITCH)) in img_i2c_init() 1190 clk_period = (256 * 1000000) / (clk_khz * inc); in img_i2c_init()
|
/drivers/net/wireless/cw1200/ |
D | main.c | 487 u32 cw1200_dpll_from_clk(u16 clk_khz) in cw1200_dpll_from_clk() argument 489 switch (clk_khz) { in cw1200_dpll_from_clk() 514 clk_khz); in cw1200_dpll_from_clk()
|