/linux/arch/riscv/kvm/ |
H A D | vcpu_fp.c | 21 cntx->sstatus &= ~SR_FS; in kvm_riscv_vcpu_fp_reset() 24 cntx->sstatus |= SR_FS_INITIAL; in kvm_riscv_vcpu_fp_reset() 26 cntx->sstatus |= SR_FS_OFF; in kvm_riscv_vcpu_fp_reset() 31 cntx->sstatus &= ~SR_FS; in kvm_riscv_vcpu_fp_clean() 32 cntx->sstatus |= SR_FS_CLEAN; in kvm_riscv_vcpu_fp_clean() 38 if ((cntx->sstatus & SR_FS) == SR_FS_DIRTY) { in kvm_riscv_vcpu_guest_fp_save() 50 if ((cntx->sstatus & SR_FS) != SR_FS_OFF) { in kvm_riscv_vcpu_guest_fp_restore()
|
H A D | vcpu_vector.c | 24 cntx->sstatus &= ~SR_VS; in kvm_riscv_vcpu_vector_reset() 26 cntx->sstatus |= SR_VS_INITIAL; in kvm_riscv_vcpu_vector_reset() 30 cntx->sstatus |= SR_VS_OFF; in kvm_riscv_vcpu_vector_reset() 36 cntx->sstatus &= ~SR_VS; in kvm_riscv_vcpu_vector_clean() 37 cntx->sstatus |= SR_VS_CLEAN; in kvm_riscv_vcpu_vector_clean() 43 if ((cntx->sstatus & SR_VS) == SR_VS_DIRTY) { in kvm_riscv_vcpu_guest_vector_save() 53 if ((cntx->sstatus & SR_VS) != SR_VS_OFF) { in kvm_riscv_vcpu_guest_vector_restore()
|
H A D | vcpu_exit.c | 142 if (vcpu->arch.guest_context.sstatus & SR_SPP) in kvm_riscv_vcpu_trap_redirect() 165 vcpu->arch.guest_context.sstatus |= SR_SPP; in kvm_riscv_vcpu_trap_redirect() 222 vcpu->arch.guest_context.sstatus, in kvm_riscv_vcpu_exit()
|
H A D | vcpu_onereg.c | 397 reg_val = (cntx->sstatus & SR_SPP) ? in kvm_riscv_vcpu_get_reg_core() 434 cntx->sstatus |= SR_SPP; in kvm_riscv_vcpu_set_reg_core() 436 cntx->sstatus &= ~SR_SPP; in kvm_riscv_vcpu_set_reg_core()
|
H A D | vcpu.c | 134 cntx->sstatus = SR_SPP | SR_SPIE; in kvm_arch_vcpu_create() 226 return (vcpu->arch.guest_context.sstatus & SR_SPP) ? true : false; in kvm_arch_vcpu_in_kernel()
|
H A D | vcpu_insn.c | 212 kvm_vcpu_on_spin(vcpu, vcpu->arch.guest_context.sstatus & SR_SPP); in wrs_insn()
|
/linux/sound/core/ |
H A D | pcm_compat.c | 414 struct snd_pcm_mmap_status sstatus; in snd_pcm_ioctl_sync_ptr_x32() local 445 sstatus.state = status->state; in snd_pcm_ioctl_sync_ptr_x32() 446 sstatus.hw_ptr = status->hw_ptr % boundary; in snd_pcm_ioctl_sync_ptr_x32() 447 sstatus.tstamp = status->tstamp; in snd_pcm_ioctl_sync_ptr_x32() 448 sstatus.suspended_state = status->suspended_state; in snd_pcm_ioctl_sync_ptr_x32() 449 sstatus.audio_tstamp = status->audio_tstamp; in snd_pcm_ioctl_sync_ptr_x32() 453 if (put_user(sstatus.state, &src->s.status.state) || in snd_pcm_ioctl_sync_ptr_x32() 454 put_user(sstatus.hw_ptr, &src->s.status.hw_ptr) || in snd_pcm_ioctl_sync_ptr_x32() 455 put_user(sstatus.tstamp.tv_sec, &src->s.status.tstamp_sec) || in snd_pcm_ioctl_sync_ptr_x32() 456 put_user(sstatus.tstamp.tv_nsec, &src->s.status.tstamp_nsec) || in snd_pcm_ioctl_sync_ptr_x32() [all …]
|
H A D | pcm_native.c | 3139 struct snd_pcm_mmap_status sstatus; in snd_pcm_ioctl_sync_ptr_compat() local 3173 sstatus.state = status->state; in snd_pcm_ioctl_sync_ptr_compat() 3174 sstatus.hw_ptr = status->hw_ptr % boundary; in snd_pcm_ioctl_sync_ptr_compat() 3175 sstatus.tstamp = status->tstamp; in snd_pcm_ioctl_sync_ptr_compat() 3176 sstatus.suspended_state = status->suspended_state; in snd_pcm_ioctl_sync_ptr_compat() 3177 sstatus.audio_tstamp = status->audio_tstamp; in snd_pcm_ioctl_sync_ptr_compat() 3181 if (put_user(sstatus.state, &src->s.status.state) || in snd_pcm_ioctl_sync_ptr_compat() 3182 put_user(sstatus.hw_ptr, &src->s.status.hw_ptr) || in snd_pcm_ioctl_sync_ptr_compat() 3183 put_user(sstatus.tstamp.tv_sec, &src->s.status.tstamp_sec) || in snd_pcm_ioctl_sync_ptr_compat() 3184 put_user(sstatus in snd_pcm_ioctl_sync_ptr_compat() [all...] |
/linux/arch/mips/include/asm/octeon/ |
H A D | cvmx-pow.h | 320 } sstatus; member 1266 load_addr.sstatus.mem_region = CVMX_IO_SEG; in cvmx_pow_get_current_tag() 1267 load_addr.sstatus.is_io = 1; in cvmx_pow_get_current_tag() 1268 load_addr.sstatus.did = CVMX_OCT_DID_TAG_TAG1; in cvmx_pow_get_current_tag() 1269 load_addr.sstatus.coreid = cvmx_get_core_num(); in cvmx_pow_get_current_tag() 1270 load_addr.sstatus.get_cur = 1; in cvmx_pow_get_current_tag() 1292 load_addr.sstatus.mem_region = CVMX_IO_SEG; in cvmx_pow_get_current_wqp() 1293 load_addr.sstatus.is_io = 1; in cvmx_pow_get_current_wqp() 1294 load_addr.sstatus.did = CVMX_OCT_DID_TAG_TAG1; in cvmx_pow_get_current_wqp() 1295 load_addr.sstatus.coreid = cvmx_get_core_num(); in cvmx_pow_get_current_wqp() [all …]
|
/linux/drivers/ata/ |
H A D | sata_via.c | 335 u32 sstatus, scontrol; in vt6420_prereset() local 349 svia_scr_read(link, SCR_STATUS, &sstatus); in vt6420_prereset() 350 if ((sstatus & 0xf) != 1) in vt6420_prereset() 355 svia_scr_read(link, SCR_STATUS, &sstatus); in vt6420_prereset() 358 online = (sstatus & 0xf) == 0x3; in vt6420_prereset() 362 online ? "up" : "down", sstatus, scontrol); in vt6420_prereset() 365 svia_scr_read(link, SCR_STATUS, &sstatus); in vt6420_prereset()
|
H A D | libata.h | 42 static inline bool ata_sstatus_online(u32 sstatus) in ata_sstatus_online() argument 44 return (sstatus & 0xf) == 0x3; in ata_sstatus_online()
|
H A D | sata_highbank.c | 396 u32 sstatus; in ahci_highbank_hardreset() local 415 if (sata_scr_read(link, SCR_STATUS, &sstatus)) in ahci_highbank_hardreset() 417 if (!(sstatus & 0x3)) in ahci_highbank_hardreset()
|
H A D | libata-sata.c | 542 u32 sstatus, spd, mask; in sata_down_spd_limit() local 551 rc = sata_scr_read(link, SCR_STATUS, &sstatus); in sata_down_spd_limit() 552 if (rc == 0 && ata_sstatus_online(sstatus)) in sata_down_spd_limit() 553 spd = (sstatus >> 4) & 0xf; in sata_down_spd_limit()
|
H A D | libata-core.c | 3156 u32 sstatus, scontrol, tmp; in sata_print_link_status() local 3158 if (sata_scr_read(link, SCR_STATUS, &sstatus)) in sata_print_link_status() 3164 tmp = (sstatus >> 4) & 0xf; in sata_print_link_status() 3166 sata_spd_string(tmp), sstatus, scontrol); in sata_print_link_status() 3169 sstatus, scontrol); in sata_print_link_status() 5009 u32 sstatus; in ata_phys_link_online() local 5011 if (sata_scr_read(link, SCR_STATUS, &sstatus) == 0 && in ata_phys_link_online() 5012 ata_sstatus_online(sstatus)) in ata_phys_link_online() 5033 u32 sstatus; in ata_phys_link_offline() local 5035 if (sata_scr_read(link, SCR_STATUS, &sstatus) == 0 && in ata_phys_link_offline() [all …]
|
H A D | libata-eh.c | 2630 u32 sstatus; in ata_eh_reset() local 2858 if (sata_scr_read(link, SCR_STATUS, &sstatus) == 0) in ata_eh_reset() 2859 link->sata_spd = (sstatus >> 4) & 0xf; in ata_eh_reset() 2860 if (slave && sata_scr_read(slave, SCR_STATUS, &sstatus) == 0) in ata_eh_reset() 2861 slave->sata_spd = (sstatus >> 4) & 0xf; in ata_eh_reset() 2957 sata_scr_read(link, SCR_STATUS, &sstatus)) in ata_eh_reset()
|
/linux/arch/riscv/include/uapi/asm/ |
H A D | kvm.h | 72 unsigned long sstatus; member
|
/linux/tools/testing/selftests/kvm/riscv/ |
H A D | get-reg-list.c | 267 case KVM_REG_RISCV_CSR_REG(sstatus): in general_csr_id_to_str() 268 return RISCV_CSR_GENERAL(sstatus); in general_csr_id_to_str() 723 …VM_REG_SIZE_ULONG | KVM_REG_RISCV_CSR | KVM_REG_RISCV_CSR_GENERAL | KVM_REG_RISCV_CSR_REG(sstatus),
|
/linux/arch/riscv/kernel/ |
H A D | asm-offsets.c | 168 OFFSET(KVM_ARCH_GUEST_SSTATUS, kvm_vcpu_arch, guest_context.sstatus); in asm_offsets() 205 OFFSET(KVM_ARCH_HOST_SSTATUS, kvm_vcpu_arch, host_context.sstatus); in asm_offsets()
|
/linux/drivers/scsi/qla2xxx/ |
H A D | qla_mr.c | 2149 __le16 sstatus, __le16 cpstatus) in qlafx00_tm_iocb_entry() argument 2155 (sstatus & cpu_to_le16((uint16_t)SS_RESPONSE_INFO_LEN_VALID))) in qlafx00_tm_iocb_entry()
|