| /OK3568_Linux_fs/kernel/sound/core/oss/ |
| H A D | pcm_plugin.h | 28 snd_pcm_uframes_t frames; /* allocated frames */ 47 snd_pcm_sframes_t (*src_frames)(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t dst_frames); 48 snd_pcm_sframes_t (*dst_frames)(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t src_frames); 50 snd_pcm_uframes_t frames, 55 snd_pcm_uframes_t frames); 65 snd_pcm_uframes_t buf_frames; 78 int snd_pcm_plug_alloc(struct snd_pcm_substream *plug, snd_pcm_uframes_t frames); 79 snd_pcm_sframes_t snd_pcm_plug_client_size(struct snd_pcm_substream *handle, snd_pcm_uframes_t drv_… 80 snd_pcm_sframes_t snd_pcm_plug_slave_size(struct snd_pcm_substream *handle, snd_pcm_uframes_t clt_s… 120 snd_pcm_uframes_t size); [all …]
|
| H A D | mulaw.c | 144 snd_pcm_uframes_t frames); 171 snd_pcm_uframes_t frames) in mulaw_decode() 180 snd_pcm_uframes_t frames1; in mulaw_decode() 217 snd_pcm_uframes_t frames) in mulaw_encode() 226 snd_pcm_uframes_t frames1; in mulaw_encode() 251 snd_pcm_uframes_t frames) in mulaw_transfer()
|
| H A D | route.c | 28 snd_pcm_uframes_t frames, snd_pcm_format_t format) in zero_areas() 41 snd_pcm_uframes_t frames, snd_pcm_format_t format) in copy_area() 50 snd_pcm_uframes_t frames) in route_transfer()
|
| H A D | io.c | 40 snd_pcm_uframes_t frames) in io_playback_transfer() 66 snd_pcm_uframes_t frames) in io_capture_transfer() 91 snd_pcm_uframes_t frames, in io_src_channels()
|
| H A D | pcm_plugin.c | 49 static int snd_pcm_plugin_alloc(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t frames) in snd_pcm_plugin_alloc() 107 int snd_pcm_plug_alloc(struct snd_pcm_substream *plug, snd_pcm_uframes_t frames) in snd_pcm_plug_alloc() 142 snd_pcm_uframes_t frames, in snd_pcm_plugin_client_channels() 246 snd_pcm_sframes_t snd_pcm_plug_client_size(struct snd_pcm_substream *plug, snd_pcm_uframes_t drv_fr… in snd_pcm_plug_client_size() 261 snd_pcm_sframes_t snd_pcm_plug_slave_size(struct snd_pcm_substream *plug, snd_pcm_uframes_t clt_fra… in snd_pcm_plug_slave_size() 558 snd_pcm_uframes_t count, in snd_pcm_plug_client_channels_buf() 595 …truct snd_pcm_substream *plug, struct snd_pcm_plugin_channel *src_channels, snd_pcm_uframes_t size) in snd_pcm_plug_write_transfer() 635 …snd_pcm_substream *plug, struct snd_pcm_plugin_channel *dst_channels_final, snd_pcm_uframes_t size) in snd_pcm_plug_read_transfer()
|
| H A D | linear.c | 58 snd_pcm_uframes_t frames) in convert() 67 snd_pcm_uframes_t frames1; in convert() 91 snd_pcm_uframes_t frames) in linear_transfer()
|
| H A D | rate.c | 183 static snd_pcm_sframes_t rate_src_frames(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t frames) in rate_src_frames() 216 static snd_pcm_sframes_t rate_dst_frames(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t frames) in rate_dst_frames() 252 snd_pcm_uframes_t frames) in rate_transfer() 254 snd_pcm_uframes_t dst_frames; in rate_transfer()
|
| /OK3568_Linux_fs/kernel/sound/core/ |
| H A D | pcm_trace.h | 12 TP_PROTO(struct snd_pcm_substream *substream, snd_pcm_uframes_t pos, bool irq), 20 __field( snd_pcm_uframes_t, pos ) 21 __field( snd_pcm_uframes_t, period_size ) 22 __field( snd_pcm_uframes_t, buffer_size ) 23 __field( snd_pcm_uframes_t, old_hw_ptr ) 24 __field( snd_pcm_uframes_t, hw_ptr_base ) 58 __field( snd_pcm_uframes_t, period_size ) 59 __field( snd_pcm_uframes_t, buffer_size ) 60 __field( snd_pcm_uframes_t, old_hw_ptr ) 61 __field( snd_pcm_uframes_t, hw_ptr_base ) [all …]
|
| H A D | pcm_local.h | 27 snd_pcm_uframes_t appl_ptr); 33 snd_pcm_uframes_t new_hw_ptr); 35 static inline snd_pcm_uframes_t 44 static inline snd_pcm_uframes_t
|
| H A D | pcm_lib.c | 35 snd_pcm_uframes_t off, snd_pcm_uframes_t frames); 46 void snd_pcm_playback_silence(struct snd_pcm_substream *substream, snd_pcm_uframes_t new_hw_ptr) in snd_pcm_playback_silence() 49 snd_pcm_uframes_t frames, ofs, transfer; in snd_pcm_playback_silence() 54 snd_pcm_uframes_t appl_ptr = READ_ONCE(runtime->control->appl_ptr); in snd_pcm_playback_silence() 59 if ((snd_pcm_uframes_t)n < runtime->silence_filled) in snd_pcm_playback_silence() 184 snd_pcm_uframes_t avail; in snd_pcm_update_state() 262 snd_pcm_uframes_t pos; in snd_pcm_update_hw_ptr0() 263 snd_pcm_uframes_t old_hw_ptr, new_hw_ptr, hw_base; in snd_pcm_update_hw_ptr0() 450 delta -= (snd_pcm_uframes_t)delta % runtime->period_size; in snd_pcm_update_hw_ptr0() 1827 snd_pcm_uframes_t *availp) in wait_for_avail() [all …]
|
| /OK3568_Linux_fs/kernel/include/sound/ |
| H A D | pcm.h | 64 snd_pcm_uframes_t (*pointer)(struct snd_pcm_substream *substream); 106 #define SNDRV_PCM_POS_XRUN ((snd_pcm_uframes_t)-1) 350 snd_pcm_uframes_t avail_max; 351 snd_pcm_uframes_t hw_ptr_base; /* Position at buffer restart */ 352 snd_pcm_uframes_t hw_ptr_interrupt; /* Position at interrupt time */ 364 snd_pcm_uframes_t period_size; /* period size */ 366 snd_pcm_uframes_t buffer_size; /* buffer size */ 367 snd_pcm_uframes_t min_align; /* Min alignment for the format */ 379 snd_pcm_uframes_t start_threshold; 380 snd_pcm_uframes_t stop_threshold; [all …]
|
| H A D | pcm-indirect.h | 24 snd_pcm_uframes_t appl_ptr; /* Last seen appl_ptr */ 39 snd_pcm_uframes_t appl_ptr = runtime->control->appl_ptr; in snd_pcm_indirect_playback_transfer() 81 static inline snd_pcm_uframes_t 108 snd_pcm_uframes_t appl_ptr = runtime->control->appl_ptr; in snd_pcm_indirect_capture_transfer() 149 static inline snd_pcm_uframes_t
|
| H A D | pxa2xx-lib.h | 19 extern snd_pcm_uframes_t pxa2xx_pcm_pointer(struct snd_pcm_substream *substream); 44 extern snd_pcm_uframes_t
|
| H A D | dmaengine_pcm.h | 31 snd_pcm_uframes_t snd_dmaengine_pcm_pointer(struct snd_pcm_substream *substream); 32 snd_pcm_uframes_t snd_dmaengine_pcm_pointer_no_residue(struct snd_pcm_substream *substream);
|
| /OK3568_Linux_fs/kernel/tools/include/uapi/sound/ |
| H A D | asound.h | 161 typedef unsigned long snd_pcm_uframes_t; typedef 423 snd_pcm_uframes_t fifo_size; /* R: chip FIFO size in frames */ 437 snd_pcm_uframes_t avail_min; /* min avail frames for wakeup */ 438 snd_pcm_uframes_t xfer_align; /* obsolete: xfer size need to be a multiple */ 439 snd_pcm_uframes_t start_threshold; /* min hw_avail frames for automatic start */ 440 snd_pcm_uframes_t stop_threshold; /* min avail frames for automatic stop */ 441 snd_pcm_uframes_t silence_threshold; /* min distance from noise for silence filling */ 442 snd_pcm_uframes_t silence_size; /* silence block size */ 443 snd_pcm_uframes_t boundary; /* pointers wrap point */ 481 snd_pcm_uframes_t appl_ptr; /* appl ptr */ [all …]
|
| /OK3568_Linux_fs/kernel/include/uapi/sound/ |
| H A D | asound.h | 161 typedef unsigned long snd_pcm_uframes_t; typedef 423 snd_pcm_uframes_t fifo_size; /* R: chip FIFO size in frames */ 437 snd_pcm_uframes_t avail_min; /* min avail frames for wakeup */ 438 snd_pcm_uframes_t xfer_align; /* obsolete: xfer size need to be a multiple */ 439 snd_pcm_uframes_t start_threshold; /* min hw_avail frames for automatic start */ 440 snd_pcm_uframes_t stop_threshold; /* min avail frames for automatic stop */ 441 snd_pcm_uframes_t silence_threshold; /* min distance from noise for silence filling */ 442 snd_pcm_uframes_t silence_size; /* silence block size */ 443 snd_pcm_uframes_t boundary; /* pointers wrap point */ 481 snd_pcm_uframes_t appl_ptr; /* appl ptr */ [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/sound/ |
| H A D | asound.h | 156 typedef unsigned long snd_pcm_uframes_t; typedef 407 snd_pcm_uframes_t fifo_size; /* R: chip FIFO size in frames */ 421 snd_pcm_uframes_t avail_min; /* min avail frames for wakeup */ 422 snd_pcm_uframes_t xfer_align; /* obsolete: xfer size need to be a multiple */ 423 snd_pcm_uframes_t start_threshold; /* min hw_avail frames for automatic start */ 424 snd_pcm_uframes_t stop_threshold; /* min avail frames for automatic stop */ 425 snd_pcm_uframes_t silence_threshold; /* min distance from noise for silence filling */ 426 snd_pcm_uframes_t silence_size; /* silence block size */ 427 snd_pcm_uframes_t boundary; /* pointers wrap point */ 460 snd_pcm_uframes_t appl_ptr; /* appl ptr */ [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/sound/ |
| H A D | asound.h | 156 typedef unsigned long snd_pcm_uframes_t; typedef 407 snd_pcm_uframes_t fifo_size; /* R: chip FIFO size in frames */ 421 snd_pcm_uframes_t avail_min; /* min avail frames for wakeup */ 422 snd_pcm_uframes_t xfer_align; /* obsolete: xfer size need to be a multiple */ 423 snd_pcm_uframes_t start_threshold; /* min hw_avail frames for automatic start */ 424 snd_pcm_uframes_t stop_threshold; /* min avail frames for automatic stop */ 425 snd_pcm_uframes_t silence_threshold; /* min distance from noise for silence filling */ 426 snd_pcm_uframes_t silence_size; /* silence block size */ 427 snd_pcm_uframes_t boundary; /* pointers wrap point */ 460 snd_pcm_uframes_t appl_ptr; /* appl ptr */ [all …]
|
| /OK3568_Linux_fs/kernel/sound/usb/line6/ |
| H A D | pcm.h | 98 snd_pcm_uframes_t pos; 115 snd_pcm_uframes_t pos_done; 189 extern snd_pcm_uframes_t snd_line6_pointer(struct snd_pcm_substream *substream);
|
| /OK3568_Linux_fs/kernel/sound/usb/6fire/ |
| H A D | pcm.h | 42 snd_pcm_uframes_t dma_off; /* current position in alsa dma_area */ 43 snd_pcm_uframes_t period_off; /* current position in current period */
|
| /OK3568_Linux_fs/kernel/sound/usb/hiface/ |
| H A D | pcm.c | 37 snd_pcm_uframes_t dma_off; /* current position in alsa dma_area */ 38 snd_pcm_uframes_t period_off; /* current position in current period */ 482 static snd_pcm_uframes_t hiface_pcm_pointer(struct snd_pcm_substream *alsa_sub) in hiface_pcm_pointer() 487 snd_pcm_uframes_t dma_offset; in hiface_pcm_pointer()
|
| /OK3568_Linux_fs/kernel/sound/soc/rockchip/ |
| H A D | rockchip_dlp.c | 100 snd_pcm_uframes_t buf_sz; 101 snd_pcm_uframes_t period_sz; 102 snd_pcm_uframes_t hw_ptr; 548 static snd_pcm_uframes_t dmaengine_dlp_pointer( in dmaengine_dlp_pointer() 620 snd_pcm_uframes_t a = 0, b = 0, fifo_a = 0, fifo_b = 0; in dmaengine_dlp_setup() 672 snd_pcm_uframes_t appl_ptr, hw_ptr; in dmaengine_dlp_release() 817 snd_pcm_uframes_t appl_ptr; in process_capture()
|
| /OK3568_Linux_fs/kernel/sound/pci/aw2/ |
| H A D | aw2-alsa.c | 118 static snd_pcm_uframes_t snd_aw2_pcm_pointer_playback(struct snd_pcm_substream 120 static snd_pcm_uframes_t snd_aw2_pcm_pointer_capture(struct snd_pcm_substream 517 static snd_pcm_uframes_t snd_aw2_pcm_pointer_playback(struct snd_pcm_substream in snd_aw2_pcm_pointer_playback() 536 static snd_pcm_uframes_t snd_aw2_pcm_pointer_capture(struct snd_pcm_substream in snd_aw2_pcm_pointer_capture()
|
| /OK3568_Linux_fs/kernel/sound/soc/sof/intel/ |
| H A D | hda-pcm.c | 147 snd_pcm_uframes_t hda_dsp_pcm_pointer(struct snd_sof_dev *sdev, in hda_dsp_pcm_pointer() 155 snd_pcm_uframes_t pos; in hda_dsp_pcm_pointer()
|
| /OK3568_Linux_fs/external/rkwifibt-app/test/ |
| H A D | bt_test.c | 52 snd_pcm_uframes_t period_size; 53 snd_pcm_uframes_t buffer_size; 1435 static int hfp_set_sw_params(snd_pcm_t *pcm, snd_pcm_uframes_t buffer_size, in hfp_set_sw_params() 1436 snd_pcm_uframes_t period_size, char **msg) in hfp_set_sw_params() 1448 snd_pcm_uframes_t threshold = (buffer_size / period_size) * period_size; in hfp_set_sw_params() 1477 snd_pcm_uframes_t period_size = alsa_config.period_size; in hfp_playback_device_open() 1478 snd_pcm_uframes_t buffer_size = alsa_config.buffer_size; in hfp_playback_device_open() 1562 snd_pcm_uframes_t period_size = alsa_config.period_size; in hfp_capture_device_open() 1563 snd_pcm_uframes_t buffer_size = alsa_config.buffer_size; in hfp_capture_device_open()
|