Home
last modified time | relevance | path

Searched refs:hstatus (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/arch/riscv/kvm/
Dvcpu_exit.c70 old_hstatus = csr_swap(CSR_HSTATUS, vcpu->arch.guest_context.hstatus); in kvm_riscv_vcpu_unpriv_read()
190 if (vcpu->arch.guest_context.hstatus & HSTATUS_SPV) { in kvm_riscv_vcpu_exit()
196 if (vcpu->arch.guest_context.hstatus & HSTATUS_SPV) in kvm_riscv_vcpu_exit()
202 if (vcpu->arch.guest_context.hstatus & HSTATUS_SPV) in kvm_riscv_vcpu_exit()
206 if (vcpu->arch.guest_context.hstatus & HSTATUS_SPV) in kvm_riscv_vcpu_exit()
223 vcpu->arch.guest_context.hstatus); in kvm_riscv_vcpu_exit()
Dvcpu.c135 cntx->hstatus = 0; in kvm_arch_vcpu_create()
136 cntx->hstatus |= HSTATUS_VTW; in kvm_arch_vcpu_create()
137 cntx->hstatus |= HSTATUS_SPVP; in kvm_arch_vcpu_create()
138 cntx->hstatus |= HSTATUS_SPV; in kvm_arch_vcpu_create()
Daia_imsic.c828 vcpu->arch.guest_context.hstatus &= ~HSTATUS_VGEIN; in kvm_riscv_vcpu_aia_imsic_update()
830 vcpu->arch.guest_context.hstatus |= in kvm_riscv_vcpu_aia_imsic_update()
/linux-6.12.1/drivers/ata/
Dsata_fsl.c1057 u32 hstatus, dereg=0, cereg = 0, SError = 0; in sata_fsl_error_intr() local
1064 hstatus = ioread32(hcr_base + HSTATUS); in sata_fsl_error_intr()
1081 hstatus, cereg, ioread32(hcr_base + DE), SError); in sata_fsl_error_intr()
1084 if (hstatus & FATAL_ERROR_DECODE) { in sata_fsl_error_intr()
1092 if (hstatus & INT_ON_SNOTIFY_UPDATE) in sata_fsl_error_intr()
1096 if (hstatus & INT_ON_PHYRDY_CHG) { in sata_fsl_error_intr()
1183 u32 hstatus, done_mask = 0; in sata_fsl_host_intr() local
1189 hstatus = ioread32(hcr_base + HSTATUS); in sata_fsl_host_intr()
1197 if (unlikely(hstatus & INT_ON_DATA_LENGTH_MISMATCH)) { in sata_fsl_host_intr()
1227 if (unlikely(hstatus & status_mask)) { in sata_fsl_host_intr()
/linux-6.12.1/drivers/misc/sgi-gru/
Dgrukservices.c118 long hstatus[2]; member
134 #define HSTATUS(mq, h) ((mq) + offsetof(struct message_queue, hstatus[h]))
556 mq->hstatus[0] = 0; in gru_create_message_queue()
557 mq->hstatus[1] = 1; in gru_create_message_queue()
857 mq->hstatus[half] = 1; in gru_free_message()
/linux-6.12.1/arch/riscv/include/asm/
Dkvm_host.h162 unsigned long hstatus; member
/linux-6.12.1/arch/riscv/kernel/
Dasm-offsets.c169 OFFSET(KVM_ARCH_GUEST_HSTATUS, kvm_vcpu_arch, guest_context.hstatus); in asm_offsets()
206 OFFSET(KVM_ARCH_HOST_HSTATUS, kvm_vcpu_arch, host_context.hstatus); in asm_offsets()