/linux-master/sound/soc/sof/ |
H A D | compress.c | 60 crtd = cstream->runtime; 82 struct snd_dma_buffer *dmab = cstream->runtime->dma_buffer_p; 99 struct snd_compr_runtime *crtd = cstream->runtime; 135 struct sof_compr_stream *sstream = cstream->runtime->private_data; 167 struct snd_compr_runtime *crtd = cstream->runtime; 351 struct snd_compr_runtime *rtd = cstream->runtime; 368 struct sof_compr_stream *sstream = cstream->runtime->private_data;
|
/linux-master/sound/pci/ice1712/ |
H A D | ice1712.c | 554 struct snd_pcm_runtime *runtime = substream->runtime; local 560 if (snd_pcm_format_width(runtime->format) == 16) 562 if (runtime->channels == 2) 564 rate = (runtime->rate * 8192) / 375; 570 outl(runtime->dma_addr, ice->ddma_port + 0); 587 struct snd_pcm_runtime *runtime = substream->runtime; local 592 if (snd_pcm_format_width(runtime->format) == 16) 594 if (runtime 621 struct snd_pcm_runtime *runtime = substream->runtime; local 646 struct snd_pcm_runtime *runtime = substream->runtime; local 750 struct snd_pcm_runtime *runtime = substream->runtime; local 760 struct snd_pcm_runtime *runtime = substream->runtime; local 775 struct snd_pcm_runtime *runtime = substream->runtime; local 1127 struct snd_pcm_runtime *runtime = substream->runtime; local 1149 struct snd_pcm_runtime *runtime = substream->runtime; local [all...] |
H A D | juli.c | 163 * If SPDIF capture and slaved to SPDIF-IN, setting runtime rate 170 struct snd_pcm_runtime *runtime = substream->runtime; local 177 if (rate >= runtime->hw.rate_min && rate <= runtime->hw.rate_max) { 178 runtime->hw.rate_min = rate; 179 runtime->hw.rate_max = rate;
|
/linux-master/sound/soc/intel/boards/ |
H A D | kbl_rt5660.c | 306 struct snd_pcm_runtime *runtime = substream->runtime; local 315 runtime->hw.channels_max = DUAL_CHANNEL; 316 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, 319 runtime->hw.formats = SNDRV_PCM_FMTBIT_S16_LE; 320 snd_pcm_hw_constraint_msbits(runtime, 0, 16, 16); 322 snd_pcm_hw_constraint_list(runtime, 0,
|
H A D | sof_es8336.c | 231 static int dmic_init(struct snd_soc_pcm_runtime *runtime) argument 233 struct snd_soc_card *card = runtime->card; 251 static int sof_hdmi_init(struct snd_soc_pcm_runtime *runtime) argument 253 struct sof_es8336_private *priv = snd_soc_card_get_drvdata(runtime->card); 254 struct snd_soc_dai *dai = snd_soc_rtd_to_codec(runtime, 0); 257 pcm = devm_kzalloc(runtime->card->dev, sizeof(*pcm), GFP_KERNEL); 262 pcm->device = runtime->dai_link->id; 270 static int sof_es8316_init(struct snd_soc_pcm_runtime *runtime) argument 272 struct snd_soc_component *codec = snd_soc_rtd_to_codec(runtime, 0)->component; 273 struct snd_soc_card *card = runtime [all...] |
H A D | kbl_rt5663_max98927.c | 389 struct snd_pcm_runtime *runtime = substream->runtime; local 398 runtime->hw.channels_max = 2; 399 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, 402 runtime->hw.formats = SNDRV_PCM_FMTBIT_S16_LE; 403 snd_pcm_hw_constraint_msbits(runtime, 0, 16, 16); 405 snd_pcm_hw_constraint_list(runtime, 0, 568 struct snd_pcm_runtime *runtime = substream->runtime; local 570 runtime [all...] |
H A D | cht_bsw_rt5645.c | 94 * runtime suspended. Codec needs clock for jack detection and button 250 static int cht_codec_init(struct snd_soc_pcm_runtime *runtime) argument 252 struct snd_soc_card *card = runtime->card; 253 struct cht_mc_private *ctx = snd_soc_card_get_drvdata(runtime->card); 254 struct snd_soc_component *component = snd_soc_rtd_to_codec(runtime, 0)->component; 304 ret = snd_soc_card_jack_new_pins(runtime->card, "Headset", jack_type, 308 dev_err(runtime->dev, "Headset jack creation failed %d\n", ret); 332 dev_err(runtime->dev, "unable to set MCLK rate\n"); 416 return snd_pcm_hw_constraint_single(substream->runtime,
|
/linux-master/sound/pci/ |
H A D | ens1370.c | 855 struct snd_pcm_runtime *runtime = substream->runtime; local 860 if (snd_pcm_format_width(runtime->format) == 16) 862 if (runtime->channels > 1) 868 if (runtime->rate == 48000) 875 outl(runtime->dma_addr, ES_REG(ensoniq, DAC1_FRAME)); 884 switch (runtime->rate) { 895 snd_es1371_dac1_rate(ensoniq, runtime->rate); 903 struct snd_pcm_runtime *runtime = substream->runtime; local 943 struct snd_pcm_runtime *runtime = substream->runtime; local 1098 struct snd_pcm_runtime *runtime = substream->runtime; local 1121 struct snd_pcm_runtime *runtime = substream->runtime; local 1144 struct snd_pcm_runtime *runtime = substream->runtime; local [all...] |
H A D | atiixp_modem.c | 340 addr = (u32)substream->runtime->dma_addr; 596 struct snd_pcm_runtime *runtime = substream->runtime; local 597 struct atiixp_dma *dma = runtime->private_data; 608 return bytes_to_frames(runtime, curptr); 657 struct atiixp_dma *dma = substream->runtime->private_data; 779 struct atiixp_dma *dma = substream->runtime->private_data; 783 dma->buf_addr = substream->runtime->dma_addr; 806 struct atiixp_dma *dma = substream->runtime->private_data; 840 struct snd_pcm_runtime *runtime local [all...] |
H A D | maestro3.c | 1093 struct m3_dma *s = subs->runtime->private_data; 1131 struct snd_pcm_runtime *runtime = subs->runtime; local 1143 s->dma_size = frames_to_bytes(runtime, runtime->buffer_size); 1144 s->period_size = frames_to_bytes(runtime, runtime->period_size); 1214 struct snd_pcm_runtime *runtime) 1234 runtime->channels == 2 ? 0 : 1); 1238 snd_pcm_format_width(runtime 1213 snd_m3_pcm_setup2(struct snd_m3 *chip, struct m3_dma *s, struct snd_pcm_runtime *runtime) argument 1402 struct snd_pcm_runtime *runtime = subs->runtime; local 1763 struct snd_pcm_runtime *runtime = subs->runtime; local 1788 struct snd_pcm_runtime *runtime = subs->runtime; local [all...] |
H A D | via82xx_modem.c | 514 struct viadev *viadev = substream->runtime->private_data; 611 struct viadev *viadev = substream->runtime->private_data; 633 return bytes_to_frames(substream->runtime, res); 644 struct viadev *viadev = substream->runtime->private_data; 666 struct viadev *viadev = substream->runtime->private_data; 690 struct viadev *viadev = substream->runtime->private_data; 731 struct snd_pcm_runtime *runtime = substream->runtime; local 740 runtime->hw = snd_via82xx_hw; 742 err = snd_pcm_hw_constraint_list(runtime, [all...] |
H A D | azt3328.c | 1419 struct snd_pcm_runtime *runtime = substream->runtime; local 1420 struct snd_azf3328_codec_data *codec = runtime->private_data; 1426 codec->dma_base = runtime->dma_addr; 1430 runtime->rate, 1431 snd_pcm_format_width(runtime->format), 1432 runtime->channels); 1434 runtime->dma_addr, count, size); 1443 struct snd_pcm_runtime *runtime = substream->runtime; local 2009 struct snd_pcm_runtime *runtime = substream->runtime; local [all...] |
/linux-master/sound/soc/stm/ |
H A D | stm32_adfsdm.c | 86 substream->runtime->rate, 0, 90 __func__, substream->runtime->rate); 177 snd_pcm_format_t format = priv->substream->runtime->format; 267 return bytes_to_frames(substream->runtime, priv->pos); 278 priv->pcm_buff = substream->runtime->dma_area;
|
/linux-master/sound/soc/rockchip/ |
H A D | rockchip_max98090.c | 130 static int rk_init(struct snd_soc_pcm_runtime *runtime) argument 198 return snd_pcm_hw_constraint_minmax(substream->runtime, 224 static int rk_hdmi_init(struct snd_soc_pcm_runtime *runtime) argument 226 struct snd_soc_card *card = runtime->card; 227 struct snd_soc_component *component = snd_soc_rtd_to_codec(runtime, 0)->component;
|
/linux-master/sound/pci/cs46xx/ |
H A D | cs46xx_lib.c | 867 struct snd_pcm_runtime *runtime = substream->runtime; local 868 struct snd_cs46xx_pcm * cpcm = runtime->private_data; 869 memcpy(cpcm->hw_buf.area + rec->hw_data, runtime->dma_area + rec->sw_data, bytes); 874 struct snd_pcm_runtime *runtime = substream->runtime; local 875 struct snd_cs46xx_pcm * cpcm = runtime->private_data; 884 struct snd_pcm_runtime *runtime = substream->runtime; local 885 memcpy(runtime 1082 struct snd_pcm_runtime *runtime = substream->runtime; local 1182 struct snd_pcm_runtime *runtime = substream->runtime; local 1204 struct snd_pcm_runtime *runtime = substream->runtime; local 1274 struct snd_pcm_runtime *runtime = substream->runtime; local 1300 struct snd_pcm_runtime *runtime = substream->runtime; local 1312 struct snd_pcm_runtime *runtime = substream->runtime; local 1472 snd_cs46xx_pcm_free_substream(struct snd_pcm_runtime *runtime) argument 1481 struct snd_pcm_runtime *runtime = substream->runtime; local 1596 struct snd_pcm_runtime *runtime = substream->runtime; local [all...] |
/linux-master/sound/pci/ctxfi/ |
H A D | ctatc.c | 134 struct snd_pcm_runtime *runtime; local 140 runtime = apcm->substream->runtime; 143 apcm->vm_block = vm->map(vm, apcm->substream, runtime->dma_bytes); 248 int n_amixer = apcm->substream->runtime->channels, i = 0; 256 desc.multi = apcm->substream->runtime->channels; 263 pitch = atc_get_pitch(apcm->substream->runtime->rate, 268 src->ops->set_sf(src, convert_format(apcm->substream->runtime->format, 465 apcm->substream->runtime->rate); 469 *n_srcc = apcm->substream->runtime [all...] |
/linux-master/include/sound/ |
H A D | vx_core.h | 95 void (*dma_write)(struct vx_core *chip, struct snd_pcm_runtime *runtime, 97 void (*dma_read)(struct vx_core *chip, struct snd_pcm_runtime *runtime, 276 static inline void vx_pseudo_dma_write(struct vx_core *chip, struct snd_pcm_runtime *runtime, argument 279 chip->ops->dma_write(chip, runtime, pipe, count); 282 static inline void vx_pseudo_dma_read(struct vx_core *chip, struct snd_pcm_runtime *runtime, argument 285 chip->ops->dma_read(chip, runtime, pipe, count);
|
/linux-master/sound/pcmcia/vx/ |
H A D | vxp_ops.c | 353 static void vxp_dma_write(struct vx_core *chip, struct snd_pcm_runtime *runtime, argument 358 unsigned short *addr = (unsigned short *)(runtime->dma_area + offset); 370 addr = (unsigned short *)runtime->dma_area; 392 static void vxp_dma_read(struct vx_core *chip, struct snd_pcm_runtime *runtime, argument 398 unsigned short *addr = (unsigned short *)(runtime->dma_area + offset); 410 addr = (unsigned short *)runtime->dma_area;
|
/linux-master/sound/usb/6fire/ |
H A D | pcm.c | 199 struct snd_pcm_runtime *alsa_rt = sub->instance->runtime; 246 struct snd_pcm_runtime *alsa_rt = sub->instance->runtime; 319 if (sub->period_off >= sub->instance->runtime->period_size) { 320 sub->period_off %= sub->instance->runtime->period_size; 344 if (sub->period_off >= sub->instance->runtime->period_size) { 345 sub->period_off %= sub->instance->runtime->period_size; 390 struct snd_pcm_runtime *alsa_rt = alsa_sub->runtime; 453 struct snd_pcm_runtime *alsa_rt = alsa_sub->runtime;
|
/linux-master/sound/soc/dwc/ |
H A D | local.h | 145 struct snd_pcm_runtime *runtime, unsigned int tx_ptr, 148 struct snd_pcm_runtime *runtime, unsigned int rx_ptr,
|
/linux-master/sound/soc/bcm/ |
H A D | cygnus-pcm.c | 575 struct snd_pcm_runtime *runtime = substream->runtime; local 587 ret = snd_pcm_hw_constraint_step(runtime, 0, 592 ret = snd_pcm_hw_constraint_step(runtime, 0, 633 struct snd_pcm_runtime *runtime = substream->runtime; local 653 start = runtime->dma_addr; 690 return bytes_to_frames(substream->runtime, res);
|
/linux-master/include/linux/ |
H A D | posix-timers.h | 99 u64 runtime) 101 pct->bases[CPUCLOCK_SCHED].nextevt = runtime; 98 posix_cputimers_rt_watchdog(struct posix_cputimers *pct, u64 runtime) argument
|
/linux-master/drivers/firmware/efi/ |
H A D | efi-init.c | 111 efi.runtime = systab->runtime;
|
/linux-master/arch/x86/boot/compressed/ |
H A D | efi.h | 77 u64 runtime; member in struct:__anon156 94 u32 runtime; member in struct:__anon157
|
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | intel_context_types.h | 25 DECLARE_EWMA(runtime, 3, 8); 160 } runtime; member in struct:intel_context::intel_context_stats
|