Searched refs:i2c_num (Results 1 – 12 of 12) sorted by relevance
/external/u-boot/arch/arm/mach-imx/mx7ulp/ |
D | clock.c | 76 int enable_i2c_clk(unsigned char enable, unsigned i2c_num) in enable_i2c_clk() argument 86 if (i2c_num < 4 || i2c_num > 7) in enable_i2c_clk() 90 pcc_clock_enable(lpi2c_pcc_clks[i2c_num - 4], false); in enable_i2c_clk() 91 pcc_clock_sel(lpi2c_pcc_clks[i2c_num - 4], SCG_FIRC_DIV2_CLK); in enable_i2c_clk() 92 pcc_clock_enable(lpi2c_pcc_clks[i2c_num - 4], true); in enable_i2c_clk() 94 pcc_clock_enable(lpi2c_pcc_clks[i2c_num - 4], false); in enable_i2c_clk() 99 u32 imx_get_i2cclk(unsigned i2c_num) in imx_get_i2cclk() argument 108 if (i2c_num < 4 || i2c_num > 7) in imx_get_i2cclk() 111 return pcc_clock_get_rate(lpi2c_pcc_clks[i2c_num - 4]); in imx_get_i2cclk()
|
/external/u-boot/arch/arm/include/asm/arch-mx7ulp/ |
D | clock.h | 30 int enable_i2c_clk(unsigned char enable, unsigned i2c_num); 31 u32 imx_get_i2cclk(unsigned i2c_num);
|
/external/u-boot/arch/arm/mach-imx/mx7/ |
D | clock.c | 524 int enable_i2c_clk(unsigned char enable, unsigned i2c_num) in enable_i2c_clk() argument 528 if (i2c_num >= 4) in enable_i2c_clk() 532 clock_enable(CCGR_I2C1 + i2c_num, 0); in enable_i2c_clk() 540 clock_set_target_val(I2C1_CLK_ROOT + i2c_num, target); in enable_i2c_clk() 542 clock_enable(CCGR_I2C1 + i2c_num, 1); in enable_i2c_clk() 544 clock_enable(CCGR_I2C1 + i2c_num, 0); in enable_i2c_clk()
|
/external/u-boot/arch/arm/include/asm/arch-mx5/ |
D | clock.h | 53 int enable_i2c_clk(unsigned char enable, unsigned i2c_num);
|
/external/u-boot/arch/arm/mach-imx/mx5/ |
D | clock.c | 98 int enable_i2c_clk(unsigned char enable, unsigned i2c_num) in enable_i2c_clk() argument 103 if (i2c_num > 1) in enable_i2c_clk() 105 if (i2c_num > 2) in enable_i2c_clk() 109 (MXC_CCM_CCGR1_I2C1_OFFSET + (i2c_num << 1)); in enable_i2c_clk()
|
/external/u-boot/arch/arm/include/asm/arch-mx6/ |
D | clock.h | 71 int enable_i2c_clk(unsigned char enable, unsigned i2c_num);
|
/external/u-boot/arch/arm/mach-imx/mx8m/ |
D | clock.c | 314 int enable_i2c_clk(unsigned char enable, unsigned int i2c_num) in enable_i2c_clk() argument 317 if (i2c_num > 3) in enable_i2c_clk() 320 clock_enable(CCGR_I2C1 + i2c_num, !!enable); in enable_i2c_clk()
|
/external/u-boot/arch/arm/mach-imx/mx6/ |
D | clock.c | 154 int enable_i2c_clk(unsigned char enable, unsigned i2c_num) in enable_i2c_clk() argument 160 if (i2c_num > 3) in enable_i2c_clk() 162 if (i2c_num < 3) { in enable_i2c_clk() 165 + (i2c_num << 1)); in enable_i2c_clk()
|
/external/u-boot/arch/arm/include/asm/arch-mx7/ |
D | clock.h | 331 int enable_i2c_clk(unsigned char enable, unsigned i2c_num);
|
/external/u-boot/drivers/i2c/ |
D | mxc_i2c.c | 657 int __enable_i2c_clk(unsigned char enable, unsigned i2c_num) in __enable_i2c_clk() argument 661 int enable_i2c_clk(unsigned char enable, unsigned i2c_num)
|
D | imx_lpi2c.c | 21 int __weak init_i2c_power(unsigned i2c_num) in init_i2c_power() argument
|
/external/u-boot/arch/arm/include/asm/arch-mx8m/ |
D | clock.h | 654 int enable_i2c_clk(unsigned char enable, unsigned int i2c_num);
|