Home
last modified time | relevance | path

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

/drivers/net/ethernet/amd/
Dlance.c239 struct lance_init_block init_block; member
573 lp->init_block.mode = 0x0003; /* Disable Rx and Tx. */ in lance_probe1()
575 lp->init_block.phys_addr[i] = dev->dev_addr[i]; in lance_probe1()
576 lp->init_block.filter[0] = 0x00000000; in lance_probe1()
577 lp->init_block.filter[1] = 0x00000000; in lance_probe1()
578 lp->init_block.rx_ring = ((u32)isa_virt_to_bus(lp->rx_ring) & 0xffffff) | RX_RING_LEN_BITS; in lance_probe1()
579 lp->init_block.tx_ring = ((u32)isa_virt_to_bus(lp->tx_ring) & 0xffffff) | TX_RING_LEN_BITS; in lance_probe1()
583 outw((short) (u32) isa_virt_to_bus(&lp->init_block), ioaddr+LANCE_DATA); in lance_probe1()
586 outw(((u32)isa_virt_to_bus(&lp->init_block)) >> 16, ioaddr+LANCE_DATA); in lance_probe1()
794 (u32) isa_virt_to_bus(&lp->init_block)); in lance_open()
[all …]
Da2065.c108 volatile struct lance_init_block *init_block; /* Hosts view */ member
149 volatile struct lance_init_block *ib = lp->init_block; in lance_init_ring()
244 volatile struct lance_init_block *ib = lp->init_block; in lance_rx()
323 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()
582 volatile struct lance_init_block *ib = lp->init_block; in lance_load_multicast()
608 volatile struct lance_init_block *ib = lp->init_block; in lance_set_multicast()
727 priv->init_block = (struct lance_init_block *)dev->mem_start; in a2065_init_one()
Dpcnet32.c256 struct pcnet32_init_block *init_block; member
777 lp->init_block->mode = cpu_to_le16(csr15); in pcnet32_set_link_ksettings()
1839 lp->init_block = dma_alloc_coherent(&pdev->dev, in pcnet32_probe1()
1840 sizeof(*lp->init_block), in pcnet32_probe1()
1842 if (!lp->init_block) { in pcnet32_probe1()
1903 lp->init_block->mode = cpu_to_le16(0x0003); /* Disable Rx and Tx. */ in pcnet32_probe1()
1904 lp->init_block->tlen_rlen = in pcnet32_probe1()
1907 lp->init_block->phys_addr[i] = dev->dev_addr[i]; in pcnet32_probe1()
1908 lp->init_block->filter[0] = 0x00000000; in pcnet32_probe1()
1909 lp->init_block->filter[1] = 0x00000000; 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()
355 volatile struct lance_init_block *ib = lp->init_block; in lance_tx()
542 volatile struct lance_init_block *ib = lp->init_block; in lance_start_xmit()
601 volatile struct lance_init_block *ib = lp->init_block; in lance_load_multicast()
628 volatile struct lance_init_block *ib = lp->init_block; in lance_set_multicast()
D7990.h104 volatile struct lance_init_block *init_block; /* CPU address of RAM */ member
Dmvme147.c122 lp->lance.init_block = (struct lance_init_block *)(lp->ram); /* CPU addr */ in mvme147lance_probe()
Dhplance.c156 lp->lance.init_block = (struct lance_init_block *)(va + HPLANCE_MEMOFF); /* CPU addr */ in hplance_init()
/drivers/misc/vmw_vmci/
Dvmci_host.c301 struct vmci_init_blk init_block; in vmci_host_do_init_context() local
305 if (copy_from_user(&init_block, uptr, sizeof(init_block))) { in vmci_host_do_init_context()
318 if (init_block.flags & ~VMCI_PRIVILEGE_FLAG_RESTRICTED) { in vmci_host_do_init_context()
325 vmci_host_dev->context = vmci_ctx_create(init_block.cid, in vmci_host_do_init_context()
326 init_block.flags, 0, in vmci_host_do_init_context()
340 init_block.cid = vmci_ctx_get_id(vmci_host_dev->context); in vmci_host_do_init_context()
341 if (copy_to_user(uptr, &init_block, sizeof(init_block))) { in vmci_host_do_init_context()
/drivers/net/ethernet/sun/
Dsungem.c418 struct gem_rxd *rxd = &gp->init_block->rxd[i]; in gem_rxmac_reset()
667 txd = &gp->init_block->txd[entry]; in gem_tx()
713 &gp->init_block->rxd[cluster_start]; in gem_post_rxds()
759 struct gem_rxd *rxd = &gp->init_block->rxd[entry]; in gem_rx()
1019 struct gem_txd *txd = &gp->init_block->txd[entry]; in gem_start_xmit()
1069 txd = &gp->init_block->txd[entry]; in gem_start_xmit()
1079 txd = &gp->init_block->txd[first_entry]; in gem_start_xmit()
1567 struct gem_init_block *gb = gp->init_block; in gem_clean_rings()
1617 struct gem_init_block *gb = gp->init_block; in gem_init_rings()
2823 gp->init_block, gp->gblock_dvma); in gem_remove_one()
[all …]
Dcassini.c1196 (unsigned long) cp->init_block; in cas_init_rx_dma()
1206 (unsigned long) cp->init_block; in cas_init_rx_dma()
1216 (unsigned long) cp->init_block; in cas_init_rx_dma()
1224 (unsigned long) cp->init_block; in cas_init_rx_dma()
1889 u64 compwb = le64_to_cpu(cp->init_block->tx_compwb); in cas_tx()
2874 (unsigned long) cp->init_block; in cas_init_tx_dma()
3934 memset(cp->init_block, 0, sizeof(struct cas_init_block)); in cas_clean_rings()
5028 cp->init_block = in cas_init_one()
5031 if (!cp->init_block) { in cas_init_one()
5037 cp->init_txds[i] = cp->init_block->txds[i]; in cas_init_one()
[all …]
Dsungem.h1013 struct gem_init_block *init_block; member
Dcassini.h2760 struct cas_init_block *init_block; member
/drivers/atm/
Dfore200e.h668 typedef struct init_block { struct
712 struct init_block init; /* one time cmd, not in cmd queue */