Lines Matching defs:cs42l43_codec
43 struct cs42l43_codec { struct
44 struct device *dev;
45 struct cs42l43 *core;
46 struct snd_soc_component *component;
48 struct clk *mclk;
50 int n_slots;
51 int slot_width;
52 int tx_slots[CS42L43_ASP_MAX_CHANNELS];
53 int rx_slots[CS42L43_ASP_MAX_CHANNELS];
54 struct snd_pcm_hw_constraint_list constraint;
56 u32 eq_coeffs[CS42L43_N_EQ_COEFFS];
58 unsigned int refclk_src;
59 unsigned int refclk_freq;
60 struct completion pll_ready;
62 unsigned int decim_cache[4];
63 unsigned int adc_ena;
64 unsigned int hp_ena;
66 struct completion hp_startup;
67 struct completion hp_shutdown;
68 struct completion spkr_shutdown;
69 struct completion spkl_shutdown;
70 struct completion spkr_startup;
71 struct completion spkl_startup;
73 struct mutex spk_vu_lock;
76 struct mutex jack_lock;
77 struct snd_soc_jack *jack_hp;
79 bool use_ring_sense;
80 unsigned int tip_debounce_ms;
81 unsigned int tip_fall_db_ms;
82 unsigned int tip_rise_db_ms;
83 unsigned int bias_low;
84 unsigned int bias_sense_ua;
85 unsigned int bias_ramp_ms;
86 unsigned int detect_us;
87 unsigned int buttons[CS42L43_N_BUTTONS];
89 struct delayed_work tip_sense_work;
90 struct delayed_work bias_sense_timeout;
91 struct delayed_work button_press_work;
92 struct work_struct button_release_work;
93 struct completion type_detect;
94 struct completion load_detect;
96 bool load_detect_running;
97 bool button_detect_running;
98 bool jack_present;
99 int jack_override;
100 bool suspend_jack_debounce;
102 struct work_struct hp_ilimit_work;
103 struct delayed_work hp_ilimit_clear_work;
104 bool hp_ilimited;
105 int hp_ilimit_count;
107 struct snd_kcontrol *kctl[5];