Searched refs:zcr (Results 1 – 2 of 2) sorted by relevance
703 unsigned long zcr; in sve_probe_vqs() local707 zcr = ZCR_ELx_LEN_MASK; in sve_probe_vqs()708 zcr = read_sysreg_s(SYS_ZCR_EL1) & ~zcr; in sve_probe_vqs()711 write_sysreg_s(zcr | (vq - 1), SYS_ZCR_EL1); /* self-syncing */ in sve_probe_vqs()835 u64 zcr; in read_zcr_features() local845 zcr = read_sysreg_s(SYS_ZCR_EL1); in read_zcr_features()846 zcr &= ~(u64)ZCR_ELx_LEN_MASK; /* find sticky 1s outside LEN field */ in read_zcr_features()848 zcr |= vq_max - 1; /* set LEN field to maximum effective value */ in read_zcr_features()850 return zcr; in read_zcr_features()855 u64 zcr; in sve_setup() local[all …]
2535 u64 zcr = read_zcr_features(); in verify_sve_features() local2538 unsigned int len = zcr & ZCR_ELx_LEN_MASK; in verify_sve_features()