Lines Matching refs:cpu_priv

71 struct cpu_priv {  struct
103 struct cpu_priv cpu_priv; member
177 struct cpu_priv *cpu_priv = &priv->cpu_priv; in fsl_asoc_card_hw_params() local
191 ret = snd_soc_dai_set_sysclk(snd_soc_rtd_to_cpu(rtd, 0), cpu_priv->sysclk_id[tx], in fsl_asoc_card_hw_params()
192 cpu_priv->sysclk_freq[tx], in fsl_asoc_card_hw_params()
193 cpu_priv->sysclk_dir[tx]); in fsl_asoc_card_hw_params()
199 if (cpu_priv->slot_width) { in fsl_asoc_card_hw_params()
200 if (!cpu_priv->slot_num) in fsl_asoc_card_hw_params()
201 cpu_priv->slot_num = 2; in fsl_asoc_card_hw_params()
204 cpu_priv->slot_num, in fsl_asoc_card_hw_params()
205 cpu_priv->slot_width); in fsl_asoc_card_hw_params()
747 priv->cpu_priv.sysclk_freq[TX] = priv->codec_priv[0].mclk_freq; in fsl_asoc_card_probe()
748 priv->cpu_priv.sysclk_freq[RX] = priv->codec_priv[0].mclk_freq; in fsl_asoc_card_probe()
749 priv->cpu_priv.sysclk_dir[TX] = SND_SOC_CLOCK_OUT; in fsl_asoc_card_probe()
750 priv->cpu_priv.sysclk_dir[RX] = SND_SOC_CLOCK_OUT; in fsl_asoc_card_probe()
751 priv->cpu_priv.slot_width = 32; in fsl_asoc_card_probe()
769 priv->cpu_priv.sysclk_dir[TX] = SND_SOC_CLOCK_OUT; in fsl_asoc_card_probe()
770 priv->cpu_priv.sysclk_dir[RX] = SND_SOC_CLOCK_OUT; in fsl_asoc_card_probe()
803 priv->cpu_priv.slot_width = 32; in fsl_asoc_card_probe()
880 priv->cpu_priv.sysclk_dir[TX] = SND_SOC_CLOCK_IN; in fsl_asoc_card_probe()
881 priv->cpu_priv.sysclk_dir[RX] = SND_SOC_CLOCK_IN; in fsl_asoc_card_probe()
906 priv->cpu_priv.sysclk_freq[TX] = clk_get_rate(esai_clk); in fsl_asoc_card_probe()
907 priv->cpu_priv.sysclk_freq[RX] = clk_get_rate(esai_clk); in fsl_asoc_card_probe()
914 priv->cpu_priv.sysclk_id[1] = ESAI_HCKT_EXTAL; in fsl_asoc_card_probe()
915 priv->cpu_priv.sysclk_id[0] = ESAI_HCKR_EXTAL; in fsl_asoc_card_probe()
917 priv->cpu_priv.sysclk_id[1] = FSL_SAI_CLK_MAST1; in fsl_asoc_card_probe()
918 priv->cpu_priv.sysclk_id[0] = FSL_SAI_CLK_MAST1; in fsl_asoc_card_probe()