Searched refs:mbhc (Results 1 – 8 of 8) sorted by relevance
/linux/sound/soc/codecs/ |
A D | wcd-mbhc-v2.c | 109 mbhc->mbhc_cb->set_btn_thr(component, mbhc->cfg->btn_low, in wcd_program_btn_threshold() 166 if (!mbhc) in wcd_mbhc_event_notify() 302 mbhc->zl = mbhc->zr = 0; in wcd_mbhc_report_plug_removal() 321 mbhc->mbhc_cb->compute_impedance(mbhc->component, &mbhc->zl, &mbhc->zr); in wcd_mbhc_compute_impedance() 360 if ((mbhc->zl > mbhc->cfg->linein_th) && in wcd_mbhc_report_plug_insertion() 361 (mbhc->zr > mbhc->cfg->linein_th) && in wcd_mbhc_report_plug_insertion() 369 snd_soc_jack_report(mbhc->jack, mbhc->hph_status, in wcd_mbhc_report_plug_insertion() 386 snd_soc_jack_report(mbhc->jack, mbhc->hph_status, in wcd_mbhc_report_plug_insertion() 999 mbhc->mbhc_cb->bcs_enable(mbhc->component, enable); in wcd_mbhc_bcs_enable() 1373 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 2493 wcd_mbhc_event_notify(wcd934x->mbhc, in wcd934x_micbias_control() 2498 wcd_mbhc_event_notify(wcd934x->mbhc, in wcd934x_micbias_control() 2513 wcd_mbhc_event_notify(wcd934x->mbhc, in wcd934x_micbias_control() 2519 wcd_mbhc_event_notify(wcd934x->mbhc, in wcd934x_micbias_control() 2523 wcd_mbhc_event_notify(wcd934x->mbhc, in wcd934x_micbias_control() 3019 wcd_mbhc_get_impedance(wcd->mbhc, &zl, &zr); in wcd934x_hph_impedance_get() 3059 if (IS_ERR(wcd->mbhc)) { in wcd934x_mbhc_init() 3060 wcd->mbhc = NULL; in wcd934x_mbhc_init() 5848 if (!wcd->mbhc) in wcd934x_codec_set_jack() [all …]
|
A D | Makefile | 262 snd-soc-wcd-mbhc-objs := wcd-mbhc-v2.o 596 obj-$(CONFIG_SND_SOC_WCD_MBHC) += snd-soc-wcd-mbhc.o
|
/linux/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,wcd934x.yaml | 88 qcom,mbhc-headset-vthreshold-microvolt: 93 qcom,mbhc-headphone-vthreshold-microvolt: 98 qcom,mbhc-buttons-vthreshold-microvolt: 189 … qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>; 190 qcom,mbhc-headset-vthreshold-microvolt = <1700000>; 191 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
|
A D | qcom,wcd938x.yaml | 71 qcom,mbhc-headset-vthreshold-microvolt: 76 qcom,mbhc-headphone-vthreshold-microvolt: 81 qcom,mbhc-buttons-vthreshold-microvolt: 118 … qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>; 119 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
|
/linux/arch/arm64/boot/dts/qcom/ |
A D | apq8016-sbc.dts | 406 qcom,mbhc-vthreshold-low = <75 150 237 450 500>; 407 qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
|
Completed in 43 milliseconds