Home
last modified time | relevance | path

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

/arch/sparc/kernel/
Dpci_impl.h34 struct pci_pbm_info;
36 int (*get_head)(struct pci_pbm_info *pbm, unsigned long msiqid,
38 int (*dequeue_msi)(struct pci_pbm_info *pbm, unsigned long msiqid,
40 int (*set_head)(struct pci_pbm_info *pbm, unsigned long msiqid,
42 int (*msi_setup)(struct pci_pbm_info *pbm, unsigned long msiqid,
44 int (*msi_teardown)(struct pci_pbm_info *pbm, unsigned long msi);
45 int (*msiq_alloc)(struct pci_pbm_info *pbm);
46 void (*msiq_free)(struct pci_pbm_info *pbm);
47 int (*msiq_build_irq)(struct pci_pbm_info *pbm, unsigned long msiqid,
51 void sparc64_pbm_msi_init(struct pci_pbm_info *pbm,
[all …]
Dpsycho_common.h19 static inline void *psycho_pci_config_mkaddr(struct pci_pbm_info *pbm, in psycho_pci_config_mkaddr()
33 void psycho_check_iommu_error(struct pci_pbm_info *pbm,
40 int psycho_iommu_init(struct pci_pbm_info *pbm, int tsbsize,
44 void psycho_pbm_init_common(struct pci_pbm_info *pbm,
Dpci_fire.c28 static int pci_fire_pbm_iommu_init(struct pci_pbm_info *pbm) in pci_fire_pbm_iommu_init()
148 static int pci_fire_get_head(struct pci_pbm_info *pbm, unsigned long msiqid, in pci_fire_get_head()
155 static int pci_fire_dequeue_msi(struct pci_pbm_info *pbm, unsigned long msiqid, in pci_fire_dequeue_msi()
190 static int pci_fire_set_head(struct pci_pbm_info *pbm, unsigned long msiqid, in pci_fire_set_head()
197 static int pci_fire_msi_setup(struct pci_pbm_info *pbm, unsigned long msiqid, in pci_fire_msi_setup()
216 static int pci_fire_msi_teardown(struct pci_pbm_info *pbm, unsigned long msi) in pci_fire_msi_teardown()
229 static int pci_fire_msiq_alloc(struct pci_pbm_info *pbm) in pci_fire_msiq_alloc()
261 static void pci_fire_msiq_free(struct pci_pbm_info *pbm) in pci_fire_msiq_free()
273 static int pci_fire_msiq_build_irq(struct pci_pbm_info *pbm, in pci_fire_msiq_build_irq()
316 static void pci_fire_msi_init(struct pci_pbm_info *pbm) in pci_fire_msi_init()
[all …]
Dpci_common.c18 static int config_out_of_range(struct pci_pbm_info *pbm, in config_out_of_range()
29 static void *sun4u_config_mkaddr(struct pci_pbm_info *pbm, in sun4u_config_mkaddr()
51 static int sun4u_read_pci_cfg_host(struct pci_pbm_info *pbm, in sun4u_read_pci_cfg_host()
110 struct pci_pbm_info *pbm = bus_dev->sysdata; in sun4u_read_pci_cfg()
164 static int sun4u_write_pci_cfg_host(struct pci_pbm_info *pbm, in sun4u_write_pci_cfg_host()
214 struct pci_pbm_info *pbm = bus_dev->sysdata; in sun4u_write_pci_cfg()
259 struct pci_pbm_info *pbm = bus_dev->sysdata; in sun4v_read_pci_cfg()
292 struct pci_pbm_info *pbm = bus_dev->sysdata; in sun4v_write_pci_cfg()
317 void pci_get_pbm_props(struct pci_pbm_info *pbm) in pci_get_pbm_props()
368 static void pci_register_iommu_region(struct pci_pbm_info *pbm) in pci_register_iommu_region()
[all …]
Dpci_msi.c15 struct pci_pbm_info *pbm = msiq_cookie->pbm; in sparc64_msiq_interrupt()
73 static u32 pick_msiq(struct pci_pbm_info *pbm) in pick_msiq()
94 static int alloc_msi(struct pci_pbm_info *pbm) in alloc_msi()
106 static void free_msi(struct pci_pbm_info *pbm, int msi_num) in free_msi()
125 struct pci_pbm_info *pbm = pdev->dev.archdata.host_controller; in sparc64_setup_msi_irq()
183 struct pci_pbm_info *pbm = pdev->dev.archdata.host_controller; in sparc64_teardown_msi_irq()
215 static int msi_bitmap_alloc(struct pci_pbm_info *pbm) in msi_bitmap_alloc()
231 static void msi_bitmap_free(struct pci_pbm_info *pbm) in msi_bitmap_free()
237 static int msi_table_alloc(struct pci_pbm_info *pbm) in msi_table_alloc()
265 static void msi_table_free(struct pci_pbm_info *pbm) in msi_table_free()
[all …]
Dpci_psycho.c134 struct pci_pbm_info *pbm = dev_id; in psycho_ue_intr()
213 struct pci_pbm_info *pbm = dev_id; in psycho_ce_intr()
287 static void psycho_register_error_handlers(struct pci_pbm_info *pbm) in psycho_register_error_handlers()
352 static void pbm_config_busmastering(struct pci_pbm_info *pbm) in pbm_config_busmastering()
369 static void psycho_scan_bus(struct pci_pbm_info *pbm, in psycho_scan_bus()
394 static void psycho_controller_hwinit(struct pci_pbm_info *pbm) in psycho_controller_hwinit()
422 static void psycho_pbm_strbuf_init(struct pci_pbm_info *pbm, in psycho_pbm_strbuf_init()
486 static void psycho_pbm_init(struct pci_pbm_info *pbm, in psycho_pbm_init()
494 static struct pci_pbm_info *psycho_find_sibling(u32 upa_portid) in psycho_find_sibling()
496 struct pci_pbm_info *pbm; in psycho_find_sibling()
[all …]
Dpsycho_common.c33 static void psycho_check_stc_error(struct pci_pbm_info *pbm) in psycho_check_stc_error()
124 static void psycho_record_iommu_tags_and_data(struct pci_pbm_info *pbm, in psycho_record_iommu_tags_and_data()
152 static void psycho_dump_iommu_tags_and_data(struct pci_pbm_info *pbm, in psycho_dump_iommu_tags_and_data()
200 void psycho_check_iommu_error(struct pci_pbm_info *pbm, in psycho_check_iommu_error()
251 static irqreturn_t psycho_pcierr_intr_other(struct pci_pbm_info *pbm) in psycho_pcierr_intr_other()
305 struct pci_pbm_info *pbm = dev_id; in psycho_pcierr_intr()
370 static void psycho_iommu_flush(struct pci_pbm_info *pbm) in psycho_iommu_flush()
398 int psycho_iommu_init(struct pci_pbm_info *pbm, int tsbsize, in psycho_iommu_init()
450 void psycho_pbm_init_common(struct pci_pbm_info *pbm, struct platform_device *op, in psycho_pbm_init_common()
Dpci_sun4v.c62 struct pci_pbm_info *pbm = p->dev->archdata.host_controller; in iommu_batch_flush()
204 struct pci_pbm_info *pbm; in dma_4v_free_coherent()
305 struct pci_pbm_info *pbm; in dma_4v_unmap_page()
489 struct pci_pbm_info *pbm; in dma_4v_unmap_sg()
539 static void pci_sun4v_scan_bus(struct pci_pbm_info *pbm, struct device *parent) in pci_sun4v_scan_bus()
552 static unsigned long probe_existing_entries(struct pci_pbm_info *pbm, in probe_existing_entries()
580 static int pci_sun4v_iommu_init(struct pci_pbm_info *pbm) in pci_sun4v_iommu_init()
672 static int pci_sun4v_get_head(struct pci_pbm_info *pbm, unsigned long msiqid, in pci_sun4v_get_head()
688 static int pci_sun4v_dequeue_msi(struct pci_pbm_info *pbm, in pci_sun4v_dequeue_msi()
728 static int pci_sun4v_set_head(struct pci_pbm_info *pbm, unsigned long msiqid, in pci_sun4v_set_head()
[all …]
Dpci_schizo.c78 static void *schizo_pci_config_mkaddr(struct pci_pbm_info *pbm, in schizo_pci_config_mkaddr()
126 static void __schizo_check_stc_error_pbm(struct pci_pbm_info *pbm, in __schizo_check_stc_error_pbm()
234 static void schizo_check_iommu_error_pbm(struct pci_pbm_info *pbm, in schizo_check_iommu_error_pbm()
344 static void schizo_check_iommu_error(struct pci_pbm_info *pbm, in schizo_check_iommu_error()
373 struct pci_pbm_info *pbm = dev_id; in schizo_ue_intr()
461 struct pci_pbm_info *pbm = dev_id; in schizo_ce_intr()
580 static irqreturn_t schizo_pcierr_intr_other(struct pci_pbm_info *pbm) in schizo_pcierr_intr_other()
636 struct pci_pbm_info *pbm = dev_id; in schizo_pcierr_intr()
790 struct pci_pbm_info *pbm = dev_id; in schizo_safarierr_intr()
822 static int pbm_routes_this_ino(struct pci_pbm_info *pbm, u32 ino) in pbm_routes_this_ino()
[all …]
Dpci.c34 struct pci_pbm_info *pci_pbm_root = NULL;
247 static struct pci_dev *of_create_pci_dev(struct pci_pbm_info *pbm, in of_create_pci_dev()
383 struct pci_pbm_info *pbm) in apb_fake_ranges()
407 static void pci_of_scan_bus(struct pci_pbm_info *pbm,
413 static void of_scan_pci_bridge(struct pci_pbm_info *pbm, in of_scan_pci_bridge()
539 static void pci_of_scan_bus(struct pci_pbm_info *pbm, in pci_of_scan_bus()
650 struct pci_bus *pci_scan_one_pbm(struct pci_pbm_info *pbm, in pci_scan_one_pbm()
737 struct pci_pbm_info *pbm = pdev->dev.archdata.host_controller; in __pci_mmap_make_offset_bus()
883 struct pci_pbm_info *pbm = pbus->sysdata; in pcibus_to_node()
894 struct pci_pbm_info *pbm = pbus->sysdata; in pci_domain_nr()
[all …]
Dpci_sabre.c198 struct pci_pbm_info *pbm = dev_id; in sabre_ue_intr()
258 struct pci_pbm_info *pbm = dev_id; in sabre_ce_intr()
312 static void sabre_register_error_handlers(struct pci_pbm_info *pbm) in sabre_register_error_handlers()
406 static void sabre_scan_bus(struct pci_pbm_info *pbm, struct device *parent) in sabre_scan_bus()
445 static void sabre_pbm_init(struct pci_pbm_info *pbm, in sabre_pbm_init()
461 struct pci_pbm_info *pbm; in sabre_probe()