Lines Matching refs:val
30 u64 val, tmp; in access_nested_id_reg() local
32 val = p->regval; in access_nested_id_reg()
37 val &= ~(NV_FTR(ISAR0, TLB) | in access_nested_id_reg()
43 val &= ~(GENMASK_ULL(63, 56) | in access_nested_id_reg()
53 val &= ~(GENMASK_ULL(55, 52) | in access_nested_id_reg()
63 val |= FIELD_PREP(NV_FTR(PFR0, EL1), 0b0001); in access_nested_id_reg()
64 val |= FIELD_PREP(NV_FTR(PFR0, EL2), 0b0001); in access_nested_id_reg()
65 val |= FIELD_PREP(NV_FTR(PFR0, EL3), 0b0001); in access_nested_id_reg()
70 val &= NV_FTR(PFR1, SSBS); in access_nested_id_reg()
75 val &= ~(NV_FTR(MMFR0, ECV) | in access_nested_id_reg()
85 val |= FIELD_PREP(NV_FTR(MMFR0, TGRAN16_2), 0b0001); in access_nested_id_reg()
88 val |= FIELD_PREP(NV_FTR(MMFR0, TGRAN4_2), 0b0001); in access_nested_id_reg()
102 val |= FIELD_PREP(NV_FTR(MMFR0, TGRAN4_2), 0b0010); in access_nested_id_reg()
105 val |= FIELD_PREP(NV_FTR(MMFR0, TGRAN16_2), 0b0010); in access_nested_id_reg()
108 val |= FIELD_PREP(NV_FTR(MMFR0, TGRAN64_2), 0b0010); in access_nested_id_reg()
112 tmp = FIELD_GET(NV_FTR(MMFR0, PARANGE), val); in access_nested_id_reg()
114 val &= ~NV_FTR(MMFR0, PARANGE); in access_nested_id_reg()
115 val |= FIELD_PREP(NV_FTR(MMFR0, PARANGE), 0b0101); in access_nested_id_reg()
120 val &= (NV_FTR(MMFR1, HCX) | in access_nested_id_reg()
129 val &= ~(NV_FTR(MMFR2, BBM) | in access_nested_id_reg()
137 val |= FIELD_PREP(NV_FTR(MMFR2, TTL), 0b0001); in access_nested_id_reg()
142 val &= (NV_FTR(DFR0, PMUVer) | in access_nested_id_reg()
148 tmp = FIELD_GET(NV_FTR(DFR0, DebugVer), val); in access_nested_id_reg()
150 val &= ~NV_FTR(DFR0, DebugVer); in access_nested_id_reg()
151 val |= FIELD_PREP(NV_FTR(DFR0, DebugVer), 0b0111); in access_nested_id_reg()
157 val = 0; in access_nested_id_reg()
161 p->regval = val; in access_nested_id_reg()