Lines Matching refs:dev_addr
33 static int __maybe_unused ti_i2c_eeprom_init(int i2c_bus, int dev_addr) in ti_i2c_eeprom_init() argument
43 return i2c_probe(dev_addr); in ti_i2c_eeprom_init()
55 static int __maybe_unused ti_i2c_eeprom_read(int dev_addr, int offset, in ti_i2c_eeprom_read() argument
58 return i2c_read(dev_addr, offset, 2, ep, epsize); in ti_i2c_eeprom_read()
86 static int __maybe_unused ti_i2c_eeprom_get(int bus_addr, int dev_addr, in ti_i2c_eeprom_get() argument
99 rc = dm_i2c_probe(bus, dev_addr, 0, &dev); in ti_i2c_eeprom_get()
138 rc = ti_i2c_eeprom_init(bus_addr, dev_addr); in ti_i2c_eeprom_get()
147 rc = i2c_read(dev_addr, 0x0, byte, (uint8_t *)&hdr_read, 4); in ti_i2c_eeprom_get()
158 rc = i2c_read(dev_addr, 0x0, byte, (uint8_t *)&hdr_read, in ti_i2c_eeprom_get()
166 rc = i2c_read(dev_addr, 0x0, byte, ep, size); in ti_i2c_eeprom_get()
270 int __maybe_unused ti_i2c_eeprom_am_get(int bus_addr, int dev_addr) in ti_i2c_eeprom_am_get() argument
289 rc = ti_i2c_eeprom_get(bus_addr, dev_addr, TI_EEPROM_HEADER_MAGIC, in ti_i2c_eeprom_am_get()
316 int __maybe_unused ti_i2c_eeprom_dra7_get(int bus_addr, int dev_addr) in ti_i2c_eeprom_dra7_get() argument
337 rc = ti_i2c_eeprom_get(bus_addr, dev_addr, DRA7_EEPROM_HEADER_MAGIC, in ti_i2c_eeprom_dra7_get()
425 int __maybe_unused ti_i2c_eeprom_am6_get(int bus_addr, int dev_addr, in ti_i2c_eeprom_am6_get() argument
443 rc = ti_i2c_eeprom_get(bus_addr, dev_addr, TI_EEPROM_HEADER_MAGIC, in ti_i2c_eeprom_am6_get()
457 rc = i2c_get_chip(bus, dev_addr, 1, &dev); in ti_i2c_eeprom_am6_get()
489 __func__, dev_addr, record.header.id, in ti_i2c_eeprom_am6_get()
524 int __maybe_unused ti_i2c_eeprom_am6_get_base(int bus_addr, int dev_addr) in ti_i2c_eeprom_am6_get_base() argument
540 ret = ti_i2c_eeprom_am6_get(bus_addr, dev_addr, ep, in ti_i2c_eeprom_am6_get_base()