Searched refs:bytes_per_frame (Results 1 – 11 of 11) sorted by relevance
/Linux-v6.1/sound/usb/line6/ |
D | playback.c | 22 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 …]
|
D | capture.c | 89 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-v6.1/drivers/staging/most/dim2/ |
D | hal.c | 459 static inline bool check_bytes_per_frame(u32 bytes_per_frame) in check_bytes_per_frame() argument 464 if (bytes_per_frame <= 0) in check_bytes_per_frame() 467 if (bytes_per_frame > max_size) in check_bytes_per_frame() 499 static inline u16 norm_sync_buffer_size(u16 buf_size, u16 bytes_per_frame) in norm_sync_buffer_size() argument 503 u32 const unit = bytes_per_frame << g.fcnt; in norm_sync_buffer_size() 606 ch->bytes_per_frame = 0; in isoc_init() 610 static void sync_init(struct dim_channel *ch, u8 ch_addr, u16 bytes_per_frame) in sync_init() argument 617 ch->bytes_per_frame = bytes_per_frame; in sync_init() 628 ch->bytes_per_frame = 0; in channel_init() 652 if (ch->packet_length == 0 && ch->bytes_per_frame == 0 && in channel_start() [all …]
|
D | hal.h | 53 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-v6.1/sound/soc/codecs/ |
D | rt5677-spi.c | 215 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-v6.1/sound/usb/6fire/ |
D | pcm.c | 205 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-v6.1/sound/pci/mixart/ |
D | mixart_core.h | 394 u32 bytes_per_frame; member
|
/Linux-v6.1/sound/pci/lx6464es/ |
D | lx6464es.c | 414 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()
|
D | lx_core.c | 1020 const u32 bytes_per_frame = channels * 3; in lx_interrupt_request_new_buffer() local 1022 const u32 period_bytes = period_size * bytes_per_frame; in lx_interrupt_request_new_buffer()
|
/Linux-v6.1/sound/pci/asihpi/ |
D | hpi.h | 1299 u16 hpi_instream_ancillary_reset(u32 h_instream, u16 bytes_per_frame,
|
D | hpifunc.c | 1026 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()
|