Home
last modified time | relevance | path

Searched refs:pbm_regs (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/arch/sparc/kernel/
Dpci_fire.c44 iommu->iommu_control = pbm->pbm_regs + FIRE_IOMMU_CONTROL; in pci_fire_pbm_iommu_init()
45 iommu->iommu_tsbbase = pbm->pbm_regs + FIRE_IOMMU_TSBBASE; in pci_fire_pbm_iommu_init()
46 iommu->iommu_flush = pbm->pbm_regs + FIRE_IOMMU_FLUSH; in pci_fire_pbm_iommu_init()
47 iommu->iommu_flushinv = pbm->pbm_regs + FIRE_IOMMU_FLUSHINV; in pci_fire_pbm_iommu_init()
153 *head = upa_readq(pbm->pbm_regs + EVENT_QUEUE_HEAD(msiqid)); in pci_fire_get_head()
179 upa_writeq(MSI_CLEAR_EQWR_N, pbm->pbm_regs + MSI_CLEAR(msi_num)); in pci_fire_dequeue_msi()
195 upa_writeq(head, pbm->pbm_regs + EVENT_QUEUE_HEAD(msiqid)); in pci_fire_set_head()
204 val = upa_readq(pbm->pbm_regs + MSI_MAP(msi)); in pci_fire_msi_setup()
207 upa_writeq(val, pbm->pbm_regs + MSI_MAP(msi)); in pci_fire_msi_setup()
209 upa_writeq(MSI_CLEAR_EQWR_N, pbm->pbm_regs + MSI_CLEAR(msi)); in pci_fire_msi_setup()
[all …]
Dprom_irqtrans.c305 static unsigned long schizo_ino_to_iclr(unsigned long pbm_regs, in schizo_ino_to_iclr() argument
309 return pbm_regs + schizo_iclr_offset(ino); in schizo_ino_to_iclr()
312 static unsigned long schizo_ino_to_imap(unsigned long pbm_regs, in schizo_ino_to_imap() argument
315 return pbm_regs + schizo_imap_offset(ino); in schizo_ino_to_imap()
372 unsigned long pbm_regs; member
383 unsigned long pbm_regs = irq_data->pbm_regs; in schizo_irq_build() local
392 imap = schizo_ino_to_imap(pbm_regs, ino); in schizo_irq_build()
393 iclr = schizo_ino_to_iclr(pbm_regs, ino); in schizo_irq_build()
440 irq_data->pbm_regs = regs[0].phys_addr; in __schizo_irq_trans_init()
481 unsigned long pbm_regs; member
[all …]
Dpci_schizo.c132 unsigned long regbase = pbm->pbm_regs; in __schizo_check_stc_error_pbm()
287 base = pbm->pbm_regs; in schizo_check_iommu_error_pbm()
588 csr_reg = pbm->pbm_regs + SCHIZO_PCI_CTRL; in schizo_pcierr_intr_other()
643 base = pbm->pbm_regs; in schizo_pcierr_intr()
912 tmp = upa_readq(pbm->pbm_regs + SCHIZO_PCI_CTRL); in tomatillo_register_error_handlers()
915 upa_writeq(tmp, pbm->pbm_regs + SCHIZO_PCI_CTRL); in tomatillo_register_error_handlers()
924 upa_writeq(err_mask, pbm->pbm_regs + SCHIZO_PCI_AFSR); in tomatillo_register_error_handlers()
1010 tmp = upa_readq(pbm->pbm_regs + SCHIZO_PCI_CTRL); in schizo_register_error_handlers()
1013 upa_writeq(tmp, pbm->pbm_regs + SCHIZO_PCI_CTRL); in schizo_register_error_handlers()
1021 pbm->pbm_regs + SCHIZO_PCI_AFSR); in schizo_register_error_handlers()
[all …]
Dpci_impl.h70 unsigned long pbm_regs; member