Home
last modified time | relevance | path

Searched refs:prom (Results 1 – 8 of 8) sorted by relevance

/drivers/atm/
Dfore200e.c604 fore200e_pca_prom_read(struct fore200e* fore200e, struct prom_data* prom) in fore200e_pca_prom_read() argument
617 prom_dma = fore200e->bus->dma_map(fore200e, prom, sizeof(struct prom_data), DMA_FROM_DEVICE); in fore200e_pca_prom_read()
641 swap_here(&prom->mac_addr[0]); in fore200e_pca_prom_read()
642 swap_here(&prom->mac_addr[4]); in fore200e_pca_prom_read()
815 static int __init fore200e_sba_prom_read(struct fore200e *fore200e, struct prom_data *prom) in fore200e_sba_prom_read() argument
824 memcpy(&prom->mac_addr[4], prop, 4); in fore200e_sba_prom_read()
829 memcpy(&prom->mac_addr[2], prop, 4); in fore200e_sba_prom_read()
831 prom->serial_number = of_getintprop_default(op->dev.of_node, in fore200e_sba_prom_read()
833 prom->hw_revision = of_getintprop_default(op->dev.of_node, in fore200e_sba_prom_read()
2053 struct prom_data* prom = kzalloc(sizeof(struct prom_data), GFP_KERNEL | GFP_DMA); in fore200e_get_esi() local
[all …]
/drivers/net/ethernet/8390/
Dpcnet_cs.c324 u_char prom[32]; in get_prom() local
353 prom[i] = inb(ioaddr + PCNET_DATAPORT); in get_prom()
355 if ((prom[0] == hw_info[i].a0) && in get_prom()
356 (prom[2] == hw_info[i].a1) && in get_prom()
357 (prom[4] == hw_info[i].a2)) in get_prom()
360 if ((i < NR_INFO) || ((prom[28] == 0x57) && (prom[30] == 0x57))) { in get_prom()
362 dev->dev_addr[j] = prom[j<<1]; in get_prom()
/drivers/isdn/hardware/eicon/
Dplatform.h104 #define DIVA_OS_MEM_ATTACH_PROM(a) ((a)->prom)
Dio.h107 byte __iomem *prom; member
Dos_pri.c85 a->xdi_adapter.prom = a->resources.pci.addr[3]; in diva_pri_set_addresses()
Dos_4bri.c133 a->xdi_adapter.prom = &a->xdi_adapter.reset[0x6E]; in diva_4bri_set_addresses()
/drivers/scsi/
Dtmscsim.c2116 PEEprom prom = (PEEprom) &dc390_eepromBuf[index][id << 2]; in dc390_slave_alloc() local
2118 pDCB->DevMode = prom->EE_MODE1; in dc390_slave_alloc()
2120 (dc390_clock_period1[prom->EE_SPEED] * 25) >> 2; in dc390_slave_alloc()
/drivers/net/ethernet/micrel/
Dksz884x.c4235 static void hw_set_promiscuous(struct ksz_hw *hw, u8 prom) in hw_set_promiscuous() argument
4240 if (prom) in hw_set_promiscuous()