Lines Matching refs:init_block
256 struct pcnet32_init_block *init_block; member
777 lp->init_block->mode = cpu_to_le16(csr15); in pcnet32_set_link_ksettings()
1829 lp->init_block = dma_alloc_coherent(&pdev->dev, in pcnet32_probe1()
1830 sizeof(*lp->init_block), in pcnet32_probe1()
1832 if (!lp->init_block) { in pcnet32_probe1()
1892 lp->init_block->mode = cpu_to_le16(0x0003); /* Disable Rx and Tx. */ in pcnet32_probe1()
1893 lp->init_block->tlen_rlen = in pcnet32_probe1()
1896 lp->init_block->phys_addr[i] = dev->dev_addr[i]; in pcnet32_probe1()
1897 lp->init_block->filter[0] = 0x00000000; in pcnet32_probe1()
1898 lp->init_block->filter[1] = 0x00000000; in pcnet32_probe1()
1899 lp->init_block->rx_ring = cpu_to_le32(lp->rx_ring_dma_addr); in pcnet32_probe1()
1900 lp->init_block->tx_ring = cpu_to_le32(lp->tx_ring_dma_addr); in pcnet32_probe1()
1993 dma_free_coherent(&lp->pci_dev->dev, sizeof(*lp->init_block), in pcnet32_probe1()
1994 lp->init_block, lp->init_dma_addr); in pcnet32_probe1()
2249 lp->init_block->mode = in pcnet32_open()
2396 lp->init_block->tlen_rlen = in pcnet32_init_ring()
2399 lp->init_block->phys_addr[i] = dev->dev_addr[i]; in pcnet32_init_ring()
2400 lp->init_block->rx_ring = cpu_to_le32(lp->rx_ring_dma_addr); in pcnet32_init_ring()
2401 lp->init_block->tx_ring = cpu_to_le32(lp->tx_ring_dma_addr); in pcnet32_init_ring()
2668 volatile struct pcnet32_init_block *ib = lp->init_block; in pcnet32_load_multicast()
2715 lp->init_block->mode = in pcnet32_set_multicast_list()
2720 lp->init_block->mode = in pcnet32_set_multicast_list()
2937 dma_free_coherent(&lp->pci_dev->dev, sizeof(*lp->init_block), in pcnet32_remove_one()
2938 lp->init_block, lp->init_dma_addr); in pcnet32_remove_one()
3020 dma_free_coherent(&lp->pci_dev->dev, sizeof(*lp->init_block), in pcnet32_cleanup_module()
3021 lp->init_block, lp->init_dma_addr); in pcnet32_cleanup_module()