Lines Matching full:stride

1412 	unsigned int stride, frames, bytes, oldptr;  in retire_capture_urb()  local
1421 stride = runtime->frame_bits >> 3; in retire_capture_urb()
1437 frames = bytes / stride; in retire_capture_urb()
1439 bytes = frames * stride; in retire_capture_urb()
1442 bytes = frames * stride; in retire_capture_urb()
1451 if (subs->hwptr_done >= runtime->buffer_size * stride) in retire_capture_urb()
1452 subs->hwptr_done -= runtime->buffer_size * stride; in retire_capture_urb()
1453 frames = (bytes + (oldptr % stride)) / stride; in retire_capture_urb()
1470 if (oldptr + bytes > runtime->buffer_size * stride) { in retire_capture_urb()
1472 runtime->buffer_size * stride - oldptr; in retire_capture_urb()
1488 unsigned int stride = runtime->frame_bits >> 3; in fill_playback_urb_dsd_dop() local
1491 unsigned int wrap = runtime->buffer_size * stride; in fill_playback_urb_dsd_dop()
1537 if (subs->hwptr_done >= runtime->buffer_size * stride) in fill_playback_urb_dsd_dop()
1538 subs->hwptr_done -= runtime->buffer_size * stride; in fill_playback_urb_dsd_dop()
1542 int offset, int stride, unsigned int bytes) in copy_to_urb() argument
1546 if (subs->hwptr_done + bytes > runtime->buffer_size * stride) { in copy_to_urb()
1549 runtime->buffer_size * stride - subs->hwptr_done; in copy_to_urb()
1559 if (subs->hwptr_done >= runtime->buffer_size * stride) in copy_to_urb()
1560 subs->hwptr_done -= runtime->buffer_size * stride; in copy_to_urb()
1564 struct urb *urb, int stride, in copy_to_urb_quirk() argument
1582 stride, length); in copy_to_urb_quirk()
1596 int i, stride, period_elapsed = 0; in prepare_playback_urb() local
1599 stride = runtime->frame_bits >> 3; in prepare_playback_urb()
1614 urb->iso_frame_desc[i].offset = frames * ep->stride; in prepare_playback_urb()
1615 urb->iso_frame_desc[i].length = counts * ep->stride; in prepare_playback_urb()
1630 counts * ep->stride; in prepare_playback_urb()
1637 frames * ep->stride; in prepare_playback_urb()
1650 bytes = frames * ep->stride; in prepare_playback_urb()
1661 % (runtime->buffer_size * stride); in prepare_playback_urb()
1666 if (subs->hwptr_done >= runtime->buffer_size * stride) in prepare_playback_urb()
1667 subs->hwptr_done -= runtime->buffer_size * stride; in prepare_playback_urb()
1671 copy_to_urb(subs, urb, 0, stride, bytes); in prepare_playback_urb()
1673 bytes = copy_to_urb_quirk(subs, urb, stride, bytes); in prepare_playback_urb()
1710 int processed = urb->transfer_buffer_length / ep->stride; in retire_playback_urb()