Home
last modified time | relevance | path

Searched refs:zcr (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/arch/arm64/kernel/
Dfpsimd.c1118 u64 zcr; in read_zcr_features() local
1128 zcr = read_sysreg_s(SYS_ZCR_EL1); in read_zcr_features()
1129 zcr &= ~(u64)ZCR_ELx_LEN_MASK; /* find sticky 1s outside LEN field */ in read_zcr_features()
1131 zcr |= vq_max - 1; /* set LEN field to maximum effective value */ in read_zcr_features()
1133 return zcr; in read_zcr_features()
1139 u64 zcr; in sve_setup() local
1154 zcr = read_sanitised_ftr_reg(SYS_ZCR_EL1); in sve_setup()
1155 info->max_vl = sve_vl_from_vq((zcr & ZCR_ELx_LEN_MASK) + 1); in sve_setup()
Dcpufeature.c3093 u64 zcr = read_zcr_features(); in verify_sve_features() local
3096 unsigned int len = zcr & ZCR_ELx_LEN_MASK; in verify_sve_features()