Home
last modified time | relevance | path

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

/u-boot/board/freescale/ls1012ardb/
A Dls1012ardb.c273 u8 data = 0xf4, chip_addr = 0x24, offset_addr = 0x03; in switch_to_bank1() local
321 ret = dm_i2c_write(dev, offset_addr, &data, 1); in switch_to_bank1()
324 ret = i2c_write(chip_addr, offset_addr, 1, &data, 1); in switch_to_bank1()
329 chip_addr, offset_addr, data); in switch_to_bank1()
337 u8 data[2] = {0xfc, 0xf5}, offset_addr[2] = {0x7, 0x3}; in switch_to_bank2() local
365 ret = dm_i2c_write(dev, offset_addr[i], &data[i], 1); in switch_to_bank2()
367 ret = i2c_write(chip_addr, offset_addr[i], 1, &data[i], 1); in switch_to_bank2()
371 chip_addr, offset_addr[i], data[i]); in switch_to_bank2()

Completed in 2 milliseconds