| /Linux-v5.4/sound/core/ | 
| D | rawmidi.c | 77 	struct snd_rawmidi_runtime *runtime = substream->runtime;  in snd_rawmidi_ready()  local 79 	return runtime->avail >= runtime->avail_min;  in snd_rawmidi_ready() 85 	struct snd_rawmidi_runtime *runtime = substream->runtime;  in snd_rawmidi_ready_append()  local 87 	return runtime->avail >= runtime->avail_min &&  in snd_rawmidi_ready_append() 88 	       (!substream->append || runtime->avail >= count);  in snd_rawmidi_ready_append() 93 	struct snd_rawmidi_runtime *runtime =  in snd_rawmidi_input_event_work()  local 96 	if (runtime->event)  in snd_rawmidi_input_event_work() 97 		runtime->event(runtime->substream);  in snd_rawmidi_input_event_work() 102 	struct snd_rawmidi_runtime *runtime;  in snd_rawmidi_runtime_create()  local 104 	runtime = kzalloc(sizeof(*runtime), GFP_KERNEL);  in snd_rawmidi_runtime_create() [all …] 
 | 
| D | pcm_native.c | 221 	if (!(substream->runtime->hw.info & SNDRV_PCM_INFO_MMAP))  in hw_support_mmap() 235 					&substream->runtime->hw_constraints;  in constrain_mask_params() 271 					&substream->runtime->hw_constraints;  in constrain_interval_params() 307 					&substream->runtime->hw_constraints;  in constrain_params_by_rules() 457 		params->info = substream->runtime->hw.info;  in fixup_unreferenced_params() 525 static int period_to_usecs(struct snd_pcm_runtime *runtime)  in period_to_usecs()  argument 529 	if (! runtime->rate)  in period_to_usecs() 533 	usecs = (750000 / runtime->rate) * runtime->period_size;  in period_to_usecs() 534 	usecs += ((750000 % runtime->rate) * runtime->period_size) /  in period_to_usecs() 535 		runtime->rate;  in period_to_usecs() [all …] 
 | 
| D | pcm_lib.c | 38  * runtime->silence_start: starting pointer to silence area 39  * runtime->silence_filled: size filled with silence 40  * runtime->silence_threshold: threshold from application 41  * runtime->silence_size: maximal size from application 43  * when runtime->silence_size >= runtime->boundary - fill processed area with silence immediately 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() 53 		snd_pcm_uframes_t appl_ptr = READ_ONCE(runtime->control->appl_ptr);  in snd_pcm_playback_silence() 54 		if (runtime->silence_start != appl_ptr) {  in snd_pcm_playback_silence() 55 			n = appl_ptr - runtime->silence_start;  in snd_pcm_playback_silence() [all …] 
 | 
| D | compress_offload.c | 81 	struct snd_compr_runtime *runtime;  in snd_compr_open()  local 122 	runtime = kzalloc(sizeof(*runtime), GFP_KERNEL);  in snd_compr_open() 123 	if (!runtime) {  in snd_compr_open() 128 	runtime->state = SNDRV_PCM_STATE_OPEN;  in snd_compr_open() 129 	init_waitqueue_head(&runtime->sleep);  in snd_compr_open() 130 	data->stream.runtime = runtime;  in snd_compr_open() 136 		kfree(runtime);  in snd_compr_open() 146 	struct snd_compr_runtime *runtime = data->stream.runtime;  in snd_compr_free()  local 150 	switch (runtime->state) {  in snd_compr_free() 161 	if (!data->stream.runtime->dma_buffer_p)  in snd_compr_free() [all …] 
 | 
| /Linux-v5.4/sound/core/oss/ | 
| D | pcm_oss.c | 541 	struct snd_pcm_runtime *runtime = substream->runtime;  in snd_pcm_oss_plugin_clear()  local 544 	plugin = runtime->oss.plugin_first;  in snd_pcm_oss_plugin_clear() 550 	runtime->oss.plugin_first = runtime->oss.plugin_last = NULL;  in snd_pcm_oss_plugin_clear() 556 	struct snd_pcm_runtime *runtime = plugin->plug->runtime;  in snd_pcm_plugin_insert()  local 557 	plugin->next = runtime->oss.plugin_first;  in snd_pcm_plugin_insert() 559 	if (runtime->oss.plugin_first) {  in snd_pcm_plugin_insert() 560 		runtime->oss.plugin_first->prev = plugin;  in snd_pcm_plugin_insert() 561 		runtime->oss.plugin_first = plugin;  in snd_pcm_plugin_insert() 563 		runtime->oss.plugin_last =  in snd_pcm_plugin_insert() 564 		runtime->oss.plugin_first = plugin;  in snd_pcm_plugin_insert() [all …] 
 | 
| /Linux-v5.4/sound/soc/uniphier/ | 
| D | aio-dma.c | 30 	struct snd_pcm_runtime *runtime = sub->substream->runtime;  in aiodma_pcm_irq()  local 31 	int bytes = runtime->period_size *  in aiodma_pcm_irq() 32 		runtime->channels * samples_to_bytes(runtime, 1);  in aiodma_pcm_irq() 36 	ret = aiodma_rb_set_threshold(sub, runtime->dma_bytes,  in aiodma_pcm_irq() 41 	aiodma_rb_sync(sub, runtime->dma_addr, runtime->dma_bytes, bytes);  in aiodma_pcm_irq() 50 	struct snd_compr_runtime *runtime = sub->cstream->runtime;  in aiodma_compr_irq()  local 51 	int bytes = runtime->fragment_size;  in aiodma_compr_irq() 98 	struct snd_pcm_runtime *runtime = substream->runtime;  in uniphier_aiodma_open()  local 102 	return snd_pcm_hw_constraint_step(runtime, 0,  in uniphier_aiodma_open() 110 	substream->runtime->dma_bytes = params_buffer_bytes(params);  in uniphier_aiodma_hw_params() [all …] 
 | 
| /Linux-v5.4/sound/pci/ctxfi/ | 
| D | ctpcm.c | 103 static void ct_atc_pcm_free_substream(struct snd_pcm_runtime *runtime)  in ct_atc_pcm_free_substream()  argument 105 	struct ct_atc_pcm *apcm = runtime->private_data;  in ct_atc_pcm_free_substream() 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 129 		runtime->hw = ct_spdif_passthru_playback_hw;  in ct_pcm_playback_open() 132 		runtime->hw = ct_pcm_playback_hw;  in ct_pcm_playback_open() 134 			runtime->hw.channels_max = 8;  in ct_pcm_playback_open() 137 	err = snd_pcm_hw_constraint_integer(runtime,  in ct_pcm_playback_open() 142 	err = snd_pcm_hw_constraint_minmax(runtime,  in ct_pcm_playback_open() 153 	runtime->private_data = apcm;  in ct_pcm_playback_open() [all …] 
 | 
| /Linux-v5.4/drivers/media/pci/cx18/ | 
| D | cx18-alsa-pcm.c | 63 	struct snd_pcm_runtime *runtime;  in cx18_alsa_announce_pcm_data()  local 78 	runtime = substream->runtime;  in cx18_alsa_announce_pcm_data() 79 	if (runtime == NULL) {  in cx18_alsa_announce_pcm_data() 80 		dprintk("runtime was NULL\n");  in cx18_alsa_announce_pcm_data() 84 	stride = runtime->frame_bits >> 3;  in cx18_alsa_announce_pcm_data() 96 	if (runtime->dma_area == NULL) {  in cx18_alsa_announce_pcm_data() 102 	if (oldptr + length >= runtime->buffer_size) {  in cx18_alsa_announce_pcm_data() 104 			runtime->buffer_size - oldptr;  in cx18_alsa_announce_pcm_data() 105 		memcpy(runtime->dma_area + oldptr * stride, pcm_data,  in cx18_alsa_announce_pcm_data() 107 		memcpy(runtime->dma_area, pcm_data + cnt * stride,  in cx18_alsa_announce_pcm_data() [all …] 
 | 
| /Linux-v5.4/drivers/staging/vc04_services/bcm2835-audio/ | 
| D | bcm2835-pcm.c | 47 static void snd_bcm2835_playback_free(struct snd_pcm_runtime *runtime)  in snd_bcm2835_playback_free()  argument 49 	kfree(runtime->private_data);  in snd_bcm2835_playback_free() 89 	struct snd_pcm_runtime *runtime = substream->runtime;  in snd_bcm2835_playback_open_generic()  local 128 	runtime->private_data = alsa_stream;  in snd_bcm2835_playback_open_generic() 129 	runtime->private_free = snd_bcm2835_playback_free;  in snd_bcm2835_playback_open_generic() 131 		runtime->hw = snd_bcm2835_playback_spdif_hw;  in snd_bcm2835_playback_open_generic() 135 		runtime->hw = snd_bcm2835_playback_hw;  in snd_bcm2835_playback_open_generic() 138 	snd_pcm_hw_constraint_step(runtime,  in snd_bcm2835_playback_open_generic() 144 	snd_pcm_hw_constraint_minmax(runtime,  in snd_bcm2835_playback_open_generic() 171 	struct snd_pcm_runtime *runtime;  in snd_bcm2835_playback_close()  local [all …] 
 | 
| /Linux-v5.4/include/sound/ | 
| D | pcm.h | 401 	void (*private_free)(struct snd_pcm_runtime *runtime); 451 	/* -- runtime information -- */ 452 	struct snd_pcm_runtime *runtime;  member 651 	return (substream->runtime->status->state == SNDRV_PCM_STATE_RUNNING ||  in snd_pcm_running() 652 		(substream->runtime->status->state == SNDRV_PCM_STATE_DRAINING &&  in snd_pcm_running() 658  * @runtime: PCM runtime instance 661 static inline ssize_t bytes_to_samples(struct snd_pcm_runtime *runtime, ssize_t size)  in bytes_to_samples()  argument 663 	return size * 8 / runtime->sample_bits;  in bytes_to_samples() 668  * @runtime: PCM runtime instance 671 static inline snd_pcm_sframes_t bytes_to_frames(struct snd_pcm_runtime *runtime, ssize_t size)  in bytes_to_frames()  argument [all …] 
 | 
| /Linux-v5.4/drivers/media/pci/cobalt/ | 
| D | cobalt-alsa-pcm.c | 103 	struct snd_pcm_runtime *runtime;  in cobalt_alsa_announce_pcm_data()  local 120 	runtime = substream->runtime;  in cobalt_alsa_announce_pcm_data() 121 	if (runtime == NULL) {  in cobalt_alsa_announce_pcm_data() 122 		dprintk("runtime was NULL\n");  in cobalt_alsa_announce_pcm_data() 125 	is_s32 = runtime->format == SNDRV_PCM_FORMAT_S32_LE;  in cobalt_alsa_announce_pcm_data() 127 	stride = runtime->frame_bits >> 3;  in cobalt_alsa_announce_pcm_data() 138 	if (runtime->dma_area == NULL) {  in cobalt_alsa_announce_pcm_data() 144 	if (oldptr + length >= runtime->buffer_size) {  in cobalt_alsa_announce_pcm_data() 145 		unsigned int cnt = runtime->buffer_size - oldptr;  in cobalt_alsa_announce_pcm_data() 149 			sample_cpy(runtime->dma_area + (oldptr + i) * stride,  in cobalt_alsa_announce_pcm_data() [all …] 
 | 
| /Linux-v5.4/sound/pci/emu10k1/ | 
| D | emupcm.c | 35 			epcm->substream->runtime->hw->pointer(emu, epcm->substream),  in snd_emu10k1_pcm_interrupt() 47 		if (emu->pcm_capture_substream->runtime->mode == SNDRV_PCM_MODE_FRAME)  in snd_emu10k1_pcm_ac97adc_interrupt() 59 		if (emu->pcm_capture_mic_substream->runtime->mode == SNDRV_PCM_MODE_FRAME)  in snd_emu10k1_pcm_ac97mic_interrupt() 71 		if (emu->pcm_capture_efx_substream->runtime->mode == SNDRV_PCM_MODE_FRAME)  in snd_emu10k1_pcm_efx_interrupt() 81 	struct snd_pcm_runtime *runtime = substream->runtime;  in snd_emu10k1_efx_playback_pointer()  local 82 	struct snd_emu10k1_pcm *epcm = runtime->private_data;  in snd_emu10k1_efx_playback_pointer() 88 	ptr += runtime->buffer_size;  in snd_emu10k1_efx_playback_pointer() 90 	ptr %= runtime->buffer_size;  in snd_emu10k1_efx_playback_pointer() 276 	struct snd_pcm_runtime *runtime = substream->runtime;  in snd_emu10k1_pcm_init_voice()  local 286 	stereo = runtime->channels == 2;  in snd_emu10k1_pcm_init_voice() [all …] 
 | 
| D | p16v.c | 152 static void snd_p16v_pcm_free_substream(struct snd_pcm_runtime *runtime)  in snd_p16v_pcm_free_substream()  argument 154 	struct snd_emu10k1_pcm *epcm = runtime->private_data;  in snd_p16v_pcm_free_substream() 165 	struct snd_pcm_runtime *runtime = substream->runtime;  in snd_p16v_pcm_open_playback_channel()  local 179 	runtime->private_data = epcm;  in snd_p16v_pcm_open_playback_channel() 180 	runtime->private_free = snd_p16v_pcm_free_substream;  in snd_p16v_pcm_open_playback_channel() 182 	runtime->hw = snd_p16v_playback_hw;  in snd_p16v_pcm_open_playback_channel() 197 	if ((err = snd_pcm_hw_constraint_integer(runtime, SNDRV_PCM_HW_PARAM_PERIODS)) < 0)  in snd_p16v_pcm_open_playback_channel() 200 	runtime->sync.id32[0] = substream->pcm->card->number;  in snd_p16v_pcm_open_playback_channel() 201 	runtime->sync.id32[1] = 'P';  in snd_p16v_pcm_open_playback_channel() 202 	runtime->sync.id32[2] = 16;  in snd_p16v_pcm_open_playback_channel() [all …] 
 | 
| /Linux-v5.4/sound/isa/gus/ | 
| D | gus_pcm.c | 65 	struct snd_pcm_runtime *runtime = substream->runtime;  in snd_gf1_pcm_block_change()  local 66 	struct gus_pcm_private *pcmp = runtime->private_data;  in snd_gf1_pcm_block_change() 76 	if (snd_pcm_format_unsigned(runtime->format))  in snd_gf1_pcm_block_change() 78 	if (snd_pcm_format_width(runtime->format) == 16)  in snd_gf1_pcm_block_change() 81 	block.buffer = runtime->dma_area + offset;  in snd_gf1_pcm_block_change() 82 	block.buf_addr = runtime->dma_addr + offset;  in snd_gf1_pcm_block_change() 93 	struct snd_pcm_runtime *runtime = substream->runtime;  in snd_gf1_pcm_trigger_up()  local 94 	struct gus_pcm_private *pcmp = runtime->private_data;  in snd_gf1_pcm_trigger_up() 112 	rate = snd_gf1_translate_freq(gus, runtime->rate << 4);  in snd_gf1_pcm_trigger_up() 114 	voice_ctrl = snd_pcm_format_width(runtime->format) == 16 ? 0x24 : 0x20;  in snd_gf1_pcm_trigger_up() [all …] 
 | 
| /Linux-v5.4/drivers/media/pci/ivtv/ | 
| D | ivtv-alsa-pcm.c | 61 	struct snd_pcm_runtime *runtime;  in ivtv_alsa_announce_pcm_data()  local 76 	runtime = substream->runtime;  in ivtv_alsa_announce_pcm_data() 77 	if (runtime == NULL) {  in ivtv_alsa_announce_pcm_data() 78 		dprintk("runtime was NULL\n");  in ivtv_alsa_announce_pcm_data() 82 	stride = runtime->frame_bits >> 3;  in ivtv_alsa_announce_pcm_data() 94 	if (runtime->dma_area == NULL) {  in ivtv_alsa_announce_pcm_data() 100 	if (oldptr + length >= runtime->buffer_size) {  in ivtv_alsa_announce_pcm_data() 102 			runtime->buffer_size - oldptr;  in ivtv_alsa_announce_pcm_data() 103 		memcpy(runtime->dma_area + oldptr * stride, pcm_data,  in ivtv_alsa_announce_pcm_data() 105 		memcpy(runtime->dma_area, pcm_data + cnt * stride,  in ivtv_alsa_announce_pcm_data() [all …] 
 | 
| /Linux-v5.4/sound/isa/sb/ | 
| D | sb16_main.c | 37 #define runtime_format_bits(runtime) \  argument 38 	((unsigned int)pcm_format_to_bits((runtime)->format)) 41 static void snd_sb16_csp_playback_prepare(struct snd_sb *chip, struct snd_pcm_runtime *runtime)  in snd_sb16_csp_playback_prepare()  argument 49 			    (runtime_format_bits(runtime) == csp->acc_format)) {  in snd_sb16_csp_playback_prepare() 50 				/* Supported runtime PCM format for playback */  in snd_sb16_csp_playback_prepare() 57 				if (runtime_format_bits(runtime) & (SNDRV_PCM_FMTBIT_S8 | SNDRV_PCM_FMTBIT_U8 |  in snd_sb16_csp_playback_prepare() 68 			if (csp->ops.csp_autoload(csp, runtime->format, SNDRV_SB_CSP_MODE_DSP_WRITE)) {  in snd_sb16_csp_playback_prepare() 76 						       (runtime->channels > 1) ?  in snd_sb16_csp_playback_prepare() 89 static void snd_sb16_csp_capture_prepare(struct snd_sb *chip, struct snd_pcm_runtime *runtime)  in snd_sb16_csp_capture_prepare()  argument 97 			    (runtime_format_bits(runtime) == csp->acc_format)) {  in snd_sb16_csp_capture_prepare() [all …] 
 | 
| D | sb8_main.c | 94 	struct snd_pcm_runtime *runtime = substream->runtime;  in snd_sb8_playback_prepare()  local 97 	unsigned char stereo = runtime->channels > 1;  in snd_sb8_playback_prepare() 100 	rate = runtime->rate;  in snd_sb8_playback_prepare() 103 		if (runtime->format == SNDRV_PCM_FORMAT_S16_LE) {  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() 159 		snd_dma_program(dma, runtime->dma_addr, 1, DMA_MODE_WRITE);  in snd_sb8_playback_prepare() 167 		snd_sbdsp_command(chip, 256 - runtime->rate_den / 2);  in snd_sb8_playback_prepare() 176 		snd_sbdsp_command(chip, 256 - runtime->rate_den);  in snd_sb8_playback_prepare() 187 	snd_dma_program(dma, runtime->dma_addr,  in snd_sb8_playback_prepare() [all …] 
 | 
| /Linux-v5.4/sound/soc/dwc/ | 
| D | dwc-pcm.c | 26 		struct snd_pcm_runtime *runtime, unsigned int tx_ptr, \ 29 	const u##sample_bits (*p)[2] = (void *)runtime->dma_area; \ 30 	unsigned int period_pos = tx_ptr % runtime->period_size; \ 37 		if (++tx_ptr >= runtime->buffer_size) \ 40 	*period_elapsed = period_pos >= runtime->period_size; \ 46 		struct snd_pcm_runtime *runtime, unsigned int rx_ptr, \ 49 	u##sample_bits (*p)[2] = (void *)runtime->dma_area; \ 50 	unsigned int period_pos = rx_ptr % runtime->period_size; \ 57 		if (++rx_ptr >= runtime->buffer_size) \ 60 	*period_elapsed = period_pos >= runtime->period_size; \ [all …] 
 | 
| /Linux-v5.4/sound/atmel/ | 
| D | ac97c.c | 89 	struct snd_pcm_runtime *runtime = substream->runtime;  in atmel_ac97c_playback_open()  local 93 	runtime->hw = atmel_ac97c_hw;  in atmel_ac97c_playback_open() 95 		runtime->hw.rate_min = chip->cur_rate;  in atmel_ac97c_playback_open() 96 		runtime->hw.rate_max = chip->cur_rate;  in atmel_ac97c_playback_open() 99 		runtime->hw.formats = pcm_format_to_bits(chip->cur_format);  in atmel_ac97c_playback_open() 108 	struct snd_pcm_runtime *runtime = substream->runtime;  in atmel_ac97c_capture_open()  local 112 	runtime->hw = atmel_ac97c_hw;  in atmel_ac97c_capture_open() 114 		runtime->hw.rate_min = chip->cur_rate;  in atmel_ac97c_capture_open() 115 		runtime->hw.rate_max = chip->cur_rate;  in atmel_ac97c_capture_open() 118 		runtime->hw.formats = pcm_format_to_bits(chip->cur_format);  in atmel_ac97c_capture_open() [all …] 
 | 
| /Linux-v5.4/block/ | 
| D | blk-pm.c | 11  * blk_pm_runtime_init - Block layer runtime PM initialization routine 16  *    Initialize runtime-PM-related fields for @q and start auto suspend for 17  *    @dev. Drivers that want to take advantage of request-based runtime PM 19  *    request queue @q has been allocated, and runtime PM for it can not happen 24  *    the autosuspend delay is set to -1 to make runtime suspend impossible 28  *    The block layer runtime PM is request based, so only works for drivers 41  * blk_pre_runtime_suspend - Pre runtime suspend check 45  *    This function will check if runtime suspend is allowed for the device 47  *    are requests pending, the device can not be runtime suspended; otherwise, 52  *    runtime PM core will try to autosuspend it some time later. [all …] 
 | 
| /Linux-v5.4/sound/soc/qcom/qdsp6/ | 
| D | q6asm-dai.c | 211 	struct snd_pcm_runtime *runtime = substream->runtime;  in q6asm_dai_prepare()  local 213 	struct q6asm_dai_rtd *prtd = runtime->private_data;  in q6asm_dai_prepare() 276 				prtd->audio_client, runtime->rate,  in q6asm_dai_prepare() 277 				runtime->channels, NULL,  in q6asm_dai_prepare() 281 					runtime->rate, runtime->channels,  in q6asm_dai_prepare() 285 		for (i = 0; i < runtime->periods; i++)  in q6asm_dai_prepare() 300 	struct snd_pcm_runtime *runtime = substream->runtime;  in q6asm_dai_trigger()  local 301 	struct q6asm_dai_rtd *prtd = runtime->private_data;  in q6asm_dai_trigger() 327 	struct snd_pcm_runtime *runtime = substream->runtime;  in q6asm_dai_open()  local 361 		runtime->hw = q6asm_dai_hardware_playback;  in q6asm_dai_open() [all …] 
 | 
| /Linux-v5.4/Documentation/power/ | 
| D | runtime_pm.rst | 2 Runtime Power Management Framework for I/O Devices 14 Support for runtime power management (runtime PM) of I/O devices is provided 19   used for queuing all work items related to runtime PM, because this allows 24 * A number of runtime PM fields in the 'power' member of 'struct device' (which 26   be used for synchronizing runtime PM operations with one another. 28 * Three device runtime PM callbacks in 'struct dev_pm_ops' (defined in 31 * A set of helper functions defined in drivers/base/power/runtime.c that can be 32   used for carrying out runtime PM operations in such a way that the 36 The runtime PM callbacks present in 'struct dev_pm_ops', the device runtime PM 38 runtime PM are described below. [all …] 
 | 
| /Linux-v5.4/sound/soc/fsl/ | 
| D | imx-pcm-fiq.c | 75 	struct snd_pcm_runtime *runtime = substream->runtime;  in snd_imx_pcm_hw_params()  local 76 	struct imx_pcm_runtime_data *iprtd = runtime->private_data;  in snd_imx_pcm_hw_params() 90 	struct snd_pcm_runtime *runtime = substream->runtime;  in snd_imx_pcm_prepare()  local 91 	struct imx_pcm_runtime_data *iprtd = runtime->private_data;  in snd_imx_pcm_prepare() 109 	struct snd_pcm_runtime *runtime = substream->runtime;  in snd_imx_pcm_trigger()  local 110 	struct imx_pcm_runtime_data *iprtd = runtime->private_data;  in snd_imx_pcm_trigger() 146 	struct snd_pcm_runtime *runtime = substream->runtime;  in snd_imx_pcm_pointer()  local 147 	struct imx_pcm_runtime_data *iprtd = runtime->private_data;  in snd_imx_pcm_pointer() 149 	return bytes_to_frames(substream->runtime, iprtd->offset);  in snd_imx_pcm_pointer() 170 	struct snd_pcm_runtime *runtime = substream->runtime;  in snd_imx_open()  local [all …] 
 | 
| D | fsl_asrc_dma.c | 47 	struct snd_pcm_runtime *runtime = substream->runtime;  in fsl_asrc_dma_complete()  local 48 	struct fsl_asrc_pair *pair = runtime->private_data;  in fsl_asrc_dma_complete() 61 	struct snd_pcm_runtime *runtime = substream->runtime;  in fsl_asrc_dma_prepare_and_submit()  local 62 	struct fsl_asrc_pair *pair = runtime->private_data;  in fsl_asrc_dma_prepare_and_submit() 68 	if (!substream->runtime->no_period_wakeup)  in fsl_asrc_dma_prepare_and_submit() 73 			pair->dma_chan[!dir], runtime->dma_addr,  in fsl_asrc_dma_prepare_and_submit() 102 	struct snd_pcm_runtime *runtime = substream->runtime;  in fsl_asrc_dma_trigger()  local 103 	struct fsl_asrc_pair *pair = runtime->private_data;  in fsl_asrc_dma_trigger() 138 	struct snd_pcm_runtime *runtime = substream->runtime;  in fsl_asrc_dma_hw_params()  local 139 	struct fsl_asrc_pair *pair = runtime->private_data;  in fsl_asrc_dma_hw_params() [all …] 
 | 
| /Linux-v5.4/sound/soc/samsung/ | 
| D | idma.c | 66 	struct snd_pcm_runtime *runtime = substream->runtime;  in idma_enqueue()  local 67 	struct idma_ctrl *prtd = substream->runtime->private_data;  in idma_enqueue() 88 	val |= (((runtime->dma_bytes >> 2) &  in idma_enqueue() 102 	struct idma_ctrl *prtd = substream->runtime->private_data;  in idma_setcallbk() 134 	struct idma_ctrl *prtd = substream->runtime->private_data;  in idma_done() 143 	struct snd_pcm_runtime *runtime = substream->runtime;  in idma_hw_params()  local 144 	struct idma_ctrl *prtd = substream->runtime->private_data;  in idma_hw_params() 154 	runtime->dma_bytes = params_buffer_bytes(params);  in idma_hw_params() 156 	prtd->start = prtd->pos = runtime->dma_addr;  in idma_hw_params() 159 	prtd->end = runtime->dma_addr + runtime->dma_bytes;  in idma_hw_params() [all …] 
 |