Home
last modified time | relevance | path

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

/drivers/net/
Dlance.c239 struct lance_init_block init_block; member
557 lp->init_block.mode = 0x0003; /* Disable Rx and Tx. */ in lance_probe1()
559 lp->init_block.phys_addr[i] = dev->dev_addr[i]; in lance_probe1()
560 lp->init_block.filter[0] = 0x00000000; in lance_probe1()
561 lp->init_block.filter[1] = 0x00000000; in lance_probe1()
562 lp->init_block.rx_ring = ((u32)isa_virt_to_bus(lp->rx_ring) & 0xffffff) | RX_RING_LEN_BITS; in lance_probe1()
563 lp->init_block.tx_ring = ((u32)isa_virt_to_bus(lp->tx_ring) & 0xffffff) | TX_RING_LEN_BITS; in lance_probe1()
567 outw((short) (u32) isa_virt_to_bus(&lp->init_block), ioaddr+LANCE_DATA); in lance_probe1()
570 outw(((u32)isa_virt_to_bus(&lp->init_block)) >> 16, ioaddr+LANCE_DATA); in lance_probe1()
783 (u32) isa_virt_to_bus(&lp->init_block)); in lance_open()
[all …]
Ddepca.c470 struct depca_init init_block; /* Shadow Initialization block */ member
893 lp->init_block.rx_ring = (lp->device_ram_start + lp->rx_ring_offset) | lp->rx_rlen; in depca_init_ring()
894 lp->init_block.tx_ring = (lp->device_ram_start + lp->tx_ring_offset) | lp->tx_rlen; in depca_init_ring()
899 lp->init_block.phys_addr[i] = dev->dev_addr[i]; in depca_init_ring()
902 lp->init_block.mode = 0x0000; /* Enable the Tx and Rx */ in depca_init_ring()
1208 memcpy_toio(lp->sh_mem, &lp->init_block, sizeof(struct depca_init)); in InitRestartDepca()
1245 lp->init_block.mode |= PROM; in set_multicast_list()
1248 lp->init_block.mode &= ~PROM; /* Unset promiscuous mode */ in set_multicast_list()
1273 lp->init_block.mcast_table[i] = (char) 0xff; in SetMulticastFilter()
1277 lp->init_block.mcast_table[i] = 0; in SetMulticastFilter()
[all …]
Da2065.c113 volatile struct lance_init_block *init_block; /* Hosts view */ member
166 volatile struct lance_init_block *ib = lp->init_block; in lance_init_ring()
268 volatile struct lance_init_block *ib = lp->init_block; in lance_rx()
342 volatile struct lance_init_block *ib = lp->init_block; in lance_tx()
554 volatile struct lance_init_block *ib = lp->init_block; in lance_start_xmit()
620 volatile struct lance_init_block *ib = lp->init_block; in lance_load_multicast()
656 volatile struct lance_init_block *ib = lp->init_block; in lance_set_multicast()
755 priv->init_block = (struct lance_init_block *)dev->mem_start; in a2065_init_one()
D7990.c142 volatile struct lance_init_block *ib = lp->init_block; in lance_init_ring()
277 volatile struct lance_init_block *ib = lp->init_block; in lance_rx()
354 volatile struct lance_init_block *ib = lp->init_block; in lance_tx()
538 volatile struct lance_init_block *ib = lp->init_block; in lance_start_xmit()
596 volatile struct lance_init_block *ib = lp->init_block; in lance_load_multicast()
633 volatile struct lance_init_block *ib = lp->init_block; in lance_set_multicast()
Dpcnet32.c256 struct pcnet32_init_block *init_block; member
1808 if ((lp->init_block = in pcnet32_probe1()
1809 pci_alloc_consistent(pdev, sizeof(*lp->init_block), &lp->init_dma_addr)) == NULL) { in pcnet32_probe1()
1874 lp->init_block->mode = cpu_to_le16(0x0003); /* Disable Rx and Tx. */ in pcnet32_probe1()
1875 lp->init_block->tlen_rlen = in pcnet32_probe1()
1878 lp->init_block->phys_addr[i] = dev->dev_addr[i]; in pcnet32_probe1()
1879 lp->init_block->filter[0] = 0x00000000; in pcnet32_probe1()
1880 lp->init_block->filter[1] = 0x00000000; in pcnet32_probe1()
1881 lp->init_block->rx_ring = cpu_to_le32(lp->rx_ring_dma_addr); in pcnet32_probe1()
1882 lp->init_block->tx_ring = cpu_to_le32(lp->tx_ring_dma_addr); in pcnet32_probe1()
[all …]
Dni65.h89 struct init_block { struct
Dsungem.c428 struct gem_rxd *rxd = &gp->init_block->rxd[i]; in gem_rxmac_reset()
708 txd = &gp->init_block->txd[entry]; in gem_tx()
739 &gp->init_block->rxd[cluster_start]; in gem_post_rxds()
771 struct gem_rxd *rxd = &gp->init_block->rxd[entry]; in gem_rx()
1060 struct gem_txd *txd = &gp->init_block->txd[entry]; in gem_start_xmit()
1111 txd = &gp->init_block->txd[entry]; in gem_start_xmit()
1121 txd = &gp->init_block->txd[first_entry]; in gem_start_xmit()
1621 struct gem_init_block *gb = gp->init_block; in gem_clean_rings()
1672 struct gem_init_block *gb = gp->init_block; in gem_init_rings()
2982 gp->init_block, in gem_remove_one()
[all …]
D7990.h105 volatile struct lance_init_block *init_block; /* CPU address of RAM */ member
Dmvme147.c119 lp->lance.init_block = (struct lance_init_block *)(lp->ram); /* CPU addr */ in mvme147lance_probe()
Dcassini.c1238 (unsigned long) cp->init_block; in cas_init_rx_dma()
1248 (unsigned long) cp->init_block; in cas_init_rx_dma()
1258 (unsigned long) cp->init_block; in cas_init_rx_dma()
1266 (unsigned long) cp->init_block; in cas_init_rx_dma()
1970 u64 compwb = le64_to_cpu(cp->init_block->tx_compwb); in cas_tx()
2967 (unsigned long) cp->init_block; in cas_init_tx_dma()
4048 memset(cp->init_block, 0, sizeof(struct cas_init_block)); in cas_clean_rings()
5165 cp->init_block = (struct cas_init_block *) in cas_init_one()
5168 if (!cp->init_block) { in cas_init_one()
5174 cp->init_txds[i] = cp->init_block->txds[i]; in cas_init_one()
[all …]
Dhplance.c158 lp->lance.init_block = (struct lance_init_block *)(va + HPLANCE_MEMOFF); /* CPU addr */ in hplance_init()
Dsungem.h1022 struct gem_init_block *init_block; member
Dcassini.h2774 struct cas_init_block *init_block; member
Dni65.c226 struct init_block ib;
/drivers/atm/
Dfore200e.h667 typedef struct init_block { struct
711 struct init_block init; /* one time cmd, not in cmd queue */