Home
last modified time | relevance | path

Searched refs:iprtd (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/sound/soc/fsl/
Dimx-pcm-fiq.c51 struct imx_pcm_runtime_data *iprtd = in snd_hrtimer_callback() local
53 struct snd_pcm_substream *substream = iprtd->substream; in snd_hrtimer_callback()
56 if (!atomic_read(&iprtd->playing) && !atomic_read(&iprtd->capturing)) in snd_hrtimer_callback()
62 iprtd->offset = regs.ARM_r8 & 0xffff; in snd_hrtimer_callback()
64 iprtd->offset = regs.ARM_r9 & 0xffff; in snd_hrtimer_callback()
68 hrtimer_forward_now(hrt, ns_to_ktime(iprtd->poll_time_ns)); in snd_hrtimer_callback()
81 struct imx_pcm_runtime_data *iprtd = runtime->private_data; in snd_imx_pcm_hw_params() local
83 iprtd->periods = params_periods(params); in snd_imx_pcm_hw_params()
84 iprtd->period = params_period_bytes(params); in snd_imx_pcm_hw_params()
85 iprtd->offset = 0; in snd_imx_pcm_hw_params()
[all …]