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()
758 struct wm8350_data *wm8350_data = snd_soc_codec_get_drvdata(codec); in wm8350_set_dai_sysclk() local
759 struct wm8350 *wm8350 = wm8350_data->wm8350; in wm8350_set_dai_sysclk()
912 struct wm8350_data *wm8350_data = snd_soc_codec_get_drvdata(codec); in wm8350_pcm_hw_params() local
913 struct wm8350 *wm8350 = wm8350_data->wm8350; in wm8350_pcm_hw_params()
1029 struct wm8350_data *priv = snd_soc_codec_get_drvdata(codec); in wm8350_set_fll()
1081 struct wm8350_data *priv = snd_soc_codec_get_drvdata(codec); in wm8350_set_bias_level()
1242 static void wm8350_hp_work(struct wm8350_data *priv, in wm8350_hp_work()
1262 struct wm8350_data *priv = in wm8350_hpl_work()
1263 container_of(work, struct wm8350_data, hpl.work.work); in wm8350_hpl_work()
1270 struct wm8350_data *priv = in wm8350_hpr_work()
1271 container_of(work, struct wm8350_data, hpr.work.work); in wm8350_hpr_work()
1278 struct wm8350_data *priv = data; in wm8350_hpl_jack_handler()
1296 struct wm8350_data *priv = data; in wm8350_hpr_jack_handler()
1326 struct wm8350_data *priv = snd_soc_codec_get_drvdata(codec); in wm8350_hp_jack_detect()
1370 struct wm8350_data *priv = data; in wm8350_mic_handler()
1406 struct wm8350_data *priv = snd_soc_codec_get_drvdata(codec); in wm8350_mic_jack_detect()
1463 struct wm8350_data *priv; in wm8350_codec_probe()
1473 priv = devm_kzalloc(codec->dev, sizeof(struct wm8350_data), in wm8350_codec_probe()
1557 struct wm8350_data *priv = snd_soc_codec_get_drvdata(codec); in wm8350_codec_remove()