Lines Matching defs:cs42l43_codec
36 struct cs42l43_codec { struct
37 struct device *dev;
38 struct cs42l43 *core;
39 struct snd_soc_component *component;
41 struct clk *mclk;
43 int n_slots;
44 int slot_width;
45 int tx_slots[CS42L43_ASP_MAX_CHANNELS];
46 int rx_slots[CS42L43_ASP_MAX_CHANNELS];
47 struct snd_pcm_hw_constraint_list constraint;
49 u32 eq_coeffs[CS42L43_N_EQ_COEFFS];
51 unsigned int refclk_src;
52 unsigned int refclk_freq;
53 struct completion pll_ready;
55 unsigned int decim_cache[4];
56 unsigned int adc_ena;
57 unsigned int hp_ena;
59 struct completion hp_startup;
60 struct completion hp_shutdown;
61 struct completion spkr_shutdown;
62 struct completion spkl_shutdown;
63 struct completion spkr_startup;
64 struct completion spkl_startup;
66 struct mutex spk_vu_lock;
69 struct mutex jack_lock;
70 struct snd_soc_jack *jack_hp;
72 bool use_ring_sense;
73 unsigned int tip_debounce_ms;
74 unsigned int bias_low;
75 unsigned int bias_sense_ua;
76 unsigned int bias_ramp_ms;
77 unsigned int detect_us;
78 unsigned int buttons[CS42L43_N_BUTTONS];
80 struct delayed_work tip_sense_work;
81 struct delayed_work bias_sense_timeout;
82 struct delayed_work button_press_work;
83 struct work_struct button_release_work;
84 struct completion type_detect;
85 struct completion load_detect;
87 bool load_detect_running;
88 bool button_detect_running;
89 bool jack_present;
90 int jack_override;