Home
last modified time | relevance | path

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

/linux-6.6.21/sound/soc/codecs/
Dwcd-mbhc-v2.c78 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 …]
Dwcd-mbhc-v2.h271 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 …]
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()
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 …]
DMakefile307 snd-soc-wcd-mbhc-objs := wcd-mbhc-v2.o
690 obj-$(CONFIG_SND_SOC_WCD_MBHC) += snd-soc-wcd-mbhc.o
/linux-6.6.21/Documentation/devicetree/bindings/sound/
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>;
Dqcom,wcd934x.yaml90 qcom,mbhc-headset-vthreshold-microvolt:
95 qcom,mbhc-headphone-vthreshold-microvolt:
100 qcom,mbhc-buttons-vthreshold-microvolt:
221 … qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>;
222 qcom,mbhc-headset-vthreshold-microvolt = <1700000>;
223 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
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>;
/linux-6.6.21/arch/arm64/boot/dts/qcom/
Dapq8039-t2.dts148 qcom,mbhc-vthreshold-low = <75 150 237 450 500>;
149 qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
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>;
Dmsm8916-huawei-g7.dts230 qcom,mbhc-vthreshold-low = <75 150 237 450 500>;
231 qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
Dsdm850-lenovo-yoga-c630.dts796 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>;
797 qcom,mbhc-headset-vthreshold-microvolt = <1700000>;
798 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
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>;
Dsm8550-mtp.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>;
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>;
Dsm8250-mtp.dts41 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>;
42 qcom,mbhc-headset-vthreshold-microvolt = <1700000>;
43 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
Dsm8550-qrd.dts38 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>;
39 qcom,mbhc-headset-vthreshold-microvolt = <1700000>;
40 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
Dsm8450-hdk.dts41 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>;
42 qcom,mbhc-headset-vthreshold-microvolt = <1700000>;
43 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
Dapq8016-sbc.dts263 qcom,mbhc-vthreshold-low = <75 150 237 450 500>;
264 qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
Dsc8280xp-lenovo-thinkpad-x13s.dts48 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>;
49 qcom,mbhc-headset-vthreshold-microvolt = <1700000>;
50 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
/linux-6.6.21/
DMAINTAINERS17440 F: sound/soc/codecs/wcd-mbhc-v2.*