Home
last modified time | relevance | path

Searched refs:iccl (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/u-boot/drivers/i2c/
H A Dsh_i2c.c24 ureg(iccl);
64 static u16 iccl, icch; variable
109 __func__, chip, addr, iccl, icch); in sh_i2c_set_addr()
113 writeb(iccl & 0xff, &dev->iccl); in sh_i2c_set_addr()
116 if (iccl > 0xff) in sh_i2c_set_addr()
223 iccl = (u16)((num/denom) + 1); in sh_i2c_init()
225 iccl = (u16)(num/denom); in sh_i2c_init()
237 CONFIG_SH_I2C_CLOCK, speed, iccl, icch); in sh_i2c_init()
/OK3568_Linux_fs/kernel/drivers/i2c/busses/
H A Di2c-sh_mobile.c122 u_int16_t iccl; 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()
249 if (pd->iccl & 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()
285 pd->iccl = sh_mobile_i2c_iccl(i2c_clk_khz, tLOW, tf); in sh_mobile_i2c_init()
297 pd->iccl = DIV_ROUND_UP(clks_per_cycle * 5 / 9 - 1, pd->clks_per_count); in sh_mobile_i2c_v2_init()
580 iic_wr(pd, ICCL, pd->iccl & 0xff); in start_ch()