Lines Matching refs:component
284 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in nau8821_biq_coeff_get() local
287 if (!component->regmap) in nau8821_biq_coeff_get()
290 regmap_raw_read(component->regmap, NAU8821_R21_BIQ0_COF1, in nau8821_biq_coeff_get()
299 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in nau8821_biq_coeff_put() local
303 if (!component->regmap) in nau8821_biq_coeff_put()
311 regmap_raw_write(component->regmap, NAU8821_R21_BIQ0_COF1, in nau8821_biq_coeff_put()
469 struct snd_soc_component *component = in dmic_clock_control() local
471 struct nau8821 *nau8821 = snd_soc_component_get_drvdata(component); in dmic_clock_control()
508 struct snd_soc_component *component = in nau8821_left_adc_event() local
510 struct nau8821 *nau8821 = snd_soc_component_get_drvdata(component); in nau8821_left_adc_event()
532 struct snd_soc_component *component = in nau8821_right_adc_event() local
534 struct nau8821 *nau8821 = snd_soc_component_get_drvdata(component); in nau8821_right_adc_event()
556 struct snd_soc_component *component = in nau8821_pump_event() local
559 snd_soc_component_get_drvdata(component); in nau8821_pump_event()
582 struct snd_soc_component *component = in nau8821_output_dac_event() local
584 struct nau8821 *nau8821 = snd_soc_component_get_drvdata(component); in nau8821_output_dac_event()
606 struct snd_soc_component *component = in system_clock_control() local
608 struct nau8821 *nau8821 = snd_soc_component_get_drvdata(component); in system_clock_control()
630 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in nau8821_left_fepga_event() local
631 struct nau8821 *nau8821 = snd_soc_component_get_drvdata(component); in nau8821_left_fepga_event()
832 struct snd_soc_component *component = dai->component; in nau8821_dai_startup() local
833 struct nau8821 *nau8821 = snd_soc_component_get_drvdata(component); in nau8821_dai_startup()
848 struct snd_soc_component *component = dai->component; in nau8821_hw_params() local
849 struct nau8821 *nau8821 = snd_soc_component_get_drvdata(component); in nau8821_hw_params()
918 struct snd_soc_component *component = codec_dai->component; in nau8821_set_dai_fmt() local
919 struct nau8821 *nau8821 = snd_soc_component_get_drvdata(component); in nau8821_set_dai_fmt()
975 struct snd_soc_component *component = dai->component; in nau8821_digital_mute() local
976 struct nau8821 *nau8821 = snd_soc_component_get_drvdata(component); in nau8821_digital_mute()
1053 struct snd_soc_component *component = snd_soc_dapm_to_component(dapm); in nau8821_eject_jack() local
1061 snd_soc_component_disable_pin(component, "MICBIAS"); in nau8821_eject_jack()
1109 struct snd_soc_component *component = snd_soc_dapm_to_component(dapm); in nau8821_jdet_work() local
1113 snd_soc_component_force_enable_pin(component, "MICBIAS"); in nau8821_jdet_work()
1143 snd_soc_component_disable_pin(component, "MICBIAS"); in nau8821_jdet_work()
1256 static int nau8821_component_probe(struct snd_soc_component *component) in nau8821_component_probe() argument
1258 struct nau8821 *nau8821 = snd_soc_component_get_drvdata(component); in nau8821_component_probe()
1260 snd_soc_component_get_dapm(component); in nau8821_component_probe()
1397 static int nau8821_set_fll(struct snd_soc_component *component, in nau8821_set_fll() argument
1400 struct nau8821 *nau8821 = snd_soc_component_get_drvdata(component); in nau8821_set_fll()
1514 static int nau8821_set_sysclk(struct snd_soc_component *component, int clk_id, in nau8821_set_sysclk() argument
1517 struct nau8821 *nau8821 = snd_soc_component_get_drvdata(component); in nau8821_set_sysclk()
1547 static int nau8821_set_bias_level(struct snd_soc_component *component, in nau8821_set_bias_level() argument
1550 struct nau8821 *nau8821 = snd_soc_component_get_drvdata(component); in nau8821_set_bias_level()
1562 if (snd_soc_component_get_bias_level(component) == in nau8821_set_bias_level()
1595 static int __maybe_unused nau8821_suspend(struct snd_soc_component *component) in nau8821_suspend() argument
1597 struct nau8821 *nau8821 = snd_soc_component_get_drvdata(component); in nau8821_suspend()
1601 snd_soc_component_force_bias_level(component, SND_SOC_BIAS_OFF); in nau8821_suspend()
1603 snd_soc_component_disable_pin(component, "MICBIAS"); in nau8821_suspend()
1611 static int __maybe_unused nau8821_resume(struct snd_soc_component *component) in nau8821_resume() argument
1613 struct nau8821 *nau8821 = snd_soc_component_get_drvdata(component); in nau8821_resume()
1652 int nau8821_enable_jack_detect(struct snd_soc_component *component, in nau8821_enable_jack_detect() argument
1655 struct nau8821 *nau8821 = snd_soc_component_get_drvdata(component); in nau8821_enable_jack_detect()