Searched refs:i2c_addr (Results 1 - 21 of 21) sorted by relevance

/u-boot/board/siemens/common/
H A Dfactoryset.h26 int factoryset_read_eeprom(int i2c_addr);
H A Dfactoryset.c138 int factoryset_read_eeprom(int i2c_addr) argument
/u-boot/cmd/
H A Deeprom.c215 * @i2c_addr: address to store the device i2c address
222 static int parse_i2c_bus_addr(int *i2c_bus, ulong *i2c_addr, int argc, argument
231 *i2c_addr = CONFIG_SYS_I2C_EEPROM_ADDR;
238 *i2c_addr = parse_numeric_param(argv[0]);
245 *i2c_addr = parse_numeric_param(argv[1]);
289 ulong i2c_addr, int layout_ver, char *key,
304 printf(fmt, i2c_addr, "read", addr, off, cnt);
306 rcode = eeprom_read(i2c_addr, off, (uchar *)addr, cnt);
311 printf(fmt, i2c_addr, "write", addr, off, cnt);
313 rcode = eeprom_write(i2c_addr, of
288 eeprom_execute_command(enum eeprom_action action, int i2c_bus, ulong i2c_addr, int layout_ver, char *key, char *value, ulong addr, ulong off, ulong cnt) argument
346 ulong i2c_addr = -1, addr = 0, cnt = 0, off = 0; local
[all...]
/u-boot/board/ti/j721s2/
H A Devm.c166 * cards they should be grouped by the 'i2c_addr' field to allow for a
170 u8 i2c_addr; /* I2C address of card EEPROM */ member in struct:__anon6
205 u8 i2c_addr = ext_cards[i].i2c_addr; local
208 if (i2c_addr != previous_i2c_addr) {
210 previous_i2c_addr = i2c_addr;
214 i2c_addr,
221 __func__, i2c_addr, ret);
/u-boot/board/ti/am65x/
H A Devm.c185 u8 i2c_addr; member in struct:__anon54
246 u8 i2c_addr = slot_map[slot_index].i2c_addr; local
259 ret = ti_i2c_eeprom_am6_get(CONFIG_EEPROM_BUS_ADDRESS, i2c_addr,
266 i2c_addr, ret);
/u-boot/board/ti/j721e/
H A Devm.c182 * cards they should be grouped by the 'i2c_addr' field to allow for a
186 u8 i2c_addr; /* I2C address of card EEPROM */ member in struct:__anon56
266 u8 i2c_addr = ext_cards[i].i2c_addr; local
269 if (i2c_addr != previous_i2c_addr) {
271 previous_i2c_addr = i2c_addr;
275 i2c_addr,
282 __func__, i2c_addr, ret);
/u-boot/board/amlogic/vim3/
H A Dvim3.c45 unsigned int i2c_addr; local
61 i2c_addr = fdt32_to_cpu(*val);
76 ret = i2c_get_chip(bus, i2c_addr, 1, &dev);
/u-boot/drivers/i2c/
H A Ds3c24x0_i2c.h46 u32 i2c_addr; member in struct:exynos5_hsi2c
H A Dqup_i2c.c390 u32 i2c_addr; local
413 i2c_addr = i2c_8bit_addr_from_msg(m);
416 ret = qup_i2c_blsp_read(qup, i2c_addr, idx == (num - 1),
419 ret = qup_i2c_blsp_write(qup, i2c_addr, idx == 0,
H A Di2c-cortina.c115 static void i2c_setaddress(struct i2c_regs *regs, unsigned int i2c_addr, argument
118 writel(i2c_addr | write_read, &regs->i2c_txr);
H A Ddesignware_i2c.c368 * @i2c_addr: target i2c address
372 static void i2c_setaddress(struct i2c_regs *i2c_base, unsigned int i2c_addr) argument
377 writel(i2c_addr, &i2c_base->ic_tar);
H A Dexynos_hs_i2c.c323 writel(HSI2C_SLV_ADDR_MAS(chip), &i2c->i2c_addr);
/u-boot/arch/mips/mach-octeon/include/mach/
H A Docteon_fdt.h250 * @param[out] i2c_addr For i2c GPIO expanders, the i2c address
257 int *i2c_addr);
H A Dcvmx-helper-board.h189 int i2c_addr; member in struct:cvmx_vsc7224
201 int i2c_addr; member in struct:cvmx_avsp5410
H A Dcvmx-helper-gpio.h221 int i2c_addr; /** Address on i2c bus */ member in struct:cvmx_fdt_gpio_info
H A Dcvmx-helper-fdt.h54 u8 i2c_addr; member in struct:cvmx_fdt_i2c_bus_info
H A Dcvmx-helper-sfp.h265 * @param i2c_addr i2c address to use, 0 for default
269 int cvmx_phy_sfp_read_i2c_eeprom(u8 *buffer, int i2c_bus, int i2c_addr);
/u-boot/arch/mips/mach-octeon/
H A Docteon_fdt.c877 * @param[out] i2c_addr For i2c GPIO expanders, the i2c address
884 int *i2c_bus, int *i2c_addr)
897 if (i2c_addr)
898 *i2c_addr = -1;
921 if (!i2c_addr || !i2c_bus) {
922 printf("%s: Error: i2c_addr or i2c_bus is NULL\n", __func__);
926 *i2c_addr = fdtdec_get_int(fdt, fdt_node, "reg", -1);
883 octeon_fdt_get_gpio_info(int fdt_node, enum octeon_gpio_type *type, int *i2c_bus, int *i2c_addr) argument
H A Dcvmx-helper-fdt.c311 vsc7224->i2c_addr = ofnode_get_addr(node);
313 if (vsc7224->i2c_addr < 0) {
366 vsc7224->i2c_addr, 1, &dev);
H A Dcvmx-helper-board.c174 cvmx_write_vsc7224_reg(vsc7224->i2c_bus, vsc7224->i2c_addr,
178 vsc7224->i2c_addr, 0x99,
182 vsc7224->i2c_addr, 0x9a,
186 vsc7224->i2c_addr, 0x9b,
194 vsc7224->i2c_addr, 0x97);
202 vsc7224->i2c_addr, 0x97, val);
/u-boot/drivers/video/tegra124/
H A Ddp.c360 static int tegra_dc_i2c_aux_read(struct tegra_dp_priv *dp, u32 i2c_addr, argument
371 dp, DPAUX_DP_AUXCTL_CMD_MOTWR, i2c_addr,
380 dp, DPAUX_DP_AUXCTL_CMD_I2CRD, i2c_addr,

Completed in 293 milliseconds