Lines Matching refs:head
69 int head = usX2Y->hwdep_pcm_shm->captured_iso_head + 1; in usX2Y_usbpcm_urb_capt_retire() local
70 if (head >= ARRAY_SIZE(usX2Y->hwdep_pcm_shm->captured_iso)) in usX2Y_usbpcm_urb_capt_retire()
71 head = 0; in usX2Y_usbpcm_urb_capt_retire()
72 usX2Y->hwdep_pcm_shm->capture_iso_start = head; in usX2Y_usbpcm_urb_capt_retire()
73 snd_printdd("cap start %i\n", head); in usX2Y_usbpcm_urb_capt_retire()
157 int head = shm->captured_iso_head + 1; in usX2Y_usbpcm_urb_capt_iso_advance() local
158 if (head >= ARRAY_SIZE(shm->captured_iso)) in usX2Y_usbpcm_urb_capt_iso_advance()
159 head = 0; in usX2Y_usbpcm_urb_capt_iso_advance()
160 shm->captured_iso[head].frame = urb->start_frame + pack; in usX2Y_usbpcm_urb_capt_iso_advance()
161 shm->captured_iso[head].offset = desc->offset; in usX2Y_usbpcm_urb_capt_iso_advance()
162 shm->captured_iso[head].length = desc->actual_length; in usX2Y_usbpcm_urb_capt_iso_advance()
163 shm->captured_iso_head = head; in usX2Y_usbpcm_urb_capt_iso_advance()