Lines Matching refs:index
142 int index; in submit_audio_out_urb() local
155 index = find_first_zero_bit(&line6pcm->out.active_urbs, in submit_audio_out_urb()
158 if (index < 0 || index >= line6pcm->line6->iso_buffers) { in submit_audio_out_urb()
163 urb_out = line6pcm->out.urbs[index]; in submit_audio_out_urb()
199 index * LINE6_ISO_PACKETS * line6pcm->max_packet_size_out; in submit_audio_out_urb()
274 set_bit(index, &line6pcm->out.active_urbs); in submit_audio_out_urb()
277 "URB out #%d submission failed (%d)\n", index, ret); in submit_audio_out_urb()
304 int i, index, length = 0, shutdown = 0; in audio_out_callback() local
320 for (index = 0; index < line6pcm->line6->iso_buffers; index++) in audio_out_callback()
321 if (urb == line6pcm->out.urbs[index]) in audio_out_callback()
324 if (index >= line6pcm->line6->iso_buffers) in audio_out_callback()
342 clear_bit(index, &line6pcm->out.active_urbs); in audio_out_callback()
350 if (test_and_clear_bit(index, &line6pcm->out.unlink_urbs)) in audio_out_callback()