Home
last modified time | relevance | path

Searched refs:init_block (Results 1 – 15 of 15) sorted by relevance

/drivers/net/ethernet/amd/
Dlance.c239 struct lance_init_block init_block; member
570 lp->init_block.mode = 0x0003; /* Disable Rx and Tx. */ in lance_probe1()
572 lp->init_block.phys_addr[i] = dev->dev_addr[i]; in lance_probe1()
573 lp->init_block.filter[0] = 0x00000000; in lance_probe1()
574 lp->init_block.filter[1] = 0x00000000; in lance_probe1()
575 lp->init_block.rx_ring = ((u32)isa_virt_to_bus(lp->rx_ring) & 0xffffff) | RX_RING_LEN_BITS; in lance_probe1()
576 lp->init_block.tx_ring = ((u32)isa_virt_to_bus(lp->tx_ring) & 0xffffff) | TX_RING_LEN_BITS; in lance_probe1()
580 outw((short) (u32) isa_virt_to_bus(&lp->init_block), ioaddr+LANCE_DATA); in lance_probe1()
583 outw(((u32)isa_virt_to_bus(&lp->init_block)) >> 16, ioaddr+LANCE_DATA); in lance_probe1()
791 (u32) isa_virt_to_bus(&lp->init_block)); in lance_open()
[all …]
Da2065.c107 volatile struct lance_init_block *init_block; /* Hosts view */ member
151 volatile struct lance_init_block *ib = lp->init_block; in lance_init_ring()
246 volatile struct lance_init_block *ib = lp->init_block; in lance_rx()
326 volatile struct lance_init_block *ib = lp->init_block; in lance_tx()
539 volatile struct lance_init_block *ib = lp->init_block; in lance_start_xmit()
587 volatile struct lance_init_block *ib = lp->init_block; in lance_load_multicast()
613 volatile struct lance_init_block *ib = lp->init_block; in lance_set_multicast()
722 priv->init_block = (struct lance_init_block *)dev->mem_start; in a2065_init_one()
Ddepca.c471 struct depca_init init_block; /* Shadow Initialization block */ member
902 lp->init_block.rx_ring = (lp->device_ram_start + lp->rx_ring_offset) | lp->rx_rlen; in depca_init_ring()
903 lp->init_block.tx_ring = (lp->device_ram_start + lp->tx_ring_offset) | lp->tx_rlen; in depca_init_ring()
908 lp->init_block.phys_addr[i] = dev->dev_addr[i]; in depca_init_ring()
911 lp->init_block.mode = 0x0000; /* Enable the Tx and Rx */ in depca_init_ring()
1215 memcpy_toio(lp->sh_mem, &lp->init_block, sizeof(struct depca_init)); in InitRestartDepca()
1252 lp->init_block.mode |= PROM; in set_multicast_list()
1255 lp->init_block.mode &= ~PROM; /* Unset promiscuous mode */ in set_multicast_list()
1279 lp->init_block.mcast_table[i] = (char) 0xff; in SetMulticastFilter()
1283 lp->init_block.mcast_table[i] = 0; in SetMulticastFilter()
[all …]
Dpcnet32.c260 struct pcnet32_init_block *init_block; member
1741 lp->init_block = pci_alloc_consistent(pdev, sizeof(*lp->init_block), in pcnet32_probe1()
1743 if (!lp->init_block) { in pcnet32_probe1()
1800 lp->init_block->mode = cpu_to_le16(0x0003); /* Disable Rx and Tx. */ in pcnet32_probe1()
1801 lp->init_block->tlen_rlen = in pcnet32_probe1()
1804 lp->init_block->phys_addr[i] = dev->dev_addr[i]; in pcnet32_probe1()
1805 lp->init_block->filter[0] = 0x00000000; in pcnet32_probe1()
1806 lp->init_block->filter[1] = 0x00000000; in pcnet32_probe1()
1807 lp->init_block->rx_ring = cpu_to_le32(lp->rx_ring_dma_addr); in pcnet32_probe1()
1808 lp->init_block->tx_ring = cpu_to_le32(lp->tx_ring_dma_addr); in pcnet32_probe1()
[all …]
D7990.c140 volatile struct lance_init_block *ib = lp->init_block; in lance_init_ring()
275 volatile struct lance_init_block *ib = lp->init_block; in lance_rx()
352 volatile struct lance_init_block *ib = lp->init_block; in lance_tx()
536 volatile struct lance_init_block *ib = lp->init_block; in lance_start_xmit()
593 volatile struct lance_init_block *ib = lp->init_block; in lance_load_multicast()
620 volatile struct lance_init_block *ib = lp->init_block; in lance_set_multicast()
Dni65.h89 struct init_block { struct
D7990.h105 volatile struct lance_init_block *init_block; /* CPU address of RAM */ member
Dmvme147.c125 lp->lance.init_block = (struct lance_init_block *)(lp->ram); /* CPU addr */ in mvme147lance_probe()
Dhplance.c157 lp->lance.init_block = (struct lance_init_block *)(va + HPLANCE_MEMOFF); /* CPU addr */ in hplance_init()
Dni65.c226 struct init_block ib;
/drivers/net/ethernet/sun/
Dsungem.c421 struct gem_rxd *rxd = &gp->init_block->rxd[i]; in gem_rxmac_reset()
682 txd = &gp->init_block->txd[entry]; in gem_tx()
727 &gp->init_block->rxd[cluster_start]; in gem_post_rxds()
775 struct gem_rxd *rxd = &gp->init_block->rxd[entry]; in gem_rx()
1030 struct gem_txd *txd = &gp->init_block->txd[entry]; in gem_start_xmit()
1079 txd = &gp->init_block->txd[entry]; in gem_start_xmit()
1089 txd = &gp->init_block->txd[first_entry]; in gem_start_xmit()
1571 struct gem_init_block *gb = gp->init_block; in gem_clean_rings()
1621 struct gem_init_block *gb = gp->init_block; in gem_init_rings()
2805 gp->init_block, in gem_remove_one()
[all …]
Dcassini.c1221 (unsigned long) cp->init_block; in cas_init_rx_dma()
1231 (unsigned long) cp->init_block; in cas_init_rx_dma()
1241 (unsigned long) cp->init_block; in cas_init_rx_dma()
1249 (unsigned long) cp->init_block; in cas_init_rx_dma()
1934 u64 compwb = le64_to_cpu(cp->init_block->tx_compwb); in cas_tx()
2913 (unsigned long) cp->init_block; in cas_init_tx_dma()
3979 memset(cp->init_block, 0, sizeof(struct cas_init_block)); in cas_clean_rings()
5090 cp->init_block = (struct cas_init_block *) in cas_init_one()
5093 if (!cp->init_block) { in cas_init_one()
5099 cp->init_txds[i] = cp->init_block->txds[i]; in cas_init_one()
[all …]
Dsungem.h1012 struct gem_init_block *init_block; member
Dcassini.h2774 struct cas_init_block *init_block; member
/drivers/atm/
Dfore200e.h667 typedef struct init_block { struct
711 struct init_block init; /* one time cmd, not in cmd queue */