Searched refs:frame_bytes (Results 1 - 4 of 4) sorted by relevance
/linux-4.1.27/drivers/media/usb/usbtv/ |
H A D | usbtv-audio.c | 113 size_t i, frame_bytes, chunk_length, buffer_pos, period_pos; usbtv_audio_urb_received() local 134 frame_bytes = runtime->frame_bits >> 3; usbtv_audio_urb_received() 135 chunk_length = USBTV_CHUNK / frame_bytes; usbtv_audio_urb_received() 146 frame_bytes; usbtv_audio_urb_received() 147 memcpy(runtime->dma_area + buffer_pos * frame_bytes, usbtv_audio_urb_received() 150 chunk_length * frame_bytes - cnt); usbtv_audio_urb_received() 152 memcpy(runtime->dma_area + buffer_pos * frame_bytes, usbtv_audio_urb_received() 153 urb_current, chunk_length * frame_bytes); usbtv_audio_urb_received()
|
/linux-4.1.27/sound/usb/misc/ |
H A D | ua101.c | 117 unsigned int frame_bytes; member in struct:ua101::ua101_stream 204 ua->playback.frame_bytes; playback_urb_complete() 225 unsigned int frame_bytes, frames1; copy_playback_data() local 229 frame_bytes = stream->frame_bytes; copy_playback_data() 230 source = runtime->dma_area + stream->buffer_pos * frame_bytes; copy_playback_data() 232 memcpy(urb->transfer_buffer, source, frames * frame_bytes); copy_playback_data() 236 memcpy(urb->transfer_buffer, source, frames1 * frame_bytes); copy_playback_data() 237 memcpy(urb->transfer_buffer + frames1 * frame_bytes, copy_playback_data() 238 runtime->dma_area, (frames - frames1) * frame_bytes); copy_playback_data() 298 frames * ua->playback.frame_bytes; playback_tasklet() 329 unsigned int frame_bytes, frames1; copy_capture_data() local 333 frame_bytes = stream->frame_bytes; copy_capture_data() 334 dest = runtime->dma_area + stream->buffer_pos * frame_bytes; copy_capture_data() 336 memcpy(dest, urb->transfer_buffer, frames * frame_bytes); copy_capture_data() 340 memcpy(dest, urb->transfer_buffer, frames1 * frame_bytes); copy_capture_data() 342 urb->transfer_buffer + frames1 * frame_bytes, copy_capture_data() 343 (frames - frames1) * frame_bytes); copy_capture_data() 374 stream->frame_bytes; capture_urb_complete() 602 frames * ua->playback.frame_bytes; start_usb_playback() 1029 ua->capture.frame_bytes = detect_usb_format() 1031 ua->playback.frame_bytes = detect_usb_format()
|
/linux-4.1.27/drivers/media/platform/ |
H A D | arv.c | 120 int frame_bytes, line_bytes; member in struct:ar 274 long ret = ar->frame_bytes; /* return read bytes */ ar_read() 377 pu = py + (ar->frame_bytes / 2); ar_read() 378 pv = pu + (ar->frame_bytes / 4); ar_read() 388 if (copy_to_user(buf, yuv, ar->frame_bytes)) { ar_read() 487 ar->frame_bytes = AR_FRAME_BYTES_VGA; ar_s_fmt_vid_cap() 495 ar->frame_bytes = AR_FRAME_BYTES_QVGA; ar_s_fmt_vid_cap() 782 ar->frame_bytes = AR_FRAME_BYTES_VGA; ar_init() 792 ar->frame_bytes = AR_FRAME_BYTES_QVGA; ar_init()
|
/linux-4.1.27/drivers/dma/ |
H A D | omap-dma.c | 766 unsigned i, j = 0, es, en, frame_bytes; omap_dma_prep_slave_sg() local 841 frame_bytes = es_bytes[es] * en; for_each_sg() 845 d->sg[j].fn = sg_dma_len(sgent) / frame_bytes; for_each_sg()
|
Completed in 146 milliseconds