Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/usb/usbtv/
H A Dusbtv-audio.c103 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()
/openbmc/linux/sound/usb/misc/
H A Dua101.c106 unsigned int frame_bytes; member
193 ua->playback.frame_bytes; in playback_urb_complete()
214 unsigned int frame_bytes, frames1; in copy_playback_data() local
218 frame_bytes = stream->frame_bytes; in copy_playback_data()
287 frames * ua->playback.frame_bytes; in playback_work()
318 unsigned int frame_bytes, frames1; in copy_capture_data() local
322 frame_bytes = stream->frame_bytes; in copy_capture_data()
363 stream->frame_bytes; in capture_urb_complete()
591 frames * ua->playback.frame_bytes; in start_usb_playback()
997 ua->capture.frame_bytes = in detect_usb_format()
[all …]
/openbmc/linux/drivers/most/
H A Dmost_snd.c184 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()
/openbmc/linux/sound/soc/google/
H A Dchv3-i2s.c234 u32 frame_bytes, buffer_bytes; in chv3_dma_pointer() local
237 frame_bytes = substream->runtime->frame_bits * 8; in chv3_dma_pointer()
245 idx_bytes = (idx_bytes - frame_bytes) & (buffer_bytes - 1); in chv3_dma_pointer()
/openbmc/qemu/hw/usb/
H A Dhcd-uhci.h59 uint32_t frame_bytes; member
H A Dhcd-uhci.c972 if (!s->completions_only && s->frame_bytes >= s->frame_bandwidth) { in uhci_process_frame()
1048 s->frame_bytes += (td.ctrl & 0x7ff) + 1; in uhci_process_frame()
1118 s->frame_bytes = 0; in uhci_frame_timer()
/openbmc/linux/drivers/dma/ti/
H A Domap-dma.c969 unsigned i, es, en, frame_bytes; in omap_dma_prep_slave_sg() local
1096 frame_bytes = es_bytes[es] * en; in omap_dma_prep_slave_sg()
1106 osg->fn = sg_dma_len(sgent) / frame_bytes; in omap_dma_prep_slave_sg()