Lines Matching refs:component
192 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in get_digfil() local
193 struct ak4458_priv *ak4458 = snd_soc_component_get_drvdata(component); in get_digfil()
203 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in set_digfil() local
204 struct ak4458_priv *ak4458 = snd_soc_component_get_drvdata(component); in set_digfil()
214 snd_soc_component_update_bits(component, AK4458_01_CONTROL2, in set_digfil()
219 snd_soc_component_update_bits(component, AK4458_02_CONTROL3, in set_digfil()
224 snd_soc_component_update_bits(component, AK4458_05_CONTROL4, in set_digfil()
325 static int ak4458_rstn_control(struct snd_soc_component *component, int bit) in ak4458_rstn_control() argument
330 ret = snd_soc_component_update_bits(component, in ak4458_rstn_control()
335 ret = snd_soc_component_update_bits(component, in ak4458_rstn_control()
349 struct snd_soc_component *component = dai->component; in ak4458_hw_params() local
350 struct ak4458_priv *ak4458 = snd_soc_component_get_drvdata(component); in ak4458_hw_params()
396 snd_soc_component_update_bits(component, AK4458_06_DSD1, in ak4458_hw_params()
398 snd_soc_component_update_bits(component, AK4458_09_DSD2, in ak4458_hw_params()
404 snd_soc_component_update_bits(component, AK4458_00_CONTROL1, 0x80, 0x80); in ak4458_hw_params()
438 snd_soc_component_update_bits(component, AK4458_00_CONTROL1, in ak4458_hw_params()
449 snd_soc_component_update_bits(component, AK4458_0B_CONTROL7, in ak4458_hw_params()
453 ret = snd_soc_component_update_bits(component, AK4458_09_DSD2, in ak4458_hw_params()
459 ret = ak4458_rstn_control(component, 0); in ak4458_hw_params()
463 ret = ak4458_rstn_control(component, 1); in ak4458_hw_params()
472 struct snd_soc_component *component = dai->component; in ak4458_set_dai_fmt() local
473 struct ak4458_priv *ak4458 = snd_soc_component_get_drvdata(component); in ak4458_set_dai_fmt()
483 dev_err(component->dev, "Clock provider mode unsupported\n"); in ak4458_set_dai_fmt()
496 dev_err(component->dev, "Audio format 0x%02X unsupported\n", in ak4458_set_dai_fmt()
502 snd_soc_component_update_bits(component, AK4458_02_CONTROL3, in ak4458_set_dai_fmt()
507 ret = ak4458_rstn_control(component, 0); in ak4458_set_dai_fmt()
511 ret = ak4458_rstn_control(component, 1); in ak4458_set_dai_fmt()
522 struct snd_soc_component *component = dai->component; in ak4458_set_dai_mute() local
523 struct ak4458_priv *ak4458 = snd_soc_component_get_drvdata(component); in ak4458_set_dai_mute()
529 reg = snd_soc_component_read(component, AK4458_0B_CONTROL7); in ak4458_set_dai_mute()
535 snd_soc_component_update_bits(component, AK4458_01_CONTROL2, 0x01, 1); in ak4458_set_dai_mute()
542 snd_soc_component_update_bits(component, AK4458_01_CONTROL2, 0x01, 0); in ak4458_set_dai_mute()
552 struct snd_soc_component *component = dai->component; in ak4458_set_tdm_slot() local
553 struct ak4458_priv *ak4458 = snd_soc_component_get_drvdata(component); in ak4458_set_tdm_slot()
561 snd_soc_component_update_bits(component, AK4458_0A_CONTROL6, in ak4458_set_tdm_slot()