Home
last modified time | relevance | path

Searched refs:count_khz (Results 1 - 2 of 2) 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
216 return (((count_khz * (tLOW + tf)) + 5000) / 10000); in sh_mobile_i2c_iccl()
219 static u32 sh_mobile_i2c_icch(unsigned long count_khz, u32 tHIGH, u32 tf) in sh_mobile_i2c_icch() argument
235 return (((count_khz * (tHIGH + tf)) + 5000) / 10000); in sh_mobile_i2c_icch()
/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
216 return (((count_khz * (tLOW + tf)) + 5000) / 10000); in sh_mobile_i2c_iccl()
219 static u32 sh_mobile_i2c_icch(unsigned long count_khz, u32 tHIGH, u32 tf) in sh_mobile_i2c_icch() argument
235 return (((count_khz * (tHIGH + tf)) + 5000) / 10000); in sh_mobile_i2c_icch()

Completed in 4 milliseconds