Searched refs:addr_len (Results 1 – 10 of 10) sorted by relevance
/u-boot/drivers/core/ |
A D | regmap.c | 122 addr_len, size_len, in init_range() 139 int addr_len, size_len; in regmap_init_mem_index() local 143 if (addr_len < 0) { in regmap_init_mem_index() 145 ofnode_get_name(node), addr_len); in regmap_init_mem_index() 146 return addr_len; in regmap_init_mem_index() 214 int addr_len, size_len, both_len; in regmap_init_mem() local 220 if (addr_len < 0) { in regmap_init_mem() 222 ofnode_get_name(node), addr_len); in regmap_init_mem() 223 return addr_len; in regmap_init_mem() 233 both_len = addr_len + size_len; in regmap_init_mem() [all …]
|
/u-boot/tools/ |
A D | ncb.c | 12 socklen_t addr_len = sizeof addr; in main() local 30 len = recvfrom (s, buf, sizeof buf, 0, (struct sockaddr *) &addr, &addr_len); in main()
|
/u-boot/board/varisys/common/ |
A D | eeprom.h | 4 void init_eeprom(int bus_num, int addr, int addr_len);
|
A D | sys_eeprom.c | 69 void init_eeprom(int bus_num, int addr, int addr_len) in init_eeprom() argument 73 eeprom_addr_len = addr_len; in init_eeprom()
|
/u-boot/drivers/i2c/ |
A D | s3c24x0_i2c.c | 109 unsigned char addr_len, in i2c_transfer() argument 131 if ((cmd_type == I2C_WRITE) || (addr && addr_len)) in i2c_transfer() 144 if (addr && addr_len) { in i2c_transfer() 145 while ((i < addr_len) && (result == I2C_OK)) { in i2c_transfer() 165 if (addr && addr_len) { in i2c_transfer()
|
A D | nx_i2c.c | 363 uchar addr_len, in i2c_transfer() argument 382 if (cmd_type == I2C_WRITE || (addr && addr_len)) in i2c_transfer() 399 if (addr && addr_len) { /* register addr */ in i2c_transfer() 400 while ((i < addr_len) && !result) { in i2c_transfer() 423 if (addr && addr_len) { in i2c_transfer()
|
A D | i2c-cortina.c | 149 int addr_len = alen; in i2c_xfer_init() local 173 if (write_read == I2C_CMD_RD && addr_len > 0) in i2c_xfer_init()
|
/u-boot/drivers/net/ |
A D | eepro100.c | 99 #define EE_EWENB_CMD(addr_len) (4 << (addr_len)) argument 100 #define EE_WRITE_CMD(addr_len) (5 << (addr_len)) argument 101 #define EE_READ_CMD(addr_len) (6 << (addr_len)) argument 102 #define EE_ERASE_CMD(addr_len) (7 << (addr_len)) argument 451 static int read_eeprom(struct eepro100_priv *priv, int location, int addr_len) in read_eeprom() argument 454 int read_cmd = location | EE_READ_CMD(addr_len); in read_eeprom() 527 int addr_len = read_eeprom(priv, 0, 6) == 0xffff ? 8 : 6; in eepro100_get_hwaddr() local 530 u16 value = read_eeprom(priv, i, addr_len); in eepro100_get_hwaddr()
|
A D | rtl8139.c | 244 unsigned int location, unsigned int addr_len) in rtl8139_read_eeprom() argument 246 unsigned int read_cmd = location | (EE_READ_CMD << addr_len); in rtl8139_read_eeprom() 257 for (i = 4 + addr_len; i >= 0; i--) { in rtl8139_read_eeprom() 539 int i, addr_len; in rtl8139_get_hwaddr() local 544 addr_len = rtl8139_read_eeprom(priv, 0, 8) == 0x8129 ? 8 : 6; in rtl8139_get_hwaddr() 546 *ap++ = le16_to_cpu(rtl8139_read_eeprom(priv, i + 7, addr_len)); in rtl8139_get_hwaddr()
|
A D | dc2114x.c | 182 int addr_len) in do_read_eeprom() argument 184 int read_cmd = location | (SROM_READ_CMD << addr_len); in do_read_eeprom() 194 for (i = 4 + addr_len; i >= 0; i--) { in do_read_eeprom()
|
Completed in 22 milliseconds