/arch/ia64/include/asm/sn/ |
D | pcidev.h | 44 #define SN_PCIDEV_BUSSOFT(pci_dev) \ argument 45 (SN_PCIDEV_INFO(pci_dev)->pdi_host_pcidev_info->pdi_pcibus_info) 47 #define SN_PCIDEV_BUSPROVIDER(pci_dev) \ argument 48 (SN_PCIDEV_INFO(pci_dev)->pdi_provider) 61 struct pci_dev *pdi_linux_pcidev; /* Kernel pci_dev */ 65 struct pci_dev *host_pci_dev; /* host bus link */ 69 extern void sn_irq_fixup(struct pci_dev *pci_dev, 71 extern void sn_irq_unfixup(struct pci_dev *pci_dev); 72 extern struct pcidev_info * sn_pcidev_info_get(struct pci_dev *); 76 extern void sn_bus_store_sysdata(struct pci_dev *dev); [all …]
|
/arch/alpha/include/asm/ |
D | pci.h | 15 struct pci_dev; 60 extern void pcibios_set_master(struct pci_dev *dev); 79 extern void *__pci_alloc_consistent(struct pci_dev *, size_t, 82 pci_alloc_consistent(struct pci_dev *dev, size_t size, dma_addr_t *dma) in pci_alloc_consistent() 93 extern void pci_free_consistent(struct pci_dev *, size_t, void *, dma_addr_t); 100 extern dma_addr_t pci_map_single(struct pci_dev *, void *, size_t, int); 103 extern dma_addr_t pci_map_page(struct pci_dev *, struct page *, 109 pci_dma_mapping_error(struct pci_dev *pdev, dma_addr_t dma_addr) in pci_dma_mapping_error() 120 extern void pci_unmap_single(struct pci_dev *, dma_addr_t, size_t, int); 121 extern void pci_unmap_page(struct pci_dev *, dma_addr_t, size_t, int); [all …]
|
/arch/sparc/include/asm/ |
D | pci_32.h | 20 static inline void pcibios_set_master(struct pci_dev *dev) in pcibios_set_master() 36 struct pci_dev; 41 extern void *pci_alloc_consistent(struct pci_dev *hwdev, size_t size, dma_addr_t *dma_handle); 51 extern void pci_free_consistent(struct pci_dev *hwdev, size_t size, void *vaddr, dma_addr_t dma_han… 59 extern dma_addr_t pci_map_single(struct pci_dev *hwdev, void *ptr, size_t size, int direction); 68 extern void pci_unmap_single(struct pci_dev *hwdev, dma_addr_t dma_addr, size_t size, int direction… 87 extern dma_addr_t pci_map_page(struct pci_dev *hwdev, struct page *page, 89 extern void pci_unmap_page(struct pci_dev *hwdev, 107 extern int pci_map_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nents, int direction); 113 extern void pci_unmap_sg(struct pci_dev *hwdev, struct scatterlist *sg, int nhwents, int direction); [all …]
|
D | pci_64.h | 22 static inline void pcibios_set_master(struct pci_dev *dev) in pcibios_set_master() 38 static inline void *pci_alloc_consistent(struct pci_dev *pdev, size_t size, in pci_alloc_consistent() 44 static inline void pci_free_consistent(struct pci_dev *pdev, size_t size, in pci_free_consistent() 50 static inline dma_addr_t pci_map_single(struct pci_dev *pdev, void *ptr, in pci_map_single() 57 static inline void pci_unmap_single(struct pci_dev *pdev, dma_addr_t dma_addr, in pci_unmap_single() 83 static inline int pci_map_sg(struct pci_dev *pdev, struct scatterlist *sg, in pci_map_sg() 90 static inline void pci_unmap_sg(struct pci_dev *pdev, struct scatterlist *sg, in pci_unmap_sg() 97 static inline void pci_dma_sync_single_for_cpu(struct pci_dev *pdev, in pci_dma_sync_single_for_cpu() 105 static inline void pci_dma_sync_single_for_device(struct pci_dev *pdev, in pci_dma_sync_single_for_device() 112 static inline void pci_dma_sync_sg_for_cpu(struct pci_dev *pdev, in pci_dma_sync_sg_for_cpu() [all …]
|
/arch/x86/pci/ |
D | irq.c | 29 static int pirq_enable_irq(struct pci_dev *dev); 46 int (*get)(struct pci_dev *router, struct pci_dev *dev, int pirq); 47 int (*set)(struct pci_dev *router, struct pci_dev *dev, int pirq, 53 int (*probe)(struct irq_router *r, struct pci_dev *router, u16 device); 56 int (*pcibios_enable_irq)(struct pci_dev *dev) = NULL; 57 void (*pcibios_disable_irq)(struct pci_dev *dev) = NULL; 178 static unsigned int read_config_nybble(struct pci_dev *router, unsigned offset, unsigned nr) in read_config_nybble() 187 static void write_config_nybble(struct pci_dev *router, unsigned offset, in write_config_nybble() 203 static int pirq_ali_get(struct pci_dev *router, struct pci_dev *dev, int pirq) in pirq_ali_get() 211 static int pirq_ali_set(struct pci_dev *router, struct pci_dev *dev, int pirq, int irq) in pirq_ali_set() [all …]
|
D | fixup.c | 11 static void __devinit pci_fixup_i450nx(struct pci_dev *d) in pci_fixup_i450nx() 36 static void __devinit pci_fixup_i450gx(struct pci_dev *d) in pci_fixup_i450gx() 50 static void __devinit pci_fixup_umc_ide(struct pci_dev *d) in pci_fixup_umc_ide() 64 static void __devinit pci_fixup_ncr53c810(struct pci_dev *d) in pci_fixup_ncr53c810() 77 static void __devinit pci_fixup_latency(struct pci_dev *d) in pci_fixup_latency() 89 static void __devinit pci_fixup_piix4_acpi(struct pci_dev *d) in pci_fixup_piix4_acpi() 118 static void pci_fixup_via_northbridge_bug(struct pci_dev *d) in pci_fixup_via_northbridge_bug() 165 static void __devinit pci_fixup_transparent_bridge(struct pci_dev *dev) in pci_fixup_transparent_bridge() 185 static void pci_fixup_nforce2(struct pci_dev *dev) in pci_fixup_nforce2() 252 static void pcie_rootport_aspm_quirk(struct pci_dev *pdev) in pcie_rootport_aspm_quirk() [all …]
|
/arch/arm/include/asm/ |
D | pci.h | 15 extern void pcibios_set_master(struct pci_dev *dev); 17 static inline void pcibios_set_master(struct pci_dev *dev) in pcibios_set_master() 47 static inline void pci_dma_burst_advice(struct pci_dev *pdev, in pci_dma_burst_advice() 57 extern int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma, 61 pcibios_resource_to_bus(struct pci_dev *dev, struct pci_bus_region *region, 65 pcibios_bus_to_resource(struct pci_dev *dev, struct resource *res, 69 pcibios_select_root(struct pci_dev *pdev, struct resource *res) in pcibios_select_root() 84 static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel) in pci_get_legacy_ide_irq()
|
/arch/mips/include/asm/ |
D | pci.h | 59 extern int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin); 75 extern void pcibios_set_master(struct pci_dev *dev); 84 extern int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma, 98 struct pci_dev; 130 static inline void pci_dma_burst_advice(struct pci_dev *pdev, in pci_dma_burst_advice() 139 extern void pcibios_resource_to_bus(struct pci_dev *dev, 142 extern void pcibios_bus_to_resource(struct pci_dev *dev, struct resource *res, 146 pcibios_select_root(struct pci_dev *pdev, struct resource *res) in pcibios_select_root() 172 extern int pcibios_plat_dev_init(struct pci_dev *dev); 175 static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel) in pci_get_legacy_ide_irq()
|
/arch/powerpc/include/asm/ |
D | pci.h | 28 struct pci_dev; 45 static inline void pcibios_set_master(struct pci_dev *dev) in pcibios_set_master() 56 static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel) in pci_get_legacy_ide_irq() 81 static inline void pci_dma_burst_advice(struct pci_dev *pdev, in pci_dma_burst_advice() 102 static inline void pci_dma_burst_advice(struct pci_dev *pdev, in pci_dma_burst_advice() 120 int pci_mmap_page_range(struct pci_dev *pdev, struct vm_area_struct *vma, 186 extern void pcibios_resource_to_bus(struct pci_dev *dev, 190 extern void pcibios_bus_to_resource(struct pci_dev *dev, 194 static inline struct resource *pcibios_select_root(struct pci_dev *pdev, in pcibios_select_root() 216 extern struct pci_dev *of_create_pci_dev(struct device_node *node, [all …]
|
D | ppc-pci.h | 28 extern struct pci_dev *isa_bridge_pcidev; /* may be NULL if no ISA bus */ 54 void pci_addr_cache_insert_device(struct pci_dev *dev); 55 void pci_addr_cache_remove_device(struct pci_dev *dev); 57 struct pci_dev *pci_get_device_by_addr(unsigned long addr); 138 void eeh_sysfs_add_device(struct pci_dev *pdev); 139 void eeh_sysfs_remove_device(struct pci_dev *pdev);
|
/arch/blackfin/include/asm/ |
D | pci.h | 41 static inline void pcibios_set_master(struct pci_dev *dev) in pcibios_set_master() 51 static inline dma_addr_t pci_map_single(struct pci_dev *hwdev, void *ptr, in pci_map_single() 68 static inline void pci_unmap_single(struct pci_dev *hwdev, dma_addr_t dma_addr, in pci_unmap_single() 92 static inline int pci_map_sg(struct pci_dev *hwdev, struct scatterlist *sg, in pci_map_sg() 104 static inline void pci_unmap_sg(struct pci_dev *hwdev, struct scatterlist *sg, in pci_unmap_sg() 122 static inline void pci_dma_sync_single(struct pci_dev *hwdev, in pci_dma_sync_single() 138 static inline void pci_dma_sync_sg(struct pci_dev *hwdev, in pci_dma_sync_sg()
|
/arch/x86/video/ |
D | fbdev.c | 15 struct pci_dev *pci_dev = NULL; in fb_is_primary_device() local 20 pci_dev = to_pci_dev(device); in fb_is_primary_device() 22 if (pci_dev) in fb_is_primary_device() 23 res = &pci_dev->resource[PCI_ROM_RESOURCE]; in fb_is_primary_device()
|
/arch/ia64/include/asm/ |
D | pci.h | 27 struct pci_dev; 47 pcibios_set_master (struct pci_dev *dev) in pcibios_set_master() 75 static inline void pci_dma_burst_advice(struct pci_dev *pdev, in pci_dma_burst_advice() 94 extern int pci_mmap_page_range (struct pci_dev *dev, struct vm_area_struct *vma, 132 extern void pcibios_resource_to_bus(struct pci_dev *dev, 135 extern void pcibios_bus_to_resource(struct pci_dev *dev, 139 pcibios_select_root(struct pci_dev *pdev, struct resource *res) in pcibios_select_root() 154 static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel) in pci_get_legacy_ide_irq()
|
/arch/x86/kernel/ |
D | reboot_fixups_32.c | 17 static void cs5530a_warm_reset(struct pci_dev *dev) in cs5530a_warm_reset() 26 static void cs5536_warm_reset(struct pci_dev *dev) in cs5536_warm_reset() 33 static void rdc321x_reset(struct pci_dev *dev) in rdc321x_reset() 49 void (*reboot_fixup)(struct pci_dev *); 68 struct pci_dev *dev; in mach_reboot_fixups()
|
/arch/mips/pci/ |
D | fixup-lm2e.c | 39 int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) in pcibios_map_irq() 63 int pcibios_plat_dev_init(struct pci_dev *dev) in pcibios_plat_dev_init() 68 static void __init loongson2e_nec_fixup(struct pci_dev *pdev) in loongson2e_nec_fixup() 80 static void __init loongson2e_686b_func0_fixup(struct pci_dev *pdev) in loongson2e_686b_func0_fixup() 155 static void __init loongson2e_686b_func1_fixup(struct pci_dev *pdev) in loongson2e_686b_func1_fixup() 188 static void __init loongson2e_686b_func2_fixup(struct pci_dev *pdev) in loongson2e_686b_func2_fixup() 194 static void __init loongson2e_686b_func3_fixup(struct pci_dev *pdev) in loongson2e_686b_func3_fixup() 200 static void __init loongson2e_686b_func5_fixup(struct pci_dev *pdev) in loongson2e_686b_func5_fixup()
|
D | fixup-cobalt.c | 40 static void qube_raq_galileo_early_fixup(struct pci_dev *dev) in qube_raq_galileo_early_fixup() 54 static void qube_raq_via_bmIDE_fixup(struct pci_dev *dev) in qube_raq_via_bmIDE_fixup() 77 static void qube_raq_galileo_fixup(struct pci_dev *dev) in qube_raq_galileo_fixup() 132 static void qube_raq_via_board_id_fixup(struct pci_dev *dev) in qube_raq_via_board_id_fixup() 178 int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) in pcibios_map_irq() 190 int pcibios_plat_dev_init(struct pci_dev *dev) in pcibios_plat_dev_init()
|
D | fixup-emma2rh.c | 58 static void __devinit nec_usb_controller_fixup(struct pci_dev *dev) in nec_usb_controller_fixup() 73 static void __devinit emma2rh_pci_host_fixup(struct pci_dev *dev) in emma2rh_pci_host_fixup() 91 int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) in pcibios_map_irq() 97 int pcibios_plat_dev_init(struct pci_dev *dev) in pcibios_plat_dev_init()
|
D | pci-ip27.c | 144 int __devinit pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) in pcibios_map_irq() 149 static inline struct pci_dev *bridge_root_dev(struct pci_dev *dev) in bridge_root_dev() 160 int pcibios_plat_dev_init(struct pci_dev *dev) in pcibios_plat_dev_init() 163 struct pci_dev *rdev = bridge_root_dev(dev); in pcibios_plat_dev_init() 191 static inline void pci_disable_swapping(struct pci_dev *dev) in pci_disable_swapping() 202 static inline void pci_enable_swapping(struct pci_dev *dev) in pci_enable_swapping() 213 static void __init pci_fixup_ioc3(struct pci_dev *d) in pci_fixup_ioc3()
|
/arch/alpha/kernel/ |
D | pci-noop.c | 112 __pci_alloc_consistent(struct pci_dev *pdev, size_t size, in __pci_alloc_consistent() 119 pci_free_consistent(struct pci_dev *pdev, size_t size, void *cpu_addr, in pci_free_consistent() 125 pci_map_single(struct pci_dev *pdev, void *cpu_addr, size_t size, in pci_map_single() 132 pci_unmap_single(struct pci_dev *pdev, dma_addr_t dma_addr, size_t size, in pci_unmap_single() 138 pci_map_sg(struct pci_dev *pdev, struct scatterlist *sg, int nents, in pci_map_sg() 145 pci_unmap_sg(struct pci_dev *pdev, struct scatterlist *sg, int nents, in pci_unmap_sg() 151 pci_dma_supported(struct pci_dev *hwdev, dma_addr_t mask) in pci_dma_supported() 209 void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long maxlen) in pci_iomap() 214 void pci_iounmap(struct pci_dev *dev, void __iomem * addr) in pci_iounmap()
|
D | pci.c | 65 quirk_isa_bridge(struct pci_dev *dev) in quirk_isa_bridge() 72 quirk_cypress(struct pci_dev *dev) in quirk_cypress() 112 pcibios_fixup_final(struct pci_dev *dev) in pcibios_fixup_final() 133 struct pci_dev *dev = data; in pcibios_align_resource() 213 pdev_save_srm_config(struct pci_dev *dev) in pdev_save_srm_config() 263 pcibios_fixup_device_resources(struct pci_dev *dev, struct pci_bus *bus) in pcibios_fixup_device_resources() 287 struct pci_dev *dev = bus->self; in pcibios_fixup_bus() 318 pcibios_update_irq(struct pci_dev *dev, int irq) in pcibios_update_irq() 324 pcibios_resource_to_bus(struct pci_dev *dev, struct pci_bus_region *region, in pcibios_resource_to_bus() 339 void pcibios_bus_to_resource(struct pci_dev *dev, struct resource *res, in pcibios_bus_to_resource() [all …]
|
/arch/cris/include/asm/ |
D | pci.h | 24 void pcibios_set_master(struct pci_dev *dev); 27 int pcibios_set_irq_routing(struct pci_dev *dev, int pin, int irq); 39 struct pci_dev; 56 extern int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma,
|
/arch/powerpc/platforms/pseries/ |
D | eeh_cache.c | 54 struct pci_dev *pcidev; 64 static inline struct pci_dev *__pci_get_device_by_addr(unsigned long addr) in __pci_get_device_by_addr() 97 struct pci_dev *pci_get_device_by_addr(unsigned long addr) in pci_get_device_by_addr() 99 struct pci_dev *dev; in pci_get_device_by_addr() 133 pci_addr_cache_insert(struct pci_dev *dev, unsigned long alo, in pci_addr_cache_insert() 177 static void __pci_addr_cache_insert_device(struct pci_dev *dev) in __pci_addr_cache_insert_device() 223 void pci_addr_cache_insert_device(struct pci_dev *dev) in pci_addr_cache_insert_device() 236 static inline void __pci_addr_cache_remove_device(struct pci_dev *dev) in __pci_addr_cache_remove_device() 265 void pci_addr_cache_remove_device(struct pci_dev *dev) in pci_addr_cache_remove_device() 286 struct pci_dev *dev = NULL; in pci_addr_cache_build()
|
/arch/arm/kernel/ |
D | bios32.c | 27 struct pci_dev *dev; in pcibios_bus_report_status() 81 static void __devinit pci_fixup_83c553(struct pci_dev *dev) in pci_fixup_83c553() 133 static void __devinit pci_fixup_unassign(struct pci_dev *dev) in pci_fixup_unassign() 145 static void __devinit pci_fixup_dec21285(struct pci_dev *dev) in pci_fixup_dec21285() 170 static void __devinit pci_fixup_prpmc1100(struct pci_dev *dev) in pci_fixup_prpmc1100() 189 static void __devinit pci_fixup_ide_bases(struct pci_dev *dev) in pci_fixup_ide_bases() 210 static void __devinit pci_fixup_dec21142(struct pci_dev *dev) in pci_fixup_dec21142() 232 static void __devinit pci_fixup_cy82c693(struct pci_dev *dev) in pci_fixup_cy82c693() 282 static void __init pci_fixup_it8152(struct pci_dev *dev) in pci_fixup_it8152() 301 void __devinit pcibios_update_irq(struct pci_dev *dev, int irq) in pcibios_update_irq() [all …]
|
/arch/powerpc/platforms/iseries/ |
D | pci.h | 46 struct pci_dev; 51 extern void iSeries_pcibios_fixup_resources(struct pci_dev *dev); 55 static inline void iSeries_pcibios_fixup_resources(struct pci_dev *dev) {} in iSeries_pcibios_fixup_resources()
|
/arch/cris/arch-v32/drivers/pci/ |
D | bios.c | 14 void pcibios_set_master(struct pci_dev *dev) in pcibios_set_master() 22 int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma, in pci_mmap_page_range() 58 int pcibios_enable_resources(struct pci_dev *dev, int mask) in pcibios_enable_resources() 90 int pcibios_enable_irq(struct pci_dev *dev) in pcibios_enable_irq() 96 int pcibios_enable_device(struct pci_dev *dev, int mask) in pcibios_enable_device() 110 struct pci_dev *dev = NULL; in pcibios_assign_resources()
|