Home
last modified time | relevance | path

Searched refs:i2c_addr (Results 1 – 10 of 10) sorted by relevance

/external/u-boot/cmd/
Deeprom.c227 static int parse_i2c_bus_addr(int *i2c_bus, ulong *i2c_addr, int argc, in parse_i2c_bus_addr() argument
236 *i2c_addr = CONFIG_SYS_DEF_EEPROM_ADDR; in parse_i2c_bus_addr()
243 *i2c_addr = parse_numeric_param(argv[0]); in parse_i2c_bus_addr()
250 *i2c_addr = parse_numeric_param(argv[1]); in parse_i2c_bus_addr()
294 ulong i2c_addr, int layout_ver, char *key, in eeprom_execute_command() argument
309 printf(fmt, i2c_addr, "read", addr, off, cnt); in eeprom_execute_command()
311 rcode = eeprom_read(i2c_addr, off, (uchar *)addr, cnt); in eeprom_execute_command()
316 printf(fmt, i2c_addr, "write", addr, off, cnt); in eeprom_execute_command()
318 rcode = eeprom_write(i2c_addr, off, (uchar *)addr, cnt); in eeprom_execute_command()
325 rcode = eeprom_read(i2c_addr, 0, eeprom_buf, CONFIG_SYS_EEPROM_SIZE); in eeprom_execute_command()
[all …]
/external/u-boot/board/freescale/ls2080aqds/
Deth.c100 uint8_t i2c_addr[] = {0x58, 0x59, 0x5a, 0x5b, 0x5c, 0x5d, 0x5f, 0x60}; in sgmii_configure_repeater() local
157 i2c_write(i2c_addr[dpmac], 6, 1, &a, 1); in sgmii_configure_repeater()
159 i2c_write(i2c_addr[dpmac], 4, 1, &a, 1); in sgmii_configure_repeater()
161 i2c_write(i2c_addr[dpmac], 8, 1, &a, 1); in sgmii_configure_repeater()
163 i2c_write(i2c_addr[dpmac], 0xf, 1, in sgmii_configure_repeater()
165 i2c_write(i2c_addr[dpmac], 0x11, 1, in sgmii_configure_repeater()
168 i2c_write(i2c_addr[dpmac], 0x16, 1, in sgmii_configure_repeater()
170 i2c_write(i2c_addr[dpmac], 0x18, 1, in sgmii_configure_repeater()
174 i2c_write(i2c_addr[dpmac], 0x23, 1, &a, 1); in sgmii_configure_repeater()
176 i2c_write(i2c_addr[dpmac], 0x2d, 1, &a, 1); in sgmii_configure_repeater()
[all …]
/external/adhd/scripts/
Daudio_diagnostics52 while read i2c_addr
54 echo '===' i2cdump -f -y $i2c_addr '==='
55 i2cdump -f -y $i2c_addr
/external/u-boot/board/freescale/ls1088a/
Deth_ls1088aqds.c90 int i2c_addr[] = {0x58, 0x59, 0x5a, 0x5b}; in sgmii_configure_repeater() local
104 i2c_phy_addr = i2c_addr[1]; in sgmii_configure_repeater()
108 i2c_phy_addr = i2c_addr[0]; in sgmii_configure_repeater()
112 i2c_phy_addr = i2c_addr[3]; in sgmii_configure_repeater()
116 i2c_phy_addr = i2c_addr[2]; in sgmii_configure_repeater()
208 int i2c_addr[] = {0x58, 0x59, 0x5a, 0x5b}; in qsgmii_configure_repeater() local
227 i2c_phy_addr = i2c_addr[2]; in qsgmii_configure_repeater()
235 i2c_phy_addr = i2c_addr[3]; in qsgmii_configure_repeater()
/external/u-boot/board/siemens/common/
Dfactoryset.c141 int factoryset_read_eeprom(int i2c_addr) in factoryset_read_eeprom() argument
151 if (i2c_probe(i2c_addr)) in factoryset_read_eeprom()
154 if (i2c_read(i2c_addr, EEPROM_FATORYSET_OFFSET, 2, hdr, sizeof(hdr))) in factoryset_read_eeprom()
177 if (i2c_read(i2c_addr, (OFF_PG + i) * EEPR_PG_SZ, 2, in factoryset_read_eeprom()
182 if (i2c_read(i2c_addr, (OFF_PG + pages) * EEPR_PG_SZ, 2, in factoryset_read_eeprom()
Dfactoryset.h26 int factoryset_read_eeprom(int i2c_addr);
/external/u-boot/drivers/i2c/
Ds3c24x0_i2c.h46 u32 i2c_addr; member
Ddesignware_i2c.c158 static void i2c_setaddress(struct i2c_regs *i2c_base, unsigned int i2c_addr) in i2c_setaddress() argument
163 writel(i2c_addr, &i2c_base->ic_tar); in i2c_setaddress()
Dexynos_hs_i2c.c320 writel(HSI2C_SLV_ADDR_MAS(chip), &i2c->i2c_addr); in hsi2c_prepare_transaction()
/external/u-boot/drivers/video/tegra124/
Ddp.c358 static int tegra_dc_i2c_aux_read(struct tegra_dp_priv *dp, u32 i2c_addr, in tegra_dc_i2c_aux_read() argument
369 dp, DPAUX_DP_AUXCTL_CMD_MOTWR, i2c_addr, in tegra_dc_i2c_aux_read()
378 dp, DPAUX_DP_AUXCTL_CMD_I2CRD, i2c_addr, in tegra_dc_i2c_aux_read()