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.c108 volatile struct lance_init_block *init_block; /* Hosts view */ member
152 volatile struct lance_init_block *ib = lp->init_block; in lance_init_ring()
247 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()
724 priv->init_block = (struct lance_init_block *)dev->mem_start; in a2065_init_one()
Dpcnet32.c260 struct pcnet32_init_block *init_block; member
1786 lp->init_block = pci_alloc_consistent(pdev, sizeof(*lp->init_block), in pcnet32_probe1()
1788 if (!lp->init_block) { in pcnet32_probe1()
1845 lp->init_block->mode = cpu_to_le16(0x0003); /* Disable Rx and Tx. */ in pcnet32_probe1()
1846 lp->init_block->tlen_rlen = in pcnet32_probe1()
1849 lp->init_block->phys_addr[i] = dev->dev_addr[i]; in pcnet32_probe1()
1850 lp->init_block->filter[0] = 0x00000000; in pcnet32_probe1()
1851 lp->init_block->filter[1] = 0x00000000; in pcnet32_probe1()
1852 lp->init_block->rx_ring = cpu_to_le32(lp->rx_ring_dma_addr); in pcnet32_probe1()
1853 lp->init_block->tx_ring = cpu_to_le32(lp->tx_ring_dma_addr); in pcnet32_probe1()
[all …]
D7990.c139 volatile struct lance_init_block *ib = lp->init_block; in lance_init_ring()
274 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()
541 volatile struct lance_init_block *ib = lp->init_block; in lance_start_xmit()
598 volatile struct lance_init_block *ib = lp->init_block; in lance_load_multicast()
625 volatile struct lance_init_block *ib = lp->init_block; in lance_set_multicast()
Dni65.h89 struct init_block { struct
D7990.h103 volatile struct lance_init_block *init_block; /* CPU address of RAM */ member
Dmvme147.c123 lp->lance.init_block = (struct lance_init_block *)(lp->ram); /* CPU addr */ in mvme147lance_probe()
Dhplance.c154 lp->lance.init_block = (struct lance_init_block *)(va + HPLANCE_MEMOFF); /* CPU addr */ in hplance_init()
Dni65.c226 struct init_block ib;
/drivers/misc/vmw_vmci/
Dvmci_host.c298 struct vmci_init_blk init_block; in vmci_host_do_init_context() local
302 if (copy_from_user(&init_block, uptr, sizeof(init_block))) { in vmci_host_do_init_context()
315 if (init_block.flags & ~VMCI_PRIVILEGE_FLAG_RESTRICTED) { in vmci_host_do_init_context()
322 vmci_host_dev->context = vmci_ctx_create(init_block.cid, in vmci_host_do_init_context()
323 init_block.flags, 0, in vmci_host_do_init_context()
337 init_block.cid = vmci_ctx_get_id(vmci_host_dev->context); in vmci_host_do_init_context()
338 if (copy_to_user(uptr, &init_block, sizeof(init_block))) { in vmci_host_do_init_context()
/drivers/net/ethernet/sun/
Dsungem.c419 struct gem_rxd *rxd = &gp->init_block->rxd[i]; in gem_rxmac_reset()
680 txd = &gp->init_block->txd[entry]; in gem_tx()
725 &gp->init_block->rxd[cluster_start]; in gem_post_rxds()
771 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.c1218 (unsigned long) cp->init_block; in cas_init_rx_dma()
1228 (unsigned long) cp->init_block; in cas_init_rx_dma()
1238 (unsigned long) cp->init_block; in cas_init_rx_dma()
1246 (unsigned long) cp->init_block; in cas_init_rx_dma()
1931 u64 compwb = le64_to_cpu(cp->init_block->tx_compwb); in cas_tx()
2910 (unsigned long) cp->init_block; in cas_init_tx_dma()
3975 memset(cp->init_block, 0, sizeof(struct cas_init_block)); in cas_clean_rings()
5081 cp->init_block = (struct cas_init_block *) in cas_init_one()
5084 if (!cp->init_block) { in cas_init_one()
5090 cp->init_txds[i] = cp->init_block->txds[i]; in cas_init_one()
[all …]
Dsungem.h1012 struct gem_init_block *init_block; member
Dcassini.h2772 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 */