/openbmc/linux/arch/sparc/kernel/ |
H A D | pci_impl.h | 34 struct pci_pbm_info; 45 int (*msiq_alloc)(struct pci_pbm_info *pbm); 46 void (*msiq_free)(struct pci_pbm_info *pbm); 51 void sparc64_pbm_msi_init(struct pci_pbm_info *pbm, 55 struct pci_pbm_info *pbm; 60 struct pci_pbm_info { struct 61 struct pci_pbm_info *next; argument 62 struct pci_pbm_info *sibling; argument 161 extern struct pci_pbm_info *pci_pbm_root; argument 166 void pci_get_pbm_props(struct pci_pbm_info *pbm); [all …]
|
H A D | psycho_common.h | 20 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,
|
H A D | pci_fire.c | 31 static int pci_fire_pbm_iommu_init(struct pci_pbm_info *pbm) in pci_fire_pbm_iommu_init() 151 static int pci_fire_get_head(struct pci_pbm_info *pbm, unsigned long msiqid, in pci_fire_get_head() 193 static int pci_fire_set_head(struct pci_pbm_info *pbm, unsigned long msiqid, in pci_fire_set_head() 232 static int pci_fire_msiq_alloc(struct pci_pbm_info *pbm) in pci_fire_msiq_alloc() 264 static void pci_fire_msiq_free(struct pci_pbm_info *pbm) in pci_fire_msiq_free() 276 static int pci_fire_msiq_build_irq(struct pci_pbm_info *pbm, in pci_fire_msiq_build_irq() 319 static void pci_fire_msi_init(struct pci_pbm_info *pbm) in pci_fire_msi_init() 324 static void pci_fire_msi_init(struct pci_pbm_info *pbm) in pci_fire_msi_init() 367 static void pci_fire_hw_init(struct pci_pbm_info *pbm) in pci_fire_hw_init() 414 static int pci_fire_pbm_init(struct pci_pbm_info *pbm, in pci_fire_pbm_init() [all …]
|
H A D | pci_msi.c | 18 struct pci_pbm_info *pbm = msiq_cookie->pbm; in sparc64_msiq_interrupt() 76 static u32 pick_msiq(struct pci_pbm_info *pbm) in pick_msiq() 97 static int alloc_msi(struct pci_pbm_info *pbm) in alloc_msi() 109 static void free_msi(struct pci_pbm_info *pbm, int msi_num) in free_msi() 128 struct pci_pbm_info *pbm = pdev->dev.archdata.host_controller; in sparc64_setup_msi_irq() 218 static int msi_bitmap_alloc(struct pci_pbm_info *pbm) in msi_bitmap_alloc() 234 static void msi_bitmap_free(struct pci_pbm_info *pbm) in msi_bitmap_free() 240 static int msi_table_alloc(struct pci_pbm_info *pbm) in msi_table_alloc() 268 static void msi_table_free(struct pci_pbm_info *pbm) in msi_table_free() 277 static int bringup_one_msi_queue(struct pci_pbm_info *pbm, in bringup_one_msi_queue() [all …]
|
H A D | pci_common.c | 20 static int config_out_of_range(struct pci_pbm_info *pbm, in config_out_of_range() 31 static void *sun4u_config_mkaddr(struct pci_pbm_info *pbm, in sun4u_config_mkaddr() 53 static int sun4u_read_pci_cfg_host(struct pci_pbm_info *pbm, in sun4u_read_pci_cfg_host() 112 struct pci_pbm_info *pbm = bus_dev->sysdata; in sun4u_read_pci_cfg() 216 struct pci_pbm_info *pbm = bus_dev->sysdata; in sun4u_write_pci_cfg() 261 struct pci_pbm_info *pbm = bus_dev->sysdata; in sun4v_read_pci_cfg() 294 struct pci_pbm_info *pbm = bus_dev->sysdata; in sun4v_write_pci_cfg() 319 void pci_get_pbm_props(struct pci_pbm_info *pbm) in pci_get_pbm_props() 478 void pci_scan_for_target_abort(struct pci_pbm_info *pbm, in pci_scan_for_target_abort() 502 void pci_scan_for_master_abort(struct pci_pbm_info *pbm, in pci_scan_for_master_abort() [all …]
|
H A D | pci_psycho.c | 137 struct pci_pbm_info *pbm = dev_id; in psycho_ue_intr() 216 struct pci_pbm_info *pbm = dev_id; in psycho_ce_intr() 290 static void psycho_register_error_handlers(struct pci_pbm_info *pbm) in psycho_register_error_handlers() 355 static void pbm_config_busmastering(struct pci_pbm_info *pbm) in pbm_config_busmastering() 372 static void psycho_scan_bus(struct pci_pbm_info *pbm, in psycho_scan_bus() 397 static void psycho_controller_hwinit(struct pci_pbm_info *pbm) in psycho_controller_hwinit() 425 static void psycho_pbm_strbuf_init(struct pci_pbm_info *pbm, in psycho_pbm_strbuf_init() 489 static void psycho_pbm_init(struct pci_pbm_info *pbm, in psycho_pbm_init() 497 static struct pci_pbm_info *psycho_find_sibling(u32 upa_portid) in psycho_find_sibling() 499 struct pci_pbm_info *pbm; in psycho_find_sibling() [all …]
|
H A D | psycho_common.c | 36 static void psycho_check_stc_error(struct pci_pbm_info *pbm) in psycho_check_stc_error() 127 static void psycho_record_iommu_tags_and_data(struct pci_pbm_info *pbm, in psycho_record_iommu_tags_and_data() 155 static void psycho_dump_iommu_tags_and_data(struct pci_pbm_info *pbm, in psycho_dump_iommu_tags_and_data() 203 void psycho_check_iommu_error(struct pci_pbm_info *pbm, in psycho_check_iommu_error() 254 static irqreturn_t psycho_pcierr_intr_other(struct pci_pbm_info *pbm) in psycho_pcierr_intr_other() 308 struct pci_pbm_info *pbm = dev_id; in psycho_pcierr_intr() 373 static void psycho_iommu_flush(struct pci_pbm_info *pbm) in psycho_iommu_flush() 401 int psycho_iommu_init(struct pci_pbm_info *pbm, int tsbsize, in psycho_iommu_init() 453 void psycho_pbm_init_common(struct pci_pbm_info *pbm, struct platform_device *op, in psycho_pbm_init_common()
|
H A D | pci_schizo.c | 80 static void *schizo_pci_config_mkaddr(struct pci_pbm_info *pbm, in schizo_pci_config_mkaddr() 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() 638 struct pci_pbm_info *pbm = dev_id; in schizo_pcierr_intr() 792 struct pci_pbm_info *pbm = dev_id; in schizo_safarierr_intr() 1133 static int schizo_pbm_iommu_init(struct pci_pbm_info *pbm) in schizo_pbm_iommu_init() 1258 static void schizo_pbm_hw_init(struct pci_pbm_info *pbm) in schizo_pbm_hw_init() 1311 static int schizo_pbm_init(struct pci_pbm_info *pbm, in schizo_pbm_init() 1406 struct pci_pbm_info *pbm; in schizo_find_sibling() [all …]
|
H A D | pci_sun4v.c | 86 struct pci_pbm_info *pbm = p->dev->archdata.host_controller; in iommu_batch_flush() 326 struct pci_pbm_info *pbm; in dma_4v_free_coherent() 433 struct pci_pbm_info *pbm; in dma_4v_unmap_page() 628 struct pci_pbm_info *pbm; in dma_4v_unmap_sg() 801 static int pci_sun4v_atu_init(struct pci_pbm_info *pbm) in pci_sun4v_atu_init() 866 static int pci_sun4v_iommu_init(struct pci_pbm_info *pbm) in pci_sun4v_iommu_init() 1055 static int pci_sun4v_msiq_alloc(struct pci_pbm_info *pbm) in pci_sun4v_msiq_alloc() 1159 static void pci_sun4v_msi_init(struct pci_pbm_info *pbm) in pci_sun4v_msi_init() 1164 static void pci_sun4v_msi_init(struct pci_pbm_info *pbm) in pci_sun4v_msi_init() 1169 static int pci_sun4v_pbm_init(struct pci_pbm_info *pbm, in pci_sun4v_pbm_init() [all …]
|
H A D | pci.c | 36 struct pci_pbm_info *pci_pbm_root = NULL; 387 struct pci_pbm_info *pbm) in apb_fake_ranges() 411 static void pci_of_scan_bus(struct pci_pbm_info *pbm, 417 static void of_scan_pci_bridge(struct pci_pbm_info *pbm, in of_scan_pci_bridge() 543 static void pci_of_scan_bus(struct pci_pbm_info *pbm, in pci_of_scan_bus() 688 struct pci_bus *pci_scan_one_pbm(struct pci_pbm_info *pbm, in pci_scan_one_pbm() 755 struct pci_pbm_info *pbm = pdev->dev.archdata.host_controller; in pci_iobar_pfn() 769 struct pci_pbm_info *pbm = pbus->sysdata; in pcibus_to_node() 780 struct pci_pbm_info *pbm = pbus->sysdata; in pci_domain_nr() 796 struct pci_pbm_info *pbm = pdev->dev.archdata.host_controller; in arch_setup_msi_irq() [all …]
|
H A D | pci_sabre.c | 199 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()
|