Home
last modified time | relevance | path

Searched refs:bytes_per_frame (Results 1 – 11 of 11) sorted by relevance

/linux/sound/usb/line6/
H A Dplayback.c22 int bytes_per_frame) in change_volume() argument
29 if (bytes_per_frame == 4) { in change_volume()
42 } else if (bytes_per_frame == 6) { in change_volume()
66 struct urb *urb_out, int bytes_per_frame) in create_impulse_test_signal() argument
68 int frames = urb_out->transfer_buffer_length / bytes_per_frame; in create_impulse_test_signal()
70 if (bytes_per_frame == 4) { in create_impulse_test_signal()
81 } else if (bytes_per_frame == 6) { in create_impulse_test_signal()
87 for (j = 0; j < bytes_per_frame / 2; ++j) in create_impulse_test_signal()
90 for (; j < bytes_per_frame; ++j) in create_impulse_test_signal()
93 pi += bytes_per_frame; in create_impulse_test_signal()
[all …]
H A Dcapture.c89 const int bytes_per_frame = in line6_capture_copy() local
92 int frames = fsize / bytes_per_frame; in line6_capture_copy()
108 line6pcm->in.pos_done * bytes_per_frame, fbuf, in line6_capture_copy()
109 len * bytes_per_frame); in line6_capture_copy()
110 memcpy(runtime->dma_area, fbuf + len * bytes_per_frame, in line6_capture_copy()
111 (frames - len) * bytes_per_frame); in line6_capture_copy()
120 line6pcm->in.pos_done * bytes_per_frame, fbuf, fsize); in line6_capture_copy()
/linux/drivers/staging/most/dim2/
H A Dhal.c458 static inline bool check_bytes_per_frame(u32 bytes_per_frame) in check_bytes_per_frame() argument
463 if (bytes_per_frame <= 0) in check_bytes_per_frame()
466 if (bytes_per_frame > max_size) in check_bytes_per_frame()
498 static inline u16 norm_sync_buffer_size(u16 buf_size, u16 bytes_per_frame) in norm_sync_buffer_size() argument
502 u32 const unit = bytes_per_frame << g.fcnt; in norm_sync_buffer_size()
605 ch->bytes_per_frame = 0; in isoc_init()
609 static void sync_init(struct dim_channel *ch, u8 ch_addr, u16 bytes_per_frame) in sync_init() argument
616 ch->bytes_per_frame = bytes_per_frame; in sync_init()
627 ch->bytes_per_frame = 0; in channel_init()
651 if (ch->packet_length == 0 && ch->bytes_per_frame == 0 && in channel_start()
[all …]
H A Dhal.h53 u16 bytes_per_frame; /*< Synchronous bytes per frame. */ member
68 u16 dim_norm_sync_buffer_size(u16 buf_size, u16 bytes_per_frame);
80 u16 bytes_per_frame);
/linux/sound/soc/codecs/
H A Drt5677-spi.c215 size_t bytes_per_frame = frames_to_bytes(runtime, 1); in rt5677_spi_copy_block() local
219 if (begin > end || runtime->dma_bytes < 2 * bytes_per_frame) { in rt5677_spi_copy_block()
233 if (end - begin > runtime->dma_bytes - bytes_per_frame) in rt5677_spi_copy_block()
234 begin = end - (runtime->dma_bytes - bytes_per_frame); in rt5677_spi_copy_block()
/linux/sound/usb/6fire/
H A Dpcm.c205 int bytes_per_frame = alsa_rt->channels << 2; in usb6fire_pcm_capture() local
225 memcpy(dest, src, bytes_per_frame); in usb6fire_pcm_capture()
252 int bytes_per_frame = alsa_rt->channels << 2; in usb6fire_pcm_playback() local
273 memcpy(dest, src, bytes_per_frame); in usb6fire_pcm_playback()
/linux/sound/pci/mixart/
H A Dmixart_core.h394 u32 bytes_per_frame; member
/linux/sound/pci/lx6464es/
H A Dlx6464es.c414 const u32 bytes_per_frame = channels * 3; in lx_trigger_start() local
417 const u32 period_bytes = period_size * bytes_per_frame; in lx_trigger_start()
H A Dlx_core.c1019 const u32 bytes_per_frame = channels * 3; in lx_interrupt_request_new_buffer() local
1021 const u32 period_bytes = period_size * bytes_per_frame; in lx_interrupt_request_new_buffer()
/linux/sound/pci/asihpi/
H A Dhpi.h1286 u16 hpi_instream_ancillary_reset(u32 h_instream, u16 bytes_per_frame,
H A Dhpifunc.c1026 u16 hpi_instream_ancillary_reset(u32 h_instream, u16 bytes_per_frame, in hpi_instream_ancillary_reset() argument
1035 hm.u.d.u.data.format.attributes = bytes_per_frame; in hpi_instream_ancillary_reset()