Searched refs:frame_bytes (Results 1 – 3 of 3) sorted by relevance
| /drivers/media/usb/usbtv/ |
| A D | usbtv-audio.c | 103 size_t i, frame_bytes, chunk_length, buffer_pos, period_pos; in usbtv_audio_urb_received() local 125 frame_bytes = runtime->frame_bits >> 3; in usbtv_audio_urb_received() 126 chunk_length = USBTV_CHUNK / frame_bytes; in usbtv_audio_urb_received() 137 frame_bytes; in usbtv_audio_urb_received() 138 memcpy(runtime->dma_area + buffer_pos * frame_bytes, in usbtv_audio_urb_received() 141 chunk_length * frame_bytes - cnt); in usbtv_audio_urb_received() 143 memcpy(runtime->dma_area + buffer_pos * frame_bytes, in usbtv_audio_urb_received() 144 urb_current, chunk_length * frame_bytes); in usbtv_audio_urb_received()
|
| /drivers/most/ |
| A D | most_snd.c | 184 unsigned int const frame_bytes = channel->cfg->subbuffer_size; in copy_data() local 190 frames = mbo->processed_length / frame_bytes; in copy_data() 192 frames = mbo->buffer_length / frame_bytes; in copy_data() 195 channel->copy_fn(runtime->dma_area + channel->buffer_pos * frame_bytes, in copy_data() 197 fr0 * frame_bytes); in copy_data() 202 mbo->virt_address + fr0 * frame_bytes, in copy_data() 203 (frames - fr0) * frame_bytes); in copy_data()
|
| /drivers/dma/ti/ |
| A D | omap-dma.c | 969 unsigned i, es, en, frame_bytes; in omap_dma_prep_slave_sg() local 1097 frame_bytes = es_bytes[es] * en; in omap_dma_prep_slave_sg() 1107 osg->fn = sg_dma_len(sgent) / frame_bytes; in omap_dma_prep_slave_sg()
|
Completed in 13 milliseconds