Lines Matching refs:component
225 struct snd_soc_component *component; member
383 struct snd_soc_component *component = dai->component; in ak4613_dai_shutdown() local
384 struct ak4613_priv *priv = snd_soc_component_get_drvdata(component); in ak4613_dai_shutdown()
385 struct device *dev = component->dev; in ak4613_dai_shutdown()
507 struct snd_soc_component *component = dai->component; in ak4613_dai_startup() local
508 struct ak4613_priv *priv = snd_soc_component_get_drvdata(component); in ak4613_dai_startup()
521 struct snd_soc_component *component = codec_dai->component; in ak4613_dai_set_sysclk() local
522 struct ak4613_priv *priv = snd_soc_component_get_drvdata(component); in ak4613_dai_set_sysclk()
531 struct snd_soc_component *component = dai->component; in ak4613_dai_set_fmt() local
532 struct ak4613_priv *priv = snd_soc_component_get_drvdata(component); in ak4613_dai_set_fmt()
565 struct snd_soc_component *component = dai->component; in ak4613_dai_hw_params() local
566 struct ak4613_priv *priv = snd_soc_component_get_drvdata(component); in ak4613_dai_hw_params()
567 struct device *dev = component->dev; in ak4613_dai_hw_params()
642 snd_soc_component_update_bits(component, CTRL1, FMT_MASK, priv->ctrl1); in ak4613_dai_hw_params()
643 snd_soc_component_update_bits(component, CTRL2, DFS_MASK, ctrl2); in ak4613_dai_hw_params()
645 snd_soc_component_update_bits(component, ICTRL, ICTRL_MASK, priv->ic); in ak4613_dai_hw_params()
646 snd_soc_component_update_bits(component, OCTRL, OCTRL_MASK, priv->oc); in ak4613_dai_hw_params()
655 static int ak4613_set_bias_level(struct snd_soc_component *component, in ak4613_set_bias_level() argument
675 snd_soc_component_write(component, PW_MGMT1, mgmt1); in ak4613_set_bias_level()
685 struct snd_soc_component *component = priv->component; in ak4613_dummy_write() local
702 mgmt1 = snd_soc_component_read(component, PW_MGMT1); in ak4613_dummy_write()
703 mgmt3 = snd_soc_component_read(component, PW_MGMT3); in ak4613_dummy_write()
705 snd_soc_component_write(component, PW_MGMT1, mgmt1); in ak4613_dummy_write()
706 snd_soc_component_write(component, PW_MGMT3, mgmt3); in ak4613_dummy_write()
712 struct snd_soc_component *component = dai->component; in ak4613_dai_trigger() local
713 struct ak4613_priv *priv = snd_soc_component_get_drvdata(component); in ak4613_dai_trigger()
745 priv->component = component; in ak4613_dai_trigger()
801 static int ak4613_suspend(struct snd_soc_component *component) in ak4613_suspend() argument
803 struct regmap *regmap = dev_get_regmap(component->dev, NULL); in ak4613_suspend()
810 static int ak4613_resume(struct snd_soc_component *component) in ak4613_resume() argument
812 struct regmap *regmap = dev_get_regmap(component->dev, NULL); in ak4613_resume()