Home
last modified time | relevance | path

Searched refs:read_eeprom (Results 1 – 25 of 38) sorted by relevance

12

/OK3568_Linux_fs/u-boot/board/birdland/bav335x/
H A Dboard.c49 static int read_eeprom(struct board_eeconfig *header) in read_eeprom() function
80 ecode = read_eeprom(&header); in get_board_type()
384 ecode = read_eeprom(&header); in board_eth_init()
/OK3568_Linux_fs/u-boot/drivers/net/
H A Drtl8139.c185 static int read_eeprom(int location, int addr_len);
263 addr_len = read_eeprom(0,8) == 0x8129 ? 8 : 6; in rtl8139_probe()
265 *ap++ = le16_to_cpu (read_eeprom(i + 7, addr_len)); in rtl8139_probe()
300 static int read_eeprom(int location, int addr_len) in read_eeprom() function
H A Dnatsemi.c231 static int read_eeprom(struct eth_device *dev, long addr, int location);
361 short eedata = read_eeprom(dev, EECtrl, i); in natsemi_initialize()
367 prev_eedata = read_eeprom(dev, EECtrl, 6); in natsemi_initialize()
369 int eedata = read_eeprom(dev, EECtrl, i + 7); in natsemi_initialize()
496 read_eeprom(struct eth_device *dev, long addr, int location) in read_eeprom() function
H A Deepro100.c752 static int read_eeprom (struct eth_device *dev, int location, int addr_len) in read_eeprom() function
916 int addr_len = read_eeprom (dev, 0, 6) == 0xffff ? 8 : 6; in read_hw_addr()
919 u16 value = read_eeprom (dev, i, addr_len); in read_hw_addr()
/OK3568_Linux_fs/u-boot/board/vscom/baltos/
H A Dboard.c76 static int read_eeprom(BSP_VS_HWPARAM *header) in read_eeprom() function
285 if (read_eeprom(&header)) in ft_board_setup()
355 if (read_eeprom(&header)) { in board_late_init()
/OK3568_Linux_fs/u-boot/board/siemens/common/
H A Dboard.c52 if (read_eeprom() < 0) in set_mux_conf_regs()
77 if (read_eeprom() < 0) in board_init()
/OK3568_Linux_fs/u-boot/board/varisys/common/
H A Dsys_eeprom.c134 int read_eeprom(void) in read_eeprom() function
320 read_eeprom(); in do_mac()
445 if (read_eeprom()) { in mac_read_from_eeprom_common()
/OK3568_Linux_fs/u-boot/board/freescale/common/
H A Dsys_eeprom.c148 static int read_eeprom(void) in read_eeprom() function
336 read_eeprom(); in do_mac()
427 if (read_eeprom()) { in mac_read_from_eeprom()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/3com/
H A D3c509.c186 static ushort read_eeprom(int ioaddr, int index);
417 phys_addr[i] = htons(read_eeprom(ioaddr, i)); in el3_pnp_probe()
418 if_port = read_eeprom(ioaddr, 8) >> 14; in el3_pnp_probe()
580 phys_addr[i] = htons(read_eeprom(ioaddr, i)); in el3_eisa_probe()
583 read_eeprom(ioaddr, 3); in el3_eisa_probe()
625 static ushort read_eeprom(int ioaddr, int index) in read_eeprom() function
1248 sw_info = (read_eeprom(ioaddr, 0x14) & 0x400f) | in el3_up()
1249 (read_eeprom(ioaddr, 0x0d) & 0xBff0); in el3_up()
H A D3c589_cs.c163 static u16 read_eeprom(unsigned int ioaddr, int index);
293 phys_addr[i] = htons(read_eeprom(ioaddr, i)); in tc589_config()
380 static u16 read_eeprom(unsigned int ioaddr, int index) in read_eeprom() function
H A D3c574_cs.c224 static unsigned short read_eeprom(unsigned int ioaddr, int index);
356 phys_addr[i] = htons(read_eeprom(ioaddr, i + 10)); in tc574_config()
503 static unsigned short read_eeprom(unsigned int ioaddr, int index) in read_eeprom() function
/OK3568_Linux_fs/u-boot/board/gumstix/pepper/
H A Dboard.c109 static int read_eeprom(struct pepper_board_id *header) in read_eeprom() function
130 if (read_eeprom(&header) < 0) in get_dpll_ddr_params()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/realtek/
H A D8139cp.c1710 static u16 read_eeprom (void __iomem *ioaddr, int location, int addr_len) in read_eeprom() function
1764 size = read_eeprom(cp->regs, 0, 8) == 0x8129 ? 256 : 128; in cp_get_eeprom_len()
1784 addr_len = read_eeprom(cp->regs, 0, 8) == 0x8129 ? 8 : 6; in cp_get_eeprom()
1787 val = read_eeprom(cp->regs, offset, addr_len); in cp_get_eeprom()
1793 val = read_eeprom(cp->regs, offset, addr_len); in cp_get_eeprom()
1800 val = read_eeprom(cp->regs, offset, addr_len); in cp_get_eeprom()
1823 addr_len = read_eeprom(cp->regs, 0, 8) == 0x8129 ? 8 : 6; in cp_set_eeprom()
1826 val = read_eeprom(cp->regs, offset, addr_len) & 0xff; in cp_set_eeprom()
1840 val = read_eeprom(cp->regs, offset, addr_len) & 0xff00; in cp_set_eeprom()
1987 addr_len = read_eeprom (regs, 0, 8) == 0x8129 ? 8 : 6; in cp_init_one()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/ralink/rt2x00/
H A Drt2800lib.h61 int (*read_eeprom)(struct rt2x00_dev *rt2x00dev); member
138 return rt2800ops->read_eeprom(rt2x00dev); in rt2800_read_eeprom()
H A Drt2800soc.c170 .read_eeprom = rt2800soc_read_eeprom,
/OK3568_Linux_fs/u-boot/board/bosch/shc/
H A Dboard.c52 static int read_eeprom(void) in read_eeprom() function
444 if (read_eeprom() < 0) in board_init()
/OK3568_Linux_fs/u-boot/board/gateworks/gw_ventana/
H A Dventana_eeprom.h132 int read_eeprom(int bus, struct ventana_board_info *);
H A Deeprom.c19 read_eeprom(int bus, struct ventana_board_info *info) in read_eeprom() function
H A Dcommon.c1247 int board = read_eeprom(CONFIG_I2C_GSC, &ventana_info); in setup_pmic()
1336 int board_type = read_eeprom(CONFIG_I2C_GSC, &ventana_info); in board_mmc_init()
1397 int board = read_eeprom(CONFIG_I2C_GSC, &ventana_info); in board_mmc_getcd()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/sis/
H A Dsis900.c220 static u16 read_eeprom(void __iomem *ioaddr, int location);
265 signature = (u16) read_eeprom(ioaddr, EEPROMSignature); in sis900_get_mac_addr()
274 ((u16 *)(net_dev->dev_addr))[i] = read_eeprom(ioaddr, i+EEPROMMACAddr); in sis900_get_mac_addr()
388 mac[i] = read_eeprom(ioaddr, i + EEPROMMACAddr); in sis96x_get_mac_addr()
816 static u16 read_eeprom(void __iomem *ioaddr, int location) in read_eeprom() function
2158 ebuf[i] = (u16)read_eeprom(ioaddr, i); in sis900_read_eeprom()
2166 signature = (u16)read_eeprom(ioaddr, EEPROMSignature); in sis900_read_eeprom()
2170 ebuf[i] = (u16)read_eeprom(ioaddr, i); in sis900_read_eeprom()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/packetengines/
H A Dyellowfin.c341 static int read_eeprom(void __iomem *ioaddr, int location);
421 int ee_offset = (read_eeprom(ioaddr, 6) == 0xff ? 0x100 : 0); in yellowfin_init_one()
423 dev->dev_addr[i] = read_eeprom(ioaddr, ee_offset + i); in yellowfin_init_one()
528 static int read_eeprom(void __iomem *ioaddr, int location) in read_eeprom() function
H A Dhamachi.c545 static int read_eeprom(void __iomem *ioaddr, int location);
628 dev->dev_addr[i] = 1 ? read_eeprom(ioaddr, 4 + i) in hamachi_init_one()
635 read_eeprom(ioaddr, i), i % 16 != 15 ? " " : "\n"); in hamachi_init_one()
793 static int read_eeprom(void __iomem *ioaddr, int location) in read_eeprom() function
/OK3568_Linux_fs/u-boot/board/siemens/draco/
H A Dboard.c158 static int read_eeprom(void) in read_eeprom() function
/OK3568_Linux_fs/u-boot/board/siemens/pxm2/
H A Dboard.c164 int read_eeprom(void) in read_eeprom() function
/OK3568_Linux_fs/u-boot/board/siemens/rut/
H A Dboard.c43 static int read_eeprom(void) in read_eeprom() function

12