Home
last modified time | relevance | path

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

12

/linux-6.15/sound/soc/codecs/
H A Dwcd-mbhc-v2.c307 mbhc->zl = mbhc->zr = 0; in wcd_mbhc_report_plug_removal()
326 mbhc->mbhc_cb->compute_impedance(mbhc->component, &mbhc->zl, &mbhc->zr); in wcd_mbhc_compute_impedance()
365 if ((mbhc->zl > mbhc->cfg->linein_th) && in wcd_mbhc_report_plug_insertion()
366 (mbhc->zr > mbhc->cfg->linein_th) && in wcd_mbhc_report_plug_insertion()
597 if (!mbhc || !mbhc->cfg->typec_analog_mux) in wcd_mbhc_typec_report_unplug()
614 if (!mbhc || !mbhc->cfg->typec_analog_mux) in wcd_mbhc_typec_report_plug()
1520 mbhc = kzalloc(sizeof(*mbhc), GFP_KERNEL); in wcd_mbhc_init()
1597 free_irq(mbhc->intr_ids->hph_left_ocp, mbhc); in wcd_mbhc_init()
1607 free_irq(mbhc->intr_ids->mbhc_sw_intr, mbhc); in wcd_mbhc_init()
1620 free_irq(mbhc->intr_ids->hph_left_ocp, mbhc); in wcd_mbhc_deinit()
[all …]
H A Dwcd-mbhc-v2.h274 void wcd_mbhc_stop(struct wcd_mbhc *mbhc);
276 int wcd_mbhc_get_hph_type(struct wcd_mbhc *mbhc);
277 int wcd_mbhc_typec_report_plug(struct wcd_mbhc *mbhc);
278 int wcd_mbhc_typec_report_unplug(struct wcd_mbhc *mbhc);
284 int wcd_mbhc_get_impedance(struct wcd_mbhc *mbhc, uint32_t *zl,
286 void wcd_mbhc_deinit(struct wcd_mbhc *mbhc);
296 static inline void wcd_mbhc_stop(struct wcd_mbhc *mbhc) in wcd_mbhc_stop() argument
313 static inline int wcd_mbhc_get_hph_type(struct wcd_mbhc *mbhc) in wcd_mbhc_get_hph_type() argument
323 static inline int wcd_mbhc_start(struct wcd_mbhc *mbhc, in wcd_mbhc_start() argument
330 static inline int wcd_mbhc_get_impedance(struct wcd_mbhc *mbhc, in wcd_mbhc_get_impedance() argument
[all …]
H A Dwcd934x.c553 struct wcd_mbhc *mbhc; member
2451 wcd_mbhc_event_notify(wcd934x->mbhc, in wcd934x_micbias_control()
2456 wcd_mbhc_event_notify(wcd934x->mbhc, in wcd934x_micbias_control()
2471 wcd_mbhc_event_notify(wcd934x->mbhc, in wcd934x_micbias_control()
2481 wcd_mbhc_event_notify(wcd934x->mbhc, in wcd934x_micbias_control()
3017 if (IS_ERR(wcd->mbhc)) { in wcd934x_mbhc_init()
3018 wcd->mbhc = NULL; in wcd934x_mbhc_init()
3034 if (!wcd->mbhc) in wcd934x_mbhc_deinit()
3037 wcd_mbhc_deinit(wcd->mbhc); in wcd934x_mbhc_deinit()
5810 if (!wcd->mbhc) in wcd934x_codec_set_jack()
[all …]
/linux-6.15/Documentation/devicetree/bindings/sound/
H A Dqcom,wcd934x.yaml90 qcom,mbhc-headset-vthreshold-microvolt:
95 qcom,mbhc-headphone-vthreshold-microvolt:
100 qcom,mbhc-buttons-vthreshold-microvolt:
222 … qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>;
223 qcom,mbhc-headset-vthreshold-microvolt = <1700000>;
224 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
H A Dqcom,pm8916-wcd-analog-codec.yaml51 qcom,mbhc-vthreshold-low:
59 qcom,mbhc-vthreshold-high:
117 qcom,mbhc-vthreshold-low = <75 150 237 450 500>;
118 qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
H A Dqcom,wcd93xx-common.yaml65 qcom,mbhc-headset-vthreshold-microvolt:
70 qcom,mbhc-headphone-vthreshold-microvolt:
75 qcom,mbhc-buttons-vthreshold-microvolt:
H A Dqcom,wcd938x.yaml50 … qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>;
51 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
H A Dqcom,wcd939x.yaml68 … qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>;
69 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
/linux-6.15/arch/arm64/boot/dts/qcom/
H A Dmsm8916-motorola-harpia.dts61 qcom,mbhc-vthreshold-low = <75 150 237 450 500>;
62 qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
H A Dmsm8916-wingtech-wt865x8.dtsi110 qcom,mbhc-vthreshold-low = <75 150 237 450 500>;
111 qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
H A Dmsm8916-lg-m216.dts140 qcom,mbhc-vthreshold-low = <75 100 120 180 500>;
141 qcom,mbhc-vthreshold-high = <75 100 120 180 500>;
H A Dmsm8916-asus-z00l.dts141 qcom,mbhc-vthreshold-low = <75 150 237 450 500>;
142 qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
H A Dmsm8916-gplus-fl8005a.dts148 qcom,mbhc-vthreshold-low = <150 180 237 450 500>;
149 qcom,mbhc-vthreshold-high = <150 180 237 450 500>;
H A Dmsm8916-acer-a1-724.dts145 qcom,mbhc-vthreshold-low = <150 237 450 500 590>;
146 qcom,mbhc-vthreshold-high = <150 237 450 500 590>;
H A Dmsm8916-longcheer-l8910.dts189 qcom,mbhc-vthreshold-low = <75 100 120 180 500>;
190 qcom,mbhc-vthreshold-high = <75 100 120 180 500>;
H A Dapq8039-t2.dts152 qcom,mbhc-vthreshold-low = <75 150 237 450 500>;
153 qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
H A Dmsm8916-wingtech-wt88047.dts181 qcom,mbhc-vthreshold-low = <75 100 120 180 500>;
182 qcom,mbhc-vthreshold-high = <75 100 120 180 500>;
H A Dmsm8916-longcheer-l8150.dts277 qcom,mbhc-vthreshold-low = <75 150 237 450 500>;
278 qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
H 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>;
H A Dmsm8916-huawei-g7.dts230 qcom,mbhc-vthreshold-low = <75 150 237 450 500>;
231 qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
H A Dapq8016-schneider-hmibsc.dts216 qcom,mbhc-vthreshold-low = <75 150 237 450 500>;
217 qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
H A Dmsm8916-alcatel-idol347.dts226 qcom,mbhc-vthreshold-low = <75 100 120 180 500>;
227 qcom,mbhc-vthreshold-high = <75 100 120 180 500>;
H A Dsdm850-lenovo-yoga-c630.dts878 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>;
879 qcom,mbhc-headset-vthreshold-microvolt = <1700000>;
880 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
H 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>;
H 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>;

12