/linux/arch/riscv/kvm/ |
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()
|
A D | vcpu.c | 86 cntx->sstatus = SR_SPP | SR_SPIE; in kvm_arch_vcpu_create() 140 return (vcpu->arch.guest_context.sstatus & SR_SPP) ? true : false; in kvm_arch_vcpu_in_kernel() 231 reg_val = (cntx->sstatus & SR_SPP) ? in kvm_riscv_vcpu_get_reg_core() 268 cntx->sstatus |= SR_SPP; in kvm_riscv_vcpu_set_reg_core() 270 cntx->sstatus &= ~SR_SPP; in kvm_riscv_vcpu_set_reg_core()
|
A D | vcpu_exit.c | 571 if (vcpu->arch.guest_context.sstatus & SR_SPP) in kvm_riscv_vcpu_trap_redirect() 694 vcpu->arch.guest_context.sstatus, in kvm_riscv_vcpu_exit()
|
/linux/sound/core/ |
A D | pcm_compat.c | 419 struct snd_pcm_mmap_status sstatus; in snd_pcm_ioctl_sync_ptr_x32() local 450 sstatus.state = status->state; in snd_pcm_ioctl_sync_ptr_x32() 451 sstatus.hw_ptr = status->hw_ptr % boundary; in snd_pcm_ioctl_sync_ptr_x32() 452 sstatus.tstamp = status->tstamp; in snd_pcm_ioctl_sync_ptr_x32() 453 sstatus.suspended_state = status->suspended_state; in snd_pcm_ioctl_sync_ptr_x32() 454 sstatus.audio_tstamp = status->audio_tstamp; in snd_pcm_ioctl_sync_ptr_x32() 458 if (put_user(sstatus.state, &src->s.status.state) || in snd_pcm_ioctl_sync_ptr_x32() 459 put_user(sstatus.hw_ptr, &src->s.status.hw_ptr) || in snd_pcm_ioctl_sync_ptr_x32() 460 put_user(sstatus.tstamp.tv_sec, &src->s.status.tstamp_sec) || in snd_pcm_ioctl_sync_ptr_x32() 461 put_user(sstatus.tstamp.tv_nsec, &src->s.status.tstamp_nsec) || in snd_pcm_ioctl_sync_ptr_x32() [all …]
|
A D | pcm_native.c | 3064 struct snd_pcm_mmap_status sstatus; in snd_pcm_ioctl_sync_ptr_compat() local 3100 sstatus.state = status->state; in snd_pcm_ioctl_sync_ptr_compat() 3101 sstatus.hw_ptr = status->hw_ptr % boundary; in snd_pcm_ioctl_sync_ptr_compat() 3102 sstatus.tstamp = status->tstamp; in snd_pcm_ioctl_sync_ptr_compat() 3103 sstatus.suspended_state = status->suspended_state; in snd_pcm_ioctl_sync_ptr_compat() 3104 sstatus.audio_tstamp = status->audio_tstamp; in snd_pcm_ioctl_sync_ptr_compat() 3108 if (put_user(sstatus.state, &src->s.status.state) || in snd_pcm_ioctl_sync_ptr_compat() 3109 put_user(sstatus.hw_ptr, &src->s.status.hw_ptr) || in snd_pcm_ioctl_sync_ptr_compat() 3110 put_user(sstatus.tstamp.tv_sec, &src->s.status.tstamp_sec) || in snd_pcm_ioctl_sync_ptr_compat() 3111 put_user(sstatus.tstamp.tv_nsec, &src->s.status.tstamp_nsec) || in snd_pcm_ioctl_sync_ptr_compat() [all …]
|
/linux/arch/mips/include/asm/octeon/ |
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() 1296 load_addr.sstatus.get_cur = 1; in cvmx_pow_get_current_wqp() [all …]
|
/linux/drivers/ata/ |
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()
|
A D | libata-core.c | 169 static bool ata_sstatus_online(u32 sstatus) in ata_sstatus_online() argument 171 return (sstatus & 0xf) == 0x3; in ata_sstatus_online() 3053 u32 sstatus, scontrol, tmp; in sata_print_link_status() local 3060 tmp = (sstatus >> 4) & 0xf; in sata_print_link_status() 3065 sstatus, scontrol); in sata_print_link_status() 3109 u32 sstatus, spd, mask; in sata_down_spd_limit() local 3120 spd = (sstatus >> 4) & 0xf; in sata_down_spd_limit() 4964 u32 sstatus; in ata_phys_link_online() local 4967 ata_sstatus_online(sstatus)) in ata_phys_link_online() 4988 u32 sstatus; in ata_phys_link_offline() local [all …]
|
A D | sata_highbank.c | 395 u32 sstatus; in ahci_highbank_hardreset() local 414 if (sata_scr_read(link, SCR_STATUS, &sstatus)) in ahci_highbank_hardreset() 416 if (!(sstatus & 0x3)) in ahci_highbank_hardreset()
|
A D | ahci_xgene.c | 363 u32 val, sstatus; in xgene_ahci_do_hardreset() local 379 sata_scr_read(link, SCR_STATUS, &sstatus); in xgene_ahci_do_hardreset() 381 (sstatus & 0xff) == 0x1); in xgene_ahci_do_hardreset()
|
A D | libata-eh.c | 2466 u32 sstatus; in ata_eh_reset() local 2683 if (sata_scr_read(link, SCR_STATUS, &sstatus) == 0) in ata_eh_reset() 2684 link->sata_spd = (sstatus >> 4) & 0xf; in ata_eh_reset() 2685 if (slave && sata_scr_read(slave, SCR_STATUS, &sstatus) == 0) in ata_eh_reset() 2686 slave->sata_spd = (sstatus >> 4) & 0xf; in ata_eh_reset() 2789 sata_scr_read(link, SCR_STATUS, &sstatus)) in ata_eh_reset()
|
A D | ahci.c | 799 u32 sstatus; in ahci_avn_hardreset() local 812 if (sata_scr_read(link, SCR_STATUS, &sstatus) != 0 || in ahci_avn_hardreset() 813 (sstatus & 0xf) != 1) in ahci_avn_hardreset()
|
A D | sata_mv.c | 3631 u32 sstatus; in mv_hardreset() local 3649 sata_scr_read(link, SCR_STATUS, &sstatus); in mv_hardreset() 3650 if (!IS_GEN_I(hpriv) && ++attempts >= 5 && sstatus == 0x121) { in mv_hardreset() 3656 } while (sstatus != 0x0 && sstatus != 0x113 && sstatus != 0x123); in mv_hardreset()
|
/linux/arch/riscv/include/uapi/asm/ |
A D | kvm.h | 65 unsigned long sstatus; member
|
/linux/arch/riscv/include/asm/ |
A D | kvm_host.h | 129 unsigned long sstatus; member
|
/linux/arch/riscv/kernel/ |
A D | asm-offsets.c | 148 OFFSET(KVM_ARCH_GUEST_SSTATUS, kvm_vcpu_arch, guest_context.sstatus); in asm_offsets() 185 OFFSET(KVM_ARCH_HOST_SSTATUS, kvm_vcpu_arch, host_context.sstatus); in asm_offsets()
|
/linux/drivers/scsi/qla2xxx/ |
A D | qla_mr.c | 2150 __le16 sstatus, __le16 cpstatus) in qlafx00_tm_iocb_entry() argument 2156 (sstatus & cpu_to_le16((uint16_t)SS_RESPONSE_INFO_LEN_VALID))) in qlafx00_tm_iocb_entry()
|
/linux/Documentation/virt/kvm/ |
A D | api.rst | 2706 0x80x0 0000 0300 0000 sstatus Supervisor status
|