Searched refs:i2cclk (Results 1 – 4 of 4) sorted by relevance
/openbmc/u-boot/drivers/i2c/ |
H A D | stm32f7_i2c.c | 491 u32 i2cclk = DIV_ROUND_CLOSEST(STM32_NSEC_PER_SEC, in stm32_i2c_compute_solutions() local 504 af_delay_min - (setup->dnf + 3) * i2cclk; in stm32_i2c_compute_solutions() 507 af_delay_max - (setup->dnf + 4) * i2cclk; in stm32_i2c_compute_solutions() 522 u32 scldel = (l + 1) * (p + 1) * i2cclk; in stm32_i2c_compute_solutions() 528 u32 sdadel = (a * (p + 1) + 1) * i2cclk; in stm32_i2c_compute_solutions() 564 u32 i2cclk = DIV_ROUND_CLOSEST(STM32_NSEC_PER_SEC, in stm32_i2c_choose_solution() local 576 dnf_delay = setup->dnf * i2cclk; in stm32_i2c_choose_solution() 578 tsync = af_delay_min + dnf_delay + (2 * i2cclk); in stm32_i2c_choose_solution() 593 u32 prescaler = (v->presc + 1) * i2cclk; in stm32_i2c_choose_solution() 599 (i2cclk >= in stm32_i2c_choose_solution() [all …]
|
/openbmc/linux/arch/arc/boot/dts/ |
H A D | axs10x_mb.dtsi | 40 i2cclk: i2cclk { label 166 clocks = <&i2cclk>; 185 clocks = <&i2cclk>;
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-stm32f7.c | 453 u32 i2cclk = DIV_ROUND_CLOSEST(NSEC_PER_SEC, in stm32f7_i2c_compute_timing() local 485 i2c_dev->dnf = DIV_ROUND_CLOSEST(i2c_dev->dnf_dt, i2cclk); in stm32f7_i2c_compute_timing() 489 i2c_dev->dnf * i2cclk, STM32F7_I2C_DNF_MAX * i2cclk); in stm32f7_i2c_compute_timing() 500 dnf_delay = i2c_dev->dnf * i2cclk; in stm32f7_i2c_compute_timing() 503 af_delay_min - (i2c_dev->dnf + 3) * i2cclk; in stm32f7_i2c_compute_timing() 506 af_delay_max - (i2c_dev->dnf + 4) * i2cclk; in stm32f7_i2c_compute_timing() 522 u32 scldel = (l + 1) * (p + 1) * i2cclk; in stm32f7_i2c_compute_timing() 528 u32 sdadel = (a * (p + 1) + 1) * i2cclk; in stm32f7_i2c_compute_timing() 561 tsync = af_delay_min + dnf_delay + (2 * i2cclk); in stm32f7_i2c_compute_timing() 577 u32 prescaler = (v->presc + 1) * i2cclk; in stm32f7_i2c_compute_timing() [all …]
|
/openbmc/linux/arch/arm/boot/dts/st/ |
H A D | ste-dbx5x0.dtsi | 742 clock-names = "i2cclk", "apb_pclk"; 760 clock-names = "i2cclk", "apb_pclk"; 778 clock-names = "i2cclk", "apb_pclk"; 796 clock-names = "i2cclk", "apb_pclk"; 814 clock-names = "i2cclk", "apb_pclk";
|