/openbmc/u-boot/board/birdland/bav335x/ |
H A D | board.c | 48 static int read_eeprom(struct board_eeconfig *header) in read_eeprom() function 79 ecode = read_eeprom(&header); in get_board_type() 383 ecode = read_eeprom(&header); in board_eth_init()
|
/openbmc/u-boot/drivers/net/ |
H A D | rtl8139.c | 181 static int read_eeprom(int location, int addr_len); 255 addr_len = read_eeprom(0,8) == 0x8129 ? 8 : 6; in rtl8139_probe() 257 *ap++ = le16_to_cpu (read_eeprom(i + 7, addr_len)); in rtl8139_probe() 292 static int read_eeprom(int location, int addr_len) in read_eeprom() function
|
H A D | natsemi.c | 230 static int read_eeprom(struct eth_device *dev, long addr, int location); 360 short eedata = read_eeprom(dev, EECtrl, i); in natsemi_initialize() 366 prev_eedata = read_eeprom(dev, EECtrl, 6); in natsemi_initialize() 368 int eedata = read_eeprom(dev, EECtrl, i + 7); in natsemi_initialize() 495 read_eeprom(struct eth_device *dev, long addr, int location) in read_eeprom() function
|
H A D | eepro100.c | 749 static int read_eeprom (struct eth_device *dev, int location, int addr_len) in read_eeprom() function 913 int addr_len = read_eeprom (dev, 0, 6) == 0xffff ? 8 : 6; in read_hw_addr() 916 u16 value = read_eeprom (dev, i, addr_len); in read_hw_addr()
|
/openbmc/u-boot/board/siemens/common/ |
H A D | board.c | 51 if (read_eeprom() < 0) in set_mux_conf_regs() 76 if (read_eeprom() < 0) in board_init()
|
/openbmc/u-boot/board/vscom/baltos/ |
H A D | board.c | 73 static int read_eeprom(BSP_VS_HWPARAM *header) in read_eeprom() function 279 if (read_eeprom(&header)) in ft_board_setup() 349 if (read_eeprom(&header)) { in board_late_init()
|
/openbmc/u-boot/board/varisys/common/ |
H A D | sys_eeprom.c | 133 int read_eeprom(void) in read_eeprom() function 319 read_eeprom(); in do_mac() 444 if (read_eeprom()) { in mac_read_from_eeprom_common()
|
/openbmc/u-boot/board/gumstix/pepper/ |
H A D | board.c | 108 static int read_eeprom(struct pepper_board_id *header) in read_eeprom() function 129 if (read_eeprom(&header) < 0) in get_dpll_ddr_params()
|
/openbmc/u-boot/board/k+p/kp_imx53/ |
H A D | kp_id_rev.h | 25 int read_eeprom(void);
|
H A D | kp_id_rev.c | 66 int read_eeprom(void) in read_eeprom() function
|
H A D | kp_imx53.c | 209 ret = read_eeprom(); in board_late_init()
|
/openbmc/u-boot/board/freescale/common/ |
H A D | sys_eeprom.c | 147 static int read_eeprom(void) in read_eeprom() function 335 read_eeprom(); in do_mac() 426 if (read_eeprom()) { in mac_read_from_eeprom()
|
/openbmc/linux/drivers/net/ethernet/3com/ |
H A D | 3c509.c | 186 static ushort read_eeprom(int ioaddr, int index); 415 phys_addr[i] = htons(read_eeprom(ioaddr, i)); in el3_pnp_probe() 416 if_port = read_eeprom(ioaddr, 8) >> 14; in el3_pnp_probe() 579 phys_addr[i] = htons(read_eeprom(ioaddr, i)); in el3_eisa_probe() 582 read_eeprom(ioaddr, 3); in el3_eisa_probe() 623 static ushort read_eeprom(int ioaddr, int index) in read_eeprom() function 1247 sw_info = (read_eeprom(ioaddr, 0x14) & 0x400f) | in el3_up() 1248 (read_eeprom(ioaddr, 0x0d) & 0xBff0); in el3_up()
|
H A D | 3c589_cs.c | 163 static u16 read_eeprom(unsigned int ioaddr, int index); 301 addr[i] = htons(read_eeprom(ioaddr, i)); in tc589_config() 389 static u16 read_eeprom(unsigned int ioaddr, int index) in read_eeprom() function
|
H A D | 3c574_cs.c | 224 static unsigned short read_eeprom(unsigned int ioaddr, int index); 354 addr[i] = htons(read_eeprom(ioaddr, i + 10)); in tc574_config() 502 static unsigned short read_eeprom(unsigned int ioaddr, int index) in read_eeprom() function
|
/openbmc/u-boot/board/bosch/shc/ |
H A D | board.c | 47 static int read_eeprom(void) in read_eeprom() function 441 if (read_eeprom() < 0) in board_init()
|
/openbmc/linux/drivers/net/ethernet/realtek/ |
H A D | 8139cp.c | 1712 static u16 read_eeprom (void __iomem *ioaddr, int location, int addr_len) in read_eeprom() function 1766 size = read_eeprom(cp->regs, 0, 8) == 0x8129 ? 256 : 128; in cp_get_eeprom_len() 1786 addr_len = read_eeprom(cp->regs, 0, 8) == 0x8129 ? 8 : 6; in cp_get_eeprom() 1789 val = read_eeprom(cp->regs, offset, addr_len); in cp_get_eeprom() 1795 val = read_eeprom(cp->regs, offset, addr_len); in cp_get_eeprom() 1802 val = read_eeprom(cp->regs, offset, addr_len); in cp_get_eeprom() 1825 addr_len = read_eeprom(cp->regs, 0, 8) == 0x8129 ? 8 : 6; in cp_set_eeprom() 1828 val = read_eeprom(cp->regs, offset, addr_len) & 0xff; in cp_set_eeprom() 1842 val = read_eeprom(cp->regs, offset, addr_len) & 0xff00; in cp_set_eeprom() 1983 addr_len = read_eeprom (regs, 0, 8) == 0x8129 ? 8 : 6; in cp_init_one() [all …]
|
/openbmc/u-boot/board/gateworks/gw_ventana/ |
H A D | ventana_eeprom.h | 138 int read_eeprom(int bus, struct ventana_board_info *);
|
H A D | eeprom.c | 19 read_eeprom(int bus, struct ventana_board_info *info) in read_eeprom() function
|
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2800lib.h | 71 int (*read_eeprom)(struct rt2x00_dev *rt2x00dev); member 148 return rt2800ops->read_eeprom(rt2x00dev); in rt2800_read_eeprom()
|
H A D | rt2800soc.c | 171 .read_eeprom = rt2800soc_read_eeprom,
|
/openbmc/linux/drivers/net/ethernet/sis/ |
H A D | sis900.c | 220 static u16 read_eeprom(void __iomem *ioaddr, int location); 266 signature = (u16) read_eeprom(ioaddr, EEPROMSignature); in sis900_get_mac_addr() 275 addr[i] = read_eeprom(ioaddr, i+EEPROMMACAddr); in sis900_get_mac_addr() 394 addr[i] = read_eeprom(ioaddr, i + EEPROMMACAddr); in sis96x_get_mac_addr() 823 static u16 read_eeprom(void __iomem *ioaddr, int location) in read_eeprom() function 2165 ebuf[i] = (u16)read_eeprom(ioaddr, i); in sis900_read_eeprom() 2173 signature = (u16)read_eeprom(ioaddr, EEPROMSignature); in sis900_read_eeprom() 2177 ebuf[i] = (u16)read_eeprom(ioaddr, i); in sis900_read_eeprom()
|
/openbmc/linux/drivers/net/ethernet/packetengines/ |
H A D | yellowfin.c | 341 static int read_eeprom(void __iomem *ioaddr, int location); 422 int ee_offset = (read_eeprom(ioaddr, 6) == 0xff ? 0x100 : 0); in yellowfin_init_one() 424 addr[i] = read_eeprom(ioaddr, ee_offset + i); in yellowfin_init_one() 530 static int read_eeprom(void __iomem *ioaddr, int location) in read_eeprom() function
|
/openbmc/u-boot/board/siemens/draco/ |
H A D | board.c | 155 static int read_eeprom(void) in read_eeprom() function
|
/openbmc/u-boot/board/siemens/rut/ |
H A D | board.c | 40 static int read_eeprom(void) in read_eeprom() function
|