Home
last modified time | relevance | path

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

/u-boot/arch/arm/mach-imx/mx7ulp/
A Dclock.c79 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 Dclock.h29 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 Dclock.h24 int enable_i2c_clk(unsigned char enable, unsigned int i2c_num);
/u-boot/arch/arm/include/asm/arch-mx5/
A Dclock.h52 int enable_i2c_clk(unsigned char enable, unsigned i2c_num);
/u-boot/arch/arm/include/asm/arch-mx6/
A Dclock.h73 int enable_i2c_clk(unsigned char enable, unsigned i2c_num);
/u-boot/arch/arm/mach-imx/mx7/
A Dclock.c528 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 Dgeneric.c389 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 Dimx_lpi2c.c26 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 Dmxc_i2c.c641 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 Dclock.c100 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 Dclock_imx8mq.c320 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 Dclock_imx8mm.c29 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 Dclock.h348 int enable_i2c_clk(unsigned char enable, unsigned i2c_num);
/u-boot/arch/arm/include/asm/arch-imx8m/
A Dclock.h275 int enable_i2c_clk(unsigned char enable, unsigned int i2c_num);
/u-boot/arch/arm/mach-imx/mx6/
A Dclock.c156 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()

Completed in 20 milliseconds