/linux-6.12.1/arch/sparc/kernel/ |
D | pci_impl.h | 34 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 …]
|
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() 158 static int pci_fire_dequeue_msi(struct pci_pbm_info *pbm, unsigned long msiqid, in pci_fire_dequeue_msi() 193 static int pci_fire_set_head(struct pci_pbm_info *pbm, unsigned long msiqid, in pci_fire_set_head() 200 static int pci_fire_msi_setup(struct pci_pbm_info *pbm, unsigned long msiqid, in pci_fire_msi_setup() 219 static int pci_fire_msi_teardown(struct pci_pbm_info *pbm, unsigned long msi) in pci_fire_msi_teardown() 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() [all …]
|
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,
|
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() 186 struct pci_pbm_info *pbm = pdev->dev.archdata.host_controller; in sparc64_teardown_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() [all …]
|
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() 166 static int sun4u_write_pci_cfg_host(struct pci_pbm_info *pbm, in sun4u_write_pci_cfg_host() 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() 333 static void pci_register_iommu_region(struct pci_pbm_info *pbm) in pci_register_iommu_region() [all …]
|
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 …]
|
D | pci_schizo.c | 83 static void *schizo_pci_config_mkaddr(struct pci_pbm_info *pbm, in schizo_pci_config_mkaddr() 131 static void __schizo_check_stc_error_pbm(struct pci_pbm_info *pbm, in __schizo_check_stc_error_pbm() 239 static void schizo_check_iommu_error_pbm(struct pci_pbm_info *pbm, in schizo_check_iommu_error_pbm() 349 static void schizo_check_iommu_error(struct pci_pbm_info *pbm, in schizo_check_iommu_error() 378 struct pci_pbm_info *pbm = dev_id; in schizo_ue_intr() 466 struct pci_pbm_info *pbm = dev_id; in schizo_ce_intr() 585 static irqreturn_t schizo_pcierr_intr_other(struct pci_pbm_info *pbm) in schizo_pcierr_intr_other() 641 struct pci_pbm_info *pbm = dev_id; in schizo_pcierr_intr() 795 struct pci_pbm_info *pbm = dev_id; in schizo_safarierr_intr() 827 static int pbm_routes_this_ino(struct pci_pbm_info *pbm, u32 ino) in pbm_routes_this_ino() [all …]
|
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()
|
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() 696 static void pci_sun4v_scan_bus(struct pci_pbm_info *pbm, struct device *parent) in pci_sun4v_scan_bus() 709 static unsigned long probe_existing_entries(struct pci_pbm_info *pbm, in probe_existing_entries() 740 static int pci_sun4v_atu_alloc_iotsb(struct pci_pbm_info *pbm) in pci_sun4v_atu_alloc_iotsb() 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() 960 static int pci_sun4v_get_head(struct pci_pbm_info *pbm, unsigned long msiqid, in pci_sun4v_get_head() [all …]
|
D | pci.c | 36 struct pci_pbm_info *pci_pbm_root = NULL; 264 static struct pci_dev *of_create_pci_dev(struct pci_pbm_info *pbm, in of_create_pci_dev() 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() [all …]
|
D | pci_sabre.c | 202 struct pci_pbm_info *pbm = dev_id; in sabre_ue_intr() 262 struct pci_pbm_info *pbm = dev_id; in sabre_ce_intr() 316 static void sabre_register_error_handlers(struct pci_pbm_info *pbm) in sabre_register_error_handlers() 410 static void sabre_scan_bus(struct pci_pbm_info *pbm, struct device *parent) in sabre_scan_bus() 449 static void sabre_pbm_init(struct pci_pbm_info *pbm, in sabre_pbm_init() 464 struct pci_pbm_info *pbm; in sabre_probe()
|