Lines Matching refs:hubs

61 	struct wm_hubs_data *hubs = snd_soc_component_get_drvdata(component);
74 if (hubs->dcs_done_irq)
82 if (hubs->dcs_done_irq)
83 wait_for_completion_timeout(&hubs->dcs_done,
99 struct wm_hubs_data *hubs = data;
101 complete(&hubs->dcs_done);
151 struct wm_hubs_data *hubs = snd_soc_component_get_drvdata(component);
161 list_for_each_entry(cache, &hubs->dcs_cache, list) {
174 struct wm_hubs_data *hubs = snd_soc_component_get_drvdata(component);
177 if (hubs->no_cache_dac_hp_direct)
192 list_add_tail(&cache->list, &hubs->dcs_cache);
198 struct wm_hubs_data *hubs = snd_soc_component_get_drvdata(component);
202 switch (hubs->dcs_readback_mode) {
217 switch (hubs->dcs_readback_mode) {
243 struct wm_hubs_data *hubs = snd_soc_component_get_drvdata(component);
248 switch (hubs->dcs_readback_mode) {
270 if (hubs->series_startup) {
290 if (hubs->dcs_codes_l || hubs->dcs_codes_r) {
293 hubs->dcs_codes_l, hubs->dcs_codes_r);
298 offset + hubs->dcs_codes_r);
299 offset += hubs->dcs_codes_r;
305 offset + hubs->dcs_codes_l);
306 offset += hubs->dcs_codes_l;
334 struct wm_hubs_data *hubs = snd_soc_component_get_drvdata(component);
341 if (hubs->dcs_codes_l || hubs->dcs_codes_r || hubs->no_series_update)
499 struct wm_hubs_data *hubs = snd_soc_component_get_drvdata(component);
503 switch (hubs->hp_startup_mode) {
523 hubs->hp_startup_mode);
618 struct wm_hubs_data *hubs = snd_soc_component_get_drvdata(component);
623 flag = &hubs->lineout1n_ena;
626 flag = &hubs->lineout1p_ena;
629 flag = &hubs->lineout2n_ena;
632 flag = &hubs->lineout2p_ena;
648 struct wm_hubs_data *hubs = snd_soc_component_get_drvdata(component);
652 if (hubs->micb1_delay)
653 msleep(hubs->micb1_delay);
656 if (hubs->micb2_delay)
657 msleep(hubs->micb2_delay);
668 struct wm_hubs_data *hubs = snd_soc_component_get_drvdata(component);
674 if (hubs->check_class_w_digital && !hubs->check_class_w_digital(component))
1157 struct wm_hubs_data *hubs = snd_soc_component_get_drvdata(component);
1160 hubs->component = component;
1162 INIT_LIST_HEAD(&hubs->dcs_cache);
1163 init_completion(&hubs->dcs_done);
1197 struct wm_hubs_data *hubs = snd_soc_component_get_drvdata(component);
1199 hubs->lineout1_se = !lineout1_diff;
1200 hubs->lineout2_se = !lineout2_diff;
1201 hubs->micb1_delay = micbias1_delay;
1202 hubs->micb2_delay = micbias2_delay;
1226 if (!hubs->micd_scthr)
1243 struct wm_hubs_data *hubs = snd_soc_component_get_drvdata(component);
1246 if (hubs->lineout1_se)
1249 if (hubs->lineout2_se)
1260 struct wm_hubs_data *hubs = snd_soc_component_get_drvdata(component);
1275 if (hubs->lineout1_se)
1278 if (hubs->lineout2_se)
1281 if (hubs->lineout1_se && hubs->lineout1n_ena)
1284 if (hubs->lineout1_se && hubs->lineout1p_ena)
1287 if (hubs->lineout2_se && hubs->lineout2n_ena)
1290 if (hubs->lineout2_se && hubs->lineout2p_ena)
1307 MODULE_DESCRIPTION("Shared support for Wolfson hubs products");