Lines Matching refs:component
29 struct snd_soc_component *component; member
37 struct snd_soc_component *component = priv->component; in tm2_start_sysclk() local
40 ret = snd_soc_component_set_pll(component, WM5110_FLL1_REFCLK, in tm2_start_sysclk()
45 dev_err(component->dev, "Failed to set FLL1 source: %d\n", ret); in tm2_start_sysclk()
49 ret = snd_soc_component_set_pll(component, WM5110_FLL1, in tm2_start_sysclk()
54 dev_err(component->dev, "Failed to start FLL1: %d\n", ret); in tm2_start_sysclk()
58 ret = snd_soc_component_set_sysclk(component, ARIZONA_CLK_SYSCLK, in tm2_start_sysclk()
63 dev_err(component->dev, "Failed to set SYSCLK source: %d\n", ret); in tm2_start_sysclk()
73 struct snd_soc_component *component = priv->component; in tm2_stop_sysclk() local
76 ret = snd_soc_component_set_pll(component, WM5110_FLL1, 0, 0, 0); in tm2_stop_sysclk()
78 dev_err(component->dev, "Failed to stop FLL1: %d\n", ret); in tm2_stop_sysclk()
82 ret = snd_soc_component_set_sysclk(component, ARIZONA_CLK_SYSCLK, in tm2_stop_sysclk()
85 dev_err(component->dev, "Failed to stop SYSCLK: %d\n", ret); in tm2_stop_sysclk()
96 struct snd_soc_component *component = asoc_rtd_to_codec(rtd, 0)->component; in tm2_aif1_hw_params() local
121 dev_err(component->dev, "Not supported sample rate: %d\n", in tm2_aif1_hw_params()
137 struct snd_soc_component *component = asoc_rtd_to_codec(rtd, 0)->component; in tm2_aif2_hw_params() local
153 dev_err(component->dev, "Not supported sample rate: %d\n", in tm2_aif2_hw_params()
158 ret = snd_soc_component_set_pll(component, WM5110_FLL2_REFCLK, in tm2_aif2_hw_params()
163 dev_err(component->dev, "Failed to set FLL2 source: %d\n", ret); in tm2_aif2_hw_params()
167 ret = snd_soc_component_set_pll(component, WM5110_FLL2, in tm2_aif2_hw_params()
172 dev_err(component->dev, "Failed to start FLL2: %d\n", ret); in tm2_aif2_hw_params()
176 ret = snd_soc_component_set_sysclk(component, ARIZONA_CLK_ASYNCCLK, in tm2_aif2_hw_params()
181 dev_err(component->dev, "Failed to set ASYNCCLK source: %d\n", ret); in tm2_aif2_hw_params()
191 struct snd_soc_component *component = asoc_rtd_to_codec(rtd, 0)->component; in tm2_aif2_hw_free() local
195 ret = snd_soc_component_set_pll(component, WM5110_FLL2, ARIZONA_FLL_SRC_MCLK1, in tm2_aif2_hw_free()
198 dev_err(component->dev, "Failed to stop FLL2: %d\n", ret); in tm2_aif2_hw_free()
319 priv->component = asoc_rtd_to_codec(rtd, 0)->component; in tm2_late_probe()