Lines Matching refs:hwdep_pcm_shm
68 if (0 > usX2Y->hwdep_pcm_shm->capture_iso_start) { //FIXME in usX2Y_usbpcm_urb_capt_retire()
69 int head = usX2Y->hwdep_pcm_shm->captured_iso_head + 1; in usX2Y_usbpcm_urb_capt_retire()
70 if (head >= ARRAY_SIZE(usX2Y->hwdep_pcm_shm->captured_iso)) in usX2Y_usbpcm_urb_capt_retire()
72 usX2Y->hwdep_pcm_shm->capture_iso_start = head; in usX2Y_usbpcm_urb_capt_retire()
115 struct snd_usX2Y_hwdep_pcm_shm *shm = usX2Y->hwdep_pcm_shm; in usX2Y_hwdep_urb_play_prepare()
156 struct snd_usX2Y_hwdep_pcm_shm *shm = subs->usX2Y->hwdep_pcm_shm; in usX2Y_usbpcm_urb_capt_iso_advance()
338 subs->usX2Y->hwdep_pcm_shm->playback : ( in usX2Y_usbpcm_urbs_allocate()
340 subs->usX2Y->hwdep_pcm_shm->capture0x8 : in usX2Y_usbpcm_urbs_allocate()
341 subs->usX2Y->hwdep_pcm_shm->capture0xA); in usX2Y_usbpcm_urbs_allocate()
410 usX2Y->hwdep_pcm_shm->captured_iso_head = -1; in usX2Y_usbpcm_urbs_start()
411 usX2Y->hwdep_pcm_shm->captured_iso_frames = 0; in usX2Y_usbpcm_urbs_start()
490 if (NULL == usX2Y->hwdep_pcm_shm) { in snd_usX2Y_usbpcm_prepare()
491 …if (NULL == (usX2Y->hwdep_pcm_shm = snd_malloc_pages(sizeof(struct snd_usX2Y_hwdep_pcm_shm), GFP_K… in snd_usX2Y_usbpcm_prepare()
493 memset(usX2Y->hwdep_pcm_shm, 0, sizeof(struct snd_usX2Y_hwdep_pcm_shm)); in snd_usX2Y_usbpcm_prepare()
514 usX2Y->hwdep_pcm_shm->playback_iso_start = -1; in snd_usX2Y_usbpcm_prepare()
517 usX2Y->hwdep_pcm_shm->captured_iso_frames) { in snd_usX2Y_usbpcm_prepare()
521 usX2Y->hwdep_pcm_shm->captured_iso_frames); in snd_usX2Y_usbpcm_prepare()
532 usX2Y->hwdep_pcm_shm->captured_iso_frames); in snd_usX2Y_usbpcm_prepare()
534 usX2Y->hwdep_pcm_shm->capture_iso_start = -1; in snd_usX2Y_usbpcm_prepare()
662 vaddr = (char*)((struct usX2Ydev *)area->vm_private_data)->hwdep_pcm_shm + offset; in snd_usX2Y_hwdep_pcm_vm_fault()
690 if (!usX2Y->hwdep_pcm_shm) { in snd_usX2Y_hwdep_pcm_mmap()
703 if (NULL != usX2Y->hwdep_pcm_shm) in snd_usX2Y_hwdep_pcm_private_free()
704 snd_free_pages(usX2Y->hwdep_pcm_shm, sizeof(struct snd_usX2Y_hwdep_pcm_shm)); in snd_usX2Y_hwdep_pcm_private_free()