Lines Matching refs:cpu_priv
63 struct cpu_priv { struct
94 struct cpu_priv cpu_priv; member
167 struct cpu_priv *cpu_priv = &priv->cpu_priv; in fsl_asoc_card_hw_params() local
180 ret = snd_soc_dai_set_sysclk(asoc_rtd_to_cpu(rtd, 0), cpu_priv->sysclk_id[tx], in fsl_asoc_card_hw_params()
181 cpu_priv->sysclk_freq[tx], in fsl_asoc_card_hw_params()
182 cpu_priv->sysclk_dir[tx]); in fsl_asoc_card_hw_params()
188 if (cpu_priv->slot_width) { in fsl_asoc_card_hw_params()
190 cpu_priv->slot_width); in fsl_asoc_card_hw_params()
615 priv->cpu_priv.sysclk_freq[TX] = priv->codec_priv.mclk_freq; in fsl_asoc_card_probe()
616 priv->cpu_priv.sysclk_freq[RX] = priv->codec_priv.mclk_freq; in fsl_asoc_card_probe()
617 priv->cpu_priv.sysclk_dir[TX] = SND_SOC_CLOCK_OUT; in fsl_asoc_card_probe()
618 priv->cpu_priv.sysclk_dir[RX] = SND_SOC_CLOCK_OUT; in fsl_asoc_card_probe()
619 priv->cpu_priv.slot_width = 32; in fsl_asoc_card_probe()
662 priv->cpu_priv.slot_width = 32; in fsl_asoc_card_probe()
703 priv->cpu_priv.sysclk_dir[TX] = SND_SOC_CLOCK_IN; in fsl_asoc_card_probe()
704 priv->cpu_priv.sysclk_dir[RX] = SND_SOC_CLOCK_IN; in fsl_asoc_card_probe()
728 priv->cpu_priv.sysclk_freq[TX] = clk_get_rate(esai_clk); in fsl_asoc_card_probe()
729 priv->cpu_priv.sysclk_freq[RX] = clk_get_rate(esai_clk); in fsl_asoc_card_probe()
736 priv->cpu_priv.sysclk_id[1] = ESAI_HCKT_EXTAL; in fsl_asoc_card_probe()
737 priv->cpu_priv.sysclk_id[0] = ESAI_HCKR_EXTAL; in fsl_asoc_card_probe()
739 priv->cpu_priv.sysclk_id[1] = FSL_SAI_CLK_MAST1; in fsl_asoc_card_probe()
740 priv->cpu_priv.sysclk_id[0] = FSL_SAI_CLK_MAST1; in fsl_asoc_card_probe()