Lines Matching refs:head
55 int head; in usx2y_usbpcm_urb_capt_retire() local
58 head = usx2y->hwdep_pcm_shm->captured_iso_head + 1; in usx2y_usbpcm_urb_capt_retire()
59 if (head >= ARRAY_SIZE(usx2y->hwdep_pcm_shm->captured_iso)) in usx2y_usbpcm_urb_capt_retire()
60 head = 0; in usx2y_usbpcm_urb_capt_retire()
61 usx2y->hwdep_pcm_shm->capture_iso_start = head; in usx2y_usbpcm_urb_capt_retire()
62 snd_printdd("cap start %i\n", head); in usx2y_usbpcm_urb_capt_retire()
145 int pack, head; in usx2y_usbpcm_urb_capt_iso_advance() local
151 head = shm->captured_iso_head + 1; in usx2y_usbpcm_urb_capt_iso_advance()
152 if (head >= ARRAY_SIZE(shm->captured_iso)) in usx2y_usbpcm_urb_capt_iso_advance()
153 head = 0; in usx2y_usbpcm_urb_capt_iso_advance()
154 shm->captured_iso[head].frame = urb->start_frame + pack; in usx2y_usbpcm_urb_capt_iso_advance()
155 shm->captured_iso[head].offset = desc->offset; in usx2y_usbpcm_urb_capt_iso_advance()
156 shm->captured_iso[head].length = desc->actual_length; in usx2y_usbpcm_urb_capt_iso_advance()
157 shm->captured_iso_head = head; in usx2y_usbpcm_urb_capt_iso_advance()