Searched refs:idprom (Results 1 – 17 of 17) sorted by relevance
/Linux-v5.10/arch/sparc/kernel/ |
D | idprom.c | 18 struct idprom *idprom; variable 19 EXPORT_SYMBOL(idprom); 21 static struct idprom idprom_buffer; 68 return idprom->id_ethaddr; in arch_get_platform_mac_address() 72 static unsigned char __init calc_idprom_cksum(struct idprom *idprom) in calc_idprom_cksum() argument 74 unsigned char cksum, i, *ptr = (unsigned char *)idprom; in calc_idprom_cksum() 87 idprom = &idprom_buffer; in idprom_init() 89 if (idprom->id_format != 0x01) in idprom_init() 92 if (idprom->id_cksum != calc_idprom_cksum(idprom)) in idprom_init() 94 idprom->id_cksum, calc_idprom_cksum(idprom)); in idprom_init() [all …]
|
D | Makefile | 41 obj-y += idprom.o
|
/Linux-v5.10/arch/m68k/sun3/ |
D | idprom.c | 20 struct idprom *idprom; variable 21 EXPORT_SYMBOL(idprom); 23 static struct idprom idprom_buffer; 91 if(Sun_Machines[i].id_machtype == idprom->id_machtype) { in sun3_get_model() 101 static unsigned char __init calc_idprom_cksum(struct idprom *idprom) in calc_idprom_cksum() argument 103 unsigned char cksum, i, *ptr = (unsigned char *)idprom; in calc_idprom_cksum() 116 idprom = &idprom_buffer; in idprom_init() 118 if (idprom->id_format != 0x01) { in idprom_init() 123 if (idprom->id_cksum != calc_idprom_cksum(idprom)) { in idprom_init() 125 idprom->id_cksum, calc_idprom_cksum(idprom)); in idprom_init() [all …]
|
D | Makefile | 6 obj-y := sun3ints.o sun3dvma.o idprom.o
|
D | config.c | 206 switch (idprom->id_machtype) { in sun3_platform_init()
|
/Linux-v5.10/arch/sparc/include/asm/ |
D | idprom.h | 13 struct idprom { struct 23 extern struct idprom *idprom; argument
|
/Linux-v5.10/arch/m68k/include/asm/ |
D | idprom.h | 12 struct idprom { struct 22 extern struct idprom *idprom; argument
|
/Linux-v5.10/arch/m68k/sun3x/ |
D | prom.c | 108 if (!((idprom->id_machtype & SM_ARCH_MASK) == SM_SUN3X)) { in sun3x_prom_init() 110 idprom->id_machtype); in sun3x_prom_init() 112 idprom->id_machtype = SM_SUN3X | SM_3_80; in sun3x_prom_init()
|
/Linux-v5.10/drivers/net/ethernet/i825xx/ |
D | sni_82596.c | 76 struct resource *res, *ca, *idprom, *options; in sni_82596_probe() local 85 idprom = platform_get_resource(dev, IORESOURCE_MEM, 2); in sni_82596_probe() 86 if (!res || !ca || !options || !idprom) in sni_82596_probe() 107 eth_addr = ioremap(idprom->start, 0x10); in sni_82596_probe()
|
D | sun3_82586.c | 287 switch(idprom->id_machtype) { in sun3_82586_probe() 352 dev->dev_addr[i] = idprom->id_ethaddr[i]; in sun3_82586_probe1()
|
/Linux-v5.10/drivers/net/ethernet/amd/ |
D | sun3lance.c | 258 switch(idprom->id_machtype) { in sun3lance_probe() 381 dev->dev_addr[i] = idprom->id_ethaddr[i]; in lance_probe()
|
D | sunlance.c | 1319 dev->dev_addr[i] = idprom->id_ethaddr[i]; in sparc_lance_probe_one()
|
/Linux-v5.10/drivers/net/ethernet/sun/ |
D | sunqe.c | 847 memcpy(dev->dev_addr, idprom->id_ethaddr, ETH_ALEN); in qec_ether_init()
|
D | sunbmac.c | 1090 dev->dev_addr[i] = idprom->id_ethaddr[i]; in bigmac_ether_init()
|
D | sunhme.c | 2736 memcpy(dev->dev_addr, idprom->id_ethaddr, ETH_ALEN); in happy_meal_sbus_probe_one() 3084 memcpy(dev->dev_addr, idprom->id_ethaddr, ETH_ALEN); in happy_meal_pci_probe()
|
D | sungem.c | 2793 addr = idprom->id_ethaddr; in gem_get_device_address()
|
/Linux-v5.10/drivers/net/ethernet/aeroflex/ |
D | greth.c | 1461 macaddr[i] = (unsigned int) idprom->id_ethaddr[i]; in greth_of_probe()
|