Lines Matching refs:wm8350_data
59 struct wm8350_data { struct
75 static inline int wm8350_out1_ramp_step(struct wm8350_data *wm8350_data) in wm8350_out1_ramp_step() argument
77 struct wm8350_output *out1 = &wm8350_data->out1; in wm8350_out1_ramp_step()
78 struct wm8350 *wm8350 = wm8350_data->wm8350; in wm8350_out1_ramp_step()
140 static inline int wm8350_out2_ramp_step(struct wm8350_data *wm8350_data) in wm8350_out2_ramp_step() argument
142 struct wm8350_output *out2 = &wm8350_data->out2; in wm8350_out2_ramp_step()
143 struct wm8350 *wm8350 = wm8350_data->wm8350; in wm8350_out2_ramp_step()
209 struct wm8350_data *wm8350_data = in wm8350_pga_work() local
210 container_of(work, struct wm8350_data, pga_work.work); in wm8350_pga_work()
211 struct wm8350_output *out1 = &wm8350_data->out1, in wm8350_pga_work()
212 *out2 = &wm8350_data->out2; in wm8350_pga_work()
224 out1_complete = wm8350_out1_ramp_step(wm8350_data); in wm8350_pga_work()
226 out2_complete = wm8350_out2_ramp_step(wm8350_data); in wm8350_pga_work()
258 struct wm8350_data *wm8350_data = snd_soc_component_get_drvdata(component); in pga_event() local
264 out = &wm8350_data->out1; in pga_event()
268 out = &wm8350_data->out2; in pga_event()
281 schedule_delayed_work(&wm8350_data->pga_work, in pga_event()
289 schedule_delayed_work(&wm8350_data->pga_work, in pga_event()
301 struct wm8350_data *wm8350_priv = snd_soc_component_get_drvdata(component); in wm8350_put_volsw_2r_vu()
344 struct wm8350_data *wm8350_priv = snd_soc_component_get_drvdata(component); in wm8350_get_volsw_2r()
755 struct wm8350_data *wm8350_data = snd_soc_component_get_drvdata(component); in wm8350_set_dai_sysclk() local
756 struct wm8350 *wm8350 = wm8350_data->wm8350; in wm8350_set_dai_sysclk()
909 struct wm8350_data *wm8350_data = snd_soc_component_get_drvdata(component); in wm8350_pcm_hw_params() local
910 struct wm8350 *wm8350 = wm8350_data->wm8350; in wm8350_pcm_hw_params()
1026 struct wm8350_data *priv = snd_soc_component_get_drvdata(component); in wm8350_set_fll()
1078 struct wm8350_data *priv = snd_soc_component_get_drvdata(component); in wm8350_set_bias_level()
1238 static void wm8350_hp_work(struct wm8350_data *priv, in wm8350_hp_work()
1258 struct wm8350_data *priv = in wm8350_hpl_work()
1259 container_of(work, struct wm8350_data, hpl.work.work); in wm8350_hpl_work()
1266 struct wm8350_data *priv = in wm8350_hpr_work()
1267 container_of(work, struct wm8350_data, hpr.work.work); in wm8350_hpr_work()
1274 struct wm8350_data *priv = data; in wm8350_hpl_jack_handler()
1292 struct wm8350_data *priv = data; in wm8350_hpr_jack_handler()
1322 struct wm8350_data *priv = snd_soc_component_get_drvdata(component); in wm8350_hp_jack_detect()
1366 struct wm8350_data *priv = data; in wm8350_mic_handler()
1402 struct wm8350_data *priv = snd_soc_component_get_drvdata(component); in wm8350_mic_jack_detect()
1460 struct wm8350_data *priv; in wm8350_component_probe()
1470 priv = devm_kzalloc(component->dev, sizeof(struct wm8350_data), in wm8350_component_probe()
1576 struct wm8350_data *priv = snd_soc_component_get_drvdata(component); in wm8350_component_remove()