Home
last modified time | relevance | path

Searched refs:i2c_num (Results 1 – 12 of 12) sorted by relevance

/external/u-boot/arch/arm/mach-imx/mx7ulp/
Dclock.c76 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/
Dclock.h30 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/
Dclock.c524 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/
Dclock.h53 int enable_i2c_clk(unsigned char enable, unsigned i2c_num);
/external/u-boot/arch/arm/mach-imx/mx5/
Dclock.c98 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/
Dclock.h71 int enable_i2c_clk(unsigned char enable, unsigned i2c_num);
/external/u-boot/arch/arm/mach-imx/mx8m/
Dclock.c314 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/
Dclock.c154 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/
Dclock.h331 int enable_i2c_clk(unsigned char enable, unsigned i2c_num);
/external/u-boot/drivers/i2c/
Dmxc_i2c.c657 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)
Dimx_lpi2c.c21 int __weak init_i2c_power(unsigned i2c_num) in init_i2c_power() argument
/external/u-boot/arch/arm/include/asm/arch-mx8m/
Dclock.h654 int enable_i2c_clk(unsigned char enable, unsigned int i2c_num);