Lines Matching defs:bytes

1270 	unsigned int stride, frames, bytes, oldptr;
1288 bytes = urb->iso_frame_desc[i].actual_length;
1290 unsigned int adj = min(subs->stream_offset_adj, bytes);
1292 bytes -= adj;
1295 frames = bytes / stride;
1297 bytes = frames * stride;
1298 if (bytes % (runtime->sample_bits >> 3) != 0) {
1299 int oldbytes = bytes;
1300 bytes = frames * stride;
1303 oldbytes, bytes);
1308 subs->hwptr_done += bytes;
1311 frames = (bytes + (oldptr % stride)) / stride;
1323 if (oldptr + bytes > subs->buffer_bytes) {
1327 memcpy(runtime->dma_area, cp + bytes1, bytes - bytes1);
1329 memcpy(runtime->dma_area + oldptr, cp, bytes);
1338 struct urb *urb, unsigned int bytes)
1342 ctx->queued += bytes;
1343 subs->inflight_bytes += bytes;
1344 subs->hwptr_done += bytes;
1350 struct urb *urb, unsigned int bytes)
1363 * normal PCM data endpoints. It requires stuffing of marker bytes
1365 * 2 additional bytes of actual payload. The whole frame is stored
1377 while (bytes--) {
1405 /* copy bit-reversed bytes onto transfer buffer */
1407 struct urb *urb, unsigned int bytes)
1414 for (i = 0; i < bytes; i++) {
1420 urb_ctx_queue_advance(subs, urb, bytes);
1424 int offset, int stride, unsigned int bytes)
1428 if (subs->hwptr_done + bytes > subs->buffer_bytes) {
1435 runtime->dma_area, bytes - bytes1);
1438 runtime->dma_area + subs->hwptr_done, bytes);
1441 urb_ctx_queue_advance(subs, urb, bytes);
1446 unsigned int bytes)
1466 bytes += urb->number_of_packets * sizeof(packet_length);
1467 return bytes;
1477 unsigned int frames, bytes;
1553 bytes = frames * stride;
1558 fill_playback_urb_dsd_dop(subs, urb, bytes);
1561 fill_playback_urb_dsd_bitrev(subs, urb, bytes);
1565 copy_to_urb(subs, urb, 0, stride, bytes);
1567 bytes = copy_to_urb_quirk(subs, urb, stride, bytes);
1568 /* bytes is now amount of outgoing data */
1590 urb->transfer_buffer_length = bytes;