Lines Matching refs:afsr
203 unsigned long afsr, in psycho_check_iommu_error() argument
308 u64 afsr, afar, error_bits; in psycho_pcierr_intr() local
311 afsr = upa_readq(pbm->pci_afsr); in psycho_pcierr_intr()
313 error_bits = afsr & in psycho_pcierr_intr()
333 (afsr & PSYCHO_PCIAFSR_BMSK) >> 32UL, in psycho_pcierr_intr()
334 (afsr & PSYCHO_PCIAFSR_MID) >> 25UL, in psycho_pcierr_intr()
335 (afsr & PSYCHO_PCIAFSR_BLK) ? 1 : 0); in psycho_pcierr_intr()
339 if (afsr & PSYCHO_PCIAFSR_SMA) { in psycho_pcierr_intr()
343 if (afsr & PSYCHO_PCIAFSR_STA) { in psycho_pcierr_intr()
347 if (afsr & PSYCHO_PCIAFSR_SRTRY) { in psycho_pcierr_intr()
351 if (afsr & PSYCHO_PCIAFSR_SPERR) { in psycho_pcierr_intr()
360 psycho_check_iommu_error(pbm, afsr, afar, PCI_ERR); in psycho_pcierr_intr()