Home
last modified time | relevance | path

Searched full:i2cclk (Results 1 – 11 of 11) sorted by relevance

/openbmc/u-boot/drivers/i2c/
H A Dstm32f7_i2c.c491 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 Daxs10x_mb.dtsi40 i2cclk: i2cclk { label
166 clocks = <&i2cclk>;
185 clocks = <&i2cclk>;
/openbmc/linux/Documentation/devicetree/bindings/i2c/
H A Dst,nomadik-i2c.yaml60 - const: i2cclk
98 clock-names = "i2cclk", "apb_pclk";
H A Dsnps,designware-i2c.yaml128 clocks = <&i2cclk>;
/openbmc/linux/drivers/clk/ux500/
H A Du8500_of_clk.c216 clk_reg_prcmu_gate("i2cclk", NULL, PRCMU_I2CCLK, 0); in u8500_clk_init()
496 clk = clk_reg_prcc_kclk("p1_i2c1_kclk", "i2cclk", in u8500_clk_init()
512 clk = clk_reg_prcc_kclk("p1_i2c2_kclk", "i2cclk", in u8500_clk_init()
520 clk = clk_reg_prcc_kclk("p1_i2c4_kclk", "i2cclk", in u8500_clk_init()
529 clk = clk_reg_prcc_kclk("p2_i2c3_kclk", "i2cclk", in u8500_clk_init()
569 clk = clk_reg_prcc_kclk("p3_i2c0_kclk", "i2cclk", in u8500_clk_init()
/openbmc/linux/drivers/i2c/busses/
H A Di2c-stm32f7.c453 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 …]
H A Di2c-riic.c307 * Freq (CKS=000) = (I2CCLK + tr + tf)/ (BRH + 3 + 1) + (BRL + 3 + 1) in riic_init_hw()
308 * Freq (CKS!=000) = (I2CCLK + tr + tf)/ (BRH + 2 + 1) + (BRL + 2 + 1) in riic_init_hw()
/openbmc/linux/arch/arm/boot/dts/st/
H A Dste-dbx5x0.dtsi742 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";
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_dpll.c913 * (GDEVSELB/I2Cdata, GIRDBY/I2CClk) and (GFRAMEB/DVI_Data, in i8xx_compute_dpll()
/openbmc/linux/drivers/mfd/
H A Ddb8500-prcmu.c474 CLK_MGT_ENTRY(I2CCLK, PLL_FIX, true),
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dchip.c14112 * I2CCLK and I2CDAT will change per direction, and INT_N and in init_chip()