Home
last modified time | relevance | path

Searched refs:tLOW (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/i2c/busses/
H A Di2c-sh_mobile.c204 static u32 sh_mobile_i2c_iccl(unsigned long count_khz, u32 tLOW, u32 tf) in sh_mobile_i2c_iccl() argument
208 * ICCL >= COUNT_CLK * (tLOW + tf) in sh_mobile_i2c_iccl()
211 * the SCL signal (tLOW) as soon as it pulls the SCL line. in sh_mobile_i2c_iccl()
212 * In order to meet the tLOW timing spec, we need to take into in sh_mobile_i2c_iccl()
216 return (((count_khz * (tLOW + tf)) + 5000) / 10000); in sh_mobile_i2c_iccl()
267 u32 tHIGH, tLOW, tf; in sh_mobile_i2c_init() local
272 tLOW = 47; /* tLOW = 4.7 us */ in sh_mobile_i2c_init()
276 tLOW = 13; /* tLOW in sh_mobile_i2c_init()
[all...]
H A Di2c-designware-common.c372 u32 i2c_dw_scl_lcnt(u32 ic_clk, u32 tLOW, u32 tf, int offset) in i2c_dw_scl_lcnt() argument
377 * IC_[FS]S_SCL_LCNT + 1 >= IC_CLK * (tLOW + tf) in i2c_dw_scl_lcnt()
380 * of the SCL clock (tLOW) as soon as it pulls the SCL line. in i2c_dw_scl_lcnt()
381 * In order to meet the tLOW timing spec, we need to take into in i2c_dw_scl_lcnt()
385 return DIV_ROUND_CLOSEST_ULL((u64)ic_clk * (tLOW + tf), MICRO) - in i2c_dw_scl_lcnt()
H A Di2c-designware-core.h300 u32 i2c_dw_scl_lcnt(u32 ic_clk, u32 tLOW, u32 tf, int offset);
/kernel/linux/linux-6.6/drivers/i2c/busses/
H A Di2c-sh_mobile.c204 static u32 sh_mobile_i2c_iccl(unsigned long count_khz, u32 tLOW, u32 tf) in sh_mobile_i2c_iccl() argument
208 * ICCL >= COUNT_CLK * (tLOW + tf) in sh_mobile_i2c_iccl()
211 * the SCL signal (tLOW) as soon as it pulls the SCL line. in sh_mobile_i2c_iccl()
212 * In order to meet the tLOW timing spec, we need to take into in sh_mobile_i2c_iccl()
216 return (((count_khz * (tLOW + tf)) + 5000) / 10000); in sh_mobile_i2c_iccl()
267 u32 tHIGH, tLOW, tf; in sh_mobile_i2c_init() local
272 tLOW = 47; /* tLOW = 4.7 us */ in sh_mobile_i2c_init()
276 tLOW = 13; /* tLOW in sh_mobile_i2c_init()
[all...]
H A Di2c-designware-common.c375 u32 i2c_dw_scl_lcnt(u32 ic_clk, u32 tLOW, u32 tf, int offset) in i2c_dw_scl_lcnt() argument
380 * IC_[FS]S_SCL_LCNT + 1 >= IC_CLK * (tLOW + tf) in i2c_dw_scl_lcnt()
383 * of the SCL clock (tLOW) as soon as it pulls the SCL line. in i2c_dw_scl_lcnt()
384 * In order to meet the tLOW timing spec, we need to take into in i2c_dw_scl_lcnt()
388 return DIV_ROUND_CLOSEST_ULL((u64)ic_clk * (tLOW + tf), MICRO) - in i2c_dw_scl_lcnt()
H A Di2c-designware-core.h330 u32 i2c_dw_scl_lcnt(u32 ic_clk, u32 tLOW, u32 tf, int offset);

Completed in 9 milliseconds