| /linux-6.15/sound/soc/codecs/ |
| H A D | wcd-mbhc-v2.c | 307 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 D | wcd-mbhc-v2.h | 274 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 D | wcd934x.c | 553 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 D | qcom,wcd934x.yaml | 90 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 D | qcom,pm8916-wcd-analog-codec.yaml | 51 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 D | qcom,wcd93xx-common.yaml | 65 qcom,mbhc-headset-vthreshold-microvolt: 70 qcom,mbhc-headphone-vthreshold-microvolt: 75 qcom,mbhc-buttons-vthreshold-microvolt:
|
| H A D | qcom,wcd938x.yaml | 50 … qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>; 51 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
|
| H A D | qcom,wcd939x.yaml | 68 … 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 D | msm8916-motorola-harpia.dts | 61 qcom,mbhc-vthreshold-low = <75 150 237 450 500>; 62 qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
|
| H A D | msm8916-wingtech-wt865x8.dtsi | 110 qcom,mbhc-vthreshold-low = <75 150 237 450 500>; 111 qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
|
| H A D | msm8916-lg-m216.dts | 140 qcom,mbhc-vthreshold-low = <75 100 120 180 500>; 141 qcom,mbhc-vthreshold-high = <75 100 120 180 500>;
|
| H A D | msm8916-asus-z00l.dts | 141 qcom,mbhc-vthreshold-low = <75 150 237 450 500>; 142 qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
|
| H A D | msm8916-gplus-fl8005a.dts | 148 qcom,mbhc-vthreshold-low = <150 180 237 450 500>; 149 qcom,mbhc-vthreshold-high = <150 180 237 450 500>;
|
| H A D | msm8916-acer-a1-724.dts | 145 qcom,mbhc-vthreshold-low = <150 237 450 500 590>; 146 qcom,mbhc-vthreshold-high = <150 237 450 500 590>;
|
| H A D | msm8916-longcheer-l8910.dts | 189 qcom,mbhc-vthreshold-low = <75 100 120 180 500>; 190 qcom,mbhc-vthreshold-high = <75 100 120 180 500>;
|
| H A D | apq8039-t2.dts | 152 qcom,mbhc-vthreshold-low = <75 150 237 450 500>; 153 qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
|
| H A D | msm8916-wingtech-wt88047.dts | 181 qcom,mbhc-vthreshold-low = <75 100 120 180 500>; 182 qcom,mbhc-vthreshold-high = <75 100 120 180 500>;
|
| H A D | msm8916-longcheer-l8150.dts | 277 qcom,mbhc-vthreshold-low = <75 150 237 450 500>; 278 qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
|
| H 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>;
|
| H A D | msm8916-huawei-g7.dts | 230 qcom,mbhc-vthreshold-low = <75 150 237 450 500>; 231 qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
|
| H A D | apq8016-schneider-hmibsc.dts | 216 qcom,mbhc-vthreshold-low = <75 150 237 450 500>; 217 qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
|
| H A D | msm8916-alcatel-idol347.dts | 226 qcom,mbhc-vthreshold-low = <75 100 120 180 500>; 227 qcom,mbhc-vthreshold-high = <75 100 120 180 500>;
|
| H A D | sdm850-lenovo-yoga-c630.dts | 878 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 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>;
|
| H 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>;
|