Home
last modified time | relevance | path

Searched refs:sstatus (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/sound/core/
Dpcm_compat.c417 struct snd_pcm_mmap_status sstatus; in snd_pcm_ioctl_sync_ptr_x32() local
448 sstatus.state = status->state; in snd_pcm_ioctl_sync_ptr_x32()
449 sstatus.hw_ptr = status->hw_ptr % boundary; in snd_pcm_ioctl_sync_ptr_x32()
450 sstatus.tstamp = status->tstamp; in snd_pcm_ioctl_sync_ptr_x32()
451 sstatus.suspended_state = status->suspended_state; in snd_pcm_ioctl_sync_ptr_x32()
452 sstatus.audio_tstamp = status->audio_tstamp; in snd_pcm_ioctl_sync_ptr_x32()
454 if (put_user(sstatus.state, &src->s.status.state) || in snd_pcm_ioctl_sync_ptr_x32()
455 put_user(sstatus.hw_ptr, &src->s.status.hw_ptr) || in snd_pcm_ioctl_sync_ptr_x32()
456 put_user(sstatus.tstamp.tv_sec, &src->s.status.tstamp_sec) || in snd_pcm_ioctl_sync_ptr_x32()
457 put_user(sstatus.tstamp.tv_nsec, &src->s.status.tstamp_nsec) || in snd_pcm_ioctl_sync_ptr_x32()
[all …]
Dpcm_native.c3103 struct snd_pcm_mmap_status sstatus; in snd_pcm_ioctl_sync_ptr_compat() local
3139 sstatus.state = status->state; in snd_pcm_ioctl_sync_ptr_compat()
3140 sstatus.hw_ptr = status->hw_ptr % boundary; in snd_pcm_ioctl_sync_ptr_compat()
3141 sstatus.tstamp = status->tstamp; in snd_pcm_ioctl_sync_ptr_compat()
3142 sstatus.suspended_state = status->suspended_state; in snd_pcm_ioctl_sync_ptr_compat()
3143 sstatus.audio_tstamp = status->audio_tstamp; in snd_pcm_ioctl_sync_ptr_compat()
3145 if (put_user(sstatus.state, &src->s.status.state) || in snd_pcm_ioctl_sync_ptr_compat()
3146 put_user(sstatus.hw_ptr, &src->s.status.hw_ptr) || in snd_pcm_ioctl_sync_ptr_compat()
3147 put_user(sstatus.tstamp.tv_sec, &src->s.status.tstamp_sec) || in snd_pcm_ioctl_sync_ptr_compat()
3148 put_user(sstatus.tstamp.tv_nsec, &src->s.status.tstamp_nsec) || in snd_pcm_ioctl_sync_ptr_compat()
[all …]
/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/
Dcvmx-pow.h320 } 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 …]
/kernel/linux/linux-5.10/drivers/ata/
Dsata_via.c335 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()
Dsata_highbank.c395 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()
Dlibata-core.c163 static bool ata_sstatus_online(u32 sstatus) in ata_sstatus_online() argument
165 return (sstatus & 0xf) == 0x3; in ata_sstatus_online()
2964 u32 sstatus, scontrol, tmp; in sata_print_link_status() local
2966 if (sata_scr_read(link, SCR_STATUS, &sstatus)) in sata_print_link_status()
2971 tmp = (sstatus >> 4) & 0xf; in sata_print_link_status()
2973 sata_spd_string(tmp), sstatus, scontrol); in sata_print_link_status()
2976 sstatus, scontrol); in sata_print_link_status()
3020 u32 sstatus, spd, mask; in sata_down_spd_limit() local
3029 rc = sata_scr_read(link, SCR_STATUS, &sstatus); in sata_down_spd_limit()
3030 if (rc == 0 && ata_sstatus_online(sstatus)) in sata_down_spd_limit()
[all …]
Dahci_xgene.c363 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()
Dlibata-eh.c2468 u32 sstatus; in ata_eh_reset() local
2684 if (sata_scr_read(link, SCR_STATUS, &sstatus) == 0) in ata_eh_reset()
2685 link->sata_spd = (sstatus >> 4) & 0xf; in ata_eh_reset()
2686 if (slave && sata_scr_read(slave, SCR_STATUS, &sstatus) == 0) in ata_eh_reset()
2687 slave->sata_spd = (sstatus >> 4) & 0xf; in ata_eh_reset()
2790 sata_scr_read(link, SCR_STATUS, &sstatus)) in ata_eh_reset()
Dahci.c818 u32 sstatus; in ahci_avn_hardreset() local
831 if (sata_scr_read(link, SCR_STATUS, &sstatus) != 0 || in ahci_avn_hardreset()
832 (sstatus & 0xf) != 1) in ahci_avn_hardreset()
Dsata_mv.c3627 u32 sstatus; in mv_hardreset() local
3645 sata_scr_read(link, SCR_STATUS, &sstatus); in mv_hardreset()
3646 if (!IS_GEN_I(hpriv) && ++attempts >= 5 && sstatus == 0x121) { in mv_hardreset()
3652 } while (sstatus != 0x0 && sstatus != 0x113 && sstatus != 0x123); in mv_hardreset()
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
Dqla_mr.c2150 __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()