Home
last modified time | relevance | path

Searched refs:i2c_reg_read (Results 1 – 21 of 21) sorted by relevance

/external/u-boot/board/kosagi/novena/
Dvideo.c69 rpclkcnt = (i2c_reg_read(caddr, 0x13) & 0xff) | in it6251_is_stable()
70 ((i2c_reg_read(caddr, 0x14) << 8) & 0x0f00); in it6251_is_stable()
73 status = i2c_reg_read(caddr, IT6251_SYSTEM_STATUS); in it6251_is_stable()
76 clkcnt = (i2c_reg_read(laddr, IT6251_REG_PCLK_CNT_LOW) & 0xff) | in it6251_is_stable()
77 ((i2c_reg_read(laddr, IT6251_REG_PCLK_CNT_HIGH) << 8) & in it6251_is_stable()
81 refstate = i2c_reg_read(laddr, IT6251_REF_STATE); in it6251_is_stable()
102 if (i2c_reg_read(caddr, IT6251_VENDOR_ID_LOW) != 0x15) in it6251_ready()
104 if (i2c_reg_read(caddr, IT6251_VENDOR_ID_HIGH) != 0xca) in it6251_ready()
106 if (i2c_reg_read(caddr, IT6251_DEVICE_ID_LOW) != 0x51) in it6251_ready()
108 if (i2c_reg_read(caddr, IT6251_DEVICE_ID_HIGH) != 0x62) in it6251_ready()
[all …]
/external/u-boot/board/gdsys/common/
Ddp501.c28 val = i2c_reg_read(addr, reg); in dp501_setbits()
37 val = i2c_reg_read(addr, reg); in dp501_clrbits()
44 u8 val = i2c_reg_read(addr, 0x00); in dp501_detect_cable_adapter()
56 val = i2c_reg_read(addr, 0x51); in dp501_link_training()
65 val = i2c_reg_read(addr, 0x52); in dp501_link_training()
75 val = i2c_reg_read(addr, 0x53); in dp501_link_training()
Dosd.c143 reg_a = i2c_reg_read(ICS8N3QV01_I2C_ADDR, 0 + index); in ics8n3qv01_get_fout_calc()
144 reg_b = i2c_reg_read(ICS8N3QV01_I2C_ADDR, 4 + index); in ics8n3qv01_get_fout_calc()
145 reg_c = i2c_reg_read(ICS8N3QV01_I2C_ADDR, 8 + index); in ics8n3qv01_get_fout_calc()
146 reg_d = i2c_reg_read(ICS8N3QV01_I2C_ADDR, 12 + index); in ics8n3qv01_get_fout_calc()
147 reg_f = i2c_reg_read(ICS8N3QV01_I2C_ADDR, 20 + index); in ics8n3qv01_get_fout_calc()
213 reg0 = i2c_reg_read(ICS8N3QV01_I2C_ADDR, 0) & 0xc0; in ics8n3qv01_set()
228 reg18 = i2c_reg_read(ICS8N3QV01_I2C_ADDR, 18) & 0x03; in ics8n3qv01_set()
232 reg20 = i2c_reg_read(ICS8N3QV01_I2C_ADDR, 20) & 0x1f; in ics8n3qv01_set()
357 if (i2c_reg_read(SIL1178_SLAVE_I2C_ADDRESS, 0x02) == 0x06) { in osd_probe()
Dadv7611.c52 rd_info = (i2c_reg_read(IO_I2C_ADDR, IO_RD_INFO_MSB) << 8) in adv7611_probe()
53 | i2c_reg_read(IO_I2C_ADDR, IO_RD_INFO_LSB); in adv7611_probe()
Dfanctrl.c29 val = i2c_reg_read(addr, FAN_CONFIG) | 0x04; in init_fan_controller()
Dch7301.c47 value = i2c_reg_read(CH7301_I2C_ADDR, CH7301_DID); in ch7301_probe()
/external/u-boot/board/egnite/ethernut5/
Dethernut5_pwrman.c60 pwrman_minor = i2c_reg_read(PWRMAN_I2C_ADDR, PWRMAN_REG_VERS); in ethernut5_power_init()
176 flags = i2c_reg_read(PWRMAN_I2C_ADDR, PWRMAN_REG_ENA); in ethernut5_print_power()
191 val = i2c_reg_read(PWRMAN_I2C_ADDR, PWRMAN_REG_TEMP); in ethernut5_print_celsius()
205 val = i2c_reg_read(PWRMAN_I2C_ADDR, PWRMAN_REG_VAUX); in ethernut5_print_voltage()
241 val = i2c_reg_read(PWRMAN_I2C_ADDR, PWRMAN_REG_LEDCTL); in do_pwrman()
261 val &= i2c_reg_read(PWRMAN_I2C_ADDR, PWRMAN_REG_STA); in do_pwrman()
/external/u-boot/drivers/video/
Danx9804.c49 c = i2c_reg_read(0x39, ANX9804_DEV_IDH_REG); in anx9804_init()
57 c = i2c_reg_read(0x38, ANX9804_SYS_CTRL2_REG); in anx9804_init()
59 c = i2c_reg_read(0x38, ANX9804_SYS_CTRL2_REG); in anx9804_init()
112 c = i2c_reg_read(0x38, ANX9804_LINK_TRAINING_CTRL_REG); in anx9804_init()
/external/u-boot/drivers/rtc/
Dds1374.c199 return (i2c_reg_read (CONFIG_SYS_I2C_RTC_ADDR, reg)); in rtc_read()
205 val |= i2c_reg_read (CONFIG_SYS_I2C_RTC_ADDR, reg); in rtc_write()
208 val = i2c_reg_read (CONFIG_SYS_I2C_RTC_ADDR, reg) & ~val; in rtc_write()
Dmax6900.c28 return (i2c_reg_read (CONFIG_SYS_I2C_RTC_ADDR, reg)); in rtc_read()
Dpcf8563.c113 return (i2c_reg_read (CONFIG_SYS_I2C_RTC_ADDR, reg)); in rtc_read()
Dpt7c4338.c52 return i2c_reg_read(CONFIG_SYS_I2C_RTC_ADDR, reg); in rtc_read()
Dds3231.c161 return (i2c_reg_read (CONFIG_SYS_I2C_RTC_ADDR, reg)); in rtc_read()
Dds1337.c185 return (i2c_reg_read (CONFIG_SYS_I2C_RTC_ADDR, reg)); in rtc_read()
Dds1307.c198 return (i2c_reg_read (CONFIG_SYS_I2C_RTC_ADDR, reg)); in rtc_read()
/external/u-boot/include/
Di2c.h347 uint8_t i2c_reg_read(uint8_t addr, uint8_t reg);
748 uint8_t i2c_reg_read(uint8_t addr, uint8_t reg);
798 static inline u8 i2c_reg_read(u8 addr, u8 reg) in i2c_reg_read() function
/external/u-boot/board/socrates/
Dsocrates.c344 buf = i2c_reg_read(CONFIG_SYS_I2C_W83782G_ADDR, W83782D_REG_BEEP_CTRL); in w83782d_hwmon_init()
351 buf = i2c_reg_read(CONFIG_SYS_I2C_W83782G_ADDR, W83782D_REG_CFG); in w83782d_hwmon_init()
/external/u-boot/drivers/i2c/
Di2c-uclass-compat.c109 uint8_t i2c_reg_read(uint8_t chip_addr, uint8_t offset) in i2c_reg_read() function
Di2c_core.c321 uint8_t i2c_reg_read(uint8_t addr, uint8_t reg) in i2c_reg_read() function
/external/u-boot/board/freescale/common/
Dqixis.c27 return i2c_reg_read(CONFIG_SYS_I2C_FPGA_ADDR, reg); in qixis_read_i2c()
/external/u-boot/board/freescale/ls1021atwr/
Dls1021atwr.c507 i2c_device_id = i2c_reg_read(MC34VR500_ADDR, 0x0) & in ls1twr_program_regulator()