Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/fsl/
H A Dimx-pcm-fiq.c46 struct imx_pcm_runtime_data *iprtd = in snd_hrtimer_callback() local
48 struct snd_pcm_substream *substream = iprtd->substream; in snd_hrtimer_callback()
51 if (!atomic_read(&iprtd->playing) && !atomic_read(&iprtd->capturing)) in snd_hrtimer_callback()
57 iprtd->offset = regs.ARM_r8 & 0xffff; in snd_hrtimer_callback()
59 iprtd->offset = regs.ARM_r9 & 0xffff; in snd_hrtimer_callback()
63 hrtimer_forward_now(hrt, ns_to_ktime(iprtd->poll_time_ns)); in snd_hrtimer_callback()
77 struct imx_pcm_runtime_data *iprtd = runtime->private_data; in snd_imx_pcm_hw_params() local
79 iprtd->periods = params_periods(params); in snd_imx_pcm_hw_params()
80 iprtd->period = params_period_bytes(params); in snd_imx_pcm_hw_params()
81 iprtd->offset = 0; in snd_imx_pcm_hw_params()
[all …]