Home
last modified time | relevance | path

Searched refs:frame_bytes (Results 1 – 3 of 3) sorted by relevance

/drivers/media/usb/usbtv/
Dusbtv-audio.c113 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()
/drivers/media/platform/
Darv.c120 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()
/drivers/dma/
Domap-dma.c766 unsigned i, j = 0, es, en, frame_bytes; in omap_dma_prep_slave_sg() local
841 frame_bytes = es_bytes[es] * en; in omap_dma_prep_slave_sg()
845 d->sg[j].fn = sg_dma_len(sgent) / frame_bytes; in omap_dma_prep_slave_sg()