Home
last modified time | relevance | path

Searched refs:i2c_reg_write (Results 1 – 25 of 27) sorted by relevance

12

/external/u-boot/board/freescale/common/
Dvsc3316_3308.c69 i2c_reg_write(vsc_addr, CURRENT_PAGE_REGISTER, CONNECTION_CONFIG_PAGE); in vsc3316_config()
74 i2c_reg_write(vsc_addr, con_arr[i][1], con_arr[i][0]); in vsc3316_config()
77 i2c_reg_write(vsc_addr, CURRENT_PAGE_REGISTER, INPUT_STATE_REG); in vsc3316_config()
80 i2c_reg_write(vsc_addr, con_arr[i][0], 0x80); in vsc3316_config()
83 i2c_reg_write(vsc_addr, GLOBAL_INPUT_LOS, 0x60); in vsc3316_config()
86 i2c_reg_write(vsc_addr, CURRENT_PAGE_REGISTER, OUTPUT_MODE_PAGE); in vsc3316_config()
89 i2c_reg_write(vsc_addr, con_arr[i][1], 0); in vsc3316_config()
92 i2c_reg_write(vsc_addr, GLOBAL_CORE_CNTRL, 0); in vsc3316_config()
131 i2c_reg_write(vsc_addr, CURRENT_PAGE_REGISTER, CONNECTION_CONFIG_PAGE); in vsc3308_config_adjust()
134 i2c_reg_write(vsc_addr, GLOBAL_INPUT_ISE1, 0); in vsc3308_config_adjust()
[all …]
Didt8t49n222a_serdes_clk.c98 i2c_reg_write(idt_addr, idt_conf_122_88[i][0], in set_serdes_refclk()
103 i2c_reg_write(idt_addr, in set_serdes_refclk()
112 i2c_reg_write(idt_addr, idt_conf_not_122_88[i][0], in set_serdes_refclk()
121 i2c_reg_write(idt_addr, 0x11, 0x10); in set_serdes_refclk()
129 i2c_reg_write(idt_addr, 0x10, 0x10); in set_serdes_refclk()
130 i2c_reg_write(idt_addr, 0x11, 0x10); in set_serdes_refclk()
138 i2c_reg_write(idt_addr, 0x10, 0x10); in set_serdes_refclk()
148 i2c_reg_write(idt_addr, idt_conf_156_25[i][0], in set_serdes_refclk()
159 i2c_reg_write(idt_addr, idt_conf_100_156_25[i][0], in set_serdes_refclk()
170 i2c_reg_write(idt_addr, idt_conf_125_156_25[i][0], in set_serdes_refclk()
[all …]
Dqixis.c33 i2c_reg_write(CONFIG_SYS_I2C_FPGA_ADDR, reg, val); in qixis_write_i2c()
/external/u-boot/drivers/video/
Danx9804.c42 i2c_reg_write(0x39, ANX9804_RST_CTRL_REG, 1); in anx9804_init()
44 i2c_reg_write(0x39, ANX9804_RST_CTRL_REG, 0); in anx9804_init()
47 i2c_reg_write(0x39, ANX9804_POWERD_CTRL_REG, 0); in anx9804_init()
58 i2c_reg_write(0x38, ANX9804_SYS_CTRL2_REG, c); in anx9804_init()
68 i2c_reg_write(0x39, ANX9804_VID_CTRL2_REG, colordepth); in anx9804_init()
71 i2c_reg_write(0x38, ANX9804_PLL_CTRL_REG, 0x07); in anx9804_init()
72 i2c_reg_write(0x39, ANX9804_PLL_FILTER_CTRL3, 0x19); in anx9804_init()
73 i2c_reg_write(0x39, ANX9804_PLL_CTRL3, 0xd9); in anx9804_init()
74 i2c_reg_write(0x39, ANX9804_RST_CTRL2_REG, ANX9804_RST_CTRL2_AC_MODE); in anx9804_init()
75 i2c_reg_write(0x39, ANX9804_ANALOG_DEBUG_REG1, 0xf0); in anx9804_init()
[all …]
/external/u-boot/board/gdsys/common/
Dadv7611.c63 i2c_reg_write(IO_I2C_ADDR, IO_CEC_ADDR, CEC_I2C_ADDR << 1); in adv7611_probe()
64 i2c_reg_write(IO_I2C_ADDR, IO_INFOFRAME_ADDR, INFOFRAME_I2C_ADDR << 1); in adv7611_probe()
65 i2c_reg_write(IO_I2C_ADDR, IO_DPLL_ADDR, DPLL_I2C_ADDR << 1); in adv7611_probe()
66 i2c_reg_write(IO_I2C_ADDR, IO_KSV_ADDR, KSV_I2C_ADDR << 1); in adv7611_probe()
67 i2c_reg_write(IO_I2C_ADDR, IO_EDID_ADDR, EDID_I2C_ADDR << 1); in adv7611_probe()
68 i2c_reg_write(IO_I2C_ADDR, IO_HDMI_ADDR, HDMI_I2C_ADDR << 1); in adv7611_probe()
69 i2c_reg_write(IO_I2C_ADDR, IO_CP_ADDR, CP_I2C_ADDR << 1); in adv7611_probe()
76 i2c_reg_write(CP_I2C_ADDR, 0x6c, 0x00); in adv7611_probe()
77 i2c_reg_write(HDMI_I2C_ADDR, 0x9b, 0x03); in adv7611_probe()
78 i2c_reg_write(HDMI_I2C_ADDR, 0x6f, 0x08); in adv7611_probe()
[all …]
Ddp501.c30 i2c_reg_write(addr, reg, val); in dp501_setbits()
39 i2c_reg_write(addr, reg, val); in dp501_clrbits()
64 i2c_reg_write(addr, 0x5d, link_bw); /* set link_bw */ in dp501_link_training()
74 i2c_reg_write(addr, 0x5e, lane_cnt | (val & 0x80)); /* set lane_cnt */ in dp501_link_training()
76 i2c_reg_write(addr, 0x5c, val); /* set downspread_ctl */ in dp501_link_training()
78 i2c_reg_write(addr, 0x5f, 0x0d); /* start training */ in dp501_link_training()
85 i2c_reg_write(addr, 0x27, 0x30); /* Hardware auto detect DVO timing */ in dp501_powerup()
88 i2c_reg_write(addr, 0x71, 0x20); /* Enable Aux burst write */ in dp501_powerup()
94 i2c_reg_write(addr, 0x24, CONFIG_SYS_DP501_VCAPCTRL0); in dp501_powerup()
96 i2c_reg_write(addr, 0x24, 0xc0); /* SDR mode 0, ext. H/VSYNC */ in dp501_powerup()
[all …]
Dch7301.c52 i2c_reg_write(CH7301_I2C_ADDR, CH7301_TPCP, 0x08); in ch7301_probe()
53 i2c_reg_write(CH7301_I2C_ADDR, CH7301_TPD, 0x16); in ch7301_probe()
54 i2c_reg_write(CH7301_I2C_ADDR, CH7301_TPF, 0x60); in ch7301_probe()
55 i2c_reg_write(CH7301_I2C_ADDR, CH7301_DC, 0x09); in ch7301_probe()
56 i2c_reg_write(CH7301_I2C_ADDR, CH7301_PM, 0xc0); in ch7301_probe()
58 i2c_reg_write(CH7301_I2C_ADDR, CH7301_DC, 0x00); in ch7301_probe()
59 i2c_reg_write(CH7301_I2C_ADDR, CH7301_PM, 0x01); in ch7301_probe()
Dosd.c216 i2c_reg_write(ICS8N3QV01_I2C_ADDR, 0, reg0); in ics8n3qv01_set()
219 i2c_reg_write(ICS8N3QV01_I2C_ADDR, 4, reg4); in ics8n3qv01_set()
222 i2c_reg_write(ICS8N3QV01_I2C_ADDR, 8, reg8); in ics8n3qv01_set()
226 i2c_reg_write(ICS8N3QV01_I2C_ADDR, 12, reg12); in ics8n3qv01_set()
230 i2c_reg_write(ICS8N3QV01_I2C_ADDR, 18, reg18); in ics8n3qv01_set()
234 i2c_reg_write(ICS8N3QV01_I2C_ADDR, 20, reg20); in ics8n3qv01_set()
362 i2c_reg_write(SIL1178_SLAVE_I2C_ADDRESS, 0x08, 0x36); in osd_probe()
363 i2c_reg_write(SIL1178_MASTER_I2C_ADDRESS, 0x0f, 0x44); in osd_probe()
364 i2c_reg_write(SIL1178_MASTER_I2C_ADDRESS, 0x0f, 0x4c); in osd_probe()
365 i2c_reg_write(SIL1178_MASTER_I2C_ADDRESS, 0x0e, 0x10); in osd_probe()
[all …]
Dfanctrl.c22 i2c_reg_write(addr, FAN_PWM_FREQ, 20); in init_fan_controller()
25 i2c_reg_write(addr, FAN_TACHLIM_LSB, 0x10); in init_fan_controller()
26 i2c_reg_write(addr, FAN_TACHLIM_MSB, 0x0a); in init_fan_controller()
30 i2c_reg_write(addr, FAN_CONFIG, val); in init_fan_controller()
/external/u-boot/board/kosagi/novena/
Dvideo.c119 i2c_reg_write(caddr, 0x05, 0x00); in it6251_program_regs()
123 i2c_reg_write(caddr, 0xfd, 0xbc); in it6251_program_regs()
124 i2c_reg_write(caddr, 0xfe, 0x01); in it6251_program_regs()
131 i2c_reg_write(laddr, 0x05, 0xff); in it6251_program_regs()
132 i2c_reg_write(laddr, 0x05, 0x00); in it6251_program_regs()
135 i2c_reg_write(laddr, 0x3b, 0x42); in it6251_program_regs()
136 i2c_reg_write(laddr, 0x3b, 0x43); in it6251_program_regs()
139 i2c_reg_write(laddr, 0x3c, 0x08); in it6251_program_regs()
141 i2c_reg_write(laddr, 0x0b, 0x88); in it6251_program_regs()
144 i2c_reg_write(laddr, 0x2c, 0x01); in it6251_program_regs()
[all …]
/external/u-boot/board/egnite/ethernut5/
Dethernut5_pwrman.c68 i2c_reg_write(PWRMAN_I2C_ADDR, PWRMAN_REG_ENA, ~PWRMAN_ETHRST); in ethernut5_power_init()
69 i2c_reg_write(PWRMAN_I2C_ADDR, PWRMAN_REG_DIS, PWRMAN_ETHRST); in ethernut5_power_init()
90 i2c_reg_write(PWRMAN_I2C_ADDR, PWRMAN_REG_ENA, PWRMAN_ETHCLK); in ethernut5_phy_reset()
91 i2c_reg_write(PWRMAN_I2C_ADDR, PWRMAN_REG_DIS, PWRMAN_ETHRST); in ethernut5_phy_reset()
107 i2c_reg_write(PWRMAN_I2C_ADDR, PWRMAN_REG_ENA, PWRMAN_ETHRST); in ethernut5_phy_reset()
109 i2c_reg_write(PWRMAN_I2C_ADDR, PWRMAN_REG_DIS, PWRMAN_ETHRST); in ethernut5_phy_reset()
253 i2c_reg_write(PWRMAN_I2C_ADDR, PWRMAN_REG_LEDCTL, val); in do_pwrman()
277 i2c_reg_write(PWRMAN_I2C_ADDR, PWRMAN_REG_ENA, in do_pwrman()
281 i2c_reg_write(PWRMAN_I2C_ADDR, PWRMAN_REG_DIS, in do_pwrman()
/external/u-boot/board/socrates/
Dsocrates.c340 i2c_reg_write(CONFIG_SYS_I2C_W83782G_ADDR, W83782D_REG_CFG, 0x80); in w83782d_hwmon_init()
341 i2c_reg_write(CONFIG_SYS_I2C_W83782G_ADDR, W83782D_REG_BANK_SEL, 0); in w83782d_hwmon_init()
342 i2c_reg_write(CONFIG_SYS_I2C_W83782G_ADDR, W83782D_REG_ADCCLK, 0x40); in w83782d_hwmon_init()
345 i2c_reg_write(CONFIG_SYS_I2C_W83782G_ADDR, W83782D_REG_BEEP_CTRL, in w83782d_hwmon_init()
347 i2c_reg_write(CONFIG_SYS_I2C_W83782G_ADDR, W83782D_REG_BEEP_CTRL2, 0); in w83782d_hwmon_init()
348 i2c_reg_write(CONFIG_SYS_I2C_W83782G_ADDR, W83782D_REG_PWMOUT1, 0x47); in w83782d_hwmon_init()
349 i2c_reg_write(CONFIG_SYS_I2C_W83782G_ADDR, W83782D_REG_VBAT, 0x01); in w83782d_hwmon_init()
352 i2c_reg_write(CONFIG_SYS_I2C_W83782G_ADDR, W83782D_REG_CFG, in w83782d_hwmon_init()
/external/u-boot/board/freescale/ls1012ardb/
Deth.c30 i2c_reg_write(I2C_MUX_IO2_ADDR, 6, __PHY_MASK); in ls1012ardb_reset_phy()
31 i2c_reg_write(I2C_MUX_IO2_ADDR, 2, __PHY_ETH2_MASK); in ls1012ardb_reset_phy()
33 i2c_reg_write(I2C_MUX_IO2_ADDR, 2, __PHY_ETH1_MASK); in ls1012ardb_reset_phy()
35 i2c_reg_write(I2C_MUX_IO2_ADDR, 2, 0xFF); in ls1012ardb_reset_phy()
/external/u-boot/drivers/rtc/
Dds1374.c206 i2c_reg_write (CONFIG_SYS_I2C_RTC_ADDR, reg, val); in rtc_write()
209 i2c_reg_write (CONFIG_SYS_I2C_RTC_ADDR, reg, val); in rtc_write()
215 i2c_reg_write (CONFIG_SYS_I2C_RTC_ADDR, reg, val); in rtc_write_raw()
Dmax6900.c33 i2c_reg_write (CONFIG_SYS_I2C_RTC_ADDR, reg, val); in rtc_write()
Dpcf8563.c118 i2c_reg_write (CONFIG_SYS_I2C_RTC_ADDR, reg, val); in rtc_write()
Dpt7c4338.c57 i2c_reg_write(CONFIG_SYS_I2C_RTC_ADDR, reg, val); in rtc_write()
Dds3231.c167 i2c_reg_write (CONFIG_SYS_I2C_RTC_ADDR, reg, val); in rtc_write()
Dds1337.c191 i2c_reg_write (CONFIG_SYS_I2C_RTC_ADDR, reg, val); in rtc_write()
/external/u-boot/board/freescale/ls1021atwr/
Dls1021atwr.c514 i2c_reg_write(MC34VR500_ADDR, 0x31, 0x4); in ls1twr_program_regulator()
515 i2c_reg_write(MC34VR500_ADDR, 0x4d, 0x4); in ls1twr_program_regulator()
516 i2c_reg_write(MC34VR500_ADDR, 0x6d, 0x38); in ls1twr_program_regulator()
517 i2c_reg_write(MC34VR500_ADDR, 0x6f, 0x37); in ls1twr_program_regulator()
518 i2c_reg_write(MC34VR500_ADDR, 0x71, 0x30); in ls1twr_program_regulator()
/external/u-boot/include/
Di2c.h348 void i2c_reg_write(uint8_t addr, uint8_t reg, uint8_t val);
750 void i2c_reg_write(uint8_t addr, uint8_t reg, uint8_t val);
811 static inline void i2c_reg_write(u8 addr, u8 reg, u8 val) in i2c_reg_write() function
/external/u-boot/board/barco/platinum/
Dplatinum_picon.c179 i2c_reg_write(0x60, 0x05, 0x55); in platinum_setup_i2c()
240 i2c_reg_write(0x60, 0x05, 0x54); in platinum_init_finished()
/external/u-boot/board/renesas/salvator-x/
Dsalvator-x.c133 i2c_reg_write(CONFIG_SYS_I2C_POWERIC_ADDR, 0x20, 0x80); in reset_cpu()
/external/u-boot/drivers/i2c/
Di2c-uclass-compat.c120 void i2c_reg_write(uint8_t chip_addr, uint8_t offset, uint8_t val) in i2c_reg_write() function
Di2c_core.c335 void i2c_reg_write(uint8_t addr, uint8_t reg, uint8_t val) in i2c_reg_write() function

12