Home
last modified time | relevance | path

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

/drivers/net/ethernet/3com/
D3c509.c190 static ushort read_eeprom(int ioaddr, int index);
421 phys_addr[i] = htons(read_eeprom(ioaddr, i)); in el3_pnp_probe()
422 if_port = read_eeprom(ioaddr, 8) >> 14; in el3_pnp_probe()
587 phys_addr[i] = htons(read_eeprom(ioaddr, i)); in el3_eisa_probe()
590 read_eeprom(ioaddr, 3); in el3_eisa_probe()
632 static ushort read_eeprom(int ioaddr, int index) in read_eeprom() function
1255 sw_info = (read_eeprom(ioaddr, 0x14) & 0x400f) | in el3_up()
1256 (read_eeprom(ioaddr, 0x0d) & 0xBff0); in el3_up()
D3c589_cs.c164 static u16 read_eeprom(unsigned int ioaddr, int index);
295 phys_addr[i] = htons(read_eeprom(ioaddr, i)); in tc589_config()
382 static u16 read_eeprom(unsigned int ioaddr, int index) in read_eeprom() function
D3c574_cs.c224 static unsigned short read_eeprom(unsigned int ioaddr, int index);
357 phys_addr[i] = htons(read_eeprom(ioaddr, i + 10)); in tc574_config()
504 static unsigned short read_eeprom(unsigned int ioaddr, int index) in read_eeprom() function
/drivers/net/ethernet/realtek/
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()
1977 addr_len = read_eeprom (regs, 0, 8) == 0x8129 ? 8 : 6; in cp_init_one()
[all …]
D8139too.c634 static int read_eeprom (void __iomem *ioaddr, int location, int addr_len);
992 addr_len = read_eeprom (ioaddr, 0, 8) == 0x8129 ? 8 : 6; in rtl8139_init_one()
995 cpu_to_le16(read_eeprom (ioaddr, i + 7, addr_len)); in rtl8139_init_one()
1145 static int read_eeprom(void __iomem *ioaddr, int location, int addr_len) in read_eeprom() function
/drivers/net/wireless/rt2x00/
Drt2800lib.h44 int (*read_eeprom)(struct rt2x00_dev *rt2x00dev); member
122 return rt2800ops->read_eeprom(rt2x00dev); in rt2800_read_eeprom()
Drt2800soc.c174 .read_eeprom = rt2800soc_read_eeprom,
Drt2800pci.c335 .read_eeprom = rt2800pci_read_eeprom,
Drt2800usb.c857 .read_eeprom = rt2800usb_read_eeprom,
/drivers/net/ethernet/packetengines/
Dyellowfin.c341 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 dev->dev_addr[i] = read_eeprom(ioaddr, ee_offset + i); in yellowfin_init_one()
524 static int read_eeprom(void __iomem *ioaddr, int location) in read_eeprom() function
Dhamachi.c545 static int read_eeprom(void __iomem *ioaddr, int location);
629 dev->dev_addr[i] = 1 ? read_eeprom(ioaddr, 4 + i) in hamachi_init_one()
636 read_eeprom(ioaddr, i), i % 16 != 15 ? " " : "\n"); in hamachi_init_one()
792 static int read_eeprom(void __iomem *ioaddr, int location) in read_eeprom() function
/drivers/net/ethernet/sis/
Dsis900.c218 static u16 read_eeprom(void __iomem *ioaddr, int location);
263 signature = (u16) read_eeprom(ioaddr, EEPROMSignature); in sis900_get_mac_addr()
272 ((u16 *)(net_dev->dev_addr))[i] = read_eeprom(ioaddr, i+EEPROMMACAddr); in sis900_get_mac_addr()
386 mac[i] = read_eeprom(ioaddr, i + EEPROMMACAddr); in sis96x_get_mac_addr()
814 static u16 read_eeprom(void __iomem *ioaddr, int location) in read_eeprom() function
/drivers/scsi/
Da100u2w.c346 static void read_eeprom(struct orc_host * host) in read_eeprom() function
538 read_eeprom(host); in init_orchid()
/drivers/net/ethernet/smsc/
Depic100.c290 static int read_eeprom(struct epic_private *, int);
426 pr_cont(" %4.4x%s", read_eeprom(ep, i), in epic_init_one()
569 static int read_eeprom(struct epic_private *ep, int location) in read_eeprom() function
/drivers/net/ethernet/dlink/
Ddl2k.c88 static int read_eeprom (struct netdev_private *, int eep_addr);
348 ((__le16 *) sromdata)[i] = cpu_to_le16(read_eeprom(np, i)); in parse_eeprom()
1280 static int read_eeprom(struct netdev_private *np, int eep_addr) in read_eeprom() function
/drivers/net/ethernet/icplus/
Dipg.c1980 static int read_eeprom(struct net_device *dev, int eep_addr) in read_eeprom() function
2046 sp->led_mode = read_eeprom(dev, 6); in ipg_hw_init()
2059 sp->station_addr[i] = read_eeprom(dev, 16 + i); in ipg_hw_init()
/drivers/media/usb/cx231xx/
Dcx231xx-cards.c983 static int read_eeprom(struct cx231xx *dev, u8 *eedata, int len) in read_eeprom() function
1066 read_eeprom(dev, eeprom, sizeof(eeprom)); in cx231xx_card_setup()
/drivers/net/ethernet/8390/
Dpcnet_cs.c759 static int read_eeprom(unsigned int ioaddr, int location) in read_eeprom() function
800 asic_data |= read_eeprom(ioaddr, location); in write_asic()
/drivers/macintosh/
Dtherm_pm72.c635 static int read_eeprom(int cpu, struct mpu_data *out) in read_eeprom() function
1170 if (read_eeprom(index, &state->mpu)) in init_processor_state()
/drivers/net/ethernet/neterion/
Ds2io.c5605 static int read_eeprom(struct s2io_nic *sp, int off, u64 *data) in read_eeprom() function
5820 if (read_eeprom(sp, (eeprom->offset + i), &data)) { in s2io_ethtool_geeprom()
5977 if (!read_eeprom(sp, 0x4F0, &org_4F0)) in s2io_eeprom_test()
5979 if (!read_eeprom(sp, 0x7F0, &org_7F0)) in s2io_eeprom_test()
5985 if (read_eeprom(sp, 0x4F0, &ret_data)) in s2io_eeprom_test()
6007 if (read_eeprom(sp, 0x7F0, &ret_data)) in s2io_eeprom_test()
/drivers/staging/rts5208/
Drtsx_scsi.c1103 static int read_eeprom(struct scsi_cmnd *srb, struct rtsx_chip *chip) in read_eeprom() function
2733 result = read_eeprom(srb, chip); in vendor_cmnd()
/drivers/staging/comedi/drivers/
Dcb_pcidas64.c3720 static uint16_t read_eeprom(struct comedi_device *dev, uint8_t address) in read_eeprom() function
3787 data[0] = read_eeprom(dev, CR_CHAN(insn->chanspec)); in eeprom_read_insn()