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()
223 out1_complete = wm8350_out1_ramp_step(wm8350_data); in wm8350_pga_work()
225 out2_complete = wm8350_out2_ramp_step(wm8350_data); in wm8350_pga_work()
257 struct wm8350_data *wm8350_data = snd_soc_component_get_drvdata(component); in pga_event() local
263 out = &wm8350_data->out1; in pga_event()
267 out = &wm8350_data->out2; in pga_event()
280 schedule_delayed_work(&wm8350_data->pga_work, in pga_event()
288 schedule_delayed_work(&wm8350_data->pga_work, in pga_event()
300 struct wm8350_data *wm8350_priv = snd_soc_component_get_drvdata(component); in wm8350_put_volsw_2r_vu()
343 struct wm8350_data *wm8350_priv = snd_soc_component_get_drvdata(component); in wm8350_get_volsw_2r()
754 struct wm8350_data *wm8350_data = snd_soc_component_get_drvdata(component); in wm8350_set_dai_sysclk() local
755 struct wm8350 *wm8350 = wm8350_data->wm8350; in wm8350_set_dai_sysclk()
908 struct wm8350_data *wm8350_data = snd_soc_component_get_drvdata(component); in wm8350_pcm_hw_params() local
909 struct wm8350 *wm8350 = wm8350_data->wm8350; in wm8350_pcm_hw_params()
1025 struct wm8350_data *priv = snd_soc_component_get_drvdata(component); in wm8350_set_fll()
1077 struct wm8350_data *priv = snd_soc_component_get_drvdata(component); in wm8350_set_bias_level()
1237 static void wm8350_hp_work(struct wm8350_data *priv, in wm8350_hp_work()
1257 struct wm8350_data *priv = in wm8350_hpl_work()
1258 container_of(work, struct wm8350_data, hpl.work.work); in wm8350_hpl_work()
1265 struct wm8350_data *priv = in wm8350_hpr_work()
1266 container_of(work, struct wm8350_data, hpr.work.work); in wm8350_hpr_work()
1273 struct wm8350_data *priv = data; in wm8350_hpl_jack_handler()
1291 struct wm8350_data *priv = data; in wm8350_hpr_jack_handler()
1321 struct wm8350_data *priv = snd_soc_component_get_drvdata(component); in wm8350_hp_jack_detect()
1365 struct wm8350_data *priv = data; in wm8350_mic_handler()
1401 struct wm8350_data *priv = snd_soc_component_get_drvdata(component); in wm8350_mic_jack_detect()
1458 struct wm8350_data *priv; in wm8350_component_probe()
1468 priv = devm_kzalloc(component->dev, sizeof(struct wm8350_data), in wm8350_component_probe()
1554 struct wm8350_data *priv = snd_soc_component_get_drvdata(component); in wm8350_component_remove()