Lines Matching refs:fake_pci_dev
409 static struct pci_dev *fake_pci_dev; /* The fake pci_dev needed for variable
565 dma_addr = pci_map_single(fake_pci_dev, skb->tail,PKT_BUF_SZ, in init_rx_bufs()
612 pci_unmap_single(fake_pci_dev, in remove_rx_bufs()
781 … pci_unmap_single(fake_pci_dev,(dma_addr_t)WSWAPchar(rbd->b_data), PKT_BUF_SZ, PCI_DMA_FROMDEVICE); in i596_rx()
795 dma_addr = pci_map_single(fake_pci_dev, newskb->tail, PKT_BUF_SZ, PCI_DMA_FROMDEVICE); in i596_rx()
812 …pci_dma_sync_single(fake_pci_dev, (dma_addr_t)WSWAPchar(rbd->b_data), PKT_BUF_SZ, PCI_DMA_FROMDEVI… in i596_rx()
893 pci_unmap_single(fake_pci_dev, tx_cmd->dma_addr, skb->len, PCI_DMA_TODEVICE); in i596_cleanup_cmd()
1126 tx_cmd->dma_addr = pci_map_single(fake_pci_dev, skb->data, skb->len, in i596_start_xmit()
1206 dev->mem_start = (unsigned long) pci_alloc_consistent(fake_pci_dev, in i82596_probe()
1328 pci_unmap_single(fake_pci_dev, tx_cmd->dma_addr, skb->len, PCI_DMA_TODEVICE); in i596_interrupt()
1538 fake_pci_dev = ccio_get_fake(dev); in lan_init_chip()
1610 pci_free_consistent(fake_pci_dev, in lasi_82596_exit()