/linux-6.3-rc2/sound/soc/codecs/ |
A D | wcd-mbhc-v2.c | 110 mbhc->mbhc_cb->set_btn_thr(component, mbhc->cfg->btn_low, in wcd_program_btn_threshold() 167 if (!mbhc) in wcd_mbhc_event_notify() 303 mbhc->zl = mbhc->zr = 0; in wcd_mbhc_report_plug_removal() 322 mbhc->mbhc_cb->compute_impedance(mbhc->component, &mbhc->zl, &mbhc->zr); in wcd_mbhc_compute_impedance() 361 if ((mbhc->zl > mbhc->cfg->linein_th) && in wcd_mbhc_report_plug_insertion() 362 (mbhc->zr > mbhc->cfg->linein_th) && in wcd_mbhc_report_plug_insertion() 370 snd_soc_jack_report(mbhc->jack, mbhc->hph_status, in wcd_mbhc_report_plug_insertion() 387 snd_soc_jack_report(mbhc->jack, mbhc->hph_status, in wcd_mbhc_report_plug_insertion() 1013 mbhc->mbhc_cb->bcs_enable(mbhc->component, enable); in wcd_mbhc_bcs_enable() 1457 mbhc = devm_kzalloc(dev, sizeof(*mbhc), GFP_KERNEL); in wcd_mbhc_init() [all …]
|
A D | wcd-mbhc-v2.h | 273 void wcd_mbhc_stop(struct wcd_mbhc *mbhc); 274 void wcd_mbhc_set_hph_type(struct wcd_mbhc *mbhc, int hph_type); 275 int wcd_mbhc_get_hph_type(struct wcd_mbhc *mbhc); 281 int wcd_mbhc_get_impedance(struct wcd_mbhc *mbhc, uint32_t *zl, 283 void wcd_mbhc_deinit(struct wcd_mbhc *mbhc); 284 int wcd_mbhc_event_notify(struct wcd_mbhc *mbhc, unsigned long event); 293 static inline void wcd_mbhc_stop(struct wcd_mbhc *mbhc) in wcd_mbhc_stop() argument 310 static inline int wcd_mbhc_get_hph_type(struct wcd_mbhc *mbhc) in wcd_mbhc_get_hph_type() argument 320 static inline int wcd_mbhc_start(struct wcd_mbhc *mbhc, in wcd_mbhc_start() argument 327 static inline int wcd_mbhc_get_impedance(struct wcd_mbhc *mbhc, in wcd_mbhc_get_impedance() argument [all …]
|
A D | wcd934x.c | 568 struct wcd_mbhc *mbhc; member 2469 wcd_mbhc_event_notify(wcd934x->mbhc, in wcd934x_micbias_control() 2474 wcd_mbhc_event_notify(wcd934x->mbhc, in wcd934x_micbias_control() 2489 wcd_mbhc_event_notify(wcd934x->mbhc, in wcd934x_micbias_control() 2495 wcd_mbhc_event_notify(wcd934x->mbhc, in wcd934x_micbias_control() 2499 wcd_mbhc_event_notify(wcd934x->mbhc, in wcd934x_micbias_control() 2995 wcd_mbhc_get_impedance(wcd->mbhc, &zl, &zr); in wcd934x_hph_impedance_get() 3035 if (IS_ERR(wcd->mbhc)) { in wcd934x_mbhc_init() 3036 wcd->mbhc = NULL; in wcd934x_mbhc_init() 5821 if (!wcd->mbhc) in wcd934x_codec_set_jack() [all …]
|
A D | Makefile | 289 snd-soc-wcd-mbhc-objs := wcd-mbhc-v2.o 653 obj-$(CONFIG_SND_SOC_WCD_MBHC) += snd-soc-wcd-mbhc.o
|
/linux-6.3-rc2/Documentation/devicetree/bindings/sound/ |
A D | qcom,msm8916-wcd-analog.txt | 35 - qcom,mbhc-vthreshold-low: Array of 5 threshold voltages in mV for 5 buttons 36 detection on headset when the mbhc is powered up 38 - qcom,mbhc-vthreshold-high: Array of 5 thresold voltages in mV for 5 buttons 39 detection on headset when mbhc is powered up 65 qcom,mbhc-vthreshold-low = <75 150 237 450 500>; 66 qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
|
A D | qcom,wcd938x.yaml | 81 qcom,mbhc-headset-vthreshold-microvolt: 86 qcom,mbhc-headphone-vthreshold-microvolt: 91 qcom,mbhc-buttons-vthreshold-microvolt: 128 … qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>; 129 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
|
A D | qcom,wcd934x.yaml | 90 qcom,mbhc-headset-vthreshold-microvolt: 95 qcom,mbhc-headphone-vthreshold-microvolt: 100 qcom,mbhc-buttons-vthreshold-microvolt: 219 … qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>; 220 qcom,mbhc-headset-vthreshold-microvolt = <1700000>; 221 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
|
/linux-6.3-rc2/arch/arm64/boot/dts/qcom/ |
A D | sdm850-samsung-w737.dts | 657 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>; 658 qcom,mbhc-headset-vthreshold-microvolt = <1700000>; 659 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
|
A D | sdm850-lenovo-yoga-c630.dts | 748 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>; 749 qcom,mbhc-headset-vthreshold-microvolt = <1700000>; 750 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
|
A D | sm8450-hdk.dts | 37 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>; 38 qcom,mbhc-headset-vthreshold-microvolt = <1700000>; 39 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
|
A D | sc7280-idp.dtsi | 54 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 56 qcom,mbhc-headset-vthreshold-microvolt = <1700000>; 57 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
|
A D | msm8916-huawei-g7.dts | 310 qcom,mbhc-vthreshold-low = <75 150 237 450 500>; 311 qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
|
A D | sc7280-qcard.dtsi | 56 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 58 qcom,mbhc-headset-vthreshold-microvolt = <1700000>; 59 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
|
A D | sm8250-mtp.dts | 40 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>; 41 qcom,mbhc-headset-vthreshold-microvolt = <1700000>; 42 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
|
A D | sc8280xp-lenovo-thinkpad-x13s.dts | 46 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>; 47 qcom,mbhc-headset-vthreshold-microvolt = <1700000>; 48 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
|
A D | apq8016-sbc.dts | 410 qcom,mbhc-vthreshold-low = <75 150 237 450 500>; 411 qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
|
/linux-6.3-rc2/ |
A D | MAINTAINERS | 17042 F: sound/soc/codecs/wcd-mbhc-v2.*
|