Searched refs:runtime (Results 226 - 250 of 570) sorted by relevance

1234567891011>>

/linux-master/sound/soc/amd/acp/
H A Dacp-mach-common.c174 struct snd_pcm_runtime *runtime = substream->runtime; local
198 runtime->hw.channels_max = DUAL_CHANNEL;
199 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS,
201 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE,
536 struct snd_pcm_runtime *runtime = substream->runtime; local
538 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS,
540 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE,
713 struct snd_pcm_runtime *runtime local
869 struct snd_pcm_runtime *runtime = substream->runtime; local
1085 struct snd_pcm_runtime *runtime = substream->runtime; local
1230 struct snd_pcm_runtime *runtime = substream->runtime; local
[all...]
H A Dacp-legacy-common.c48 struct snd_pcm_runtime *runtime = substream->runtime; local
49 struct acp_stream *stream = runtime->private_data;
55 period_bytes = frames_to_bytes(runtime, runtime->period_size);
56 pdm_size = frames_to_bytes(runtime, runtime->buffer_size);
108 struct acp_stream *stream = substream->runtime->private_data;
/linux-master/sound/ppc/
H A Dpmac.c183 struct snd_pcm_runtime *runtime = subs->runtime; local
192 rate_index = snd_pmac_rate_index(chip, rec, runtime->rate);
199 astr->cur_formats = 1 << runtime->format;
201 chip->format = runtime->format;
220 offset = runtime->dma_addr;
308 return bytes_to_frames(subs->runtime, count);
556 struct snd_pcm_runtime *runtime = subs->runtime; local
560 runtime
[all...]
/linux-master/tools/tracing/rtla/src/
H A Dosnoise.c216 unsigned long long runtime)
223 retval = osnoise_write_ll_config("osnoise/runtime_us", runtime);
227 context->runtime_us = runtime;
248 * osnoise_set_runtime_period - set osnoise runtime and period
250 * Osnoise's runtime and period are related as runtime <= period.
252 * to set the runtime and period if they are != 0.
255 unsigned long long runtime,
262 if (!period && !runtime)
273 if (runtime > curr_period_u
215 __osnoise_write_runtime(struct osnoise_context *context, unsigned long long runtime) argument
254 osnoise_set_runtime_period(struct osnoise_context *context, unsigned long long runtime, unsigned long long period) argument
[all...]
H A Dosnoise.h66 unsigned long long runtime,
/linux-master/sound/pci/
H A Des1968.c864 struct snd_pcm_runtime *runtime)
867 int freq = runtime->rate * 4;
978 struct snd_pcm_runtime *runtime)
1061 freq = runtime->rate;
1126 struct snd_pcm_runtime *runtime)
1164 freq = runtime->rate;
1197 struct snd_pcm_runtime *runtime = substream->runtime; local
1198 struct esschan *es = runtime->private_data;
1205 if (snd_pcm_format_width(runtime
863 snd_es1968_calc_bob_rate(struct es1968 *chip, struct esschan *es, struct snd_pcm_runtime *runtime) argument
977 snd_es1968_playback_setup(struct es1968 *chip, struct esschan *es, struct snd_pcm_runtime *runtime) argument
1125 snd_es1968_capture_setup(struct es1968 *chip, struct esschan *es, struct snd_pcm_runtime *runtime) argument
1452 struct snd_pcm_runtime *runtime = substream->runtime; local
1477 struct snd_pcm_runtime *runtime = substream->runtime; local
1524 struct snd_pcm_runtime *runtime = substream->runtime; local
1561 struct snd_pcm_runtime *runtime = substream->runtime; local
[all...]
H A Drme96.c955 struct snd_pcm_runtime *runtime = substream->runtime; local
959 runtime->dma_area = (void __force *)(rme96->iobase +
961 runtime->dma_addr = rme96->port + RME96_IO_PLAY_BUFFER;
962 runtime->dma_bytes = RME96_BUFFER_SIZE;
1019 struct snd_pcm_runtime *runtime = substream->runtime; local
1022 runtime->dma_area = (void __force *)(rme96->iobase +
1024 runtime->dma_addr = rme96->port + RME96_IO_REC_BUFFER;
1025 runtime
1137 rme96_set_buffer_size_constraint(struct rme96 *rme96, struct snd_pcm_runtime *runtime) argument
1162 struct snd_pcm_runtime *runtime = substream->runtime; local
1200 struct snd_pcm_runtime *runtime = substream->runtime; local
1232 struct snd_pcm_runtime *runtime = substream->runtime; local
1266 struct snd_pcm_runtime *runtime = substream->runtime; local
[all...]
/linux-master/sound/isa/
H A Des18xx.c400 struct snd_pcm_runtime *runtime = substream->runtime; local
402 if (runtime->rate_num == new_clocks[0].num)
403 bits = 128 - runtime->rate_den;
405 bits = 256 - runtime->rate_den;
407 if (runtime->rate_num == old_clocks[0].num)
408 bits = 256 - runtime->rate_den;
410 bits = 128 - runtime->rate_den;
414 div0 = 256 - 7160000*20/(8*82*runtime->rate);
459 struct snd_pcm_runtime *runtime local
556 struct snd_pcm_runtime *runtime = substream->runtime; local
622 struct snd_pcm_runtime *runtime = substream->runtime; local
856 struct snd_pcm_runtime *runtime = substream->runtime; local
881 struct snd_pcm_runtime *runtime = substream->runtime; local
[all...]
/linux-master/sound/soc/intel/avs/
H A Dpcm.c114 __func__, substream, substream->runtime);
120 __func__, substream, substream->runtime);
283 substream->runtime->private_data = link_stream;
292 substream->runtime->private_data = NULL;
343 struct snd_pcm_runtime *runtime = substream->runtime; local
363 bits = snd_hdac_stream_format_bits(runtime->format, runtime->subformat,
365 format_val = snd_hdac_stream_format(runtime->channels, bits, runtime
473 struct snd_pcm_runtime *runtime = substream->runtime; local
639 struct snd_pcm_runtime *runtime = substream->runtime; local
[all...]
/linux-master/sound/soc/intel/skylake/
H A Dskl-pcm.c60 return substream->runtime->private_data;
85 struct snd_pcm_runtime *runtime)
87 snd_pcm_hw_constraint_integer(runtime, SNDRV_PCM_HW_PARAM_PERIODS);
90 snd_pcm_hw_constraint_minmax(runtime, SNDRV_PCM_HW_PARAM_BUFFER_TIME,
210 struct snd_pcm_runtime *runtime = substream->runtime; local
222 skl_set_pcm_constrains(bus, runtime);
229 runtime->hw.info &= ~SNDRV_PCM_INFO_HAS_WALL_CLOCK; /* legacy */
230 runtime->hw.info &= ~SNDRV_PCM_INFO_HAS_LINK_ATIME;
233 runtime
84 skl_set_pcm_constrains(struct hdac_bus *bus, struct snd_pcm_runtime *runtime) argument
298 struct snd_pcm_runtime *runtime = substream->runtime; local
[all...]
/linux-master/sound/usb/caiaq/
H A Daudio.c147 substream->runtime->hw = cdev->pcm_info;
148 snd_pcm_limit_hw_rates(substream->runtime);
190 struct snd_pcm_runtime *runtime = substream->runtime; local
237 if (runtime->rate == rates[i])
240 snd_pcm_limit_hw_rates(runtime);
246 bpp = ((runtime->rate / 8000) + CLOCK_DRIFT_TOLERANCE)
252 ret = snd_usb_caiaq_set_audio_params(cdev, runtime->rate,
253 runtime->sample_bits, bpp);
309 ptr = bytes_to_frames(sub->runtime,
[all...]
/linux-master/sound/mips/
H A Dhal2.c513 struct snd_pcm_runtime *runtime = substream->runtime; local
516 runtime->hw = hal2_pcm_hw;
531 struct snd_pcm_runtime *runtime = substream->runtime; local
534 dac->voices = runtime->channels;
535 dac->sample_rate = hal2_compute_rate(dac, runtime->rate);
579 memcpy(buf, substream->runtime->dma_area + rec->sw_data, bytes);
598 struct snd_pcm_runtime *runtime = substream->runtime; local
616 struct snd_pcm_runtime *runtime = substream->runtime; local
[all...]
/linux-master/sound/sparc/
H A Damd7930.c583 struct snd_pcm_runtime *runtime = substream->runtime; local
593 amd->p_orig = amd->p_cur = runtime->dma_area;
598 if (runtime->format == SNDRV_PCM_FORMAT_A_LAW)
615 struct snd_pcm_runtime *runtime = substream->runtime; local
625 amd->c_orig = amd->c_cur = runtime->dma_area;
630 if (runtime->format == SNDRV_PCM_FORMAT_A_LAW)
652 return bytes_to_frames(substream->runtime, ptr);
664 return bytes_to_frames(substream->runtime, pt
691 struct snd_pcm_runtime *runtime = substream->runtime; local
701 struct snd_pcm_runtime *runtime = substream->runtime; local
[all...]
/linux-master/tools/perf/util/
H A Dexpr.h10 int runtime; member in struct:expr_scanner_ctx
H A Dmetricgroup.h66 int runtime; member in struct:metric_expr
/linux-master/sound/soc/mediatek/mt8173/
H A Dmt8173-rt5650-rt5676.c86 static int mt8173_rt5650_rt5676_init(struct snd_soc_pcm_runtime *runtime) argument
88 struct snd_soc_card *card = runtime->card;
89 struct snd_soc_component *component = snd_soc_rtd_to_codec(runtime, 0)->component;
90 struct snd_soc_component *component_sub = snd_soc_rtd_to_codec(runtime, 1)->component;
H A Dmt8173-rt5650.c112 static int mt8173_rt5650_init(struct snd_soc_pcm_runtime *runtime) argument
114 struct snd_soc_card *card = runtime->card;
115 struct snd_soc_component *component = snd_soc_rtd_to_codec(runtime, 0)->component;
116 const char *codec_capture_dai = snd_soc_rtd_to_codec(runtime, 1)->name;
/linux-master/sound/soc/intel/boards/
H A Dbdw-rt5650.c150 struct snd_pcm_runtime *runtime = substream->runtime; local
156 runtime->hw.channels_max = 4;
157 return snd_pcm_hw_constraint_list(runtime, 0,
/linux-master/tools/perf/bench/
H A Dfutex-hash.c52 .runtime = 10,
57 OPT_UINTEGER('r', "runtime", &params.runtime, "Specify runtime (in seconds)"),
166 getpid(), params.nthreads, params.nfutexes, params.fshared ? "shared":"private", params.runtime);
213 sleep(params.runtime);
H A Dfutex-lock-pi.c44 .runtime = 10,
49 OPT_UINTEGER('r', "runtime", &params.runtime, "Specify runtime (in seconds)"),
200 getpid(), params.nthreads, params.runtime);
218 sleep(params.runtime);
H A Dfutex-wake.c189 struct timeval start, end, runtime; local
209 timersub(&end, &start, &runtime);
212 update_stats(&waketime_stats, runtime.tv_usec);
217 runtime.tv_usec / (double)USEC_PER_MSEC);
/linux-master/sound/soc/intel/avs/boards/
H A Drt298.c63 static int avs_rt298_codec_init(struct snd_soc_pcm_runtime *runtime) argument
65 struct snd_soc_card *card = runtime->card;
82 return snd_soc_component_set_jack(snd_soc_rtd_to_codec(runtime, 0)->component, jack, NULL);
90 static int avs_rt298_be_fixup(struct snd_soc_pcm_runtime *runtime, struct snd_pcm_hw_params *params) argument
H A Drt274.c89 static int avs_rt274_codec_init(struct snd_soc_pcm_runtime *runtime) argument
91 struct snd_soc_dai *codec_dai = snd_soc_rtd_to_codec(runtime, 0);
95 struct snd_soc_card *card = runtime->card;
129 static int avs_rt274_be_fixup(struct snd_soc_pcm_runtime *runtime, struct snd_pcm_hw_params *params) argument
H A Dmax98373.c70 struct snd_soc_pcm_runtime *runtime = snd_soc_substream_to_rtd(substream); local
74 for_each_rtd_codec_dais(runtime, i, codec_dai) {
78 dev_err(runtime->dev, "DEV0 TDM slot err:%d\n", ret);
85 dev_err(runtime->dev, "DEV1 TDM slot err:%d\n", ret);
H A Drt5514.c34 static int avs_rt5514_codec_init(struct snd_soc_pcm_runtime *runtime) argument
36 int ret = snd_soc_dapm_ignore_suspend(&runtime->card->dapm, "DMIC");
39 dev_err(runtime->dev, "DMIC - Ignore suspend failed = %d\n", ret);
44 static int avs_rt5514_be_fixup(struct snd_soc_pcm_runtime *runtime, argument

Completed in 339 milliseconds

1234567891011>>