Home
last modified time | relevance | path

Searched refs:ei_status (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/drivers/net/ethernet/8390/
H A Dmac8390.c506 ei_status.name = cardname[type]; in mac8390_initdev()
507 ei_status.word16 = word16[type]; in mac8390_initdev()
514 ei_status.rmem_start = dev->mem_start; in mac8390_initdev()
521 ei_status.rmem_end = dev->mem_end; in mac8390_initdev()
564 ei_status.reg_offset = back4_offsets; in mac8390_initdev()
573 ei_status.reg_offset = fwrd2_offsets; in mac8390_initdev()
584 ei_status.reg_offset = fwrd4_offsets; in mac8390_initdev()
593 ei_status.reg_offset = fwrd4_offsets; in mac8390_initdev()
634 ei_status.txing = 0; in mac8390_no_reset()
645 ei_status.txing = 0; in interlan_reset()
[all …]
H A Dwd.c335 ei_status.priv = (ei_status.stop_page - WD_START_PG)*256; in wd_probe1()
338 ei_status.mem = ioremap(dev->mem_start, ei_status.priv); in wd_probe1()
339 if (!ei_status.mem) { in wd_probe1()
381 if (ei_status.word16) in wd_open()
397 ei_status.txing = 0; in wd_reset_8390()
401 if (ei_status.word16) in wd_reset_8390()
420 if (ei_status.word16) in wd_get_8390_hdr()
457 if (ei_status.word16) in wd_block_input()
469 if (ei_status.word16) { in wd_block_output()
489 if (ei_status.word16) in wd_close()
[all …]
H A Dzorro8390.c90 ei_status.txing = 0; in zorro8390_reset_8390()
91 ei_status.dmaing = 0; in zorro8390_reset_8390()
116 if (ei_status.dmaing) { in zorro8390_get_8390_hdr()
119 __func__, ei_status.dmaing, ei_status.irqlock); in zorro8390_get_8390_hdr()
123 ei_status.dmaing |= 0x01; in zorro8390_get_8390_hdr()
160 if (ei_status.dmaing) { in zorro8390_block_input()
162 __func__, ei_status.dmaing, ei_status.irqlock); in zorro8390_block_input()
202 if (ei_status.dmaing) { in zorro8390_block_output()
204 __func__, ei_status.dmaing, ei_status.irqlock); in zorro8390_block_output()
366 ei_status.name = name; in zorro8390_init()
[all …]
H A Dne2k-pci.c372 ei_status.word16 = 1; in ne2k_pci_init_one()
382 ei_status.stop_page = ei_status.tx_start_page + PACKETBUF_MEMSIZE; in ne2k_pci_init_one()
482 ei_status.txing = 0; in ne2k_pci_reset_8390()
483 ei_status.dmaing = 0; in ne2k_pci_reset_8390()
508 if (ei_status.dmaing) { in ne2k_pci_get_8390_hdr()
510 __func__, ei_status.dmaing, ei_status.irqlock); in ne2k_pci_get_8390_hdr()
514 ei_status.dmaing |= 0x01; in ne2k_pci_get_8390_hdr()
549 if (ei_status.dmaing) { in ne2k_pci_block_input()
551 __func__, ei_status.dmaing, ei_status.irqlock); in ne2k_pci_block_input()
605 if (ei_status.dmaing) { in ne2k_pci_block_output()
[all …]
H A Dapne.c324 ei_status.name = name; in apne_probe1()
360 ei_status.txing = 0; in apne_reset_8390()
361 ei_status.dmaing = 0; in apne_reset_8390()
386 if (ei_status.dmaing) { in apne_get_8390_hdr()
389 ei_status.dmaing, ei_status.irqlock, dev->irq); in apne_get_8390_hdr()
402 if (ei_status.word16) { in apne_get_8390_hdr()
433 if (ei_status.dmaing) { in apne_block_input()
436 ei_status.dmaing, ei_status.irqlock, dev->irq); in apne_block_input()
447 if (ei_status.word16) { in apne_block_input()
481 if (ei_status.dmaing) { in apne_block_output()
[all …]
H A Dne.c516 ei_status.stop_page = ei_status.tx_start_page + PACKETBUF_MEMSIZE; in ne_probe1()
523 ei_status.priv = 0; in ne_probe1()
556 ei_status.txing = 0; in ne_reset_8390()
557 ei_status.dmaing = 0; in ne_reset_8390()
578 if (ei_status.dmaing) in ne_get_8390_hdr()
582 ei_status.dmaing, ei_status.irqlock); in ne_get_8390_hdr()
594 if (ei_status.word16) in ne_get_8390_hdr()
620 if (ei_status.dmaing) in ne_block_input()
624 ei_status.dmaing, ei_status.irqlock); in ne_block_input()
699 ei_status.dmaing, ei_status.irqlock); in ne_block_output()
[all …]
H A Dsmc-ultra.c293 ei_status.name = model_name; in ultra_probe1()
294 ei_status.word16 = 1; in ultra_probe1()
295 ei_status.tx_start_page = START_PG; in ultra_probe1()
297 ei_status.stop_page = num_pages; in ultra_probe1()
299 ei_status.mem = ioremap(dev->mem_start, (ei_status.stop_page - START_PG)*256); in ultra_probe1()
300 if (!ei_status.mem) { in ultra_probe1()
311 ei_status.block_input = &ultra_pio_input; in ultra_probe1()
312 ei_status.block_output = &ultra_pio_output; in ultra_probe1()
322 ei_status.reset_8390 = &ultra_reset_8390; in ultra_probe1()
426 ei_status.txing = 0; in ultra_reset_8390()
[all …]
H A Dstnic.c135 ei_status.name = dev->name; in stnic_probe()
136 ei_status.word16 = 1; in stnic_probe()
138 ei_status.bigendian = 0; in stnic_probe()
140 ei_status.bigendian = 1; in stnic_probe()
142 ei_status.tx_start_page = START_PG; in stnic_probe()
143 ei_status.rx_start_page = START_PG + TX_PAGES; in stnic_probe()
144 ei_status.stop_page = STOP_PG; in stnic_probe()
146 ei_status.reset_8390 = &stnic_reset; in stnic_probe()
147 ei_status.get_8390_hdr = &stnic_get_hdr; in stnic_probe()
148 ei_status.block_input = &stnic_block_input; in stnic_probe()
[all …]
H A Dhydra.c149 ei_status.name = name; in hydra_init()
150 ei_status.tx_start_page = start_page; in hydra_init()
151 ei_status.stop_page = stop_page; in hydra_init()
152 ei_status.word16 = 1; in hydra_init()
153 ei_status.bigendian = 1; in hydra_init()
155 ei_status.rx_start_page = start_page + TX_PAGES; in hydra_init()
157 ei_status.reset_8390 = hydra_reset_8390; in hydra_init()
158 ei_status.block_input = hydra_block_input; in hydra_init()
159 ei_status.block_output = hydra_block_output; in hydra_init()
160 ei_status.get_8390_hdr = hydra_get_8390_hdr; in hydra_init()
[all …]
H A Dpcnet_cs.c614 ei_status.word16 = 1; in pcnet_config()
967 ei_status.txing = ei_status.dmaing = 0; in pcnet_reset_8390()
1139 if (ei_status.dmaing) { in dma_get_8390_hdr()
1142 ei_status.dmaing, ei_status.irqlock); in dma_get_8390_hdr()
1146 ei_status.dmaing |= 0x01; in dma_get_8390_hdr()
1175 if (ei_status.dmaing) { in dma_block_input()
1178 ei_status.dmaing, ei_status.irqlock); in dma_block_input()
1181 ei_status.dmaing |= 0x01; in dma_block_input()
1242 if (ei_status.dmaing) { in dma_block_output()
1245 ei_status.dmaing, ei_status.irqlock); in dma_block_output()
[all …]
H A D8390.h118 #define ei_status (*(struct ei_device *)netdev_priv(dev)) macro
125 #define E8390_RXCONFIG (ei_status.rxcr_base | 0x04)
126 #define E8390_RXOFF (ei_status.rxcr_base | 0x20)
H A Daxnet_cs.c308 ei_status.name = "AX88190"; in axnet_config()
309 ei_status.word16 = 1; in axnet_config()
310 ei_status.tx_start_page = AXNET_START_PG; in axnet_config()
311 ei_status.rx_start_page = AXNET_START_PG + TX_PAGES; in axnet_config()
312 ei_status.stop_page = AXNET_STOP_PG; in axnet_config()
313 ei_status.reset_8390 = axnet_reset_8390; in axnet_config()
314 ei_status.get_8390_hdr = get_8390_hdr; in axnet_config()
315 ei_status.block_input = block_input; in axnet_config()
316 ei_status.block_output = block_output; in axnet_config()
524 ei_status.txing = ei_status.dmaing = 0; in axnet_reset_8390()
H A Dmcf8390.c159 ei_status.txing = 0; in mcf8390_reset_8390()
160 ei_status.dmaing = 0; in mcf8390_reset_8390()