/linux-4.4.14/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 = line6pcm->properties->bytes_per_frame; in line6_capture_copy() local 94 int frames = fsize / bytes_per_frame; in line6_capture_copy() 110 line6pcm->in.pos_done * bytes_per_frame, fbuf, in line6_capture_copy() 111 len * bytes_per_frame); in line6_capture_copy() 112 memcpy(runtime->dma_area, fbuf + len * bytes_per_frame, in line6_capture_copy() 113 (frames - len) * bytes_per_frame); in line6_capture_copy() 122 line6pcm->in.pos_done * bytes_per_frame, fbuf, fsize); in line6_capture_copy()
|
D | pcm.h | 88 int bytes_per_frame; member
|
D | podhd.c | 76 .bytes_per_frame = PODHD_BYTES_PER_FRAME
|
D | pod.c | 170 .bytes_per_frame = POD_BYTES_PER_FRAME
|
D | toneport.c | 117 .bytes_per_frame = 4
|
/linux-4.4.14/drivers/staging/most/hdm-dim2/ |
D | dim2_hal.c | 399 static inline bool check_bytes_per_frame(u32 bytes_per_frame) in check_bytes_per_frame() argument 403 if (bytes_per_frame <= 0) in check_bytes_per_frame() 406 if (bytes_per_frame > max_size) in check_bytes_per_frame() 438 static inline u16 norm_sync_buffer_size(u16 buf_size, u16 bytes_per_frame) in norm_sync_buffer_size() argument 442 u32 const unit = bytes_per_frame * (u16)FRAMES_PER_SUBBUFF; in norm_sync_buffer_size() 549 ch->bytes_per_frame = 0; in isoc_init() 553 static void sync_init(struct dim_channel *ch, u8 ch_addr, u16 bytes_per_frame) in sync_init() argument 560 ch->bytes_per_frame = bytes_per_frame; in sync_init() 571 ch->bytes_per_frame = 0; in channel_init() 595 if (ch->packet_length == 0 && ch->bytes_per_frame == 0 && in channel_start() [all …]
|
D | dim2_hal.h | 65 u16 bytes_per_frame; /*< Synchronous bytes per frame. */ member 80 u16 DIM_NormSyncBufferSize(u16 buf_size, u16 bytes_per_frame); 92 u16 bytes_per_frame);
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
D | intel_dsi_pll.c | 83 u32 bytes_per_line, bytes_per_frame; in dsi_rr_formula() local 120 bytes_per_frame = vsync * bytes_per_line + vbp * bytes_per_line + in dsi_rr_formula() 126 bytes_per_frame += DSI_EOTP_PACKET_SIZE; in dsi_rr_formula() 129 bytes_per_x_frames = num_frames * bytes_per_frame; in dsi_rr_formula()
|
/linux-4.4.14/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-4.4.14/sound/pci/mixart/ |
D | mixart_core.h | 399 u32 bytes_per_frame; member
|
/linux-4.4.14/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-4.4.14/sound/pci/asihpi/ |
D | hpi.h | 1310 u16 hpi_instream_ancillary_reset(u32 h_instream, u16 bytes_per_frame,
|
D | hpifunc.c | 1025 u16 hpi_instream_ancillary_reset(u32 h_instream, u16 bytes_per_frame, in hpi_instream_ancillary_reset() argument 1034 hm.u.d.u.data.format.attributes = bytes_per_frame; in hpi_instream_ancillary_reset()
|