Home
last modified time | relevance | path

Searched refs:mbhc (Results 1 – 17 of 17) sorted by relevance

/linux-6.3-rc2/sound/soc/codecs/
A Dwcd-mbhc-v2.c110 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 Dwcd-mbhc-v2.h273 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 Dwcd934x.c568 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 DMakefile289 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 Dqcom,msm8916-wcd-analog.txt35 - 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 Dqcom,wcd938x.yaml81 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 Dqcom,wcd934x.yaml90 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 Dsdm850-samsung-w737.dts657 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 Dsdm850-lenovo-yoga-c630.dts748 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 Dsm8450-hdk.dts37 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 Dsc7280-idp.dtsi54 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 Dmsm8916-huawei-g7.dts310 qcom,mbhc-vthreshold-low = <75 150 237 450 500>;
311 qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
A Dsc7280-qcard.dtsi56 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 Dsm8250-mtp.dts40 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 Dsc8280xp-lenovo-thinkpad-x13s.dts46 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 Dapq8016-sbc.dts410 qcom,mbhc-vthreshold-low = <75 150 237 450 500>;
411 qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
/linux-6.3-rc2/
A DMAINTAINERS17042 F: sound/soc/codecs/wcd-mbhc-v2.*

Completed in 59 milliseconds