Lines Matching refs:component
27 struct snd_soc_component *component; member
705 struct snd_soc_component *component = adcx140->component; in adcx140_pwr_ctrl() local
717 dev_err(component->dev, "%s: register write error %d\n", in adcx140_pwr_ctrl()
729 struct snd_soc_component *component = dai->component; in adcx140_hw_params() local
730 struct adcx140_priv *adcx140 = snd_soc_component_get_drvdata(component); in adcx140_hw_params()
747 dev_err(component->dev, "%s: Unsupported width %d\n", in adcx140_hw_params()
754 snd_soc_component_update_bits(component, ADCX140_ASI_CFG0, in adcx140_hw_params()
765 struct snd_soc_component *component = codec_dai->component; in adcx140_set_dai_fmt() local
766 struct adcx140_priv *adcx140 = snd_soc_component_get_drvdata(component); in adcx140_set_dai_fmt()
780 dev_err(component->dev, "Invalid DAI clock provider\n"); in adcx140_set_dai_fmt()
800 dev_err(component->dev, "Invalid DAI interface format\n"); in adcx140_set_dai_fmt()
816 dev_err(component->dev, "Invalid DAI clock signal polarity\n"); in adcx140_set_dai_fmt()
827 snd_soc_component_update_bits(component, ADCX140_ASI_CFG0, in adcx140_set_dai_fmt()
832 snd_soc_component_update_bits(component, ADCX140_MST_CFG0, in adcx140_set_dai_fmt()
836 snd_soc_component_update_bits(component, ADCX140_ASI_CFG1, in adcx140_set_dai_fmt()
848 struct snd_soc_component *component = codec_dai->component; in adcx140_set_dai_tdm_slot() local
849 struct adcx140_priv *adcx140 = snd_soc_component_get_drvdata(component); in adcx140_set_dai_tdm_slot()
856 dev_err(component->dev, "Only lower adjacent slots are supported\n"); in adcx140_set_dai_tdm_slot()
867 dev_err(component->dev, "Unsupported slot width %d\n", slot_width); in adcx140_set_dai_tdm_slot()
955 static int adcx140_codec_probe(struct snd_soc_component *component) in adcx140_codec_probe() argument
957 struct adcx140_priv *adcx140 = snd_soc_component_get_drvdata(component); in adcx140_codec_probe()
1081 static int adcx140_set_bias_level(struct snd_soc_component *component, in adcx140_set_bias_level() argument
1084 struct adcx140_priv *adcx140 = snd_soc_component_get_drvdata(component); in adcx140_set_bias_level()