Lines Matching refs:init_block
260 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()
1903 pci_free_consistent(lp->pci_dev, sizeof(*lp->init_block), in pcnet32_probe1()
1904 lp->init_block, lp->init_dma_addr); in pcnet32_probe1()
2167 lp->init_block->mode = in pcnet32_open()
2304 lp->init_block->tlen_rlen = in pcnet32_init_ring()
2307 lp->init_block->phys_addr[i] = dev->dev_addr[i]; in pcnet32_init_ring()
2308 lp->init_block->rx_ring = cpu_to_le32(lp->rx_ring_dma_addr); in pcnet32_init_ring()
2309 lp->init_block->tx_ring = cpu_to_le32(lp->tx_ring_dma_addr); in pcnet32_init_ring()
2569 volatile struct pcnet32_init_block *ib = lp->init_block; in pcnet32_load_multicast()
2616 lp->init_block->mode = in pcnet32_set_multicast_list()
2621 lp->init_block->mode = in pcnet32_set_multicast_list()
2836 pci_free_consistent(lp->pci_dev, sizeof(*lp->init_block), in pcnet32_remove_one()
2837 lp->init_block, lp->init_dma_addr); in pcnet32_remove_one()
2919 pci_free_consistent(lp->pci_dev, sizeof(*lp->init_block), in pcnet32_cleanup_module()
2920 lp->init_block, lp->init_dma_addr); in pcnet32_cleanup_module()