Home
last modified time | relevance | path

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

/Linux-v6.1/sound/soc/codecs/
Dwcd-mbhc-v2.h229 struct wcd_mbhc;
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);
276 struct wcd_mbhc *wcd_mbhc_init(struct snd_soc_component *component,
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()
[all …]
Dwcd-mbhc-v2.c45 struct wcd_mbhc { struct
78 static inline int wcd_mbhc_write_field(const struct wcd_mbhc *mbhc, in wcd_mbhc_write_field() argument
89 static inline int wcd_mbhc_read_field(const struct wcd_mbhc *mbhc, int field) in wcd_mbhc_read_field()
99 static void wcd_program_hs_vref(struct wcd_mbhc *mbhc) in wcd_program_hs_vref()
106 static void wcd_program_btn_threshold(const struct wcd_mbhc *mbhc, bool micbias) in wcd_program_btn_threshold()
115 static void wcd_mbhc_curr_micbias_control(const struct wcd_mbhc *mbhc, in wcd_mbhc_curr_micbias_control()
161 int wcd_mbhc_event_notify(struct wcd_mbhc *mbhc, unsigned long event) in wcd_mbhc_event_notify()
267 static int wcd_cancel_btn_work(struct wcd_mbhc *mbhc) in wcd_cancel_btn_work()
272 static void wcd_micbias_disable(struct wcd_mbhc *mbhc) in wcd_micbias_disable()
288 static void wcd_mbhc_report_plug_removal(struct wcd_mbhc *mbhc, in wcd_mbhc_report_plug_removal()
[all …]
Dwcd938x.c180 struct wcd_mbhc *wcd_mbhc; member
1779 wcd_mbhc_event_notify(wcd938x->wcd_mbhc, in wcd938x_codec_enable_hphr_pa()
1796 wcd_mbhc_event_notify(wcd938x->wcd_mbhc, in wcd938x_codec_enable_hphr_pa()
1885 wcd_mbhc_event_notify(wcd938x->wcd_mbhc, WCD_EVENT_PRE_HPHL_PA_OFF); in wcd938x_codec_enable_hphl_pa()
1901 wcd_mbhc_event_notify(wcd938x->wcd_mbhc, in wcd938x_codec_enable_hphl_pa()
2413 wcd_mbhc_event_notify(wcd938x->wcd_mbhc, in wcd938x_micbias_control()
2417 wcd_mbhc_event_notify(wcd938x->wcd_mbhc, in wcd938x_micbias_control()
2434 wcd_mbhc_event_notify(wcd938x->wcd_mbhc, in wcd938x_micbias_control()
2440 wcd_mbhc_event_notify(wcd938x->wcd_mbhc, in wcd938x_micbias_control()
2444 wcd_mbhc_event_notify(wcd938x->wcd_mbhc, in wcd938x_micbias_control()
[all …]
Dwcd934x.c568 struct wcd_mbhc *mbhc;