Searched refs:wcd_mbhc (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/sound/soc/codecs/ |
D | wcd-mbhc-v2.h | 230 struct wcd_mbhc; 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); 279 struct wcd_mbhc *wcd_mbhc_init(struct snd_soc_component *component, 284 int wcd_mbhc_get_impedance(struct wcd_mbhc *mbhc, uint32_t *zl, 286 void wcd_mbhc_deinit(struct wcd_mbhc *mbhc); [all …]
|
D | wcd-mbhc-v2.c | 46 struct wcd_mbhc { struct 82 static inline int wcd_mbhc_write_field(const struct wcd_mbhc *mbhc, in wcd_mbhc_write_field() argument 93 static inline int wcd_mbhc_read_field(const struct wcd_mbhc *mbhc, int field) in wcd_mbhc_read_field() 103 static void wcd_program_hs_vref(struct wcd_mbhc *mbhc) in wcd_program_hs_vref() 110 static void wcd_program_btn_threshold(const struct wcd_mbhc *mbhc, bool micbias) in wcd_program_btn_threshold() 119 static void wcd_mbhc_curr_micbias_control(const struct wcd_mbhc *mbhc, in wcd_mbhc_curr_micbias_control() 165 int wcd_mbhc_event_notify(struct wcd_mbhc *mbhc, unsigned long event) in wcd_mbhc_event_notify() 271 static int wcd_cancel_btn_work(struct wcd_mbhc *mbhc) in wcd_cancel_btn_work() 276 static void wcd_micbias_disable(struct wcd_mbhc *mbhc) in wcd_micbias_disable() 292 static void wcd_mbhc_report_plug_removal(struct wcd_mbhc *mbhc, in wcd_mbhc_report_plug_removal() [all …]
|
D | wcd939x.c | 189 struct wcd_mbhc *wcd_mbhc; member 727 wcd_mbhc_event_notify(wcd939x->wcd_mbhc, in wcd939x_codec_enable_hphr_pa() 744 wcd_mbhc_event_notify(wcd939x->wcd_mbhc, in wcd939x_codec_enable_hphr_pa() 848 wcd_mbhc_event_notify(wcd939x->wcd_mbhc, WCD_EVENT_PRE_HPHL_PA_OFF); in wcd939x_codec_enable_hphl_pa() 864 wcd_mbhc_event_notify(wcd939x->wcd_mbhc, in wcd939x_codec_enable_hphl_pa() 1346 wcd_mbhc_event_notify(wcd939x->wcd_mbhc, in wcd939x_micbias_control() 1350 wcd_mbhc_event_notify(wcd939x->wcd_mbhc, in wcd939x_micbias_control() 1365 wcd_mbhc_event_notify(wcd939x->wcd_mbhc, in wcd939x_micbias_control() 1372 wcd_mbhc_event_notify(wcd939x->wcd_mbhc, in wcd939x_micbias_control() 1376 wcd_mbhc_event_notify(wcd939x->wcd_mbhc, in wcd939x_micbias_control() [all …]
|
D | wcd937x.c | 87 struct wcd_mbhc *wcd_mbhc; member 617 wcd_mbhc_event_notify(wcd937x->wcd_mbhc, WCD_EVENT_PRE_HPHR_PA_OFF); in wcd937x_codec_enable_hphr_pa() 628 wcd_mbhc_event_notify(wcd937x->wcd_mbhc, WCD_EVENT_POST_HPHR_PA_OFF); in wcd937x_codec_enable_hphr_pa() 685 wcd_mbhc_event_notify(wcd937x->wcd_mbhc, WCD_EVENT_PRE_HPHL_PA_OFF); in wcd937x_codec_enable_hphl_pa() 696 wcd_mbhc_event_notify(wcd937x->wcd_mbhc, WCD_EVENT_POST_HPHL_PA_OFF); in wcd937x_codec_enable_hphl_pa() 1092 wcd_mbhc_event_notify(wcd937x->wcd_mbhc, in wcd937x_micbias_control() 1096 wcd_mbhc_event_notify(wcd937x->wcd_mbhc, in wcd937x_micbias_control() 1111 wcd_mbhc_event_notify(wcd937x->wcd_mbhc, in wcd937x_micbias_control() 1117 wcd_mbhc_event_notify(wcd937x->wcd_mbhc, in wcd937x_micbias_control() 1122 wcd_mbhc_event_notify(wcd937x->wcd_mbhc, in wcd937x_micbias_control() [all …]
|
D | wcd938x.c | 162 struct wcd_mbhc *wcd_mbhc; member 765 wcd_mbhc_event_notify(wcd938x->wcd_mbhc, in wcd938x_codec_enable_hphr_pa() 782 wcd_mbhc_event_notify(wcd938x->wcd_mbhc, in wcd938x_codec_enable_hphr_pa() 871 wcd_mbhc_event_notify(wcd938x->wcd_mbhc, WCD_EVENT_PRE_HPHL_PA_OFF); in wcd938x_codec_enable_hphl_pa() 887 wcd_mbhc_event_notify(wcd938x->wcd_mbhc, in wcd938x_codec_enable_hphl_pa() 1399 wcd_mbhc_event_notify(wcd938x->wcd_mbhc, in wcd938x_micbias_control() 1403 wcd_mbhc_event_notify(wcd938x->wcd_mbhc, in wcd938x_micbias_control() 1420 wcd_mbhc_event_notify(wcd938x->wcd_mbhc, in wcd938x_micbias_control() 1426 wcd_mbhc_event_notify(wcd938x->wcd_mbhc, in wcd938x_micbias_control() 1430 wcd_mbhc_event_notify(wcd938x->wcd_mbhc, in wcd938x_micbias_control() [all …]
|
D | wcd934x.c | 563 struct wcd_mbhc *mbhc;
|