Home
last modified time | relevance | path

Searched refs:pci_pbm_info (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.10/arch/sparc/kernel/
Dpci_impl.h35 struct pci_pbm_info;
37 int (*get_head)(struct pci_pbm_info *pbm, unsigned long msiqid,
39 int (*dequeue_msi)(struct pci_pbm_info *pbm, unsigned long msiqid,
41 int (*set_head)(struct pci_pbm_info *pbm, unsigned long msiqid,
43 int (*msi_setup)(struct pci_pbm_info *pbm, unsigned long msiqid,
45 int (*msi_teardown)(struct pci_pbm_info *pbm, unsigned long msi);
46 int (*msiq_alloc)(struct pci_pbm_info *pbm);
47 void (*msiq_free)(struct pci_pbm_info *pbm);
48 int (*msiq_build_irq)(struct pci_pbm_info *pbm, unsigned long msiqid,
52 void sparc64_pbm_msi_init(struct pci_pbm_info *pbm,
[all …]
Dpci_fire.c30 static int pci_fire_pbm_iommu_init(struct pci_pbm_info *pbm) in pci_fire_pbm_iommu_init()
150 static int pci_fire_get_head(struct pci_pbm_info *pbm, unsigned long msiqid, in pci_fire_get_head()
157 static int pci_fire_dequeue_msi(struct pci_pbm_info *pbm, unsigned long msiqid, in pci_fire_dequeue_msi()
192 static int pci_fire_set_head(struct pci_pbm_info *pbm, unsigned long msiqid, in pci_fire_set_head()
199 static int pci_fire_msi_setup(struct pci_pbm_info *pbm, unsigned long msiqid, in pci_fire_msi_setup()
218 static int pci_fire_msi_teardown(struct pci_pbm_info *pbm, unsigned long msi) in pci_fire_msi_teardown()
231 static int pci_fire_msiq_alloc(struct pci_pbm_info *pbm) in pci_fire_msiq_alloc()
263 static void pci_fire_msiq_free(struct pci_pbm_info *pbm) in pci_fire_msiq_free()
275 static int pci_fire_msiq_build_irq(struct pci_pbm_info *pbm, in pci_fire_msiq_build_irq()
318 static void pci_fire_msi_init(struct pci_pbm_info *pbm) in pci_fire_msi_init()
[all …]
Dpsycho_common.h20 static inline void *psycho_pci_config_mkaddr(struct pci_pbm_info *pbm, in psycho_pci_config_mkaddr()
34 void psycho_check_iommu_error(struct pci_pbm_info *pbm,
41 int psycho_iommu_init(struct pci_pbm_info *pbm, int tsbsize,
45 void psycho_pbm_init_common(struct pci_pbm_info *pbm,
Dpci_msi.c16 struct pci_pbm_info *pbm = msiq_cookie->pbm; in sparc64_msiq_interrupt()
74 static u32 pick_msiq(struct pci_pbm_info *pbm) in pick_msiq()
95 static int alloc_msi(struct pci_pbm_info *pbm) in alloc_msi()
107 static void free_msi(struct pci_pbm_info *pbm, int msi_num) in free_msi()
126 struct pci_pbm_info *pbm = pdev->dev.archdata.host_controller; in sparc64_setup_msi_irq()
184 struct pci_pbm_info *pbm = pdev->dev.archdata.host_controller; in sparc64_teardown_msi_irq()
216 static int msi_bitmap_alloc(struct pci_pbm_info *pbm) in msi_bitmap_alloc()
232 static void msi_bitmap_free(struct pci_pbm_info *pbm) in msi_bitmap_free()
238 static int msi_table_alloc(struct pci_pbm_info *pbm) in msi_table_alloc()
266 static void msi_table_free(struct pci_pbm_info *pbm) in msi_table_free()
[all …]
Dpci_common.c19 static int config_out_of_range(struct pci_pbm_info *pbm, in config_out_of_range()
30 static void *sun4u_config_mkaddr(struct pci_pbm_info *pbm, in sun4u_config_mkaddr()
52 static int sun4u_read_pci_cfg_host(struct pci_pbm_info *pbm, in sun4u_read_pci_cfg_host()
111 struct pci_pbm_info *pbm = bus_dev->sysdata; in sun4u_read_pci_cfg()
165 static int sun4u_write_pci_cfg_host(struct pci_pbm_info *pbm, in sun4u_write_pci_cfg_host()
215 struct pci_pbm_info *pbm = bus_dev->sysdata; in sun4u_write_pci_cfg()
260 struct pci_pbm_info *pbm = bus_dev->sysdata; in sun4v_read_pci_cfg()
293 struct pci_pbm_info *pbm = bus_dev->sysdata; in sun4v_write_pci_cfg()
318 void pci_get_pbm_props(struct pci_pbm_info *pbm) in pci_get_pbm_props()
332 static void pci_register_iommu_region(struct pci_pbm_info *pbm) in pci_register_iommu_region()
[all …]
Dpci_psycho.c135 struct pci_pbm_info *pbm = dev_id; in psycho_ue_intr()
214 struct pci_pbm_info *pbm = dev_id; in psycho_ce_intr()
288 static void psycho_register_error_handlers(struct pci_pbm_info *pbm) in psycho_register_error_handlers()
353 static void pbm_config_busmastering(struct pci_pbm_info *pbm) in pbm_config_busmastering()
370 static void psycho_scan_bus(struct pci_pbm_info *pbm, in psycho_scan_bus()
395 static void psycho_controller_hwinit(struct pci_pbm_info *pbm) in psycho_controller_hwinit()
423 static void psycho_pbm_strbuf_init(struct pci_pbm_info *pbm, in psycho_pbm_strbuf_init()
487 static void psycho_pbm_init(struct pci_pbm_info *pbm, in psycho_pbm_init()
495 static struct pci_pbm_info *psycho_find_sibling(u32 upa_portid) in psycho_find_sibling()
497 struct pci_pbm_info *pbm; in psycho_find_sibling()
[all …]
Dpci_schizo.c80 static void *schizo_pci_config_mkaddr(struct pci_pbm_info *pbm, in schizo_pci_config_mkaddr()
128 static void __schizo_check_stc_error_pbm(struct pci_pbm_info *pbm, in __schizo_check_stc_error_pbm()
236 static void schizo_check_iommu_error_pbm(struct pci_pbm_info *pbm, in schizo_check_iommu_error_pbm()
346 static void schizo_check_iommu_error(struct pci_pbm_info *pbm, in schizo_check_iommu_error()
375 struct pci_pbm_info *pbm = dev_id; in schizo_ue_intr()
463 struct pci_pbm_info *pbm = dev_id; in schizo_ce_intr()
582 static irqreturn_t schizo_pcierr_intr_other(struct pci_pbm_info *pbm) in schizo_pcierr_intr_other()
638 struct pci_pbm_info *pbm = dev_id; in schizo_pcierr_intr()
792 struct pci_pbm_info *pbm = dev_id; in schizo_safarierr_intr()
824 static int pbm_routes_this_ino(struct pci_pbm_info *pbm, u32 ino) in pbm_routes_this_ino()
[all …]
Dpsycho_common.c35 static void psycho_check_stc_error(struct pci_pbm_info *pbm) in psycho_check_stc_error()
126 static void psycho_record_iommu_tags_and_data(struct pci_pbm_info *pbm, in psycho_record_iommu_tags_and_data()
154 static void psycho_dump_iommu_tags_and_data(struct pci_pbm_info *pbm, in psycho_dump_iommu_tags_and_data()
202 void psycho_check_iommu_error(struct pci_pbm_info *pbm, in psycho_check_iommu_error()
253 static irqreturn_t psycho_pcierr_intr_other(struct pci_pbm_info *pbm) in psycho_pcierr_intr_other()
307 struct pci_pbm_info *pbm = dev_id; in psycho_pcierr_intr()
372 static void psycho_iommu_flush(struct pci_pbm_info *pbm) in psycho_iommu_flush()
400 int psycho_iommu_init(struct pci_pbm_info *pbm, int tsbsize, in psycho_iommu_init()
452 void psycho_pbm_init_common(struct pci_pbm_info *pbm, struct platform_device *op, in psycho_pbm_init_common()
Dpci_sun4v.c85 struct pci_pbm_info *pbm = p->dev->archdata.host_controller; in iommu_batch_flush()
325 struct pci_pbm_info *pbm; in dma_4v_free_coherent()
432 struct pci_pbm_info *pbm; in dma_4v_unmap_page()
629 struct pci_pbm_info *pbm; in dma_4v_unmap_sg()
697 static void pci_sun4v_scan_bus(struct pci_pbm_info *pbm, struct device *parent) in pci_sun4v_scan_bus()
710 static unsigned long probe_existing_entries(struct pci_pbm_info *pbm, in probe_existing_entries()
741 static int pci_sun4v_atu_alloc_iotsb(struct pci_pbm_info *pbm) in pci_sun4v_atu_alloc_iotsb()
802 static int pci_sun4v_atu_init(struct pci_pbm_info *pbm) in pci_sun4v_atu_init()
867 static int pci_sun4v_iommu_init(struct pci_pbm_info *pbm) in pci_sun4v_iommu_init()
961 static int pci_sun4v_get_head(struct pci_pbm_info *pbm, unsigned long msiqid, in pci_sun4v_get_head()
[all …]
Dpci.c35 struct pci_pbm_info *pci_pbm_root = NULL;
263 static struct pci_dev *of_create_pci_dev(struct pci_pbm_info *pbm, in of_create_pci_dev()
386 struct pci_pbm_info *pbm) in apb_fake_ranges()
410 static void pci_of_scan_bus(struct pci_pbm_info *pbm,
416 static void of_scan_pci_bridge(struct pci_pbm_info *pbm, in of_scan_pci_bridge()
542 static void pci_of_scan_bus(struct pci_pbm_info *pbm, in pci_of_scan_bus()
689 struct pci_bus *pci_scan_one_pbm(struct pci_pbm_info *pbm, in pci_scan_one_pbm()
766 struct pci_pbm_info *pbm = pdev->dev.archdata.host_controller; in __pci_mmap_make_offset_bus()
912 struct pci_pbm_info *pbm = pbus->sysdata; in pcibus_to_node()
923 struct pci_pbm_info *pbm = pbus->sysdata; in pci_domain_nr()
[all …]
Dpci_sabre.c199 struct pci_pbm_info *pbm = dev_id; in sabre_ue_intr()
259 struct pci_pbm_info *pbm = dev_id; in sabre_ce_intr()
313 static void sabre_register_error_handlers(struct pci_pbm_info *pbm) in sabre_register_error_handlers()
407 static void sabre_scan_bus(struct pci_pbm_info *pbm, struct device *parent) in sabre_scan_bus()
446 static void sabre_pbm_init(struct pci_pbm_info *pbm, in sabre_pbm_init()
462 struct pci_pbm_info *pbm; in sabre_probe()