Lines Matching refs:component
226 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in pcm512x_overclock_pll_get() local
227 struct pcm512x_priv *pcm512x = snd_soc_component_get_drvdata(component); in pcm512x_overclock_pll_get()
236 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in pcm512x_overclock_pll_put() local
237 struct pcm512x_priv *pcm512x = snd_soc_component_get_drvdata(component); in pcm512x_overclock_pll_put()
239 switch (snd_soc_component_get_bias_level(component)) { in pcm512x_overclock_pll_put()
254 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in pcm512x_overclock_dsp_get() local
255 struct pcm512x_priv *pcm512x = snd_soc_component_get_drvdata(component); in pcm512x_overclock_dsp_get()
264 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in pcm512x_overclock_dsp_put() local
265 struct pcm512x_priv *pcm512x = snd_soc_component_get_drvdata(component); in pcm512x_overclock_dsp_put()
267 switch (snd_soc_component_get_bias_level(component)) { in pcm512x_overclock_dsp_put()
282 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in pcm512x_overclock_dac_get() local
283 struct pcm512x_priv *pcm512x = snd_soc_component_get_drvdata(component); in pcm512x_overclock_dac_get()
292 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in pcm512x_overclock_dac_put() local
293 struct pcm512x_priv *pcm512x = snd_soc_component_get_drvdata(component); in pcm512x_overclock_dac_put()
295 switch (snd_soc_component_get_bias_level(component)) { in pcm512x_overclock_dac_put()
395 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in pcm512x_digital_playback_switch_get() local
396 struct pcm512x_priv *pcm512x = snd_soc_component_get_drvdata(component); in pcm512x_digital_playback_switch_get()
409 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in pcm512x_digital_playback_switch_put() local
410 struct pcm512x_priv *pcm512x = snd_soc_component_get_drvdata(component); in pcm512x_digital_playback_switch_put()
427 dev_err(component->dev, in pcm512x_digital_playback_switch_put()
584 struct snd_soc_component *component = dai->component; in pcm512x_dai_startup_master() local
585 struct pcm512x_priv *pcm512x = snd_soc_component_get_drvdata(component); in pcm512x_dai_startup_master()
626 struct snd_soc_component *component = dai->component; in pcm512x_dai_startup_slave() local
627 struct pcm512x_priv *pcm512x = snd_soc_component_get_drvdata(component); in pcm512x_dai_startup_slave()
652 struct snd_soc_component *component = dai->component; in pcm512x_dai_startup() local
653 struct pcm512x_priv *pcm512x = snd_soc_component_get_drvdata(component); in pcm512x_dai_startup()
668 static int pcm512x_set_bias_level(struct snd_soc_component *component, in pcm512x_set_bias_level() argument
671 struct pcm512x_priv *pcm512x = dev_get_drvdata(component->dev); in pcm512x_set_bias_level()
683 dev_err(component->dev, "Failed to remove standby: %d\n", in pcm512x_set_bias_level()
693 dev_err(component->dev, "Failed to request standby: %d\n", in pcm512x_set_bias_level()
707 struct snd_soc_component *component = dai->component; in pcm512x_find_sck() local
708 struct pcm512x_priv *pcm512x = snd_soc_component_get_drvdata(component); in pcm512x_find_sck()
753 struct snd_soc_component *component = dai->component; in pcm512x_find_pll_coeff() local
754 struct pcm512x_priv *pcm512x = snd_soc_component_get_drvdata(component); in pcm512x_find_pll_coeff()
860 struct snd_soc_component *component = dai->component; in pcm512x_pllin_dac_rate() local
861 struct pcm512x_priv *pcm512x = snd_soc_component_get_drvdata(component); in pcm512x_pllin_dac_rate()
891 struct snd_soc_component *component = dai->component; in pcm512x_set_dividers() local
892 struct pcm512x_priv *pcm512x = snd_soc_component_get_drvdata(component); in pcm512x_set_dividers()
1016 dev_err(component->dev, in pcm512x_set_dividers()
1025 dev_err(component->dev, in pcm512x_set_dividers()
1054 dev_err(component->dev, in pcm512x_set_dividers()
1149 dev_err(component->dev, "Failed to set fs speed: %d\n", ret); in pcm512x_set_dividers()
1153 dev_dbg(component->dev, "DSP divider %d\n", dsp_div); in pcm512x_set_dividers()
1154 dev_dbg(component->dev, "DAC divider %d\n", dac_div); in pcm512x_set_dividers()
1155 dev_dbg(component->dev, "NCP divider %d\n", ncp_div); in pcm512x_set_dividers()
1156 dev_dbg(component->dev, "OSR divider %d\n", osr_div); in pcm512x_set_dividers()
1157 dev_dbg(component->dev, "BCK divider %d\n", bclk_div); in pcm512x_set_dividers()
1158 dev_dbg(component->dev, "LRCK divider %d\n", lrclk_div); in pcm512x_set_dividers()
1159 dev_dbg(component->dev, "IDAC %d\n", idac); in pcm512x_set_dividers()
1160 dev_dbg(component->dev, "1<<FSSP %d\n", 1 << fssp); in pcm512x_set_dividers()
1169 struct snd_soc_component *component = dai->component; in pcm512x_hw_params() local
1170 struct pcm512x_priv *pcm512x = snd_soc_component_get_drvdata(component); in pcm512x_hw_params()
1175 dev_dbg(component->dev, "hw_params %u Hz, %u channels\n", in pcm512x_hw_params()
1193 dev_err(component->dev, "Bad frame size: %d\n", in pcm512x_hw_params()
1201 dev_err(component->dev, "Failed to set frame size: %d\n", ret); in pcm512x_hw_params()
1210 dev_err(component->dev, in pcm512x_hw_params()
1221 dev_err(component->dev, "Failed to set FLEX_A: %d\n", ret); in pcm512x_hw_params()
1227 dev_err(component->dev, "Failed to set FLEX_B: %d\n", ret); in pcm512x_hw_params()
1240 dev_err(component->dev, in pcm512x_hw_params()
1255 dev_err(component->dev, in pcm512x_hw_params()
1264 dev_err(component->dev, "Failed to disable pll: %d\n", ret); in pcm512x_hw_params()
1277 dev_err(component->dev, in pcm512x_hw_params()
1286 dev_err(component->dev, in pcm512x_hw_params()
1295 dev_err(component->dev, "Failed to enable pll: %d\n", ret); in pcm512x_hw_params()
1303 dev_err(component->dev, "Failed to enable gpio %d: %d\n", in pcm512x_hw_params()
1312 dev_err(component->dev, "Failed to output pll on %d: %d\n", in pcm512x_hw_params()
1321 dev_err(component->dev, "Failed to halt clocks: %d\n", ret); in pcm512x_hw_params()
1328 dev_err(component->dev, "Failed to resume clocks: %d\n", ret); in pcm512x_hw_params()
1338 struct snd_soc_component *component = dai->component; in pcm512x_set_fmt() local
1339 struct pcm512x_priv *pcm512x = snd_soc_component_get_drvdata(component); in pcm512x_set_fmt()
1367 dev_err(component->dev, "Failed to enable clock output: %d\n", ret); in pcm512x_set_fmt()
1375 dev_err(component->dev, "Failed to enable provider mode: %d\n", ret); in pcm512x_set_fmt()
1396 dev_err(component->dev, "unsupported DAI format: 0x%x\n", in pcm512x_set_fmt()
1404 dev_err(component->dev, "Failed to set data format: %d\n", ret); in pcm512x_set_fmt()
1411 dev_err(component->dev, "Failed to set data offset: %d\n", ret); in pcm512x_set_fmt()
1422 struct snd_soc_component *component = dai->component; in pcm512x_set_bclk_ratio() local
1423 struct pcm512x_priv *pcm512x = snd_soc_component_get_drvdata(component); in pcm512x_set_bclk_ratio()
1435 struct snd_soc_component *component = dai->component; in pcm512x_mute() local
1436 struct pcm512x_priv *pcm512x = snd_soc_component_get_drvdata(component); in pcm512x_mute()
1448 dev_err(component->dev, in pcm512x_mute()
1461 dev_err(component->dev, in pcm512x_mute()