Home
last modified time | relevance | path

Searched refs:pbm (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/arch/sparc/kernel/
H A Dpci_msi.c18 struct pci_pbm_info *pbm = msiq_cookie->pbm; in sparc64_msiq_interrupt() local
24 ops = pbm->msi_ops; in sparc64_msiq_interrupt()
38 irq = pbm->msi_irq_table[msi - pbm->msi_first]; in sparc64_msiq_interrupt()
155 pbm->msi_irq_table[msi - pbm->msi_first] = *irq_p; in sparc64_setup_msi_irq()
172 free_msi(pbm, msi); in sparc64_setup_msi_irq()
253 p->pbm = pbm; in msi_table_alloc()
297 &pbm->msiq_irq_cookies[msiqid - pbm->msiq_first]); in bringup_one_msi_queue()
423 pbm->msiq_first, pbm->msiq_num, in sparc64_pbm_msi_init()
429 pbm->msi_first, pbm->msi_num, pbm->msi_data_mask, in sparc64_pbm_msi_init()
434 pbm->msi32_start, pbm->msi32_len, in sparc64_pbm_msi_init()
[all …]
H A Dpci_psycho.c362 addr = psycho_pci_config_mkaddr(pbm, pbm->pci_first_busno, in pbm_config_busmastering()
367 addr = psycho_pci_config_mkaddr(pbm, pbm->pci_first_busno, in pbm_config_busmastering()
377 pbm->pci_bus = pci_scan_one_pbm(pbm, parent); in psycho_scan_bus()
501 for (pbm = pci_pbm_root; pbm; pbm = pbm->next) { in psycho_find_sibling()
503 return pbm; in psycho_find_sibling()
522 pbm = kzalloc(sizeof(*pbm), GFP_KERNEL); in psycho_probe()
523 if (!pbm) { in psycho_probe()
557 pbm->pci_csr = pbm->controller_regs + PSYCHO_PCIA_CTRL; in psycho_probe()
561 pbm->pci_csr = pbm->controller_regs + PSYCHO_PCIB_CTRL; in psycho_probe()
582 pbm->sibling->sibling = pbm; in psycho_probe()
[all …]
H A Dpci_schizo.c85 if (!pbm) in schizo_pci_config_mkaddr()
733 pci_scan_for_target_abort(pbm, pbm->pci_bus); in schizo_pcierr_intr()
736 pci_scan_for_master_abort(pbm, pbm->pci_bus); in schizo_pcierr_intr()
746 pci_scan_for_parity_error(pbm, pbm->pci_bus); in schizo_pcierr_intr()
1076 pbm->pci_bus = pci_scan_one_pbm(pbm, parent); in schizo_scan_bus()
1375 pbm->chip_version, pbm->chip_revision); in schizo_pbm_init()
1408 for (pbm = pci_pbm_root; pbm; pbm = pbm->next) { in schizo_find_sibling()
1426 pbm = kzalloc(sizeof(*pbm), GFP_KERNEL); in __schizo_init()
1427 if (!pbm) { in __schizo_init()
1446 pbm->sibling->sibling = pbm; in __schizo_init()
[all …]
H A Dpci_fire.c164 base = (pbm->msi_queues + ((msiqid - pbm->msiq_first) * 8192)); in pci_fire_dequeue_msi()
250 upa_writeq(pbm->portid << 6, pbm->pbm_regs + IMONDO_DATA0); in pci_fire_msiq_alloc()
253 upa_writeq(pbm->msi32_start, pbm->pbm_regs + MSI_32BIT_ADDR); in pci_fire_msiq_alloc()
254 upa_writeq(pbm->msi64_start, pbm->pbm_regs + MSI_64BIT_ADDR); in pci_fire_msiq_alloc()
429 pbm->op = op; in pci_fire_pbm_init()
450 pbm->pci_bus = pci_scan_one_pbm(pbm, &op->dev); in pci_fire_pbm_init()
455 pci_pbm_root = pbm; in pci_fire_pbm_init()
471 pbm = kzalloc(sizeof(*pbm), GFP_KERNEL); in fire_probe()
472 if (!pbm) { in fire_probe()
494 kfree(pbm->iommu); in fire_probe()
[all …]
H A Dpci_common.c343 pbm->name); in pci_register_iommu_region()
352 pbm->name); in pci_register_iommu_region()
451 pbm->name, &pbm->io_space, pbm->io_offset); in pci_determine_mem_io_space()
454 pbm->name, &pbm->mem_space, pbm->mem_offset); in pci_determine_mem_io_space()
455 if (pbm->mem64_space.flags && pbm->mem_space.flags) { in pci_determine_mem_io_space()
456 if (pbm->mem64_space.start <= pbm->mem_space.end) in pci_determine_mem_io_space()
457 pbm->mem64_space.start = pbm->mem_space.end + 1; in pci_determine_mem_io_space()
458 if (pbm->mem64_space.start > pbm->mem64_space.end) in pci_determine_mem_io_space()
464 pbm->name, &pbm->mem64_space, pbm->mem64_offset); in pci_determine_mem_io_space()
466 pbm->io_space.name = pbm->mem_space.name = pbm->name; in pci_determine_mem_io_space()
[all …]
H A Dpsycho_common.c91 pbm->name, in psycho_check_stc_error()
102 pbm->name, in psycho_check_stc_error()
110 pbm->name, in psycho_check_stc_error()
275 addr = psycho_pci_config_mkaddr(pbm, pbm->pci_first_busno, in psycho_pcierr_intr_other()
323 pbm->name, in psycho_pcierr_intr()
333 pbm->name, in psycho_pcierr_intr()
362 pci_scan_for_target_abort(pbm, pbm->pci_bus); in psycho_pcierr_intr()
365 pci_scan_for_master_abort(pbm, pbm->pci_bus); in psycho_pcierr_intr()
368 pci_scan_for_parity_error(pbm, pbm->pci_bus); in psycho_pcierr_intr()
463 pbm->op = op; in psycho_pbm_init_common()
[all …]
H A Dpci_sabre.c220 pbm->name, in sabre_ue_intr()
228 pbm->name, in sabre_ue_intr()
279 pbm->name, in sabre_ce_intr()
435 pbm->pci_bus = pci_scan_one_pbm(pbm, parent); in sabre_scan_bus()
450 pbm->pci_afsr = pbm->controller_regs + SABRE_PIOAFSR; in sabre_pbm_init()
451 pbm->pci_afar = pbm->controller_regs + SABRE_PIOAFAR; in sabre_pbm_init()
452 pbm->pci_csr = pbm->controller_regs + SABRE_PCICTRL; in sabre_pbm_init()
484 pbm = kzalloc(sizeof(*pbm), GFP_KERNEL); in sabre_probe()
485 if (!pbm) { in sabre_probe()
534 pbm->config_space = pbm->controller_regs + SABRE_CONFIGSPACE; in sabre_probe()
[all …]
H A Dpci_sun4v.c704 pbm->pci_bus = pci_scan_one_pbm(pbm, parent); in pci_sun4v_scan_bus()
785 err = dma_4v_iotsb_bind(pbm->devhandle, iotsb_num, pbm->pci_bus); in pci_sun4v_atu_alloc_iotsb()
984 ep = (pbm->msi_queues + ((msiqid - pbm->msiq_first) * in pci_sun4v_dequeue_msi()
1182 pbm->op = op; in pci_sun4v_pbm_init()
1189 printk("%s: On NUMA node %d\n", pbm->name, pbm->numa_node); in pci_sun4v_pbm_init()
1216 pci_pbm_root = pbm; in pci_sun4v_pbm_init()
1288 pbm = kzalloc(sizeof(*pbm), GFP_KERNEL); in pci_sun4v_probe()
1289 if (!pbm) { in pci_sun4v_probe()
1300 pbm->iommu = iommu; in pci_sun4v_probe()
1320 kfree(pbm->iommu); in pci_sun4v_probe()
[all …]
H A Dpci_impl.h36 int (*get_head)(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);
51 void sparc64_pbm_msi_init(struct pci_pbm_info *pbm,
55 struct pci_pbm_info *pbm; member
166 void pci_get_pbm_props(struct pci_pbm_info *pbm);
167 struct pci_bus *pci_scan_one_pbm(struct pci_pbm_info *pbm,
[all …]
H A Dpci.c279 pci_init_dev_archdata(sd, pbm->iommu, &pbm->stc, pbm, op, in of_create_pci_dev()
282 sd->iommu = pbm->iommu; in of_create_pci_dev()
283 sd->stc = &pbm->stc; in of_create_pci_dev()
698 pbm->io_offset); in pci_scan_one_pbm()
700 pbm->mem_offset); in pci_scan_one_pbm()
704 pbm->busn.start = pbm->pci_first_busno; in pci_scan_one_pbm()
705 pbm->busn.end = pbm->pci_last_busno; in pci_scan_one_pbm()
708 bus = pci_create_root_bus(parent, pbm->pci_first_busno, pbm->pci_ops, in pci_scan_one_pbm()
758 if (!pbm) in pci_iobar_pfn()
783 if (!pbm) { in pci_domain_nr()
[all …]
H A Dpcic.c291 struct linux_pbm_info* pbm; in pcic_probe() local
352 pbm = &pcic->pbm; in pcic_probe()
353 pbm->prom_node = node; in pcic_probe()
392 struct linux_pbm_info *pbm = &pcic->pbm; in pcic_pbm_scan_bus() local
394 pbm->pci_bus = pci_scan_bus(pbm->pci_first_busno, &pcic_ops, pbm); in pcic_pbm_scan_bus()
395 if (!pbm->pci_bus) in pcic_pbm_scan_bus()
399 pci_fill_in_pbm_cookies(pbm->pci_bus, pbm, pbm->prom_node); in pcic_pbm_scan_bus()
400 pci_record_assignments(pbm, pbm->pci_bus); in pcic_pbm_scan_bus()
401 pci_assign_unassigned(pbm, pbm->pci_bus); in pcic_pbm_scan_bus()
402 pci_fixup_irq(pbm, pbm->pci_bus); in pcic_pbm_scan_bus()
[all …]
H A Dpsycho_common.h20 static inline void *psycho_pci_config_mkaddr(struct pci_pbm_info *pbm, in psycho_pci_config_mkaddr() argument
26 (PSYCHO_CONFIG_BASE(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,
/openbmc/linux/arch/sparc/include/asm/
H A Dpbm.h44 struct linux_pbm_info *pbm; member
H A Dpcic.h28 struct linux_pbm_info pbm; member
/openbmc/linux/drivers/video/logo/
H A DMakefile27 $(obj)/%.c: $(src)/%.pbm $(obj)/pnmtologo FORCE