Lines Matching defs:cs42l43_codec
40 struct cs42l43_codec { struct
41 struct device *dev;
42 struct cs42l43 *core;
43 struct snd_soc_component *component;
45 struct clk *mclk;
47 int n_slots;
48 int slot_width;
49 int tx_slots[CS42L43_ASP_MAX_CHANNELS];
50 int rx_slots[CS42L43_ASP_MAX_CHANNELS];
51 struct snd_pcm_hw_constraint_list constraint;
53 u32 eq_coeffs[CS42L43_N_EQ_COEFFS];
55 unsigned int refclk_src;
56 unsigned int refclk_freq;
57 struct completion pll_ready;
59 unsigned int decim_cache[4];
60 unsigned int adc_ena;
61 unsigned int hp_ena;
63 struct completion hp_startup;
64 struct completion hp_shutdown;
65 struct completion spkr_shutdown;
66 struct completion spkl_shutdown;
67 struct completion spkr_startup;
68 struct completion spkl_startup;
70 struct mutex spk_vu_lock;
73 struct mutex jack_lock;
74 struct snd_soc_jack *jack_hp;
76 bool use_ring_sense;
77 unsigned int tip_debounce_ms;
78 unsigned int bias_low;
79 unsigned int bias_sense_ua;
80 unsigned int bias_ramp_ms;
81 unsigned int detect_us;
82 unsigned int buttons[CS42L43_N_BUTTONS];
84 struct delayed_work tip_sense_work;
85 struct delayed_work bias_sense_timeout;
86 struct delayed_work button_press_work;
87 struct work_struct button_release_work;
88 struct completion type_detect;
89 struct completion load_detect;
91 bool load_detect_running;
92 bool button_detect_running;
93 bool jack_present;
94 int jack_override;
96 struct work_struct hp_ilimit_work;
97 struct delayed_work hp_ilimit_clear_work;
98 bool hp_ilimited;
99 int hp_ilimit_count;