Lines Matching full:wcd
350 struct pm8916_wcd_analog_priv *wcd = snd_soc_component_get_drvdata(component); in pm8916_wcd_analog_micbias_enable() local
358 if (wcd->micbias_mv) { in pm8916_wcd_analog_micbias_enable()
361 MICB_VOLTAGE_REGVAL(wcd->micbias_mv)); in pm8916_wcd_analog_micbias_enable()
366 if (wcd->micbias_mv >= 2700) in pm8916_wcd_analog_micbias_enable()
412 struct pm8916_wcd_analog_priv *wcd = snd_soc_component_get_drvdata(component); in pm8916_wcd_analog_enable_micbias1() local
415 wcd->micbias1_cap_mode); in pm8916_wcd_analog_enable_micbias1()
423 struct pm8916_wcd_analog_priv *wcd = snd_soc_component_get_drvdata(component); in pm8916_wcd_analog_enable_micbias2() local
426 wcd->micbias2_cap_mode); in pm8916_wcd_analog_enable_micbias2()
477 static void pm8916_wcd_setup_mbhc(struct pm8916_wcd_analog_priv *wcd) in pm8916_wcd_setup_mbhc() argument
479 struct snd_soc_component *component = wcd->component; in pm8916_wcd_setup_mbhc()
490 if (wcd->hphl_jack_type_normally_open) in pm8916_wcd_setup_mbhc()
493 if (wcd->gnd_jack_type_normally_open) in pm8916_wcd_setup_mbhc()
515 pm8916_mbhc_configure_bias(wcd, micbias_enabled); in pm8916_wcd_setup_mbhc()
518 if (wcd->mbhc_btn_enabled) in pm8916_wcd_setup_mbhc()
523 wcd->mbhc_btn0_released = false; in pm8916_wcd_setup_mbhc()
524 wcd->detect_accessory_type = true; in pm8916_wcd_setup_mbhc()
533 struct pm8916_wcd_analog_priv *wcd = snd_soc_component_get_drvdata(component); in pm8916_wcd_analog_enable_micbias_int2() local
541 pm8916_mbhc_configure_bias(wcd, true); in pm8916_wcd_analog_enable_micbias_int2()
544 pm8916_mbhc_configure_bias(wcd, false); in pm8916_wcd_analog_enable_micbias_int2()
980 struct pm8916_wcd_analog_priv *wcd = snd_soc_component_get_drvdata(component); in pm8916_wcd_analog_set_jack() local
982 wcd->jack = jack; in pm8916_wcd_analog_set_jack()
1262 { .compatible = "qcom,pm8916-wcd-analog-codec", },
1270 .name = "qcom,pm8916-wcd-spmi-codec",
1279 MODULE_DESCRIPTION("PMIC PM8916 WCD Analog Codec driver");