Searched refs:icch (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
H A D | i2c-sh_mobile.c | 123 u_int16_t icch; member 242 if (pd->iccl > max_val || pd->icch > max_val) { in sh_mobile_i2c_check_timing() 244 pd->iccl, pd->icch); in sh_mobile_i2c_check_timing() 255 if (pd->icch & 0x100) in sh_mobile_i2c_check_timing() 260 dev_dbg(pd->dev, "timing values: L/H=0x%x/0x%x\n", pd->iccl, pd->icch); in sh_mobile_i2c_check_timing() 286 pd->icch = sh_mobile_i2c_icch(i2c_clk_khz, tHIGH, tf); in sh_mobile_i2c_init() 298 pd->icch = DIV_ROUND_UP(clks_per_cycle * 4 / 9 - 5, pd->clks_per_count); in sh_mobile_i2c_v2_init() 581 iic_wr(pd, ICCH, pd->icch & 0xff); in start_ch()
|
/kernel/linux/linux-6.6/drivers/i2c/busses/ |
H A D | i2c-sh_mobile.c | 123 u_int16_t icch; member 242 if (pd->iccl > max_val || pd->icch > max_val) { in sh_mobile_i2c_check_timing() 244 pd->iccl, pd->icch); in sh_mobile_i2c_check_timing() 255 if (pd->icch & 0x100) in sh_mobile_i2c_check_timing() 260 dev_dbg(pd->dev, "timing values: L/H=0x%x/0x%x\n", pd->iccl, pd->icch); in sh_mobile_i2c_check_timing() 286 pd->icch = sh_mobile_i2c_icch(i2c_clk_khz, tHIGH, tf); in sh_mobile_i2c_init() 298 pd->icch = DIV_ROUND_UP(clks_per_cycle * 4 / 9 - 5, pd->clks_per_count); in sh_mobile_i2c_v2_init() 573 iic_wr(pd, ICCH, pd->icch & 0xff); in start_ch()
|
Completed in 4 milliseconds