Home
last modified time | relevance | path

Searched refs:wcd_mbhc (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/sound/soc/codecs/
H A Dwcd-mbhc-v2.h229 struct wcd_mbhc;
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);
293 static inline void wcd_mbhc_stop(struct wcd_mbhc *mbhc) in wcd_mbhc_stop()
310 static inline int wcd_mbhc_get_hph_type(struct wcd_mbhc *mbhc) in wcd_mbhc_get_hph_type()
320 static inline int wcd_mbhc_start(struct wcd_mbhc *mbhc, in wcd_mbhc_start()
327 static inline int wcd_mbhc_get_impedance(struct wcd_mbhc *mbhc, in wcd_mbhc_get_impedance()
[all …]
H A Dwcd-mbhc-v2.c45 struct wcd_mbhc { struct
513 struct wcd_mbhc *mbhc = data; in wcd_mbhc_mech_plug_detect_irq()
618 struct wcd_mbhc *mbhc = container_of(dwork, struct wcd_mbhc, mbhc_btn_dwork); in wcd_btn_long_press_fn()
627 struct wcd_mbhc *mbhc = data; in wcd_mbhc_btn_press_handler()
659 struct wcd_mbhc *mbhc = data; in wcd_mbhc_btn_release_handler()
1087 struct wcd_mbhc *mbhc; in wcd_correct_swch_plug()
1265 struct wcd_mbhc *mbhc = data; in wcd_mbhc_adc_hs_rem_irq()
1308 struct wcd_mbhc *mbhc = data; in wcd_mbhc_adc_hs_ins_irq()
1385 void wcd_mbhc_stop(struct wcd_mbhc *mbhc) in wcd_mbhc_stop()
1449 struct wcd_mbhc *mbhc; in wcd_mbhc_init()
[all …]
H A Dwcd938x.c180 struct wcd_mbhc *wcd_mbhc; member
784 wcd_mbhc_event_notify(wcd938x->wcd_mbhc, in wcd938x_codec_enable_hphr_pa()
801 wcd_mbhc_event_notify(wcd938x->wcd_mbhc, in wcd938x_codec_enable_hphr_pa()
906 wcd_mbhc_event_notify(wcd938x->wcd_mbhc, in wcd938x_codec_enable_hphl_pa()
1418 wcd_mbhc_event_notify(wcd938x->wcd_mbhc, in wcd938x_micbias_control()
1422 wcd_mbhc_event_notify(wcd938x->wcd_mbhc, in wcd938x_micbias_control()
1449 wcd_mbhc_event_notify(wcd938x->wcd_mbhc, in wcd938x_micbias_control()
2629 if (IS_ERR(wcd938x->wcd_mbhc)) in wcd938x_mbhc_init()
2630 return PTR_ERR(wcd938x->wcd_mbhc); in wcd938x_mbhc_init()
2644 wcd_mbhc_deinit(wcd938x->wcd_mbhc); in wcd938x_mbhc_deinit()
[all …]
H A Dwcd934x.c568 struct wcd_mbhc *mbhc;