Lines Matching refs:component
312 struct snd_soc_component *component = in sma1303_force_mute_get() local
314 struct sma1303_priv *sma1303 = snd_soc_component_get_drvdata(component); in sma1303_force_mute_get()
326 struct snd_soc_component *component = in sma1303_force_mute_put() local
328 struct sma1303_priv *sma1303 = snd_soc_component_get_drvdata(component); in sma1303_force_mute_put()
346 struct snd_soc_component *component = in sma1303_postscaler_get() local
348 struct sma1303_priv *sma1303 = snd_soc_component_get_drvdata(component); in sma1303_postscaler_get()
363 struct snd_soc_component *component = in sma1303_postscaler_put() local
365 struct sma1303_priv *sma1303 = snd_soc_component_get_drvdata(component); in sma1303_postscaler_put()
380 struct snd_soc_component *component = in sma1303_tdm_slot_rx_get() local
382 struct sma1303_priv *sma1303 = snd_soc_component_get_drvdata(component); in sma1303_tdm_slot_rx_get()
398 struct snd_soc_component *component = in sma1303_tdm_slot_rx_put() local
400 struct sma1303_priv *sma1303 = snd_soc_component_get_drvdata(component); in sma1303_tdm_slot_rx_put()
415 struct snd_soc_component *component = in sma1303_tdm_slot_tx_get() local
417 struct sma1303_priv *sma1303 = snd_soc_component_get_drvdata(component); in sma1303_tdm_slot_tx_get()
433 struct snd_soc_component *component = in sma1303_tdm_slot_tx_put() local
435 struct sma1303_priv *sma1303 = snd_soc_component_get_drvdata(component); in sma1303_tdm_slot_tx_put()
447 static int sma1303_startup(struct snd_soc_component *component) in sma1303_startup() argument
449 struct sma1303_priv *sma1303 = snd_soc_component_get_drvdata(component); in sma1303_startup()
497 static int sma1303_shutdown(struct snd_soc_component *component) in sma1303_shutdown() argument
499 struct sma1303_priv *sma1303 = snd_soc_component_get_drvdata(component); in sma1303_shutdown()
526 struct snd_soc_component *component = in sma1303_aif_in_event() local
528 struct sma1303_priv *sma1303 = snd_soc_component_get_drvdata(component); in sma1303_aif_in_event()
596 struct snd_soc_component *component = in sma1303_aif_out_event() local
598 struct sma1303_priv *sma1303 = snd_soc_component_get_drvdata(component); in sma1303_aif_out_event()
736 struct snd_soc_component *component = in sma1303_sdo_event() local
738 struct sma1303_priv *sma1303 = snd_soc_component_get_drvdata(component); in sma1303_sdo_event()
788 struct snd_soc_component *component = in sma1303_post_scaler_event() local
790 struct sma1303_priv *sma1303 = snd_soc_component_get_drvdata(component); in sma1303_post_scaler_event()
822 struct snd_soc_component *component = in sma1303_power_event() local
824 struct sma1303_priv *sma1303 = snd_soc_component_get_drvdata(component); in sma1303_power_event()
831 ret = sma1303_startup(component); in sma1303_power_event()
836 ret = sma1303_shutdown(component); in sma1303_power_event()
929 static int sma1303_setup_pll(struct snd_soc_component *component, in sma1303_setup_pll() argument
932 struct sma1303_priv *sma1303 = snd_soc_component_get_drvdata(component); in sma1303_setup_pll()
936 dev_dbg(component->dev, "%s : BCLK = %dHz\n", in sma1303_setup_pll()
940 dev_dbg(component->dev, "%s : MCLK is not supported\n", in sma1303_setup_pll()
948 dev_dbg(component->dev, "%s : No matching value between pll table and SCK\n", in sma1303_setup_pll()
984 struct snd_soc_component *component = dai->component; in sma1303_dai_hw_params_amp() local
985 struct sma1303_priv *sma1303 = snd_soc_component_get_drvdata(component); in sma1303_dai_hw_params_amp()
995 dev_dbg(component->dev, in sma1303_dai_hw_params_amp()
1003 sma1303_setup_pll(component, bclk); in sma1303_dai_hw_params_amp()
1045 dev_err(component->dev, "%s not support rate : %d\n", in sma1303_dai_hw_params_amp()
1056 dev_dbg(component->dev, in sma1303_dai_hw_params_amp()
1067 dev_dbg(component->dev, in sma1303_dai_hw_params_amp()
1077 dev_dbg(component->dev, in sma1303_dai_hw_params_amp()
1087 dev_err(component->dev, in sma1303_dai_hw_params_amp()
1158 dev_err(component->dev, in sma1303_dai_hw_params_amp()
1172 struct snd_soc_component *component = dai->component; in sma1303_dai_set_sysclk_amp() local
1173 struct sma1303_priv *sma1303 = snd_soc_component_get_drvdata(component); in sma1303_dai_set_sysclk_amp()
1185 dev_err(component->dev, "Invalid clk id: %d\n", clk_id); in sma1303_dai_set_sysclk_amp()
1194 struct snd_soc_component *component = dai->component; in sma1303_dai_mute() local
1195 struct sma1303_priv *sma1303 = snd_soc_component_get_drvdata(component); in sma1303_dai_mute()
1202 dev_dbg(component->dev, "%s : %s\n", __func__, "MUTE"); in sma1303_dai_mute()
1214 dev_dbg(component->dev, "%s : %s\n", in sma1303_dai_mute()
1235 struct snd_soc_component *component = dai->component; in sma1303_dai_set_fmt_amp() local
1236 struct sma1303_priv *sma1303 = snd_soc_component_get_drvdata(component); in sma1303_dai_set_fmt_amp()
1242 dev_dbg(component->dev, in sma1303_dai_set_fmt_amp()
1252 dev_dbg(component->dev, in sma1303_dai_set_fmt_amp()
1262 dev_err(component->dev, in sma1303_dai_set_fmt_amp()
1277 dev_err(component->dev, in sma1303_dai_set_fmt_amp()
1285 dev_dbg(component->dev, "%s : %s\n", in sma1303_dai_set_fmt_amp()
1294 dev_dbg(component->dev, "%s : %s\n", in sma1303_dai_set_fmt_amp()
1303 dev_dbg(component->dev, "%s : %s\n", in sma1303_dai_set_fmt_amp()
1312 dev_dbg(component->dev, "%s : %s\n", in sma1303_dai_set_fmt_amp()
1316 dev_err(component->dev, in sma1303_dai_set_fmt_amp()
1330 struct snd_soc_component *component = dai->component; in sma1303_dai_set_tdm_slot() local
1331 struct sma1303_priv *sma1303 = snd_soc_component_get_drvdata(component); in sma1303_dai_set_tdm_slot()
1334 dev_dbg(component->dev, "%s : slots = %d, slot_width - %d\n", in sma1303_dai_set_tdm_slot()
1361 dev_err(component->dev, "%s not support TDM %d slot_width\n", in sma1303_dai_set_tdm_slot()
1382 dev_err(component->dev, "%s not support TDM %d slots\n", in sma1303_dai_set_tdm_slot()
1394 dev_err(component->dev, "%s Incorrect tdm-slot-rx %d set\n", in sma1303_dai_set_tdm_slot()
1416 dev_err(component->dev, "%s Incorrect tdm-slot-tx %d set\n", in sma1303_dai_set_tdm_slot()
1566 static int sma1303_probe(struct snd_soc_component *component) in sma1303_probe() argument
1569 snd_soc_component_get_dapm(component); in sma1303_probe()
1576 static void sma1303_remove(struct snd_soc_component *component) in sma1303_remove() argument
1578 struct sma1303_priv *sma1303 = snd_soc_component_get_drvdata(component); in sma1303_remove()