Searched refs:frame_bytes (Results 1 – 5 of 5) sorted by relevance
/linux-4.4.14/drivers/media/usb/usbtv/ |
D | usbtv-audio.c | 113 size_t i, frame_bytes, chunk_length, buffer_pos, period_pos; in usbtv_audio_urb_received() local 134 frame_bytes = runtime->frame_bits >> 3; in usbtv_audio_urb_received() 135 chunk_length = USBTV_CHUNK / frame_bytes; in usbtv_audio_urb_received() 146 frame_bytes; in usbtv_audio_urb_received() 147 memcpy(runtime->dma_area + buffer_pos * frame_bytes, in usbtv_audio_urb_received() 150 chunk_length * frame_bytes - cnt); in usbtv_audio_urb_received() 152 memcpy(runtime->dma_area + buffer_pos * frame_bytes, in usbtv_audio_urb_received() 153 urb_current, chunk_length * frame_bytes); in usbtv_audio_urb_received()
|
/linux-4.4.14/sound/usb/misc/ |
D | ua101.c | 117 unsigned int frame_bytes; member 204 ua->playback.frame_bytes; in playback_urb_complete() 225 unsigned int frame_bytes, frames1; in copy_playback_data() local 229 frame_bytes = stream->frame_bytes; in copy_playback_data() 230 source = runtime->dma_area + stream->buffer_pos * frame_bytes; in copy_playback_data() 232 memcpy(urb->transfer_buffer, source, frames * frame_bytes); in copy_playback_data() 236 memcpy(urb->transfer_buffer, source, frames1 * frame_bytes); in copy_playback_data() 237 memcpy(urb->transfer_buffer + frames1 * frame_bytes, in copy_playback_data() 238 runtime->dma_area, (frames - frames1) * frame_bytes); in copy_playback_data() 298 frames * ua->playback.frame_bytes; in playback_tasklet() [all …]
|
/linux-4.4.14/drivers/media/platform/ |
D | arv.c | 120 int frame_bytes, line_bytes; member 274 long ret = ar->frame_bytes; /* return read bytes */ in ar_read() 377 pu = py + (ar->frame_bytes / 2); in ar_read() 378 pv = pu + (ar->frame_bytes / 4); in ar_read() 388 if (copy_to_user(buf, yuv, ar->frame_bytes)) { in ar_read() 487 ar->frame_bytes = AR_FRAME_BYTES_VGA; in ar_s_fmt_vid_cap() 495 ar->frame_bytes = AR_FRAME_BYTES_QVGA; in ar_s_fmt_vid_cap() 782 ar->frame_bytes = AR_FRAME_BYTES_VGA; in ar_init() 792 ar->frame_bytes = AR_FRAME_BYTES_QVGA; in ar_init()
|
/linux-4.4.14/drivers/staging/most/aim-sound/ |
D | sound.c | 186 unsigned int const frame_bytes = channel->cfg->subbuffer_size; in copy_data() local 192 frames = mbo->processed_length / frame_bytes; in copy_data() 194 frames = mbo->buffer_length / frame_bytes; in copy_data() 197 channel->copy_fn(runtime->dma_area + channel->buffer_pos * frame_bytes, in copy_data() 199 fr0 * frame_bytes); in copy_data() 204 mbo->virt_address + fr0 * frame_bytes, in copy_data() 205 (frames - fr0) * frame_bytes); in copy_data()
|
/linux-4.4.14/drivers/dma/ |
D | omap-dma.c | 771 unsigned i, j = 0, es, en, frame_bytes; in omap_dma_prep_slave_sg() local 846 frame_bytes = es_bytes[es] * en; in omap_dma_prep_slave_sg() 850 d->sg[j].fn = sg_dma_len(sgent) / frame_bytes; in omap_dma_prep_slave_sg()
|