Home
last modified time | relevance | path

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

/linux-6.1.9/arch/riscv/kvm/
Dvcpu_exit.c70 old_hstatus = csr_swap(CSR_HSTATUS, vcpu->arch.guest_context.hstatus); in kvm_riscv_vcpu_unpriv_read()
183 if (vcpu->arch.guest_context.hstatus & HSTATUS_SPV) in kvm_riscv_vcpu_exit()
189 if (vcpu->arch.guest_context.hstatus & HSTATUS_SPV) in kvm_riscv_vcpu_exit()
193 if (vcpu->arch.guest_context.hstatus & HSTATUS_SPV) in kvm_riscv_vcpu_exit()
206 vcpu->arch.guest_context.hstatus); in kvm_riscv_vcpu_exit()
Dvcpu.c180 cntx->hstatus = 0; in kvm_arch_vcpu_create()
181 cntx->hstatus |= HSTATUS_VTW; in kvm_arch_vcpu_create()
182 cntx->hstatus |= HSTATUS_SPVP; in kvm_arch_vcpu_create()
183 cntx->hstatus |= HSTATUS_SPV; in kvm_arch_vcpu_create()
/linux-6.1.9/drivers/ata/
Dsata_fsl.c1058 u32 hstatus, dereg=0, cereg = 0, SError = 0; in sata_fsl_error_intr() local
1065 hstatus = ioread32(hcr_base + HSTATUS); in sata_fsl_error_intr()
1082 hstatus, cereg, ioread32(hcr_base + DE), SError); in sata_fsl_error_intr()
1085 if (hstatus & FATAL_ERROR_DECODE) { in sata_fsl_error_intr()
1093 if (hstatus & INT_ON_SNOTIFY_UPDATE) in sata_fsl_error_intr()
1097 if (hstatus & INT_ON_PHYRDY_CHG) { in sata_fsl_error_intr()
1184 u32 hstatus, done_mask = 0; in sata_fsl_host_intr() local
1190 hstatus = ioread32(hcr_base + HSTATUS); in sata_fsl_host_intr()
1198 if (unlikely(hstatus & INT_ON_DATA_LENGTH_MISMATCH)) { in sata_fsl_host_intr()
1228 if (unlikely(hstatus & status_mask)) { in sata_fsl_host_intr()
/linux-6.1.9/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.1.9/arch/riscv/include/asm/
Dkvm_host.h145 unsigned long hstatus; member
/linux-6.1.9/arch/riscv/kernel/
Dasm-offsets.c153 OFFSET(KVM_ARCH_GUEST_HSTATUS, kvm_vcpu_arch, guest_context.hstatus); in asm_offsets()
190 OFFSET(KVM_ARCH_HOST_HSTATUS, kvm_vcpu_arch, host_context.hstatus); in asm_offsets()