Lines Matching refs:wm8350_data
62 struct wm8350_data { struct
78 static inline int wm8350_out1_ramp_step(struct wm8350_data *wm8350_data) in wm8350_out1_ramp_step() argument
80 struct wm8350_output *out1 = &wm8350_data->out1; in wm8350_out1_ramp_step()
81 struct wm8350 *wm8350 = wm8350_data->wm8350; in wm8350_out1_ramp_step()
143 static inline int wm8350_out2_ramp_step(struct wm8350_data *wm8350_data) in wm8350_out2_ramp_step() argument
145 struct wm8350_output *out2 = &wm8350_data->out2; in wm8350_out2_ramp_step()
146 struct wm8350 *wm8350 = wm8350_data->wm8350; in wm8350_out2_ramp_step()
212 struct wm8350_data *wm8350_data = in wm8350_pga_work() local
213 container_of(work, struct wm8350_data, pga_work.work); in wm8350_pga_work()
214 struct wm8350_output *out1 = &wm8350_data->out1, in wm8350_pga_work()
215 *out2 = &wm8350_data->out2; in wm8350_pga_work()
226 out1_complete = wm8350_out1_ramp_step(wm8350_data); in wm8350_pga_work()
228 out2_complete = wm8350_out2_ramp_step(wm8350_data); in wm8350_pga_work()
260 struct wm8350_data *wm8350_data = snd_soc_codec_get_drvdata(codec); in pga_event() local
266 out = &wm8350_data->out1; in pga_event()
270 out = &wm8350_data->out2; in pga_event()
283 schedule_delayed_work(&wm8350_data->pga_work, in pga_event()
291 schedule_delayed_work(&wm8350_data->pga_work, in pga_event()
303 struct wm8350_data *wm8350_priv = snd_soc_codec_get_drvdata(codec); in wm8350_put_volsw_2r_vu()
346 struct wm8350_data *wm8350_priv = snd_soc_codec_get_drvdata(codec); in wm8350_get_volsw_2r()
757 struct wm8350_data *wm8350_data = snd_soc_codec_get_drvdata(codec); in wm8350_set_dai_sysclk() local
758 struct wm8350 *wm8350 = wm8350_data->wm8350; in wm8350_set_dai_sysclk()
911 struct wm8350_data *wm8350_data = snd_soc_codec_get_drvdata(codec); in wm8350_pcm_hw_params() local
912 struct wm8350 *wm8350 = wm8350_data->wm8350; in wm8350_pcm_hw_params()
1028 struct wm8350_data *priv = snd_soc_codec_get_drvdata(codec); in wm8350_set_fll()
1080 struct wm8350_data *priv = snd_soc_codec_get_drvdata(codec); in wm8350_set_bias_level()
1240 static void wm8350_hp_work(struct wm8350_data *priv, in wm8350_hp_work()
1260 struct wm8350_data *priv = in wm8350_hpl_work()
1261 container_of(work, struct wm8350_data, hpl.work.work); in wm8350_hpl_work()
1268 struct wm8350_data *priv = in wm8350_hpr_work()
1269 container_of(work, struct wm8350_data, hpr.work.work); in wm8350_hpr_work()
1276 struct wm8350_data *priv = data; in wm8350_hpl_jack_handler()
1294 struct wm8350_data *priv = data; in wm8350_hpr_jack_handler()
1324 struct wm8350_data *priv = snd_soc_codec_get_drvdata(codec); in wm8350_hp_jack_detect()
1368 struct wm8350_data *priv = data; in wm8350_mic_handler()
1404 struct wm8350_data *priv = snd_soc_codec_get_drvdata(codec); in wm8350_mic_jack_detect()
1461 struct wm8350_data *priv; in wm8350_codec_probe()
1471 priv = devm_kzalloc(codec->dev, sizeof(struct wm8350_data), in wm8350_codec_probe()
1555 struct wm8350_data *priv = snd_soc_codec_get_drvdata(codec); in wm8350_codec_remove()