Searched refs:bytes_per_frame (Results 1 – 10 of 10) sorted by relevance
/Linux-v4.19/sound/usb/line6/ |
D | playback.c | 26 int bytes_per_frame) in change_volume() argument 33 if (bytes_per_frame == 4) { in change_volume() 46 } else if (bytes_per_frame == 6) { in change_volume() 70 struct urb *urb_out, int bytes_per_frame) in create_impulse_test_signal() argument 72 int frames = urb_out->transfer_buffer_length / bytes_per_frame; in create_impulse_test_signal() 74 if (bytes_per_frame == 4) { in create_impulse_test_signal() 85 } else if (bytes_per_frame == 6) { in create_impulse_test_signal() 91 for (j = 0; j < bytes_per_frame / 2; ++j) in create_impulse_test_signal() 94 for (; j < bytes_per_frame; ++j) in create_impulse_test_signal() 97 pi += bytes_per_frame; in create_impulse_test_signal() [all …]
|
D | capture.c | 93 const int bytes_per_frame = in line6_capture_copy() local 96 int frames = fsize / bytes_per_frame; in line6_capture_copy() 112 line6pcm->in.pos_done * bytes_per_frame, fbuf, in line6_capture_copy() 113 len * bytes_per_frame); in line6_capture_copy() 114 memcpy(runtime->dma_area, fbuf + len * bytes_per_frame, in line6_capture_copy() 115 (frames - len) * bytes_per_frame); in line6_capture_copy() 124 line6pcm->in.pos_done * bytes_per_frame, fbuf, fsize); in line6_capture_copy()
|
/Linux-v4.19/drivers/staging/most/dim2/ |
D | hal.c | 460 static inline bool check_bytes_per_frame(u32 bytes_per_frame) in check_bytes_per_frame() argument 465 if (bytes_per_frame <= 0) in check_bytes_per_frame() 468 if (bytes_per_frame > max_size) in check_bytes_per_frame() 500 static inline u16 norm_sync_buffer_size(u16 buf_size, u16 bytes_per_frame) in norm_sync_buffer_size() argument 504 u32 const unit = bytes_per_frame << g.fcnt; in norm_sync_buffer_size() 608 ch->bytes_per_frame = 0; in isoc_init() 612 static void sync_init(struct dim_channel *ch, u8 ch_addr, u16 bytes_per_frame) in sync_init() argument 619 ch->bytes_per_frame = bytes_per_frame; in sync_init() 630 ch->bytes_per_frame = 0; in channel_init() 654 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-v4.19/sound/usb/6fire/ |
D | pcm.c | 209 int bytes_per_frame = alsa_rt->channels << 2; in usb6fire_pcm_capture() local 229 memcpy(dest, src, bytes_per_frame); in usb6fire_pcm_capture() 256 int bytes_per_frame = alsa_rt->channels << 2; in usb6fire_pcm_playback() local 277 memcpy(dest, src, bytes_per_frame); in usb6fire_pcm_playback()
|
/Linux-v4.19/sound/pci/mixart/ |
D | mixart_core.h | 399 u32 bytes_per_frame; member
|
/Linux-v4.19/sound/pci/lx6464es/ |
D | lx6464es.c | 432 const u32 bytes_per_frame = channels * 3; in lx_trigger_start() local 435 const u32 period_bytes = period_size * bytes_per_frame; in lx_trigger_start()
|
D | lx_core.c | 1044 const u32 bytes_per_frame = channels * 3; in lx_interrupt_request_new_buffer() local 1046 const u32 period_bytes = period_size * bytes_per_frame; in lx_interrupt_request_new_buffer()
|
/Linux-v4.19/sound/pci/asihpi/ |
D | hpi.h | 1310 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()
|