Searched refs:frames1 (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/sound/core/oss/ |
H A D | rate.c | 199 snd_pcm_sframes_t frames1 = frames, res1 = data->old_dst_frames; in rate_src_frames() local 200 while (data->old_src_frames < frames1) { in rate_src_frames() 201 frames1 >>= 1; in rate_src_frames() 204 while (data->old_src_frames > frames1) { in rate_src_frames() 205 frames1 <<= 1; in rate_src_frames() 208 if (data->old_src_frames == frames1) in rate_src_frames() 233 while (data->old_dst_frames < frames1) { in rate_dst_frames() 234 frames1 >>= 1; in rate_dst_frames() 237 while (data->old_dst_frames > frames1) { in rate_dst_frames() 238 frames1 <<= 1; in rate_dst_frames() [all …]
|
H A D | mulaw.c | 180 snd_pcm_uframes_t frames1; in mulaw_decode() local 192 frames1 = frames; in mulaw_decode() 193 while (frames1-- > 0) { in mulaw_decode() 226 snd_pcm_uframes_t frames1; in mulaw_encode() local 238 frames1 = frames; in mulaw_encode() 239 while (frames1-- > 0) { in mulaw_encode()
|
H A D | linear.c | 67 snd_pcm_uframes_t frames1; in convert() local 79 frames1 = frames; in convert() 80 while (frames1-- > 0) { in convert()
|
H A D | pcm_plugin.c | 610 snd_pcm_sframes_t frames1 = frames; in snd_pcm_plug_write_transfer() local 612 frames1 = plugin->dst_frames(plugin, frames); in snd_pcm_plug_write_transfer() 613 if (frames1 <= 0) in snd_pcm_plug_write_transfer() 614 return frames1; in snd_pcm_plug_write_transfer() 616 err = next->client_channels(next, frames1, &dst_channels); in snd_pcm_plug_write_transfer() 619 if (err != frames1) { in snd_pcm_plug_write_transfer() 622 frames = plugin->src_frames(plugin, frames1); in snd_pcm_plug_write_transfer()
|
H A D | pcm_oss.c | 1383 if (frames1 < 0) in snd_pcm_oss_write2() 1384 return frames1; in snd_pcm_oss_write2() 1386 if (frames1 <= 0) in snd_pcm_oss_write2() 1387 return frames1; in snd_pcm_oss_write2() 1394 if (frames1 <= 0) in snd_pcm_oss_write2() 1395 return frames1; in snd_pcm_oss_write2() 1491 if (frames1 < 0) in snd_pcm_oss_read2() 1492 return frames1; in snd_pcm_oss_read2() 1494 if (frames1 <= 0) in snd_pcm_oss_read2() 1495 return frames1; in snd_pcm_oss_read2() [all …]
|
/openbmc/linux/sound/usb/misc/ |
H A D | ua101.c | 214 unsigned int frame_bytes, frames1; in copy_playback_data() local 224 frames1 = runtime->buffer_size - stream->buffer_pos; in copy_playback_data() 225 memcpy(urb->transfer_buffer, source, frames1 * frame_bytes); in copy_playback_data() 226 memcpy(urb->transfer_buffer + frames1 * frame_bytes, in copy_playback_data() 227 runtime->dma_area, (frames - frames1) * frame_bytes); in copy_playback_data() 318 unsigned int frame_bytes, frames1; in copy_capture_data() local 328 frames1 = runtime->buffer_size - stream->buffer_pos; in copy_capture_data() 329 memcpy(dest, urb->transfer_buffer, frames1 * frame_bytes); in copy_capture_data() 331 urb->transfer_buffer + frames1 * frame_bytes, in copy_capture_data() 332 (frames - frames1) * frame_bytes); in copy_capture_data()
|
/openbmc/linux/drivers/net/bonding/ |
H A D | bond_main.c | 5572 struct xdp_frame *frames1[] = {frame}; in bond_xdp_xmit() local 5584 err = slave_dev->netdev_ops->ndo_xdp_xmit(slave_dev, 1, frames1, flags); in bond_xdp_xmit()
|