Lines Matching refs:wm_adsp
3 * wm_adsp.c -- Wolfson ADSP support
32 #include "wm_adsp.h"
150 struct wm_adsp *dsp;
167 struct wm_adsp *dsp;
199 static int wm_adsp_buffer_init(struct wm_adsp *dsp);
200 static int wm_adsp_buffer_free(struct wm_adsp *dsp);
322 struct wm_adsp *dsp = snd_soc_component_get_drvdata(component);
335 struct wm_adsp *dsp = snd_soc_component_get_drvdata(component);
559 struct wm_adsp *dsp = container_of(cs_ctl->dsp,
560 struct wm_adsp,
599 struct wm_adsp *dsp = container_of(cs_ctl->dsp, struct wm_adsp, cs_dsp);
683 int wm_adsp_write_ctl(struct wm_adsp *dsp, const char *name, int type,
706 int wm_adsp_read_ctl(struct wm_adsp *dsp, const char *name, int type,
720 static void wm_adsp_release_firmware_files(struct wm_adsp *dsp,
735 static int wm_adsp_request_firmware_file(struct wm_adsp *dsp,
794 static int wm_adsp_request_firmware_files(struct wm_adsp *dsp,
879 static int wm_adsp_common_init(struct wm_adsp *dsp)
887 int wm_adsp1_init(struct wm_adsp *dsp)
906 struct wm_adsp *dsps = snd_soc_component_get_drvdata(component);
907 struct wm_adsp *dsp = &dsps[w->shift];
947 struct wm_adsp *dsps = snd_soc_component_get_drvdata(component);
948 struct wm_adsp *dsp = &dsps[w->shift];
958 struct wm_adsp *dsps = snd_soc_component_get_drvdata(component);
961 struct wm_adsp *dsp = &dsps[mc->shift - 1];
973 struct wm_adsp *dsps = snd_soc_component_get_drvdata(component);
977 struct wm_adsp *dsp = &dsps[mc->shift - 1];
1005 int wm_adsp_power_up(struct wm_adsp *dsp, bool load_firmware)
1034 void wm_adsp_power_down(struct wm_adsp *dsp)
1042 struct wm_adsp *dsp = container_of(work,
1043 struct wm_adsp,
1053 struct wm_adsp *dsps = snd_soc_component_get_drvdata(component);
1054 struct wm_adsp *dsp = &dsps[w->shift];
1073 struct wm_adsp *dsp = container_of(cs_dsp, struct wm_adsp, cs_dsp);
1083 struct wm_adsp *dsp = container_of(cs_dsp, struct wm_adsp, cs_dsp);
1093 struct wm_adsp *dsp = container_of(cs_dsp, struct wm_adsp, cs_dsp);
1105 struct wm_adsp *dsps = snd_soc_component_get_drvdata(component);
1106 struct wm_adsp *dsp = &dsps[w->shift];
1125 int wm_adsp2_component_probe(struct wm_adsp *dsp, struct snd_soc_component *component)
1142 int wm_adsp2_component_remove(struct wm_adsp *dsp, struct snd_soc_component *component)
1150 int wm_adsp2_init(struct wm_adsp *dsp)
1167 int wm_halo_init(struct wm_adsp *dsp)
1184 void wm_adsp2_remove(struct wm_adsp *dsp)
1233 int wm_adsp_compr_open(struct wm_adsp *dsp, struct snd_compr_stream *stream)
1289 struct wm_adsp *dsp = compr->dsp;
1309 struct wm_adsp *dsp = compr->dsp;
1478 static struct wm_adsp_compr_buf *wm_adsp_buffer_alloc(struct wm_adsp *dsp)
1493 static int wm_adsp_buffer_parse_legacy(struct wm_adsp *dsp)
1560 struct wm_adsp *dsp = container_of(cs_ctl->dsp, struct wm_adsp, cs_dsp);
1629 static int wm_adsp_buffer_init(struct wm_adsp *dsp)
1667 static int wm_adsp_buffer_free(struct wm_adsp *dsp)
1704 struct wm_adsp *dsp = compr->dsp;
1801 int wm_adsp_compr_handle_irq(struct wm_adsp *dsp)
1869 struct wm_adsp *dsp = compr->dsp;
1983 struct wm_adsp *dsp = compr->dsp;
2028 struct wm_adsp *dsp = compr->dsp;
2046 struct wm_adsp *dsp = container_of(cs_dsp, struct wm_adsp, cs_dsp);
2059 struct wm_adsp *dsp = (struct wm_adsp *)data;
2069 struct wm_adsp *dsp = (struct wm_adsp *)data;
2079 struct wm_adsp *dsp = data;