Lines Matching refs:bytes

1269 	unsigned int stride, frames, bytes, oldptr;  in retire_capture_urb()  local
1287 bytes = urb->iso_frame_desc[i].actual_length; in retire_capture_urb()
1288 frames = bytes / stride; in retire_capture_urb()
1290 bytes = frames * stride; in retire_capture_urb()
1291 if (bytes % (runtime->sample_bits >> 3) != 0) { in retire_capture_urb()
1292 int oldbytes = bytes; in retire_capture_urb()
1293 bytes = frames * stride; in retire_capture_urb()
1296 oldbytes, bytes); in retire_capture_urb()
1301 subs->hwptr_done += bytes; in retire_capture_urb()
1304 frames = (bytes + (oldptr % stride)) / stride; in retire_capture_urb()
1321 if (oldptr + bytes > runtime->buffer_size * stride) { in retire_capture_urb()
1325 memcpy(runtime->dma_area, cp + bytes1, bytes - bytes1); in retire_capture_urb()
1327 memcpy(runtime->dma_area + oldptr, cp, bytes); in retire_capture_urb()
1336 struct urb *urb, unsigned int bytes) in fill_playback_urb_dsd_dop() argument
1363 while (bytes--) { in fill_playback_urb_dsd_dop()
1393 int offset, int stride, unsigned int bytes) in copy_to_urb() argument
1397 if (subs->hwptr_done + bytes > runtime->buffer_size * stride) { in copy_to_urb()
1404 runtime->dma_area, bytes - bytes1); in copy_to_urb()
1407 runtime->dma_area + subs->hwptr_done, bytes); in copy_to_urb()
1409 subs->hwptr_done += bytes; in copy_to_urb()
1416 unsigned int bytes) in copy_to_urb_quirk() argument
1436 bytes += urb->number_of_packets * sizeof(packet_length); in copy_to_urb_quirk()
1437 return bytes; in copy_to_urb_quirk()
1446 unsigned int counts, frames, bytes; in prepare_playback_urb() local
1499 bytes = frames * ep->stride; in prepare_playback_urb()
1503 fill_playback_urb_dsd_dop(subs, urb, bytes); in prepare_playback_urb()
1508 for (i = 0; i < bytes; i++) { in prepare_playback_urb()
1514 subs->hwptr_done += bytes; in prepare_playback_urb()
1520 copy_to_urb(subs, urb, 0, stride, bytes); in prepare_playback_urb()
1522 bytes = copy_to_urb_quirk(subs, urb, stride, bytes); in prepare_playback_urb()
1544 urb->transfer_buffer_length = bytes; in prepare_playback_urb()