/u-boot/arch/arm/mach-imx/mx7ulp/ |
A D | clock.c | 79 int enable_i2c_clk(unsigned char enable, unsigned i2c_num) in enable_i2c_clk() argument 89 if (i2c_num < 4 || i2c_num > 7) in enable_i2c_clk() 93 pcc_clock_enable(lpi2c_pcc_clks[i2c_num - 4], false); in enable_i2c_clk() 94 pcc_clock_sel(lpi2c_pcc_clks[i2c_num - 4], SCG_FIRC_DIV2_CLK); in enable_i2c_clk() 95 pcc_clock_enable(lpi2c_pcc_clks[i2c_num - 4], true); in enable_i2c_clk() 97 pcc_clock_enable(lpi2c_pcc_clks[i2c_num - 4], false); in enable_i2c_clk() 102 u32 imx_get_i2cclk(unsigned i2c_num) in imx_get_i2cclk() argument 111 if (i2c_num < 4 || i2c_num > 7) in imx_get_i2cclk() 114 return pcc_clock_get_rate(lpi2c_pcc_clks[i2c_num - 4]); in imx_get_i2cclk()
|
/u-boot/arch/arm/include/asm/arch-mx7ulp/ |
A D | clock.h | 29 int enable_i2c_clk(unsigned char enable, unsigned i2c_num); 30 u32 imx_get_i2cclk(unsigned i2c_num);
|
/u-boot/arch/arm/include/asm/arch-vf610/ |
A D | clock.h | 24 int enable_i2c_clk(unsigned char enable, unsigned int i2c_num);
|
/u-boot/arch/arm/include/asm/arch-mx5/ |
A D | clock.h | 52 int enable_i2c_clk(unsigned char enable, unsigned i2c_num);
|
/u-boot/arch/arm/include/asm/arch-mx6/ |
A D | clock.h | 73 int enable_i2c_clk(unsigned char enable, unsigned i2c_num);
|
/u-boot/arch/arm/mach-imx/mx7/ |
A D | clock.c | 528 int enable_i2c_clk(unsigned char enable, unsigned i2c_num) in enable_i2c_clk() argument 532 if (i2c_num >= 4) in enable_i2c_clk() 536 clock_enable(CCGR_I2C1 + i2c_num, 0); in enable_i2c_clk() 544 clock_set_target_val(I2C1_CLK_ROOT + i2c_num, target); in enable_i2c_clk() 546 clock_enable(CCGR_I2C1 + i2c_num, 1); in enable_i2c_clk() 548 clock_enable(CCGR_I2C1 + i2c_num, 0); in enable_i2c_clk()
|
/u-boot/arch/arm/cpu/armv7/vf610/ |
A D | generic.c | 389 int enable_i2c_clk(unsigned char enable, unsigned int i2c_num) in enable_i2c_clk() argument 393 switch (i2c_num) { in enable_i2c_clk()
|
/u-boot/drivers/i2c/ |
A D | imx_lpi2c.c | 26 int __weak init_i2c_power(unsigned i2c_num) in init_i2c_power() argument 268 u32 __weak imx_get_i2cclk(u32 i2c_num) in imx_get_i2cclk() argument 437 __weak int enable_i2c_clk(unsigned char enable, unsigned int i2c_num) in enable_i2c_clk() argument
|
A D | mxc_i2c.c | 641 int __enable_i2c_clk(unsigned char enable, unsigned int i2c_num) in __enable_i2c_clk() argument 646 int enable_i2c_clk(unsigned char enable, unsigned int i2c_num)
|
/u-boot/arch/arm/mach-imx/mx5/ |
A D | clock.c | 100 int enable_i2c_clk(unsigned char enable, unsigned i2c_num) in enable_i2c_clk() argument 105 if (i2c_num > 1) in enable_i2c_clk() 107 if (i2c_num > 2) in enable_i2c_clk() 111 (MXC_CCM_CCGR1_I2C1_OFFSET + (i2c_num << 1)); in enable_i2c_clk()
|
/u-boot/arch/arm/mach-imx/imx8m/ |
A D | clock_imx8mq.c | 320 int enable_i2c_clk(unsigned char enable, unsigned int i2c_num) in enable_i2c_clk() argument 323 if (i2c_num > 3) in enable_i2c_clk() 326 clock_enable(CCGR_I2C1 + i2c_num, !!enable); in enable_i2c_clk()
|
A D | clock_imx8mm.c | 29 int enable_i2c_clk(unsigned char enable, unsigned i2c_num) in enable_i2c_clk() argument 32 if (i2c_num > 3) in enable_i2c_clk() 35 clock_enable(CCGR_I2C1 + i2c_num, !!enable); in enable_i2c_clk()
|
/u-boot/arch/arm/include/asm/arch-mx7/ |
A D | clock.h | 348 int enable_i2c_clk(unsigned char enable, unsigned i2c_num);
|
/u-boot/arch/arm/include/asm/arch-imx8m/ |
A D | clock.h | 275 int enable_i2c_clk(unsigned char enable, unsigned int i2c_num);
|
/u-boot/arch/arm/mach-imx/mx6/ |
A D | clock.c | 156 int enable_i2c_clk(unsigned char enable, unsigned i2c_num) in enable_i2c_clk() argument 162 if (i2c_num > 3) in enable_i2c_clk() 164 if (i2c_num < 3) { in enable_i2c_clk() 167 + (i2c_num << 1)); in enable_i2c_clk()
|