Home
last modified time | relevance | path

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

12

/linux/sound/soc/codecs/
H A Dwcd-mbhc-v2.c82 static inline int wcd_mbhc_write_field(const struct wcd_mbhc *mbhc, in wcd_mbhc_write_field() argument
85 if (!mbhc->fields[field].reg) in wcd_mbhc_write_field()
88 return snd_soc_component_write_field(mbhc->component, in wcd_mbhc_write_field()
89 mbhc->fields[field].reg, in wcd_mbhc_write_field()
90 mbhc->fields[field].mask, val); in wcd_mbhc_write_field()
93 static inline int wcd_mbhc_read_field(const struct wcd_mbhc *mbhc, int field) in wcd_mbhc_read_field() argument
95 if (!mbhc->fields[field].reg) in wcd_mbhc_read_field()
98 return snd_soc_component_read_field(mbhc->component, in wcd_mbhc_read_field()
99 mbhc->fields[field].reg, in wcd_mbhc_read_field()
100 mbhc->fields[field].mask); in wcd_mbhc_read_field()
[all …]
H A Dwcd-mbhc-v2.h272 int wcd_mbhc_start(struct wcd_mbhc *mbhc, struct wcd_mbhc_config *mbhc_cfg,
274 void wcd_mbhc_stop(struct wcd_mbhc *mbhc);
275 void wcd_mbhc_set_hph_type(struct wcd_mbhc *mbhc, int hph_type);
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);
287 int wcd_mbhc_event_notify(struct wcd_mbhc *mbhc, unsigned long event);
296 static inline void wcd_mbhc_stop(struct wcd_mbhc *mbhc) in wcd_mbhc_stop() argument
[all …]
/linux/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.dtsi113 qcom,mbhc-vthreshold-low = <75 150 237 450 500>;
114 qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
H A Dmsm8916-lg-m216.dts143 qcom,mbhc-vthreshold-low = <75 100 120 180 500>;
144 qcom,mbhc-vthreshold-high = <75 100 120 180 500>;
H A Dmsm8916-gplus-fl8005a.dts151 qcom,mbhc-vthreshold-low = <150 180 237 450 500>;
152 qcom,mbhc-vthreshold-high = <150 180 237 450 500>;
H A Dmsm8916-asus-z00l.dts144 qcom,mbhc-vthreshold-low = <75 150 237 450 500>;
145 qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
H A Dmsm8939-asus-z00t.dts140 qcom,mbhc-vthreshold-low = <75 150 237 450 500>;
141 qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
H A Dmsm8916-acer-a1-724.dts148 qcom,mbhc-vthreshold-low = <150 237 450 500 590>;
149 qcom,mbhc-vthreshold-high = <150 237 450 500 590>;
H A Dmsm8916-wingtech-wt88047.dts184 qcom,mbhc-vthreshold-low = <75 100 120 180 500>;
185 qcom,mbhc-vthreshold-high = <75 100 120 180 500>;
H A Dapq8039-t2.dts150 qcom,mbhc-vthreshold-low = <75 150 237 450 500>;
151 qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
H A Dmsm8916-longcheer-l8150.dts280 qcom,mbhc-vthreshold-low = <75 150 237 450 500>;
281 qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
H A Dmsm8916-longcheer-l8910.dts224 qcom,mbhc-vthreshold-low = <75 100 120 180 500>;
225 qcom,mbhc-vthreshold-high = <75 100 120 180 500>;
H A Dsdm850-samsung-w737.dts654 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>;
655 qcom,mbhc-headset-vthreshold-microvolt = <1700000>;
656 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
H A Dmsm8916-huawei-g7.dts233 qcom,mbhc-vthreshold-low = <75 150 237 450 500>;
234 qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
H A Dmsm8916-alcatel-idol347.dts229 qcom,mbhc-vthreshold-low = <75 100 120 180 500>;
230 qcom,mbhc-vthreshold-high = <75 100 120 180 500>;
H A Dapq8016-schneider-hmibsc.dts222 qcom,mbhc-vthreshold-low = <75 150 237 450 500>;
223 qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
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 Dsdm850-lenovo-yoga-c630.dts972 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>;
973 qcom,mbhc-headset-vthreshold-microvolt = <1700000>;
974 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
H A 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>;
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>;
H A Dsc8280xp-microsoft-arcata.dts40 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>;
41 qcom,mbhc-headset-vthreshold-microvolt = <1700000>;
42 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
H A Dsdm850-huawei-matebook-e-2019.dts931 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000
933 qcom,mbhc-headset-vthreshold-microvolt = <1700000>;
934 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
H A Dsm8550-mtp.dts39 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>;
40 qcom,mbhc-headset-vthreshold-microvolt = <1700000>;
41 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
H A Dqcs6490-radxa-dragon-q6a.dts66 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>;
67 qcom,mbhc-headset-vthreshold-microvolt = <1700000>;
68 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;

12