Searched refs:shm (Results 1 – 2 of 2) sorted by relevance
103 struct snd_usX2Y_hwdep_pcm_shm *shm = usX2Y->hwdep_pcm_shm; in usX2Y_hwdep_urb_play_prepare() local106 if (0 > shm->playback_iso_start) { in usX2Y_hwdep_urb_play_prepare()107 shm->playback_iso_start = shm->captured_iso_head - in usX2Y_hwdep_urb_play_prepare()109 if (0 > shm->playback_iso_start) in usX2Y_hwdep_urb_play_prepare()110 shm->playback_iso_start += ARRAY_SIZE(shm->captured_iso); in usX2Y_hwdep_urb_play_prepare()111 shm->playback_iso_head = shm->playback_iso_start; in usX2Y_hwdep_urb_play_prepare()117 counts = shm->captured_iso[shm->playback_iso_head].length / usX2Y->stride; in usX2Y_hwdep_urb_play_prepare()123 urb->iso_frame_desc[pack].offset = shm->captured_iso[shm->playback_iso_head].offset; in usX2Y_hwdep_urb_play_prepare()124 urb->iso_frame_desc[pack].length = shm->captured_iso[shm->playback_iso_head].length; in usX2Y_hwdep_urb_play_prepare()128 if (++shm->playback_iso_head >= ARRAY_SIZE(shm->captured_iso)) in usX2Y_hwdep_urb_play_prepare()[all …]
81 struct us428ctls_sharedmem *shm = us428->us428ctls_sharedmem; in snd_us428ctls_poll() local87 if (shm != NULL && shm->CtlSnapShotLast != shm->CtlSnapShotRed) in snd_us428ctls_poll()