/arch/x86/include/asm/xen/ |
D | pci.h | 26 int xen_find_device_domain_owner(struct pci_dev *dev); 27 int xen_register_device_domain_owner(struct pci_dev *dev, uint16_t domain); 28 int xen_unregister_device_domain_owner(struct pci_dev *dev); 30 static inline int xen_find_device_domain_owner(struct pci_dev *dev) in xen_find_device_domain_owner() 34 static inline int xen_register_device_domain_owner(struct pci_dev *dev, in xen_register_device_domain_owner() 39 static inline int xen_unregister_device_domain_owner(struct pci_dev *dev) in xen_unregister_device_domain_owner() 51 int (*enable_msi)(struct pci_dev *dev, int vectors[]); 52 void (*disable_msi)(struct pci_dev *dev); 53 int (*enable_msix)(struct pci_dev *dev, int vectors[], int nvec); 54 void (*disable_msix)(struct pci_dev *dev); [all …]
|
/arch/x86/pci/ |
D | irq.c | 33 static int pirq_enable_irq(struct pci_dev *dev); 34 static void pirq_disable_irq(struct pci_dev *dev); 51 int (*get)(struct pci_dev *router, struct pci_dev *dev, int pirq); 52 int (*set)(struct pci_dev *router, struct pci_dev *dev, int pirq, 54 int (*lvl)(struct pci_dev *router, struct pci_dev *dev, int pirq, 60 int (*probe)(struct irq_router *r, struct pci_dev *router, u16 device); 63 int (*pcibios_enable_irq)(struct pci_dev *dev) = pirq_enable_irq; 64 void (*pcibios_disable_irq)(struct pci_dev *dev) = pirq_disable_irq; 265 static int pirq_finali_get(struct pci_dev *router, struct pci_dev *dev, in pirq_finali_get() 284 static int pirq_finali_set(struct pci_dev *router, struct pci_dev *dev, in pirq_finali_set() [all …]
|
D | fixup.c | 14 static void pci_fixup_i450nx(struct pci_dev *d) in pci_fixup_i450nx() 39 static void pci_fixup_i450gx(struct pci_dev *d) in pci_fixup_i450gx() 53 static void pci_fixup_umc_ide(struct pci_dev *d) in pci_fixup_umc_ide() 67 static void pci_fixup_latency(struct pci_dev *d) in pci_fixup_latency() 79 static void pci_fixup_piix4_acpi(struct pci_dev *d) in pci_fixup_piix4_acpi() 108 static void pci_fixup_via_northbridge_bug(struct pci_dev *d) in pci_fixup_via_northbridge_bug() 155 static void pci_fixup_transparent_bridge(struct pci_dev *dev) in pci_fixup_transparent_bridge() 175 static void pci_fixup_nforce2(struct pci_dev *dev) in pci_fixup_nforce2() 242 static void pcie_rootport_aspm_quirk(struct pci_dev *pdev) in pcie_rootport_aspm_quirk() 246 struct pci_dev *dev; in pcie_rootport_aspm_quirk() [all …]
|
D | sta2x11-fixup.c | 46 static void sta2x11_new_instance(struct pci_dev *pdev) in sta2x11_new_instance() 70 static struct sta2x11_instance *sta2x11_pdev_to_instance(struct pci_dev *pdev) in sta2x11_pdev_to_instance() 83 static int sta2x11_pdev_to_ep(struct pci_dev *pdev) in sta2x11_pdev_to_ep() 95 struct sta2x11_instance *sta2x11_get_instance(struct pci_dev *pdev) in sta2x11_get_instance() 102 static void sta2x11_setup_pdev(struct pci_dev *pdev) in sta2x11_setup_pdev() 131 static void sta2x11_map_ep(struct pci_dev *pdev) in sta2x11_map_ep() 169 static struct sta2x11_mapping *sta2x11_pdev_to_mapping(struct pci_dev *pdev) in sta2x11_pdev_to_mapping() 181 static void suspend_mapping(struct pci_dev *pdev) in suspend_mapping() 205 static void resume_mapping(struct pci_dev *pdev) in resume_mapping()
|
D | i386.c | 49 struct pci_dev *dev; 58 static struct pcibios_fwaddrmap *pcibios_fwaddrmap_lookup(struct pci_dev *dev) in pcibios_fwaddrmap_lookup() 72 pcibios_save_fw_addr(struct pci_dev *dev, int idx, resource_size_t fw_addr) in pcibios_save_fw_addr() 99 resource_size_t pcibios_retrieve_fw_addr(struct pci_dev *dev, int idx) in pcibios_retrieve_fw_addr() 133 skip_isa_ioresource_align(struct pci_dev *dev) { in skip_isa_ioresource_align() 158 struct pci_dev *dev = data; in pcibios_align_resource() 209 static void pcibios_allocate_bridge_resources(struct pci_dev *dev) in pcibios_allocate_bridge_resources() 249 static void pcibios_allocate_dev_resources(struct pci_dev *dev, int pass) in pcibios_allocate_dev_resources() 309 struct pci_dev *dev; in pcibios_allocate_resources() 321 static void pcibios_allocate_dev_rom_resource(struct pci_dev *dev) in pcibios_allocate_dev_rom_resource() [all …]
|
/arch/s390/pci/ |
D | pci_iov.h | 14 void zpci_iov_remove_virtfn(struct pci_dev *pdev, int vfn); 16 void zpci_iov_map_resources(struct pci_dev *pdev); 18 int zpci_iov_setup_virtfn(struct zpci_bus *zbus, struct pci_dev *virtfn, int vfn); 21 static inline void zpci_iov_remove_virtfn(struct pci_dev *pdev, int vfn) {} in zpci_iov_remove_virtfn() 23 static inline void zpci_iov_map_resources(struct pci_dev *pdev) {} in zpci_iov_map_resources() 25 static inline int zpci_iov_setup_virtfn(struct zpci_bus *zbus, struct pci_dev *virtfn, int vfn) in zpci_iov_setup_virtfn()
|
D | pci_iov.c | 25 void zpci_iov_map_resources(struct pci_dev *pdev) in zpci_iov_map_resources() 40 void zpci_iov_remove_virtfn(struct pci_dev *pdev, int vfn) in zpci_iov_remove_virtfn() 48 static int zpci_iov_link_virtfn(struct pci_dev *pdev, struct pci_dev *virtfn, int vfid) in zpci_iov_link_virtfn() 63 int zpci_iov_setup_virtfn(struct zpci_bus *zbus, struct pci_dev *virtfn, int vfn) in zpci_iov_setup_virtfn() 67 struct pci_dev *pdev; in zpci_iov_setup_virtfn()
|
/arch/powerpc/include/asm/ |
D | pnv-pci.h | 27 extern int pnv_pci_set_tunnel_bar(struct pci_dev *dev, uint64_t addr, 29 int pnv_phb_to_cxl_mode(struct pci_dev *dev, uint64_t mode); 30 int pnv_cxl_ioda_msi_setup(struct pci_dev *dev, unsigned int hwirq, 32 int pnv_cxl_alloc_hwirqs(struct pci_dev *dev, int num); 33 void pnv_cxl_release_hwirqs(struct pci_dev *dev, int hwirq, int num); 34 int pnv_cxl_get_irq_count(struct pci_dev *dev); 35 struct device_node *pnv_pci_get_phb_node(struct pci_dev *dev); 41 struct pci_dev *dev, int num); 43 struct pci_dev *dev); 62 struct pci_dev *pdev;
|
D | pnv-ocxl.h | 59 int pnv_ocxl_get_actag(struct pci_dev *dev, u16 *base, u16 *enabled, u16 *supported); 60 int pnv_ocxl_get_pasid_count(struct pci_dev *dev, int *count); 62 int pnv_ocxl_get_tl_cap(struct pci_dev *dev, long *cap, 64 int pnv_ocxl_set_tl_conf(struct pci_dev *dev, long cap, 67 int pnv_ocxl_get_xsl_irq(struct pci_dev *dev, int *hwirq); 70 int pnv_ocxl_map_xsl_regs(struct pci_dev *dev, void __iomem **dsisr, 74 int pnv_ocxl_spa_setup(struct pci_dev *dev, void *spa_mem, int PE_mask, void **platform_data); 78 int pnv_ocxl_map_lpar(struct pci_dev *dev, uint64_t lparid,
|
D | ppc-pci.h | 18 extern struct pci_dev *isa_bridge_pcidev; /* may be NULL if no ISA bus */ 40 void eeh_addr_cache_insert_dev(struct pci_dev *dev); 41 void eeh_addr_cache_rmv_dev(struct pci_dev *dev); 55 void eeh_sysfs_add_device(struct pci_dev *pdev); 56 void eeh_sysfs_remove_device(struct pci_dev *pdev); 58 static inline const char *eeh_driver_name(struct pci_dev *pdev) in eeh_driver_name()
|
D | pci-bridge.h | 18 void (*dma_dev_setup)(struct pci_dev *pdev); 20 bool (*iommu_bypass_supported)(struct pci_dev *pdev, 27 bool (*enable_device_hook)(struct pci_dev *pdev); 29 void (*disable_device)(struct pci_dev *pdev); 31 void (*release_device)(struct pci_dev *pdev); 38 void (*reset_secondary_bus)(struct pci_dev *pdev); 41 int (*setup_msi_irqs)(struct pci_dev *pdev, 43 void (*teardown_msi_irqs)(struct pci_dev *pdev); 228 extern struct pci_dn *pci_get_pdn(struct pci_dev *pdev); 234 struct pci_dn *add_sriov_vf_pdns(struct pci_dev *pdev); [all …]
|
/arch/x86/video/ |
D | fbdev.c | 17 struct pci_dev *default_device = vga_default_device(); in fb_is_primary_device() 18 struct pci_dev *pci_dev; in fb_is_primary_device() local 24 pci_dev = to_pci_dev(device); in fb_is_primary_device() 27 if (pci_dev == default_device) in fb_is_primary_device() 32 res = pci_dev->resource + PCI_ROM_RESOURCE; in fb_is_primary_device()
|
/arch/x86/kernel/ |
D | reboot_fixups_32.c | 18 static void cs5530a_warm_reset(struct pci_dev *dev) in cs5530a_warm_reset() 27 static void cs5536_warm_reset(struct pci_dev *dev) in cs5536_warm_reset() 34 static void rdc321x_reset(struct pci_dev *dev) in rdc321x_reset() 47 static void ce4100_reset(struct pci_dev *dev) in ce4100_reset() 60 void (*reboot_fixup)(struct pci_dev *); 85 struct pci_dev *dev; in mach_reboot_fixups()
|
/arch/mips/pci/ |
D | fixup-lemote2f.c | 50 int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) in pcibios_map_irq() 89 int pcibios_plat_dev_init(struct pci_dev *dev) in pcibios_plat_dev_init() 95 static void loongson_cs5536_isa_fixup(struct pci_dev *pdev) in loongson_cs5536_isa_fixup() 102 static void loongson_cs5536_ide_fixup(struct pci_dev *pdev) in loongson_cs5536_ide_fixup() 109 static void loongson_cs5536_acc_fixup(struct pci_dev *pdev) in loongson_cs5536_acc_fixup() 117 static void loongson_cs5536_ohci_fixup(struct pci_dev *pdev) in loongson_cs5536_ohci_fixup() 124 static void loongson_cs5536_ehci_fixup(struct pci_dev *pdev) in loongson_cs5536_ehci_fixup() 136 static void loongson_nec_fixup(struct pci_dev *pdev) in loongson_nec_fixup()
|
D | fixup-lantiq.c | 10 int (*ltq_pci_plat_arch_init)(struct pci_dev *dev) = NULL; 11 int (*ltq_pci_plat_dev_init)(struct pci_dev *dev) = NULL; 13 int pcibios_plat_dev_init(struct pci_dev *dev) in pcibios_plat_dev_init() 24 int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) in pcibios_map_irq()
|
D | fixup-fuloong2e.c | 18 int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) in pcibios_map_irq() 42 int pcibios_plat_dev_init(struct pci_dev *dev) in pcibios_plat_dev_init() 47 static void loongson2e_nec_fixup(struct pci_dev *pdev) in loongson2e_nec_fixup() 59 static void loongson2e_686b_func0_fixup(struct pci_dev *pdev) in loongson2e_686b_func0_fixup() 134 static void loongson2e_686b_func1_fixup(struct pci_dev *pdev) in loongson2e_686b_func1_fixup() 167 static void loongson2e_686b_func2_fixup(struct pci_dev *pdev) in loongson2e_686b_func2_fixup() 173 static void loongson2e_686b_func3_fixup(struct pci_dev *pdev) in loongson2e_686b_func3_fixup() 179 static void loongson2e_686b_func5_fixup(struct pci_dev *pdev) in loongson2e_686b_func5_fixup()
|
D | fixup-sb1250.c | 15 static void quirk_sb1250_pci(struct pci_dev *dev) in quirk_sb1250_pci() 37 static int sb1250_bus_dma_limit(struct pci_dev *dev, void *data) in sb1250_bus_dma_limit() 64 static void quirk_sb1250_pci_dac(struct pci_dev *dev) in quirk_sb1250_pci_dac() 76 static void quirk_sb1250_ht(struct pci_dev *dev) in quirk_sb1250_ht() 86 static void quirk_sp1011(struct pci_dev *dev) in quirk_sp1011()
|
D | fixup-malta.c | 42 int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) in pcibios_map_irq() 50 int pcibios_plat_dev_init(struct pci_dev *dev) in pcibios_plat_dev_init() 55 static void malta_piix_func3_base_fixup(struct pci_dev *dev) in malta_piix_func3_base_fixup() 68 static void malta_piix_func0_fixup(struct pci_dev *pdev) in malta_piix_func0_fixup() 122 static void malta_piix_func1_fixup(struct pci_dev *pdev) in malta_piix_func1_fixup() 146 static void quirk_dlcsetup(struct pci_dev *dev) in quirk_dlcsetup()
|
D | fixup-cobalt.c | 39 static void qube_raq_galileo_early_fixup(struct pci_dev *dev) in qube_raq_galileo_early_fixup() 53 static void qube_raq_via_bmIDE_fixup(struct pci_dev *dev) in qube_raq_via_bmIDE_fixup() 76 static void qube_raq_galileo_fixup(struct pci_dev *dev) in qube_raq_galileo_fixup() 131 static void qube_raq_via_board_id_fixup(struct pci_dev *dev) in qube_raq_via_board_id_fixup() 177 int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) in pcibios_map_irq() 189 int pcibios_plat_dev_init(struct pci_dev *dev) in pcibios_plat_dev_init()
|
/arch/powerpc/kernel/ |
D | eeh_sysfs.c | 27 struct pci_dev *pdev = to_pci_dev(dev); \ 43 struct pci_dev *pdev = to_pci_dev(dev); in eeh_pe_state_show() 59 struct pci_dev *pdev = to_pci_dev(dev); in eeh_pe_state_store() 82 struct pci_dev *pdev = to_pci_dev(dev); in eeh_notify_resume_show() 96 struct pci_dev *pdev = to_pci_dev(dev); in eeh_notify_resume_store() 109 static int eeh_notify_resume_add(struct pci_dev *pdev) in eeh_notify_resume_add() 122 static void eeh_notify_resume_remove(struct pci_dev *pdev) in eeh_notify_resume_remove() 132 static inline int eeh_notify_resume_add(struct pci_dev *pdev) { return 0; } in eeh_notify_resume_add() 133 static inline void eeh_notify_resume_remove(struct pci_dev *pdev) { } in eeh_notify_resume_remove() 136 void eeh_sysfs_add_device(struct pci_dev *pdev) in eeh_sysfs_add_device() [all …]
|
/arch/x86/include/asm/ |
D | probe_roms.h | 4 struct pci_dev; 6 extern void __iomem *pci_map_biosrom(struct pci_dev *pdev); 8 extern size_t pci_biosrom_size(struct pci_dev *pdev);
|
D | intel-mid.h | 13 extern int intel_mid_pci_set_power_state(struct pci_dev *pdev, pci_power_t state); 14 extern pci_power_t intel_mid_pci_get_power_state(struct pci_dev *pdev); 21 extern int intel_mid_pwr_get_lss_id(struct pci_dev *pdev);
|
/arch/powerpc/platforms/ |
D | fsl_uli1575.c | 58 static void early_uli5249(struct pci_dev *dev) in early_uli5249() 81 static void quirk_uli1575(struct pci_dev *dev) in quirk_uli1575() 138 static void quirk_final_uli1575(struct pci_dev *dev) in quirk_final_uli1575() 174 static void quirk_uli5288(struct pci_dev *dev) in quirk_uli5288() 199 static void quirk_uli5229(struct pci_dev *dev) in quirk_uli5229() 215 static void quirk_final_uli5249(struct pci_dev *dev) in quirk_final_uli5249() 252 static void hpcd_quirk_uli1575(struct pci_dev *dev) in hpcd_quirk_uli1575() 268 static void hpcd_quirk_uli5288(struct pci_dev *dev) in hpcd_quirk_uli5288() 294 static void hpcd_quirk_uli5229(struct pci_dev *dev) in hpcd_quirk_uli5229() 316 static void hpcd_final_uli5288(struct pci_dev *dev) in hpcd_final_uli5288()
|
/arch/powerpc/platforms/pasemi/ |
D | pasemi.h | 7 extern void pas_pci_irq_fixup(struct pci_dev *dev); 8 extern void pas_pci_dma_dev_setup(struct pci_dev *dev); 10 extern void __iomem *pasemi_pci_getcfgaddr(struct pci_dev *dev, int offset);
|
/arch/arm/include/asm/mach/ |
D | pci.h | 27 u8 (*swizzle)(struct pci_dev *dev, u8 *pin); 28 int (*map_irq)(const struct pci_dev *dev, u8 slot, u8 pin); 44 u8 (*swizzle)(struct pci_dev *, u8 *); 46 int (*map_irq)(const struct pci_dev *, u8, u8);
|