Searched refs:bus_dev (Results 1 – 6 of 6) sorted by relevance
/linux-2.6.39/arch/sparc/kernel/ |
D | pci_common.c | 108 static int sun4u_read_pci_cfg(struct pci_bus *bus_dev, unsigned int devfn, in sun4u_read_pci_cfg() argument 111 struct pci_pbm_info *pbm = bus_dev->sysdata; in sun4u_read_pci_cfg() 112 unsigned char bus = bus_dev->number; in sun4u_read_pci_cfg() 129 if (!bus_dev->number && !PCI_SLOT(devfn)) in sun4u_read_pci_cfg() 212 static int sun4u_write_pci_cfg(struct pci_bus *bus_dev, unsigned int devfn, in sun4u_write_pci_cfg() argument 215 struct pci_pbm_info *pbm = bus_dev->sysdata; in sun4u_write_pci_cfg() 216 unsigned char bus = bus_dev->number; in sun4u_write_pci_cfg() 219 if (!bus_dev->number && !PCI_SLOT(devfn)) in sun4u_write_pci_cfg() 257 static int sun4v_read_pci_cfg(struct pci_bus *bus_dev, unsigned int devfn, in sun4v_read_pci_cfg() argument 260 struct pci_pbm_info *pbm = bus_dev->sysdata; in sun4v_read_pci_cfg() [all …]
|
/linux-2.6.39/drivers/atm/ |
D | fore200e.c | 428 u32 dma_addr = pci_map_single((struct pci_dev*)fore200e->bus_dev, virt_addr, size, direction); in fore200e_pca_dma_map() 443 pci_unmap_single((struct pci_dev*)fore200e->bus_dev, dma_addr, size, direction); in fore200e_pca_dma_unmap() 452 pci_dma_sync_single_for_cpu((struct pci_dev*)fore200e->bus_dev, dma_addr, size, direction); in fore200e_pca_dma_sync_for_cpu() 460 pci_dma_sync_single_for_device((struct pci_dev*)fore200e->bus_dev, dma_addr, size, direction); in fore200e_pca_dma_sync_for_device() 473 chunk->alloc_addr = pci_alloc_consistent((struct pci_dev*)fore200e->bus_dev, in fore200e_pca_dma_chunk_alloc() 491 pci_free_consistent((struct pci_dev*)fore200e->bus_dev, in fore200e_pca_dma_chunk_free() 567 struct pci_dev* pci_dev = (struct pci_dev*)fore200e->bus_dev; in fore200e_pca_configure() 654 struct pci_dev* pci_dev = (struct pci_dev*)fore200e->bus_dev; in fore200e_pca_proc_read() 677 struct platform_device *op = fore200e->bus_dev; in fore200e_sba_dma_map() 690 struct platform_device *op = fore200e->bus_dev; in fore200e_sba_dma_unmap() [all …]
|
D | fore200e.h | 846 void* bus_dev; /* bus-specific kernel data */ member
|
/linux-2.6.39/drivers/net/ |
D | defxx.c | 378 struct device __maybe_unused *bdev = bp->bus_dev; in dfx_port_write_long() 402 struct device __maybe_unused *bdev = bp->bus_dev; in dfx_port_read_long() 555 bp->bus_dev = bdev; in dfx_register() 669 struct device *bdev = bp->bus_dev; in dfx_bus_init() 815 struct device *bdev = bp->bus_dev; in dfx_bus_uninit() 871 struct device __maybe_unused *bdev = bp->bus_dev; in dfx_bus_config_check() 970 struct device *bdev = bp->bus_dev; in dfx_driver_init() 1072 bp->kmalloced = top_v = dma_alloc_coherent(bp->bus_dev, alloc_size, in dfx_driver_init() 1883 struct device *bdev = bp->bus_dev; in dfx_interrupt() 2949 (u32)dma_map_single(bp->bus_dev, newskb->data, in dfx_rcv_init() [all …]
|
D | defxx.h | 1776 struct device *bus_dev; member
|
/linux-2.6.39/arch/alpha/kernel/ |
D | core_cia.c | 88 mk_conf_addr(struct pci_bus *bus_dev, unsigned int device_fn, int where, in mk_conf_addr() argument 91 u8 bus = bus_dev->number; in mk_conf_addr()
|