/linux/sound/soc/codecs/ |
H A D | wcd-mbhc-v2.c | 82 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 D | wcd-mbhc-v2.h | 272 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 …]
|
H A D | wcd934x.c | 563 struct wcd_mbhc *mbhc; member 2461 wcd_mbhc_event_notify(wcd934x->mbhc, in wcd934x_micbias_control() 2466 wcd_mbhc_event_notify(wcd934x->mbhc, in wcd934x_micbias_control() 2481 wcd_mbhc_event_notify(wcd934x->mbhc, in wcd934x_micbias_control() 2487 wcd_mbhc_event_notify(wcd934x->mbhc, in wcd934x_micbias_control() 2491 wcd_mbhc_event_notify(wcd934x->mbhc, in wcd934x_micbias_control() 2878 wcd_mbhc_set_hph_type(wcd934x->mbhc, WCD_MBHC_HPH_MONO); in wcd934x_wcd_mbhc_calc_impedance() 2902 wcd_mbhc_set_hph_type(wcd934x->mbhc, WCD_MBHC_HPH_STEREO); in wcd934x_wcd_mbhc_calc_impedance() 2906 wcd_mbhc_set_hph_type(wcd934x->mbhc, WCD_MBHC_HPH_MONO); in wcd934x_wcd_mbhc_calc_impedance() 2971 ucontrol->value.integer.value[0] = wcd_mbhc_get_hph_type(wcd->mbhc); in wcd934x_get_hph_type() [all …]
|
/linux/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 | 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 | 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-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 | 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 | 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 | 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>;
|
H A D | x1e78100-lenovo-thinkpad-t14s.dts | 32 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>; 33 qcom,mbhc-headset-vthreshold-microvolt = <1700000>; 34 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
|
H A D | apq8016-sbc.dts | 274 qcom,mbhc-vthreshold-low = <75 150 237 450 500>; 275 qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
|
H A D | x1e80100-crd.dts | 35 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>; 36 qcom,mbhc-headset-vthreshold-microvolt = <1700000>; 37 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
|
H A D | sc8280xp-lenovo-thinkpad-x13s.dts | 46 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>; 47 qcom,mbhc-headset-vthreshold-microvolt = <1700000>; 48 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
|
/linux/ |
H A D | MAINTAINERS | 19231 F: sound/soc/codecs/wcd-mbhc-v2.*
|