Home
last modified time | relevance | path

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

/linux-6.6.21/arch/riscv/kvm/
Dvcpu_exit.c70 old_hstatus = csr_swap(CSR_HSTATUS, vcpu->arch.guest_context.hstatus); in kvm_riscv_vcpu_unpriv_read()
188 if (vcpu->arch.guest_context.hstatus & HSTATUS_SPV) { in kvm_riscv_vcpu_exit()
194 if (vcpu->arch.guest_context.hstatus & HSTATUS_SPV) in kvm_riscv_vcpu_exit()
200 if (vcpu->arch.guest_context.hstatus & HSTATUS_SPV) in kvm_riscv_vcpu_exit()
204 if (vcpu->arch.guest_context.hstatus & HSTATUS_SPV) in kvm_riscv_vcpu_exit()
217 vcpu->arch.guest_context.hstatus); in kvm_riscv_vcpu_exit()
Dvcpu.c122 cntx->hstatus = 0; in kvm_arch_vcpu_create()
123 cntx->hstatus |= HSTATUS_VTW; in kvm_arch_vcpu_create()
124 cntx->hstatus |= HSTATUS_SPVP; in kvm_arch_vcpu_create()
125 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.6.21/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.6.21/drivers/misc/sgi-gru/
Dgrukservices.c118 long hstatus[2]; member
134 #define HSTATUS(mq, h) ((mq) + offsetof(struct message_queue, hstatus[h]))
558 mq->hstatus[0] = 0; in gru_create_message_queue()
559 mq->hstatus[1] = 1; in gru_create_message_queue()
859 mq->hstatus[half] = 1; in gru_free_message()
/linux-6.6.21/arch/riscv/include/asm/
Dkvm_host.h149 unsigned long hstatus; member
/linux-6.6.21/arch/riscv/kernel/
Dasm-offsets.c159 OFFSET(KVM_ARCH_GUEST_HSTATUS, kvm_vcpu_arch, guest_context.hstatus); in asm_offsets()
196 OFFSET(KVM_ARCH_HOST_HSTATUS, kvm_vcpu_arch, host_context.hstatus); in asm_offsets()