/kernel/linux/linux-5.10/drivers/net/ethernet/3com/ |
H A D | 3c509.c | 55 - Increase *read_eeprom udelay to workaround oops with 2 cards. 186 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 D | 3c589_cs.c | 163 static u16 read_eeprom(unsigned int ioaddr, int index); 302 phys_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); 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
|
/kernel/linux/linux-6.6/drivers/net/ethernet/3com/ |
H A D | 3c509.c | 55 - Increase *read_eeprom udelay to workaround oops with 2 cards. 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
|
/kernel/linux/linux-5.10/drivers/net/ethernet/realtek/ |
H A D | 8139cp.c | 1710 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 (reg in cp_init_one() [all...] |
H A D | 8139too.c | 639 static int read_eeprom (void __iomem *ioaddr, int location, int addr_len); 995 addr_len = read_eeprom (ioaddr, 0, 8) == 0x8129 ? 8 : 6; in rtl8139_init_one() 998 cpu_to_le16(read_eeprom (ioaddr, i + 7, addr_len)); in rtl8139_init_one() 1152 static int read_eeprom(void __iomem *ioaddr, int location, int addr_len) in read_eeprom() function
|
/kernel/linux/linux-6.6/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 (reg in cp_init_one() [all...] |
H A D | 8139too.c | 639 static int read_eeprom (void __iomem *ioaddr, int location, int addr_len); 996 addr_len = read_eeprom (ioaddr, 0, 8) == 0x8129 ? 8 : 6; in rtl8139_init_one() 998 addr[i] = cpu_to_le16(read_eeprom (ioaddr, i + 7, addr_len)); in rtl8139_init_one() 1153 static int read_eeprom(void __iomem *ioaddr, int location, int addr_len) in read_eeprom() function
|
/kernel/linux/linux-5.10/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2800lib.h | 61 int (*read_eeprom)(struct rt2x00_dev *rt2x00dev); member 138 return rt2800ops->read_eeprom(rt2x00dev); in rt2800_read_eeprom()
|
H A D | rt2800soc.c | 170 .read_eeprom = rt2800soc_read_eeprom,
|
H A D | rt2800pci.c | 325 .read_eeprom = rt2800pci_read_eeprom,
|
/kernel/linux/linux-6.6/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,
|
H A D | rt2800pci.c | 326 .read_eeprom = rt2800pci_read_eeprom,
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sis/ |
H A D | sis900.c | 25 Rev 1.08.05 Jun. 6 2002 Mufasa Yang bug fix for read_eeprom & Tx descriptor over-boundary 220 static u16 read_eeprom(void __iomem *ioaddr, int location); 253 * MAC address is read from read_eeprom() into @net_dev->dev_addr. 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() 808 * read_eeprom - Read Serial EEPROM 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(ioadd in sis900_read_eeprom() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/sis/ |
H A D | sis900.c | 25 Rev 1.08.05 Jun. 6 2002 Mufasa Yang bug fix for read_eeprom & Tx descriptor over-boundary 220 static u16 read_eeprom(void __iomem *ioaddr, int location); 253 * MAC address is read from read_eeprom() into @net_dev->dev_addr. 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() 815 * read_eeprom - Read Serial EEPROM 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(ioadd in sis900_read_eeprom() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | a100u2w.c | 339 * read_eeprom - load EEPROM 346 static void read_eeprom(struct orc_host * host) in read_eeprom() function 538 read_eeprom(host); in init_orchid()
|
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | a100u2w.c | 339 * read_eeprom - load EEPROM 346 static void read_eeprom(struct orc_host * host) in read_eeprom() function 538 read_eeprom(host); in init_orchid()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/packetengines/ |
H A D | hamachi.c | 545 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
|
H A D | yellowfin.c | 341 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
|
/kernel/linux/linux-6.6/drivers/net/ethernet/packetengines/ |
H A D | hamachi.c | 545 static int read_eeprom(void __iomem *ioaddr, int location); 632 addr[i] = read_eeprom(ioaddr, 4 + i); in hamachi_init_one() 639 read_eeprom(ioaddr, i), i % 16 != 15 ? " " : "\n"); in hamachi_init_one() 797 static int read_eeprom(void __iomem *ioaddr, int location) in read_eeprom() function
|
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
|
/kernel/linux/linux-5.10/drivers/net/ethernet/smsc/ |
H A D | epic100.c | 290 static int read_eeprom(struct epic_private *, int); 424 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
|