/linux-6.3-rc2/sound/core/oss/ |
A D | pcm_oss.c | 1173 runtime = substream->runtime; in snd_pcm_oss_make_ready() 1196 runtime = substream->runtime; in snd_pcm_oss_make_ready_locked() 1220 runtime = substream->runtime; in snd_pcm_oss_capture_position_fixup() 1583 runtime = substream->runtime; in snd_pcm_oss_reset() 1620 runtime = substream->runtime; in snd_pcm_oss_sync1() 1936 runtime = substream->runtime; in snd_pcm_oss_set_subdivide1() 1980 runtime = substream->runtime; in snd_pcm_oss_set_fragment1() 2183 runtime = substream->runtime; in snd_pcm_oss_get_odelay() 2211 runtime = substream->runtime; in snd_pcm_oss_get_ptr() 2278 runtime = substream->runtime; in snd_pcm_oss_get_space() [all …]
|
/linux-6.3-rc2/sound/core/ |
A D | rawmidi.c | 129 runtime->event(runtime->substream); in snd_rawmidi_input_event_work() 183 substream->runtime = runtime; in snd_rawmidi_runtime_create() 247 runtime = substream->runtime; in snd_rawmidi_drain_output() 1124 runtime = substream->runtime; in snd_rawmidi_receive() 1250 runtime = substream->runtime; in snd_rawmidi_read() 1305 runtime = substream->runtime; in snd_rawmidi_transmit_empty() 1494 runtime = substream->runtime; in snd_rawmidi_proceed() 1585 runtime = substream->runtime; in snd_rawmidi_write() 1656 runtime = rfile->input->runtime; in snd_rawmidi_poll() 1713 runtime = substream->runtime; in snd_rawmidi_proc_info_read() [all …]
|
A D | pcm_lib.c | 47 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_playback_silence() local 51 if (runtime->silence_size < runtime->boundary) { in snd_pcm_playback_silence() 64 if (runtime->silence_filled >= runtime->buffer_size) in snd_pcm_playback_silence() 78 runtime->silence_start = (runtime->status->hw_ptr + in snd_pcm_playback_silence() 100 ofs = runtime->silence_start % runtime->buffer_size; in snd_pcm_playback_silence() 145 struct snd_pcm_runtime *runtime = substream->runtime; in __snd_pcm_xrun() local 398 (((runtime->period_size * HZ) / runtime->rate) in snd_pcm_update_hw_ptr0() 453 runtime->hw_ptr_interrupt -= runtime->boundary; in snd_pcm_update_hw_ptr0() 460 runtime->hw_ptr_wrap += runtime->boundary; in snd_pcm_update_hw_ptr0() 1814 runtime = substream->runtime; in snd_pcm_period_elapsed_under_stream_lock() [all …]
|
A D | pcm_native.c | 722 runtime = substream->runtime; in snd_pcm_hw_params() 887 runtime = substream->runtime; in snd_pcm_hw_free() 921 runtime = substream->runtime; in snd_pcm_sw_params() 1149 runtime = substream->runtime; in snd_pcm_channel_info() 2106 runtime = substream->runtime; in snd_pcm_drain() 2146 runtime = s->runtime; in snd_pcm_drain() 2216 runtime = substream->runtime; in snd_pcm_drop() 3477 runtime = substream->runtime; in snd_pcm_read() 3502 runtime = substream->runtime; in snd_pcm_write() 3529 runtime = substream->runtime; in snd_pcm_readv() [all …]
|
A D | compress_offload.c | 120 runtime = kzalloc(sizeof(*runtime), GFP_KERNEL); in snd_compr_open() 121 if (!runtime) { in snd_compr_open() 128 data->stream.runtime = runtime; in snd_compr_open() 134 kfree(runtime); in snd_compr_open() 144 struct snd_compr_runtime *runtime = data->stream.runtime; in snd_compr_free() local 148 switch (runtime->state) { in snd_compr_free() 161 kfree(data->stream.runtime); in snd_compr_free() 253 struct snd_compr_runtime *runtime = stream->runtime; in snd_compr_write_data() local 256 runtime->buffer_size); in snd_compr_write_data() 518 runtime = stream->runtime; in snd_compr_free_pages() [all …]
|
A D | pcm.c | 385 runtime = substream->runtime; in snd_pcm_substream_proc_hw_params_read() 386 if (!runtime) { in snd_pcm_substream_proc_hw_params_read() 398 snd_iprintf(buffer, "rate: %u (%u/%u)\n", runtime->rate, runtime->rate_num, runtime->rate_den); in snd_pcm_substream_proc_hw_params_read() 422 runtime = substream->runtime; in snd_pcm_substream_proc_sw_params_read() 423 if (!runtime) { in snd_pcm_substream_proc_sw_params_read() 452 runtime = substream->runtime; in snd_pcm_substream_proc_status_read() 453 if (!runtime) { in snd_pcm_substream_proc_status_read() 948 runtime = kzalloc(sizeof(*runtime), GFP_KERNEL); in snd_pcm_attach_substream() 977 substream->runtime = runtime; in snd_pcm_attach_substream() 993 runtime = substream->runtime; in snd_pcm_detach_substream() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/i915/ |
A D | intel_device_info.c | 106 if (runtime->media.ip.rel) in intel_device_info_print() 108 runtime->media.ip.ver, in intel_device_info_print() 356 &runtime->media.ip); in intel_ipver_early_init() 461 runtime->fbc_mask = 0; in intel_device_info_runtime_init() 491 runtime->has_hdcp = 0; in intel_device_info_runtime_init() 494 runtime->fbc_mask = 0; in intel_device_info_runtime_init() 497 runtime->has_dmc = 0; in intel_device_info_runtime_init() 501 runtime->has_dsc = 0; in intel_device_info_runtime_init() 519 memset(runtime->num_sprites, 0, sizeof(runtime->num_sprites)); in intel_device_info_runtime_init() 520 memset(runtime->num_scalers, 0, sizeof(runtime->num_scalers)); in intel_device_info_runtime_init() [all …]
|
/linux-6.3-rc2/sound/soc/uniphier/ |
A D | aio-dma.c | 30 struct snd_pcm_runtime *runtime = sub->substream->runtime; in aiodma_pcm_irq() local 32 runtime->channels * samples_to_bytes(runtime, 1); in aiodma_pcm_irq() 50 struct snd_compr_runtime *runtime = sub->cstream->runtime; in aiodma_compr_irq() local 99 struct snd_pcm_runtime *runtime = substream->runtime; in uniphier_aiodma_open() local 110 struct snd_pcm_runtime *runtime = substream->runtime; in uniphier_aiodma_prepare() local 115 runtime->channels * samples_to_bytes(runtime, 1); in uniphier_aiodma_prepare() 125 runtime->dma_addr + runtime->dma_bytes, in uniphier_aiodma_prepare() 137 struct snd_pcm_runtime *runtime = substream->runtime; in uniphier_aiodma_trigger() local 143 runtime->channels * samples_to_bytes(runtime, 1); in uniphier_aiodma_trigger() 173 struct snd_pcm_runtime *runtime = substream->runtime; in uniphier_aiodma_pointer() local [all …]
|
/linux-6.3-rc2/sound/pci/ctxfi/ |
A D | ctpcm.c | 111 runtime->private_data = NULL; in ct_atc_pcm_free_substream() 118 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_playback_open() local 153 runtime->private_data = apcm; in ct_pcm_playback_open() 202 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_playback_prepare() local 223 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_playback_trigger() local 249 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_playback_pointer() local 264 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_capture_open() local 294 runtime->private_data = apcm; in ct_pcm_capture_open() 315 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_capture_prepare() local 332 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_capture_trigger() local [all …]
|
/linux-6.3-rc2/drivers/staging/vc04_services/bcm2835-audio/ |
A D | bcm2835-pcm.c | 49 kfree(runtime->private_data); in snd_bcm2835_playback_free() 88 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_playback_open_generic() local 170 struct snd_pcm_runtime *runtime; in snd_bcm2835_playback_close() local 175 runtime = substream->runtime; in snd_bcm2835_playback_close() 198 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_pcm_prepare() local 210 channels = runtime->channels; in snd_bcm2835_pcm_prepare() 213 runtime->rate, in snd_bcm2835_pcm_prepare() 237 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_pcm_transfer() local 246 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_pcm_ack() local 257 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_pcm_trigger() local [all …]
|
/linux-6.3-rc2/sound/pci/emu10k1/ |
A D | emupcm.c | 82 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_efx_playback_pointer() local 277 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_pcm_init_voice() local 398 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_playback_hw_params() local 434 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_playback_hw_free() local 464 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_efx_playback_hw_free() local 493 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_playback_prepare() local 521 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_efx_playback_prepare() local 628 runtime = evoice->epcm->substream->runtime; in snd_emu10k1_playback_invalidate_cache() 668 runtime = substream->runtime; in snd_emu10k1_playback_prepare_voice() 690 runtime = substream->runtime; in snd_emu10k1_playback_trigger_voice() [all …]
|
A D | p16v.c | 165 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_open_playback_channel() local 214 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_open_capture_channel() local 291 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_prepare_playback() local 303 channel, runtime->rate, runtime->format, runtime->channels, in snd_p16v_pcm_prepare_playback() 304 runtime->buffer_size, runtime->period_size, in snd_p16v_pcm_prepare_playback() 305 runtime->periods, frames_to_bytes(runtime, 1)); in snd_p16v_pcm_prepare_playback() 308 runtime->dma_addr, runtime->dma_area, table_base); in snd_p16v_pcm_prepare_playback() 353 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_prepare_capture() local 441 runtime = s->runtime; in snd_p16v_pcm_trigger_playback() 473 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_trigger_capture() local [all …]
|
/linux-6.3-rc2/sound/isa/sb/ |
A D | sb16_main.c | 239 struct snd_pcm_runtime *runtime = substream->runtime; in snd_sb16_playback_prepare() local 309 struct snd_pcm_runtime *runtime = substream->runtime; in snd_sb16_capture_prepare() local 496 struct snd_pcm_runtime *runtime = substream->runtime; in snd_sb16_playback_open() local 541 runtime->hw.rate_max = 48000; in snd_sb16_playback_open() 544 runtime->hw.periods_min = 2; in snd_sb16_playback_open() 545 runtime->hw.rate_min = 44100; in snd_sb16_playback_open() 548 runtime->hw.rate_min = runtime->hw.rate_max = chip->locked_rate; in snd_sb16_playback_open() 571 struct snd_pcm_runtime *runtime = substream->runtime; in snd_sb16_capture_open() local 616 runtime->hw.rate_max = 48000; in snd_sb16_capture_open() 619 runtime->hw.periods_min = 2; in snd_sb16_capture_open() [all …]
|
A D | sb8_main.c | 94 struct snd_pcm_runtime *runtime = substream->runtime; in snd_sb8_playback_prepare() local 100 rate = runtime->rate; in snd_sb8_playback_prepare() 112 if (runtime->channels > 1) { in snd_sb8_playback_prepare() 158 runtime->dma_area[0] = 0x80; in snd_sb8_playback_prepare() 211 struct snd_pcm_runtime *runtime = substream->runtime; in snd_sb8_playback_trigger() local 213 if (runtime->channels > 1) { in snd_sb8_playback_trigger() 232 struct snd_pcm_runtime *runtime = substream->runtime; in snd_sb8_capture_prepare() local 238 rate = runtime->rate; in snd_sb8_capture_prepare() 250 if (runtime->channels > 1) { in snd_sb8_capture_prepare() 336 struct snd_pcm_runtime *runtime = substream->runtime; in snd_sb8_capture_trigger() local [all …]
|
/linux-6.3-rc2/sound/isa/gus/ |
A D | gus_pcm.c | 65 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_block_change() local 93 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_trigger_up() local 192 runtime = pcmp->substream->runtime; in snd_gf1_pcm_interrupt_wave() 355 struct snd_pcm_runtime *runtime = substream->runtime; in playback_copy_ack() local 374 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_copy() local 391 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_copy_kernel() local 407 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_silence() local 424 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_hw_params() local 471 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_hw_free() local 491 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_prepare() local [all …]
|
/linux-6.3-rc2/include/sound/ |
A D | pcm.h | 770 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_lib_buffer_bytes() local 771 return frames_to_bytes(runtime, runtime->buffer_size); in snd_pcm_lib_buffer_bytes() 782 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_lib_period_bytes() local 783 return frames_to_bytes(runtime, runtime->period_size); in snd_pcm_lib_period_bytes() 852 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_playback_ready() local 866 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_capture_ready() local 881 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_playback_data() local 883 if (runtime->stop_threshold >= runtime->boundary) in snd_pcm_playback_data() 898 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_playback_empty() local 912 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_capture_empty() local [all …]
|
A D | compress_driver.h | 77 struct snd_compr_runtime *runtime; member 193 wake_up(&stream->runtime->sleep); in snd_compr_fragment_elapsed() 209 wake_up(&stream->runtime->sleep); in snd_compr_drain_notify() 224 struct snd_compr_runtime *runtime = stream->runtime; in snd_compr_set_runtime_buffer() local 227 runtime->dma_buffer_p = bufp; in snd_compr_set_runtime_buffer() 228 runtime->dma_area = bufp->area; in snd_compr_set_runtime_buffer() 229 runtime->dma_addr = bufp->addr; in snd_compr_set_runtime_buffer() 232 runtime->dma_buffer_p = NULL; in snd_compr_set_runtime_buffer() 233 runtime->dma_area = NULL; in snd_compr_set_runtime_buffer() 234 runtime->dma_addr = 0; in snd_compr_set_runtime_buffer() [all …]
|
/linux-6.3-rc2/sound/soc/bcm/ |
A D | bcm63xx-pcm-whistler.c | 148 struct snd_pcm_runtime *runtime = substream->runtime; in bcm63xx_pcm_prepare() local 193 struct snd_pcm_runtime *runtime = substream->runtime; in bcm63xx_pcm_open() local 217 runtime->private_data = prtd; in bcm63xx_pcm_open() 226 struct snd_pcm_runtime *runtime = substream->runtime; in bcm63xx_pcm_close() local 238 struct snd_pcm_runtime *runtime; in i2s_dma_isr() local 252 runtime = substream->runtime; in i2s_dma_isr() 254 prtd = runtime->private_data; in i2s_dma_isr() 275 runtime->dma_bytes) { in i2s_dma_isr() 300 runtime = substream->runtime; in i2s_dma_isr() 302 prtd = runtime->private_data; in i2s_dma_isr() [all …]
|
/linux-6.3-rc2/sound/soc/dwc/ |
A D | dwc-pcm.c | 37 if (++tx_ptr >= runtime->buffer_size) \ 57 if (++rx_ptr >= runtime->buffer_size) \ 141 struct snd_pcm_runtime *runtime = substream->runtime; in dw_pcm_open() local 147 runtime->private_data = dev; in dw_pcm_open() 163 struct snd_pcm_runtime *runtime = substream->runtime; in dw_pcm_hw_params() local 164 struct dw_i2s_dev *dev = runtime->private_data; in dw_pcm_hw_params() 195 struct snd_pcm_runtime *runtime = substream->runtime; in dw_pcm_trigger() local 196 struct dw_i2s_dev *dev = runtime->private_data; in dw_pcm_trigger() 230 struct snd_pcm_runtime *runtime = substream->runtime; in dw_pcm_pointer() local 231 struct dw_i2s_dev *dev = runtime->private_data; in dw_pcm_pointer() [all …]
|
/linux-6.3-rc2/sound/soc/amd/ |
A D | acp-da7219-max98357a.c | 228 struct snd_pcm_runtime *runtime = substream->runtime; in cz_da7219_play_startup() local 237 runtime->hw.channels_max = DUAL_CHANNEL; in cz_da7219_play_startup() 249 struct snd_pcm_runtime *runtime = substream->runtime; in cz_da7219_cap_startup() local 271 struct snd_pcm_runtime *runtime = substream->runtime; in cz_max_startup() local 292 struct snd_pcm_runtime *runtime = substream->runtime; in cz_dmic0_startup() local 313 struct snd_pcm_runtime *runtime = substream->runtime; in cz_dmic1_startup() local 340 struct snd_pcm_runtime *runtime = substream->runtime; in cz_rt5682_play_startup() local 361 struct snd_pcm_runtime *runtime = substream->runtime; in cz_rt5682_cap_startup() local 383 struct snd_pcm_runtime *runtime = substream->runtime; in cz_rt5682_max_startup() local 404 struct snd_pcm_runtime *runtime = substream->runtime; in cz_rt5682_dmic0_startup() local [all …]
|
/linux-6.3-rc2/drivers/media/pci/cobalt/ |
A D | cobalt-alsa-pcm.c | 119 runtime = substream->runtime; in cobalt_alsa_announce_pcm_data() 120 if (runtime == NULL) { in cobalt_alsa_announce_pcm_data() 166 runtime->buffer_size) in cobalt_alsa_announce_pcm_data() 168 runtime->buffer_size; in cobalt_alsa_announce_pcm_data() 172 runtime->period_size) { in cobalt_alsa_announce_pcm_data() 174 runtime->period_size; in cobalt_alsa_announce_pcm_data() 208 struct snd_pcm_runtime *runtime = substream->runtime; in snd_cobalt_pcm_capture_open() local 215 runtime->private_data = s; in snd_cobalt_pcm_capture_open() 318 runtime = substream->runtime; in cobalt_alsa_pb_pcm_data() 319 if (runtime == NULL) { in cobalt_alsa_pb_pcm_data() [all …]
|
/linux-6.3-rc2/sound/drivers/vx/ |
A D | vx_pcm.c | 159 if (runtime->rate < 32000 && runtime->rate > 11025) in vx_set_format() 514 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_playback_open() local 680 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_playback_transfer() local 701 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_playback_update() local 774 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_playback_pointer() local 785 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_prepare() local 831 pipe->buffer_bytes = frames_to_bytes(runtime, runtime->buffer_size); in vx_pcm_prepare() 888 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_capture_open() local 985 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_capture_update() local 990 size = runtime->buffer_size - snd_pcm_capture_avail(runtime); in vx_pcm_capture_update() [all …]
|
/linux-6.3-rc2/sound/atmel/ |
A D | ac97c.c | 89 struct snd_pcm_runtime *runtime = substream->runtime; in atmel_ac97c_playback_open() local 108 struct snd_pcm_runtime *runtime = substream->runtime; in atmel_ac97c_capture_open() local 189 struct snd_pcm_runtime *runtime = substream->runtime; in atmel_ac97c_playback_prepare() local 190 int block_size = frames_to_bytes(runtime, runtime->period_size); in atmel_ac97c_playback_prepare() 271 struct snd_pcm_runtime *runtime = substream->runtime; in atmel_ac97c_capture_prepare() local 417 struct snd_pcm_runtime *runtime = substream->runtime; in atmel_ac97c_playback_pointer() local 434 struct snd_pcm_runtime *runtime = substream->runtime; in atmel_ac97c_capture_pointer() local 485 runtime = chip->playback_substream->runtime; in atmel_ac97c_interrupt() 486 block_size = frames_to_bytes(runtime, runtime->period_size); in atmel_ac97c_interrupt() 503 runtime = chip->capture_substream->runtime; in atmel_ac97c_interrupt() [all …]
|
/linux-6.3-rc2/drivers/media/pci/cx18/ |
A D | cx18-alsa-pcm.c | 62 struct snd_pcm_runtime *runtime; in cx18_alsa_announce_pcm_data() local 77 runtime = substream->runtime; in cx18_alsa_announce_pcm_data() 78 if (runtime == NULL) { in cx18_alsa_announce_pcm_data() 95 if (runtime->dma_area == NULL) { in cx18_alsa_announce_pcm_data() 103 runtime->buffer_size - oldptr; in cx18_alsa_announce_pcm_data() 116 runtime->buffer_size) in cx18_alsa_announce_pcm_data() 118 runtime->buffer_size; in cx18_alsa_announce_pcm_data() 122 runtime->period_size) { in cx18_alsa_announce_pcm_data() 124 runtime->period_size; in cx18_alsa_announce_pcm_data() 137 struct snd_pcm_runtime *runtime = substream->runtime; in snd_cx18_pcm_capture_open() local [all …]
|
/linux-6.3-rc2/sound/soc/qcom/qdsp6/ |
A D | q6apm-dai.c | 138 struct snd_pcm_runtime *runtime = substream->runtime; in q6apm_dai_prepare() local 155 cfg.sample_rate = runtime->rate; in q6apm_dai_prepare() 156 cfg.num_channels = runtime->channels; in q6apm_dai_prepare() 215 struct snd_pcm_runtime *runtime = substream->runtime; in q6apm_dai_trigger() local 245 struct snd_pcm_runtime *runtime = substream->runtime; in q6apm_dai_open() local 307 runtime->private_data = prtd; in q6apm_dai_open() 308 runtime->dma_bytes = BUFFER_BYTES_MAX; in q6apm_dai_open() 324 struct snd_pcm_runtime *runtime = substream->runtime; in q6apm_dai_close() local 335 runtime->private_data = NULL; in q6apm_dai_close() 343 struct snd_pcm_runtime *runtime = substream->runtime; in q6apm_dai_pointer() local [all …]
|