Searched refs:kvmid (Results 1 – 1 of 1) sorted by relevance
188 static inline uint32_t kvm_to_cpreg_id(uint64_t kvmid) in kvm_to_cpreg_id() argument190 uint32_t cpregid = kvmid; in kvm_to_cpreg_id()191 if ((kvmid & CP_REG_ARCH_MASK) == CP_REG_ARM64) { in kvm_to_cpreg_id()194 if ((kvmid & CP_REG_SIZE_MASK) == CP_REG_SIZE_U64) { in kvm_to_cpreg_id()213 uint64_t kvmid; in cpreg_to_kvm_id() local216 kvmid = cpregid & ~CP_REG_AA64_MASK; in cpreg_to_kvm_id()217 kvmid |= CP_REG_SIZE_U64 | CP_REG_ARM64; in cpreg_to_kvm_id()219 kvmid = cpregid & ~(1 << 15); in cpreg_to_kvm_id()221 kvmid |= CP_REG_SIZE_U64 | CP_REG_ARM; in cpreg_to_kvm_id()223 kvmid |= CP_REG_SIZE_U32 | CP_REG_ARM; in cpreg_to_kvm_id()[all …]