/linux-6.1.9/arch/sparc/kernel/ |
D | pci_msi.c | 16 struct pci_pbm_info *pbm = msiq_cookie->pbm; in sparc64_msiq_interrupt() local 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() local 184 struct pci_pbm_info *pbm = pdev->dev.archdata.host_controller; in sparc64_teardown_msi_irq() local 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 …]
|
D | pci_common.c | 19 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() local 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() local 260 struct pci_pbm_info *pbm = bus_dev->sysdata; in sun4v_read_pci_cfg() local 293 struct pci_pbm_info *pbm = bus_dev->sysdata; in sun4v_write_pci_cfg() local 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 …]
|
D | pci_fire.c | 30 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 …]
|
D | pci_sun4v.c | 85 struct pci_pbm_info *pbm = p->dev->archdata.host_controller; in iommu_batch_flush() local 325 struct pci_pbm_info *pbm; in dma_4v_free_coherent() local 432 struct pci_pbm_info *pbm; in dma_4v_unmap_page() local 627 struct pci_pbm_info *pbm; in dma_4v_unmap_sg() local 695 static void pci_sun4v_scan_bus(struct pci_pbm_info *pbm, struct device *parent) in pci_sun4v_scan_bus() 708 static unsigned long probe_existing_entries(struct pci_pbm_info *pbm, in probe_existing_entries() 739 static int pci_sun4v_atu_alloc_iotsb(struct pci_pbm_info *pbm) in pci_sun4v_atu_alloc_iotsb() 800 static int pci_sun4v_atu_init(struct pci_pbm_info *pbm) in pci_sun4v_atu_init() 865 static int pci_sun4v_iommu_init(struct pci_pbm_info *pbm) in pci_sun4v_iommu_init() 959 static int pci_sun4v_get_head(struct pci_pbm_info *pbm, unsigned long msiqid, in pci_sun4v_get_head() [all …]
|
D | psycho_common.c | 35 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() local 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()
|
D | pci_schizo.c | 80 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() local 463 struct pci_pbm_info *pbm = dev_id; in schizo_ce_intr() local 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() local 792 struct pci_pbm_info *pbm = dev_id; in schizo_safarierr_intr() local 824 static int pbm_routes_this_ino(struct pci_pbm_info *pbm, u32 ino) in pbm_routes_this_ino() [all …]
|
D | pci_psycho.c | 135 struct pci_pbm_info *pbm = dev_id; in psycho_ue_intr() local 214 struct pci_pbm_info *pbm = dev_id; in psycho_ce_intr() local 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() 497 struct pci_pbm_info *pbm; in psycho_find_sibling() local 512 struct pci_pbm_info *pbm; in psycho_probe() local
|
D | pci.c | 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() 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() 688 struct pci_bus *pci_scan_one_pbm(struct pci_pbm_info *pbm, in pci_scan_one_pbm() 756 struct pci_pbm_info *pbm = pdev->dev.archdata.host_controller; in pci_iobar_pfn() local 770 struct pci_pbm_info *pbm = pbus->sysdata; in pcibus_to_node() local 781 struct pci_pbm_info *pbm = pbus->sysdata; in pci_domain_nr() local 797 struct pci_pbm_info *pbm = pdev->dev.archdata.host_controller; in arch_setup_msi_irq() local 810 struct pci_pbm_info *pbm = pdev->dev.archdata.host_controller; in arch_teardown_msi_irq() local [all …]
|
D | pci_sabre.c | 199 struct pci_pbm_info *pbm = dev_id; in sabre_ue_intr() local 259 struct pci_pbm_info *pbm = dev_id; in sabre_ce_intr() local 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() local
|
D | pcic.c | 291 struct linux_pbm_info* pbm; in pcic_probe() local 392 struct linux_pbm_info *pbm = &pcic->pbm; in pcic_pbm_scan_bus() local 447 static int pdev_to_pnode(struct linux_pbm_info *pbm, struct pci_dev *pdev) in pdev_to_pnode()
|
D | psycho_common.h | 20 static inline void *psycho_pci_config_mkaddr(struct pci_pbm_info *pbm, in psycho_pci_config_mkaddr()
|
D | pci_impl.h | 56 struct pci_pbm_info *pbm; member
|
/linux-6.1.9/arch/sparc/include/asm/ |
D | pbm.h | 44 struct linux_pbm_info *pbm; member
|
D | pcic.h | 28 struct linux_pbm_info pbm; member
|