Home
last modified time | relevance | path

Searched refs:pci_dev (Results 1 – 25 of 345) sorted by relevance

12345678910>>...14

/arch/ia64/include/asm/sn/
Dpcidev.h44 #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/x86/include/asm/xen/
Dpci.h18 int xen_find_device_domain_owner(struct pci_dev *dev);
19 int xen_register_device_domain_owner(struct pci_dev *dev, uint16_t domain);
20 int xen_unregister_device_domain_owner(struct pci_dev *dev);
26 static inline int xen_find_device_domain_owner(struct pci_dev *dev) in xen_find_device_domain_owner()
30 static inline int xen_register_device_domain_owner(struct pci_dev *dev, in xen_register_device_domain_owner()
35 static inline int xen_unregister_device_domain_owner(struct pci_dev *dev) in xen_unregister_device_domain_owner()
47 int (*enable_msi)(struct pci_dev *dev, int vectors[]);
48 void (*disable_msi)(struct pci_dev *dev);
49 int (*enable_msix)(struct pci_dev *dev, int vectors[], int nvec);
50 void (*disable_msix)(struct pci_dev *dev);
[all …]
/arch/x86/pci/
Dirq.c28 static int pirq_enable_irq(struct pci_dev *dev);
45 int (*get)(struct pci_dev *router, struct pci_dev *dev, int pirq);
46 int (*set)(struct pci_dev *router, struct pci_dev *dev, int pirq,
52 int (*probe)(struct irq_router *r, struct pci_dev *router, u16 device);
55 int (*pcibios_enable_irq)(struct pci_dev *dev) = pirq_enable_irq;
56 void (*pcibios_disable_irq)(struct pci_dev *dev) = NULL;
177 static unsigned int read_config_nybble(struct pci_dev *router, unsigned offset, unsigned nr) in read_config_nybble()
186 static void write_config_nybble(struct pci_dev *router, unsigned offset, in write_config_nybble()
202 static int pirq_ali_get(struct pci_dev *router, struct pci_dev *dev, int pirq) in pirq_ali_get()
210 static int pirq_ali_set(struct pci_dev *router, struct pci_dev *dev, int pirq, int irq) in pirq_ali_set()
[all …]
Dfixup.c11 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/x86/include/asm/
Dpci.h72 void pcibios_set_master(struct pci_dev *dev);
75 int pcibios_set_irq_routing(struct pci_dev *dev, int pin, int irq);
79 extern int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma,
86 static inline void pci_dma_burst_advice(struct pci_dev *pdev, in pci_dma_burst_advice()
101 static inline int x86_setup_msi_irqs(struct pci_dev *dev, int nvec, int type) in x86_setup_msi_irqs()
106 static inline void x86_teardown_msi_irqs(struct pci_dev *dev) in x86_teardown_msi_irqs()
115 static inline void x86_restore_msi_irqs(struct pci_dev *dev, int irq) in x86_restore_msi_irqs()
124 int native_setup_msi_irqs(struct pci_dev *dev, int nvec, int type);
126 void native_restore_msi_irqs(struct pci_dev *dev, int irq);
130 void default_teardown_msi_irqs(struct pci_dev *dev);
[all …]
Dprobe_roms.h3 struct pci_dev;
5 extern void __iomem *pci_map_biosrom(struct pci_dev *pdev);
7 extern size_t pci_biosrom_size(struct pci_dev *pdev);
/arch/x86/video/
Dfbdev.c16 struct pci_dev *pci_dev = NULL; in fb_is_primary_device() local
21 pci_dev = to_pci_dev(device); in fb_is_primary_device()
23 if (pci_dev) in fb_is_primary_device()
24 res = &pci_dev->resource[PCI_ROM_RESOURCE]; in fb_is_primary_device()
/arch/powerpc/include/asm/
Dppc-pci.h28 extern struct pci_dev *isa_bridge_pcidev; /* may be NULL if no ISA bus */
51 void pci_addr_cache_insert_device(struct pci_dev *dev);
52 void pci_addr_cache_remove_device(struct pci_dev *dev);
53 struct pci_dev *pci_addr_cache_get_device(unsigned long addr);
64 void eeh_sysfs_add_device(struct pci_dev *pdev);
65 void eeh_sysfs_remove_device(struct pci_dev *pdev);
67 static inline const char *eeh_pci_name(struct pci_dev *pdev) in eeh_pci_name()
72 static inline const char *eeh_driver_name(struct pci_dev *pdev) in eeh_driver_name()
Dpci.h33 struct pci_dev;
55 static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel) in pci_get_legacy_ide_irq()
80 static inline void pci_dma_burst_advice(struct pci_dev *pdev, in pci_dma_burst_advice()
101 static inline void pci_dma_burst_advice(struct pci_dev *pdev, in pci_dma_burst_advice()
123 int pci_mmap_page_range(struct pci_dev *pdev, struct vm_area_struct *vma,
166 extern struct pci_dev *of_create_pci_dev(struct device_node *node,
169 extern void of_scan_pci_bridge(struct pci_dev *dev);
181 extern void pci_resource_to_user(const struct pci_dev *dev, int bar,
/arch/mips/include/asm/
Dpci.h59 extern int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin);
73 extern void pcibios_set_master(struct pci_dev *dev);
82 extern int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma,
97 struct pci_dev;
107 static inline void pci_dma_burst_advice(struct pci_dev *pdev, in pci_dma_burst_advice()
130 extern int pcibios_plat_dev_init(struct pci_dev *dev);
133 static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel) in pci_get_legacy_ide_irq()
/arch/x86/kernel/
Dreboot_fixups_32.c17 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()
46 static void ce4100_reset(struct pci_dev *dev) in ce4100_reset()
59 void (*reboot_fixup)(struct pci_dev *);
84 struct pci_dev *dev; in mach_reboot_fixups()
/arch/mn10300/include/asm/
Dpci.h51 void pcibios_set_master(struct pci_dev *dev);
64 struct pci_dev;
73 static inline int pci_controller_num(struct pci_dev *dev) in pci_controller_num()
79 extern int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma,
89 pcibios_select_root(struct pci_dev *pdev, struct resource *res) in pcibios_select_root()
101 static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel) in pci_get_legacy_ide_irq()
/arch/mips/pci/
Dfixup-lemote2f.c54 int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) in pcibios_map_irq()
93 int pcibios_plat_dev_init(struct pci_dev *dev) in pcibios_plat_dev_init()
99 static void __init loongson_cs5536_isa_fixup(struct pci_dev *pdev) in loongson_cs5536_isa_fixup()
106 static void __init loongson_cs5536_ide_fixup(struct pci_dev *pdev) in loongson_cs5536_ide_fixup()
113 static void __init loongson_cs5536_acc_fixup(struct pci_dev *pdev) in loongson_cs5536_acc_fixup()
121 static void __init loongson_cs5536_ohci_fixup(struct pci_dev *pdev) in loongson_cs5536_ohci_fixup()
128 static void __init loongson_cs5536_ehci_fixup(struct pci_dev *pdev) in loongson_cs5536_ehci_fixup()
140 static void __init loongson_nec_fixup(struct pci_dev *pdev) in loongson_nec_fixup()
Dfixup-fuloong2e.c22 int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) in pcibios_map_irq()
46 int pcibios_plat_dev_init(struct pci_dev *dev) in pcibios_plat_dev_init()
51 static void __init loongson2e_nec_fixup(struct pci_dev *pdev) in loongson2e_nec_fixup()
63 static void __init loongson2e_686b_func0_fixup(struct pci_dev *pdev) in loongson2e_686b_func0_fixup()
138 static void __init loongson2e_686b_func1_fixup(struct pci_dev *pdev) in loongson2e_686b_func1_fixup()
171 static void __init loongson2e_686b_func2_fixup(struct pci_dev *pdev) in loongson2e_686b_func2_fixup()
177 static void __init loongson2e_686b_func3_fixup(struct pci_dev *pdev) in loongson2e_686b_func3_fixup()
183 static void __init loongson2e_686b_func5_fixup(struct pci_dev *pdev) in loongson2e_686b_func5_fixup()
Dfixup-pnx8550.c38 void __init pcibios_fixup_resources(struct pci_dev *dev) in pcibios_fixup_resources()
48 int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) in pcibios_map_irq()
54 int pcibios_plat_dev_init(struct pci_dev *dev) in pcibios_plat_dev_init()
Dfixup-sb1250.c18 static void __init quirk_sb1250_pci(struct pci_dev *dev) in quirk_sb1250_pci()
28 static void __init quirk_sb1250_ht(struct pci_dev *dev) in quirk_sb1250_ht()
38 static void __init quirk_sp1011(struct pci_dev *dev) in quirk_sp1011()
Dfixup-emma2rh.c55 static void __devinit nec_usb_controller_fixup(struct pci_dev *dev) in nec_usb_controller_fixup()
70 static void __devinit emma2rh_pci_host_fixup(struct pci_dev *dev) in emma2rh_pci_host_fixup()
88 int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) in pcibios_map_irq()
94 int pcibios_plat_dev_init(struct pci_dev *dev) in pcibios_plat_dev_init()
/arch/frv/include/asm/
Dpci.h21 struct pci_dev;
25 extern void pcibios_set_master(struct pci_dev *dev);
37 extern void *pci_alloc_consistent(struct pci_dev *hwdev, size_t size,
40 extern void pci_free_consistent(struct pci_dev *hwdev, size_t size,
47 static inline void pci_dma_burst_advice(struct pci_dev *pdev, in pci_dma_burst_advice()
/arch/alpha/include/asm/
Dpci.h16 struct pci_dev;
60 extern void pcibios_set_master(struct pci_dev *dev);
79 static inline void pci_dma_burst_advice(struct pci_dev *pdev, in pci_dma_burst_advice()
98 static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel) in pci_get_legacy_ide_irq()
122 extern struct pci_dev *isa_bridge;
135 extern int pci_create_resource_files(struct pci_dev *dev);
136 extern void pci_remove_resource_files(struct pci_dev *dev);
/arch/cris/include/asm/
Dpci.h24 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;
48 extern int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma,
/arch/microblaze/include/asm/
Dpci.h28 struct pci_dev;
59 static inline void pci_dma_burst_advice(struct pci_dev *pdev, in pci_dma_burst_advice()
75 int pci_mmap_page_range(struct pci_dev *pdev, struct vm_area_struct *vma,
97 static inline struct resource *pcibios_select_root(struct pci_dev *pdev, in pcibios_select_root()
119 extern struct pci_dev *of_create_pci_dev(struct device_node *node,
123 struct pci_dev *dev);
128 extern int pci_read_irq_line(struct pci_dev *dev);
140 extern void pci_resource_to_user(const struct pci_dev *dev, int bar,
/arch/mips/powertv/pci/
Dfixup-powertv.c7 int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) in pcibios_map_irq()
13 int pcibios_plat_dev_init(struct pci_dev *dev) in pcibios_plat_dev_init()
33 int asic_pcie_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) in asic_pcie_map_irq()
/arch/powerpc/platforms/pasemi/
Dpasemi.h6 extern void __devinit pas_pci_irq_fixup(struct pci_dev *dev);
7 extern void __devinit pas_pci_dma_dev_setup(struct pci_dev *dev);
9 extern void __iomem *pasemi_pci_getcfgaddr(struct pci_dev *dev, int offset);
/arch/sparc/include/asm/
Dpci_64.h40 static inline void pci_dma_burst_advice(struct pci_dev *pdev, in pci_dma_burst_advice()
72 extern int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma,
76 static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel) in pci_get_legacy_ide_irq()
82 extern void pci_resource_to_user(const struct pci_dev *dev, int bar,
Dpci_32.h28 struct pci_dev;
31 static inline void pci_dma_burst_advice(struct pci_dev *pdev, in pci_dma_burst_advice()
55 static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel) in pci_get_legacy_ide_irq()

12345678910>>...14