Lines Matching full:cd
353 uint32_t ssid, CD *buf, SMMUEventInfo *event) in smmu_get_cd()
366 /* Same PTW faults are reported but with CLASS = CD. */ in smmu_get_cd()
716 CD *cd, SMMUEventInfo *event) in decode_cd() argument
724 if (!CD_VALID(cd) || !CD_AARCH64(cd)) { in decode_cd()
727 if (!CD_A(cd)) { in decode_cd()
730 if (CD_S(cd)) { in decode_cd()
733 if (CD_HA(cd) || CD_HD(cd)) { in decode_cd()
740 cfg->oas = oas2bits(CD_IPS(cd)); in decode_cd()
742 cfg->tbi = CD_TBI(cd); in decode_cd()
743 cfg->asid = CD_ASID(cd); in decode_cd()
744 cfg->affd = CD_AFFD(cd); in decode_cd()
753 cfg->tt[i].disabled = CD_EPD(cd, i); in decode_cd()
758 tsz = CD_TSZ(cd, i); in decode_cd()
763 tg = CD_TG(cd, i); in decode_cd()
766 tt->granule_sz != 16) || CD_ENDI(cd)) { in decode_cd()
779 tt->ttb = CD_TTB(cd, i); in decode_cd()
800 tt->had = CD_HAD(cd, i); in decode_cd()
804 cfg->record_faults = CD_R(cd); in decode_cd()
832 CD cd; in smmuv3_decode_config() local
851 ret = smmu_get_cd(s, &ste, cfg, 0 /* ssid */, &cd, event); in smmuv3_decode_config()
856 return decode_cd(s, cfg, &cd, event); in smmuv3_decode_config()
867 * The configuration cache contains data resulting from both STE and CD
928 * - CLASS = CD: Means the addr is an IPA of the CD, and it would be in smmuv3_do_translate()
961 * - CD fetch => CLASS_CD (input to function) in smmuv3_do_translate()
1019 * translation faults in case of nested translation (for CD