/linux-5.19.10/sound/soc/codecs/ |
D | wcd-mbhc-v2.c | 78 static inline int wcd_mbhc_write_field(const struct wcd_mbhc *mbhc, in wcd_mbhc_write_field() argument 81 if (!mbhc->fields[field].reg) in wcd_mbhc_write_field() 84 return snd_soc_component_write_field(mbhc->component, in wcd_mbhc_write_field() 85 mbhc->fields[field].reg, in wcd_mbhc_write_field() 86 mbhc->fields[field].mask, val); in wcd_mbhc_write_field() 89 static inline int wcd_mbhc_read_field(const struct wcd_mbhc *mbhc, int field) in wcd_mbhc_read_field() argument 91 if (!mbhc->fields[field].reg) in wcd_mbhc_read_field() 94 return snd_soc_component_read_field(mbhc->component, in wcd_mbhc_read_field() 95 mbhc->fields[field].reg, in wcd_mbhc_read_field() 96 mbhc->fields[field].mask); in wcd_mbhc_read_field() [all …]
|
D | wcd-mbhc-v2.h | 271 int wcd_mbhc_start(struct wcd_mbhc *mbhc, struct wcd_mbhc_config *mbhc_cfg, 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 306 static inline void wcd_mbhc_set_hph_type(struct wcd_mbhc *mbhc, int hph_type) in wcd_mbhc_set_hph_type() argument 310 static inline int wcd_mbhc_get_hph_type(struct wcd_mbhc *mbhc) in wcd_mbhc_get_hph_type() argument [all …]
|
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() 2886 wcd_mbhc_set_hph_type(wcd934x->mbhc, WCD_MBHC_HPH_MONO); in wcd934x_wcd_mbhc_calc_impedance() 2910 wcd_mbhc_set_hph_type(wcd934x->mbhc, WCD_MBHC_HPH_STEREO); in wcd934x_wcd_mbhc_calc_impedance() 2914 wcd_mbhc_set_hph_type(wcd934x->mbhc, WCD_MBHC_HPH_MONO); in wcd934x_wcd_mbhc_calc_impedance() 2979 ucontrol->value.integer.value[0] = wcd_mbhc_get_hph_type(wcd->mbhc); in wcd934x_get_hph_type() [all …]
|
D | Makefile | 275 snd-soc-wcd-mbhc-objs := wcd-mbhc-v2.o 623 obj-$(CONFIG_SND_SOC_WCD_MBHC) += snd-soc-wcd-mbhc.o
|
/linux-5.19.10/Documentation/devicetree/bindings/sound/ |
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>;
|
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>;
|
D | qcom,wcd938x.yaml | 78 qcom,mbhc-headset-vthreshold-microvolt: 83 qcom,mbhc-headphone-vthreshold-microvolt: 88 qcom,mbhc-buttons-vthreshold-microvolt: 125 … qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>; 126 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
|
/linux-5.19.10/arch/arm64/boot/dts/qcom/ |
D | sdm850-lenovo-yoga-c630.dts | 781 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>; 782 qcom,mbhc-headset-vthreshold-microvolt = <1700000>; 783 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
|
D | sdm850-samsung-w737.dts | 713 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>; 714 qcom,mbhc-headset-vthreshold-microvolt = <1700000>; 715 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
|
D | msm8916-huawei-g7.dts | 308 qcom,mbhc-vthreshold-low = <75 150 237 450 500>; 309 qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
|
D | sm8250-mtp.dts | 647 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>; 648 qcom,mbhc-headset-vthreshold-microvolt = <1700000>; 649 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
|
D | apq8016-sbc.dts | 404 qcom,mbhc-vthreshold-low = <75 150 237 450 500>; 405 qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
|