Lines Matching refs:lbt
541 ret = kvm_set_one_reg(cs, KVM_REG_LOONGARCH_LBT_SCR0, &env->lbt.scr0); in kvm_loongarch_put_lbt()
542 ret |= kvm_set_one_reg(cs, KVM_REG_LOONGARCH_LBT_SCR1, &env->lbt.scr1); in kvm_loongarch_put_lbt()
543 ret |= kvm_set_one_reg(cs, KVM_REG_LOONGARCH_LBT_SCR2, &env->lbt.scr2); in kvm_loongarch_put_lbt()
544 ret |= kvm_set_one_reg(cs, KVM_REG_LOONGARCH_LBT_SCR3, &env->lbt.scr3); in kvm_loongarch_put_lbt()
549 val = env->lbt.eflags; in kvm_loongarch_put_lbt()
551 val = env->lbt.ftop; in kvm_loongarch_put_lbt()
569 ret = kvm_get_one_reg(cs, KVM_REG_LOONGARCH_LBT_SCR0, &env->lbt.scr0); in kvm_loongarch_get_lbt()
570 ret |= kvm_get_one_reg(cs, KVM_REG_LOONGARCH_LBT_SCR1, &env->lbt.scr1); in kvm_loongarch_get_lbt()
571 ret |= kvm_get_one_reg(cs, KVM_REG_LOONGARCH_LBT_SCR2, &env->lbt.scr2); in kvm_loongarch_get_lbt()
572 ret |= kvm_get_one_reg(cs, KVM_REG_LOONGARCH_LBT_SCR3, &env->lbt.scr3); in kvm_loongarch_get_lbt()
574 env->lbt.eflags = (uint32_t)val; in kvm_loongarch_get_lbt()
576 env->lbt.ftop = (uint32_t)val; in kvm_loongarch_get_lbt()
839 if (cpu->lbt == ON_OFF_AUTO_ON) { in kvm_cpu_check_lbt()
846 } else if ((cpu->lbt == ON_OFF_AUTO_AUTO) && kvm_supported) { in kvm_cpu_check_lbt()