Home
last modified time | relevance | path

Searched refs:fake_pci_dev (Results 1 – 7 of 7) sorted by relevance

/linux-2.4.37.9/arch/ia64/hp/zx1/
Dhpzx1_misc.c24 struct fake_pci_dev { struct
31 #define PCI_FAKE_DEV(dev) ((struct fake_pci_dev *) \ argument
39 struct fake_pci_dev *fake_dev; \
69 struct fake_pci_dev *fake_dev; \
109 struct fake_pci_dev *fake; in hpzx1_fake_pci_dev()
/linux-2.4.37.9/arch/parisc/kernel/
Dccio-dma.c164 struct pci_dev *fake_pci_dev; /* the fake pci_dev for non-pci devs */ member
1572 if(ioc->fake_pci_dev) in ccio_get_fake()
1573 return ioc->fake_pci_dev; in ccio_get_fake()
1575 ioc->fake_pci_dev = kmalloc(sizeof(struct pci_dev), GFP_KERNEL); in ccio_get_fake()
1576 if(ioc->fake_pci_dev == NULL) { in ccio_get_fake()
1580 memset(ioc->fake_pci_dev, 0, sizeof(struct pci_dev)); in ccio_get_fake()
1582 ioc->fake_pci_dev->sysdata = kmalloc(sizeof(struct pci_hba_data), GFP_KERNEL); in ccio_get_fake()
1583 if(ioc->fake_pci_dev->sysdata == NULL) { in ccio_get_fake()
1588 HBA_DATA(ioc->fake_pci_dev->sysdata)->iommu = ioc; in ccio_get_fake()
1589 return ioc->fake_pci_dev; in ccio_get_fake()
/linux-2.4.37.9/drivers/net/
Dlasi_82596.c409 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()
[all …]
/linux-2.4.37.9/arch/mips/pci/
Dpci_auto.c55 static struct pci_dev *fake_pci_dev(struct pci_channel *hose, in fake_pci_dev() function
81 fake_pci_dev(hose, top_bus, bus, devfn), \
/linux-2.4.37.9/drivers/sound/
Dharmony.c184 struct pci_dev *fake_pci_dev; /* The fake pci_dev needed for member
220 b->addr = pci_alloc_consistent(harmony.fake_pci_dev, in harmony_alloc_buffer()
245 pci_free_consistent(harmony.fake_pci_dev, in harmony_free_buffer()
1225 harmony.fake_pci_dev = ccio_get_fake(dev); in harmony_driver_callback()
/linux-2.4.37.9/arch/mips/tx4927/toshiba_rbtx4927/
Dtoshiba_rbtx4927_setup.c327 static struct pci_dev *fake_pci_dev(struct pci_channel *hose, in fake_pci_dev() function
353 fake_pci_dev(hose, top_bus, bus, devfn), \
/linux-2.4.37.9/arch/ppc/kernel/
Dpci.c1775 fake_pci_dev(struct pci_controller *hose, int busnr, int devfn) in fake_pci_dev() function
1797 return pci_##rw##_config_##size(fake_pci_dev(hose, bus, devfn), \