Home
last modified time | relevance | path

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

12345678910>>...13

/arch/x86/include/asm/xen/
Dpci.h19 int xen_find_device_domain_owner(struct pci_dev *dev);
20 int xen_register_device_domain_owner(struct pci_dev *dev, uint16_t domain);
21 int xen_unregister_device_domain_owner(struct pci_dev *dev);
27 static inline int xen_find_device_domain_owner(struct pci_dev *dev) in xen_find_device_domain_owner()
31 static inline int xen_register_device_domain_owner(struct pci_dev *dev, in xen_register_device_domain_owner()
36 static inline int xen_unregister_device_domain_owner(struct pci_dev *dev) in xen_unregister_device_domain_owner()
48 int (*enable_msi)(struct pci_dev *dev, int vectors[]);
49 void (*disable_msi)(struct pci_dev *dev);
50 int (*enable_msix)(struct pci_dev *dev, int vectors[], int nvec);
51 void (*disable_msix)(struct pci_dev *dev);
[all …]
/arch/x86/pci/
Dirq.c29 static int pirq_enable_irq(struct pci_dev *dev);
30 static void pirq_disable_irq(struct pci_dev *dev);
47 int (*get)(struct pci_dev *router, struct pci_dev *dev, int pirq);
48 int (*set)(struct pci_dev *router, struct pci_dev *dev, int pirq,
54 int (*probe)(struct irq_router *r, struct pci_dev *router, u16 device);
57 int (*pcibios_enable_irq)(struct pci_dev *dev) = pirq_enable_irq;
58 void (*pcibios_disable_irq)(struct pci_dev *dev) = pirq_disable_irq;
176 static unsigned int read_config_nybble(struct pci_dev *router, unsigned offset, unsigned nr) in read_config_nybble()
185 static void write_config_nybble(struct pci_dev *router, unsigned offset, in write_config_nybble()
201 static int pirq_ali_get(struct pci_dev *router, struct pci_dev *dev, int pirq) in pirq_ali_get()
[all …]
Dfixup.c14 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 …]
Dsta2x11-fixup.c45 static void sta2x11_new_instance(struct pci_dev *pdev) in sta2x11_new_instance()
69 static struct sta2x11_instance *sta2x11_pdev_to_instance(struct pci_dev *pdev) in sta2x11_pdev_to_instance()
82 static int sta2x11_pdev_to_ep(struct pci_dev *pdev) in sta2x11_pdev_to_ep()
94 struct sta2x11_instance *sta2x11_get_instance(struct pci_dev *pdev) in sta2x11_get_instance()
101 static void sta2x11_setup_pdev(struct pci_dev *pdev) in sta2x11_setup_pdev()
130 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()
Di386.c49 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/
Dpci_iov.h14 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()
Dpci_iov.c25 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/
Dpnv-pci.h27 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;
Dpnv-ocxl.h12 int pnv_ocxl_get_actag(struct pci_dev *dev, u16 *base, u16 *enabled, u16 *supported);
13 int pnv_ocxl_get_pasid_count(struct pci_dev *dev, int *count);
15 int pnv_ocxl_get_tl_cap(struct pci_dev *dev, long *cap,
17 int pnv_ocxl_set_tl_conf(struct pci_dev *dev, long cap,
20 int pnv_ocxl_get_xsl_irq(struct pci_dev *dev, int *hwirq);
23 int pnv_ocxl_map_xsl_regs(struct pci_dev *dev, void __iomem **dsisr,
27 int pnv_ocxl_spa_setup(struct pci_dev *dev, void *spa_mem, int PE_mask, void **platform_data);
Dpci.h43 static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel) in pci_get_legacy_ide_irq()
99 extern struct pci_dev *of_create_pci_dev(struct device_node *node,
104 extern void of_scan_pci_bridge(struct pci_dev *dev);
122 extern struct pci_dev *pnv_pci_get_gpu_dev(struct pci_dev *npdev);
123 extern struct pci_dev *pnv_pci_get_npu_dev(struct pci_dev *gpdev, int index);
125 extern int pnv_npu2_map_lpar_dev(struct pci_dev *gpdev, unsigned int lparid,
127 extern int pnv_npu2_unmap_lpar_dev(struct pci_dev *gpdev);
Dppc-pci.h22 extern struct pci_dev *isa_bridge_pcidev; /* may be NULL if no ISA bus */
47 void eeh_addr_cache_insert_dev(struct pci_dev *dev);
48 void eeh_addr_cache_rmv_dev(struct pci_dev *dev);
62 void eeh_sysfs_add_device(struct pci_dev *pdev);
63 void eeh_sysfs_remove_device(struct pci_dev *pdev);
65 static inline const char *eeh_driver_name(struct pci_dev *pdev) in eeh_driver_name()
Dpci-bridge.h18 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);
224 extern struct pci_dn *pci_get_pdn(struct pci_dev *pdev);
230 struct pci_dn *add_sriov_vf_pdns(struct pci_dev *pdev);
[all …]
/arch/x86/video/
Dfbdev.c17 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/
Dreboot_fixups_32.c18 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/
Dfixup-lemote2f.c50 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()
Dfixup-lantiq.c10 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()
Dfixup-fuloong2e.c18 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()
Dfixup-sb1250.c15 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()
Dfixup-cobalt.c39 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()
Dfixup-malta.c42 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()
/arch/powerpc/kernel/
Deeh_sysfs.c27 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/powerpc/platforms/powernv/
Dpci.h69 struct pci_dev *parent_dev;
71 struct pci_dev *pdev;
133 int (*msi_setup)(struct pnv_phb *phb, struct pci_dev *dev,
269 static inline struct pnv_iov_data *pnv_iov_get(struct pci_dev *pdev) in pnv_iov_get()
274 void pnv_pci_ioda_fixup_iov(struct pci_dev *pdev);
275 resource_size_t pnv_pci_iov_resource_alignment(struct pci_dev *pdev, int resno);
277 int pnv_pcibios_sriov_enable(struct pci_dev *pdev, u16 num_vfs);
278 int pnv_pcibios_sriov_disable(struct pci_dev *pdev);
296 extern void pnv_pci_reset_secondary_bus(struct pci_dev *dev);
299 extern int pnv_setup_msi_irqs(struct pci_dev *pdev, int nvec, int type);
[all …]
/arch/x86/include/asm/
Dprobe_roms.h4 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);
/arch/powerpc/platforms/
Dfsl_uli1575.c58 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/
Dpasemi.h7 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);

12345678910>>...13