Lines Matching refs:fsr
131 u32 val, fsr, status; in qcom_tbu_halt() local
143 fsr = arm_smmu_cb_read(smmu, idx, ARM_SMMU_CB_FSR); in qcom_tbu_halt()
144 if ((fsr & ARM_SMMU_CB_FSR_FAULT) && (fsr & ARM_SMMU_CB_FSR_SS)) { in qcom_tbu_halt()
156 arm_smmu_cb_write(smmu, idx, ARM_SMMU_CB_FSR, fsr); in qcom_tbu_halt()
274 u64 fsr; in qcom_iova_to_phys() local
300 fsr = arm_smmu_cb_read(smmu, idx, ARM_SMMU_CB_FSR); in qcom_iova_to_phys()
301 if (fsr & ARM_SMMU_CB_FSR_FAULT) { in qcom_iova_to_phys()
303 arm_smmu_cb_write(smmu, idx, ARM_SMMU_CB_FSR, fsr); in qcom_iova_to_phys()
309 if (fsr & ARM_SMMU_CB_FSR_SS) in qcom_iova_to_phys()
322 fsr = arm_smmu_cb_read(smmu, idx, ARM_SMMU_CB_FSR); in qcom_iova_to_phys()
323 if (fsr & ARM_SMMU_CB_FSR_FAULT) { in qcom_iova_to_phys()
325 arm_smmu_cb_write(smmu, idx, ARM_SMMU_CB_FSR, fsr); in qcom_iova_to_phys()
327 if (fsr & ARM_SMMU_CB_FSR_SS) in qcom_iova_to_phys()
361 …c phys_addr_t qcom_smmu_verify_fault(struct arm_smmu_domain *smmu_domain, dma_addr_t iova, u32 fsr) in qcom_smmu_verify_fault() argument
398 if (!(cfi.fsr & ARM_SMMU_CB_FSR_FAULT)) in qcom_smmu_context_fault()
408 arm_smmu_cb_write(smmu, idx, ARM_SMMU_CB_FSR, cfi.fsr); in qcom_smmu_context_fault()
420 phys_addr_t phys_atos = qcom_smmu_verify_fault(smmu_domain, cfi.iova, cfi.fsr); in qcom_smmu_context_fault()
457 arm_smmu_cb_write(smmu, idx, ARM_SMMU_CB_FSR, cfi.fsr); in qcom_smmu_context_fault()
460 if (cfi.fsr & ARM_SMMU_CB_FSR_SS) in qcom_smmu_context_fault()