Lines Matching full:dsp

46 	adsp_err(_obj->dsp, "%s: " fmt, _obj->name ? _obj->name : "legacy", \
49 adsp_dbg(_obj->dsp, "%s: " fmt, _obj->name ? _obj->name : "legacy", \
127 __be32 buf1_size; /* Size of buf1 area in DSP words */
129 __be32 buf1_buf2_size; /* Size of buf1+buf2 in DSP words */
131 __be32 buf_total_size; /* Size of buf1+buf2+buf3 in DSP words */
150 struct wm_adsp *dsp; member
167 struct wm_adsp *dsp; member
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); in wm_adsp_fw_get() local
324 ucontrol->value.enumerated.item[0] = dsp[e->shift_l].fw; in wm_adsp_fw_get()
335 struct wm_adsp *dsp = snd_soc_component_get_drvdata(component); in wm_adsp_fw_put() local
338 if (ucontrol->value.enumerated.item[0] == dsp[e->shift_l].fw) in wm_adsp_fw_put()
344 mutex_lock(&dsp[e->shift_l].cs_dsp.pwr_lock); in wm_adsp_fw_put()
346 if (dsp[e->shift_l].cs_dsp.booted || !list_empty(&dsp[e->shift_l].compr_list)) in wm_adsp_fw_put()
349 dsp[e->shift_l].fw = ucontrol->value.enumerated.item[0]; in wm_adsp_fw_put()
351 mutex_unlock(&dsp[e->shift_l].cs_dsp.pwr_lock); in wm_adsp_fw_put()
408 mutex_lock(&cs_ctl->dsp->pwr_lock); in wm_coeff_put()
410 mutex_unlock(&cs_ctl->dsp->pwr_lock); in wm_coeff_put()
432 mutex_lock(&cs_ctl->dsp->pwr_lock); in wm_coeff_tlv_put()
434 mutex_unlock(&cs_ctl->dsp->pwr_lock); in wm_coeff_tlv_put()
454 mutex_lock(&cs_ctl->dsp->pwr_lock); in wm_coeff_put_acked()
461 mutex_unlock(&cs_ctl->dsp->pwr_lock); in wm_coeff_put_acked()
479 mutex_lock(&cs_ctl->dsp->pwr_lock); in wm_coeff_get()
481 mutex_unlock(&cs_ctl->dsp->pwr_lock); in wm_coeff_get()
495 mutex_lock(&cs_ctl->dsp->pwr_lock); in wm_coeff_tlv_get()
502 mutex_unlock(&cs_ctl->dsp->pwr_lock); in wm_coeff_tlv_get()
559 struct wm_adsp *dsp = container_of(cs_ctl->dsp, in wm_adsp_ctl_work() local
592 snd_soc_add_component_controls(dsp->component, kcontrol, 1); in wm_adsp_ctl_work()
599 struct wm_adsp *dsp = container_of(cs_ctl->dsp, struct wm_adsp, cs_dsp); in wm_adsp_control_add() local
600 struct cs_dsp *cs_dsp = &dsp->cs_dsp; in wm_adsp_control_add()
611 adsp_err(dsp, "Unknown region type: %d\n", cs_ctl->alg_region.type); in wm_adsp_control_add()
625 wm_adsp_fw_text[dsp->fw], cs_ctl->alg_region.alg); in wm_adsp_control_add()
630 wm_adsp_fw_text[dsp->fw], cs_ctl->alg_region.alg); in wm_adsp_control_add()
638 if (dsp->component->name_prefix) in wm_adsp_control_add()
639 avail -= strlen(dsp->component->name_prefix) + 1; in wm_adsp_control_add()
683 int wm_adsp_write_ctl(struct wm_adsp *dsp, const char *name, int type, in wm_adsp_write_ctl() argument
690 mutex_lock(&dsp->cs_dsp.pwr_lock); in wm_adsp_write_ctl()
691 cs_ctl = cs_dsp_get_ctl(&dsp->cs_dsp, name, type, alg); in wm_adsp_write_ctl()
693 mutex_unlock(&dsp->cs_dsp.pwr_lock); in wm_adsp_write_ctl()
703 return snd_soc_component_notify_control(dsp->component, ctl->name); in wm_adsp_write_ctl()
707 int wm_adsp_read_ctl(struct wm_adsp *dsp, const char *name, int type, in wm_adsp_read_ctl() argument
712 mutex_lock(&dsp->cs_dsp.pwr_lock); in wm_adsp_read_ctl()
713 ret = cs_dsp_coeff_read_ctrl(cs_dsp_get_ctl(&dsp->cs_dsp, name, type, alg), in wm_adsp_read_ctl()
715 mutex_unlock(&dsp->cs_dsp.pwr_lock); in wm_adsp_read_ctl()
721 static void wm_adsp_release_firmware_files(struct wm_adsp *dsp, in wm_adsp_release_firmware_files() argument
736 static int wm_adsp_request_firmware_file(struct wm_adsp *dsp, in wm_adsp_request_firmware_file() argument
742 struct cs_dsp *cs_dsp = &dsp->cs_dsp; in wm_adsp_request_firmware_file()
747 if (dsp->fwf_name) in wm_adsp_request_firmware_file()
748 fwf = dsp->fwf_name; in wm_adsp_request_firmware_file()
750 fwf = dsp->cs_dsp.name; in wm_adsp_request_firmware_file()
753 *filename = kasprintf(GFP_KERNEL, "%s%s-%s-%s-%s-%s.%s", dir, dsp->part, in wm_adsp_request_firmware_file()
754 fwf, wm_adsp_fw[dsp->fw].file, system_name, in wm_adsp_request_firmware_file()
757 *filename = kasprintf(GFP_KERNEL, "%s%s-%s-%s-%s.%s", dir, dsp->part, in wm_adsp_request_firmware_file()
758 fwf, wm_adsp_fw[dsp->fw].file, system_name, in wm_adsp_request_firmware_file()
761 *filename = kasprintf(GFP_KERNEL, "%s%s-%s-%s.%s", dir, dsp->part, fwf, in wm_adsp_request_firmware_file()
762 wm_adsp_fw[dsp->fw].file, filetype); in wm_adsp_request_firmware_file()
784 adsp_dbg(dsp, "Failed to request '%s'\n", *filename); in wm_adsp_request_firmware_file()
788 adsp_dbg(dsp, "Found '%s'\n", *filename); in wm_adsp_request_firmware_file()
795 static int wm_adsp_request_firmware_files(struct wm_adsp *dsp, in wm_adsp_request_firmware_files() argument
801 const char *system_name = dsp->system_name; in wm_adsp_request_firmware_files()
802 const char *asoc_component_prefix = dsp->component->name_prefix; in wm_adsp_request_firmware_files()
806 if (!wm_adsp_request_firmware_file(dsp, wmfw_firmware, wmfw_filename, in wm_adsp_request_firmware_files()
809 wm_adsp_request_firmware_file(dsp, coeff_firmware, coeff_filename, in wm_adsp_request_firmware_files()
817 if (!wm_adsp_request_firmware_file(dsp, wmfw_firmware, wmfw_filename, in wm_adsp_request_firmware_files()
821 wm_adsp_request_firmware_file(dsp, coeff_firmware, coeff_filename, in wm_adsp_request_firmware_files()
826 wm_adsp_request_firmware_file(dsp, coeff_firmware, coeff_filename, in wm_adsp_request_firmware_files()
833 if (!wm_adsp_request_firmware_file(dsp, wmfw_firmware, wmfw_filename, in wm_adsp_request_firmware_files()
835 wm_adsp_request_firmware_file(dsp, coeff_firmware, coeff_filename, in wm_adsp_request_firmware_files()
840 ret = wm_adsp_request_firmware_file(dsp, wmfw_firmware, wmfw_filename, in wm_adsp_request_firmware_files()
843 wm_adsp_request_firmware_file(dsp, coeff_firmware, coeff_filename, in wm_adsp_request_firmware_files()
848 if (dsp->wmfw_optional) { in wm_adsp_request_firmware_files()
851 wm_adsp_request_firmware_file(dsp, coeff_firmware, coeff_filename, in wm_adsp_request_firmware_files()
856 wm_adsp_request_firmware_file(dsp, coeff_firmware, coeff_filename, in wm_adsp_request_firmware_files()
862 wm_adsp_request_firmware_file(dsp, coeff_firmware, coeff_filename, in wm_adsp_request_firmware_files()
866 wm_adsp_request_firmware_file(dsp, coeff_firmware, coeff_filename, in wm_adsp_request_firmware_files()
872 adsp_err(dsp, "Failed to request firmware <%s>%s-%s-%s<-%s<%s>>.wmfw\n", in wm_adsp_request_firmware_files()
873 cirrus_dir, dsp->part, in wm_adsp_request_firmware_files()
874 dsp->fwf_name ? dsp->fwf_name : dsp->cs_dsp.name, in wm_adsp_request_firmware_files()
875 wm_adsp_fw[dsp->fw].file, system_name, asoc_component_prefix); in wm_adsp_request_firmware_files()
880 static int wm_adsp_common_init(struct wm_adsp *dsp) in wm_adsp_common_init() argument
882 INIT_LIST_HEAD(&dsp->compr_list); in wm_adsp_common_init()
883 INIT_LIST_HEAD(&dsp->buffer_list); in wm_adsp_common_init()
888 int wm_adsp1_init(struct wm_adsp *dsp) in wm_adsp1_init() argument
892 dsp->cs_dsp.client_ops = &wm_adsp1_client_ops; in wm_adsp1_init()
894 ret = cs_dsp_adsp1_init(&dsp->cs_dsp); in wm_adsp1_init()
898 return wm_adsp_common_init(dsp); in wm_adsp1_init()
908 struct wm_adsp *dsp = &dsps[w->shift]; in wm_adsp1_event() local
915 dsp->component = component; in wm_adsp1_event()
919 ret = wm_adsp_request_firmware_files(dsp, in wm_adsp1_event()
925 ret = cs_dsp_adsp1_power_up(&dsp->cs_dsp, in wm_adsp1_event()
928 wm_adsp_fw_text[dsp->fw]); in wm_adsp1_event()
930 wm_adsp_release_firmware_files(dsp, in wm_adsp1_event()
935 cs_dsp_adsp1_power_down(&dsp->cs_dsp); in wm_adsp1_event()
949 struct wm_adsp *dsp = &dsps[w->shift]; in wm_adsp2_set_dspclk() local
951 return cs_dsp_set_dspclk(&dsp->cs_dsp, freq); in wm_adsp2_set_dspclk()
962 struct wm_adsp *dsp = &dsps[mc->shift - 1]; in wm_adsp2_preloader_get() local
964 ucontrol->value.integer.value[0] = dsp->preloaded; in wm_adsp2_preloader_get()
978 struct wm_adsp *dsp = &dsps[mc->shift - 1]; in wm_adsp2_preloader_put() local
981 if (dsp->preloaded == ucontrol->value.integer.value[0]) in wm_adsp2_preloader_put()
984 snprintf(preload, ARRAY_SIZE(preload), "%s Preload", dsp->cs_dsp.name); in wm_adsp2_preloader_put()
986 if (ucontrol->value.integer.value[0] || dsp->toggle_preload) in wm_adsp2_preloader_put()
993 flush_work(&dsp->boot_work); in wm_adsp2_preloader_put()
995 dsp->preloaded = ucontrol->value.integer.value[0]; in wm_adsp2_preloader_put()
997 if (dsp->toggle_preload) { in wm_adsp2_preloader_put()
1006 int wm_adsp_power_up(struct wm_adsp *dsp, bool load_firmware) in wm_adsp_power_up() argument
1015 ret = wm_adsp_request_firmware_files(dsp, in wm_adsp_power_up()
1022 ret = cs_dsp_power_up(&dsp->cs_dsp, in wm_adsp_power_up()
1025 wm_adsp_fw_text[dsp->fw]); in wm_adsp_power_up()
1027 wm_adsp_release_firmware_files(dsp, in wm_adsp_power_up()
1035 void wm_adsp_power_down(struct wm_adsp *dsp) in wm_adsp_power_down() argument
1037 cs_dsp_power_down(&dsp->cs_dsp); in wm_adsp_power_down()
1043 struct wm_adsp *dsp = container_of(work, in wm_adsp_boot_work() local
1047 wm_adsp_power_up(dsp, true); in wm_adsp_boot_work()
1055 struct wm_adsp *dsp = &dsps[w->shift]; in wm_adsp_early_event() local
1059 queue_work(system_unbound_wq, &dsp->boot_work); in wm_adsp_early_event()
1062 wm_adsp_power_down(dsp); in wm_adsp_early_event()
1074 struct wm_adsp *dsp = container_of(cs_dsp, struct wm_adsp, cs_dsp); in wm_adsp_pre_run() local
1076 if (!dsp->pre_run) in wm_adsp_pre_run()
1079 return (*dsp->pre_run)(dsp); in wm_adsp_pre_run()
1084 struct wm_adsp *dsp = container_of(cs_dsp, struct wm_adsp, cs_dsp); in wm_adsp_event_post_run() local
1086 if (wm_adsp_fw[dsp->fw].num_caps != 0) in wm_adsp_event_post_run()
1087 return wm_adsp_buffer_init(dsp); in wm_adsp_event_post_run()
1094 struct wm_adsp *dsp = container_of(cs_dsp, struct wm_adsp, cs_dsp); in wm_adsp_event_post_stop() local
1096 if (wm_adsp_fw[dsp->fw].num_caps != 0) in wm_adsp_event_post_stop()
1097 wm_adsp_buffer_free(dsp); in wm_adsp_event_post_stop()
1099 dsp->fatal_error = false; in wm_adsp_event_post_stop()
1107 struct wm_adsp *dsp = &dsps[w->shift]; in wm_adsp_event() local
1112 flush_work(&dsp->boot_work); in wm_adsp_event()
1113 ret = cs_dsp_run(&dsp->cs_dsp); in wm_adsp_event()
1116 cs_dsp_stop(&dsp->cs_dsp); in wm_adsp_event()
1126 int wm_adsp2_component_probe(struct wm_adsp *dsp, struct snd_soc_component *component) in wm_adsp2_component_probe() argument
1130 if (!dsp->cs_dsp.no_core_startstop) { in wm_adsp2_component_probe()
1131 snprintf(preload, ARRAY_SIZE(preload), "%s Preload", dsp->cs_dsp.name); in wm_adsp2_component_probe()
1135 cs_dsp_init_debugfs(&dsp->cs_dsp, component->debugfs_root); in wm_adsp2_component_probe()
1137 dsp->component = component; in wm_adsp2_component_probe()
1143 int wm_adsp2_component_remove(struct wm_adsp *dsp, struct snd_soc_component *component) in wm_adsp2_component_remove() argument
1145 cs_dsp_cleanup_debugfs(&dsp->cs_dsp); in wm_adsp2_component_remove()
1151 int wm_adsp2_init(struct wm_adsp *dsp) in wm_adsp2_init() argument
1155 INIT_WORK(&dsp->boot_work, wm_adsp_boot_work); in wm_adsp2_init()
1157 dsp->sys_config_size = sizeof(struct wm_adsp_system_config_xm_hdr); in wm_adsp2_init()
1158 dsp->cs_dsp.client_ops = &wm_adsp2_client_ops; in wm_adsp2_init()
1160 ret = cs_dsp_adsp2_init(&dsp->cs_dsp); in wm_adsp2_init()
1164 return wm_adsp_common_init(dsp); in wm_adsp2_init()
1168 int wm_halo_init(struct wm_adsp *dsp) in wm_halo_init() argument
1172 INIT_WORK(&dsp->boot_work, wm_adsp_boot_work); in wm_halo_init()
1174 dsp->sys_config_size = sizeof(struct wm_halo_system_config_xm_hdr); in wm_halo_init()
1175 dsp->cs_dsp.client_ops = &wm_adsp2_client_ops; in wm_halo_init()
1177 ret = cs_dsp_halo_init(&dsp->cs_dsp); in wm_halo_init()
1181 return wm_adsp_common_init(dsp); in wm_halo_init()
1185 void wm_adsp2_remove(struct wm_adsp *dsp) in wm_adsp2_remove() argument
1187 cs_dsp_remove(&dsp->cs_dsp); in wm_adsp2_remove()
1200 if (compr->dsp->fatal_error) in wm_adsp_compr_attach()
1203 list_for_each_entry(tmp, &compr->dsp->buffer_list, list) { in wm_adsp_compr_attach()
1234 int wm_adsp_compr_open(struct wm_adsp *dsp, struct snd_compr_stream *stream) in wm_adsp_compr_open() argument
1240 mutex_lock(&dsp->cs_dsp.pwr_lock); in wm_adsp_compr_open()
1242 if (wm_adsp_fw[dsp->fw].num_caps == 0) { in wm_adsp_compr_open()
1243 adsp_err(dsp, "%s: Firmware does not support compressed API\n", in wm_adsp_compr_open()
1249 if (wm_adsp_fw[dsp->fw].compr_direction != stream->direction) { in wm_adsp_compr_open()
1250 adsp_err(dsp, "%s: Firmware does not support stream direction\n", in wm_adsp_compr_open()
1256 list_for_each_entry(tmp, &dsp->compr_list, list) { in wm_adsp_compr_open()
1258 adsp_err(dsp, "%s: Only a single stream supported per dai\n", in wm_adsp_compr_open()
1271 compr->dsp = dsp; in wm_adsp_compr_open()
1275 list_add_tail(&compr->list, &dsp->compr_list); in wm_adsp_compr_open()
1280 mutex_unlock(&dsp->cs_dsp.pwr_lock); in wm_adsp_compr_open()
1290 struct wm_adsp *dsp = compr->dsp; in wm_adsp_compr_free() local
1292 mutex_lock(&dsp->cs_dsp.pwr_lock); in wm_adsp_compr_free()
1300 mutex_unlock(&dsp->cs_dsp.pwr_lock); in wm_adsp_compr_free()
1310 struct wm_adsp *dsp = compr->dsp; in wm_adsp_compr_check_params() local
1327 for (i = 0; i < wm_adsp_fw[dsp->fw].num_caps; i++) { in wm_adsp_compr_check_params()
1328 caps = &wm_adsp_fw[dsp->fw].caps[i]; in wm_adsp_compr_check_params()
1394 int fw = compr->dsp->fw; in wm_adsp_compr_get_caps()
1417 return cs_dsp_read_data_word(&buf->dsp->cs_dsp, buf->host_buf_mem_type, in wm_adsp_buffer_read()
1424 return cs_dsp_write_data_word(&buf->dsp->cs_dsp, buf->host_buf_mem_type, in wm_adsp_buffer_write()
1431 const struct wm_adsp_fw_caps *caps = wm_adsp_fw[buf->dsp->fw].caps; in wm_adsp_buffer_populate()
1479 static struct wm_adsp_compr_buf *wm_adsp_buffer_alloc(struct wm_adsp *dsp) in wm_adsp_buffer_alloc() argument
1487 buf->dsp = dsp; in wm_adsp_buffer_alloc()
1494 static int wm_adsp_buffer_parse_legacy(struct wm_adsp *dsp) in wm_adsp_buffer_parse_legacy() argument
1501 alg_region = cs_dsp_find_alg_region(&dsp->cs_dsp, WMFW_ADSP2_XM, dsp->cs_dsp.fw_id); in wm_adsp_buffer_parse_legacy()
1503 adsp_err(dsp, "No algorithm region found\n"); in wm_adsp_buffer_parse_legacy()
1507 xmalg = dsp->sys_config_size / sizeof(__be32); in wm_adsp_buffer_parse_legacy()
1510 ret = cs_dsp_read_data_word(&dsp->cs_dsp, WMFW_ADSP2_XM, addr, &magic); in wm_adsp_buffer_parse_legacy()
1517 buf = wm_adsp_buffer_alloc(dsp); in wm_adsp_buffer_parse_legacy()
1523 ret = cs_dsp_read_data_word(&dsp->cs_dsp, WMFW_ADSP2_XM, addr, in wm_adsp_buffer_parse_legacy()
1545 list_add_tail(&buf->list, &dsp->buffer_list); in wm_adsp_buffer_parse_legacy()
1561 struct wm_adsp *dsp = container_of(cs_ctl->dsp, struct wm_adsp, cs_dsp); in wm_adsp_buffer_parse_coeff() local
1578 adsp_err(dsp, "Failed to acquire host buffer\n"); in wm_adsp_buffer_parse_coeff()
1582 buf = wm_adsp_buffer_alloc(dsp); in wm_adsp_buffer_parse_coeff()
1604 adsp_err(dsp, in wm_adsp_buffer_parse_coeff()
1613 buf->name = kasprintf(GFP_KERNEL, "%s-dsp-%s", dsp->part, in wm_adsp_buffer_parse_coeff()
1617 list_add_tail(&buf->list, &dsp->buffer_list); in wm_adsp_buffer_parse_coeff()
1630 static int wm_adsp_buffer_init(struct wm_adsp *dsp) in wm_adsp_buffer_init() argument
1635 list_for_each_entry(cs_ctl, &dsp->cs_dsp.ctl_list, list) { in wm_adsp_buffer_init()
1644 adsp_err(dsp, "Failed to parse coeff: %d\n", ret); in wm_adsp_buffer_init()
1652 if (list_empty(&dsp->buffer_list)) { in wm_adsp_buffer_init()
1654 ret = wm_adsp_buffer_parse_legacy(dsp); in wm_adsp_buffer_init()
1656 adsp_info(dsp, "Legacy support not available\n"); in wm_adsp_buffer_init()
1658 adsp_warn(dsp, "Failed to parse legacy: %d\n", ret); in wm_adsp_buffer_init()
1664 wm_adsp_buffer_free(dsp); in wm_adsp_buffer_init()
1668 static int wm_adsp_buffer_free(struct wm_adsp *dsp) in wm_adsp_buffer_free() argument
1672 list_for_each_entry_safe(buf, tmp, &dsp->buffer_list, list) { in wm_adsp_buffer_free()
1705 struct wm_adsp *dsp = compr->dsp; in wm_adsp_compr_trigger() local
1710 mutex_lock(&dsp->cs_dsp.pwr_lock); in wm_adsp_compr_trigger()
1746 mutex_unlock(&dsp->cs_dsp.pwr_lock); in wm_adsp_compr_trigger()
1754 int last_region = wm_adsp_fw[buf->dsp->fw].caps->num_regions - 1; in wm_adsp_buffer_size()
1802 int wm_adsp_compr_handle_irq(struct wm_adsp *dsp) in wm_adsp_compr_handle_irq() argument
1808 mutex_lock(&dsp->cs_dsp.pwr_lock); in wm_adsp_compr_handle_irq()
1810 if (list_empty(&dsp->buffer_list)) { in wm_adsp_compr_handle_irq()
1815 adsp_dbg(dsp, "Handling buffer IRQ\n"); in wm_adsp_compr_handle_irq()
1817 list_for_each_entry(buf, &dsp->buffer_list, list) { in wm_adsp_compr_handle_irq()
1837 if (wm_adsp_fw[dsp->fw].voice_trigger && buf->irq_count == 2) in wm_adsp_compr_handle_irq()
1846 mutex_unlock(&dsp->cs_dsp.pwr_lock); in wm_adsp_compr_handle_irq()
1870 struct wm_adsp *dsp = compr->dsp; in wm_adsp_compr_pointer() local
1876 mutex_lock(&dsp->cs_dsp.pwr_lock); in wm_adsp_compr_pointer()
1880 if (dsp->fatal_error || !buf || buf->error) { in wm_adsp_compr_pointer()
1895 * DSP to inform us once a whole fragment is available. in wm_adsp_compr_pointer()
1920 mutex_unlock(&dsp->cs_dsp.pwr_lock); in wm_adsp_compr_pointer()
1934 for (i = 0; i < wm_adsp_fw[buf->dsp->fw].caps->num_regions; ++i) in wm_adsp_buffer_capture_block()
1938 if (i == wm_adsp_fw[buf->dsp->fw].caps->num_regions) in wm_adsp_buffer_capture_block()
1957 /* Read data from DSP */ in wm_adsp_buffer_capture_block()
1958 ret = cs_dsp_read_raw_data_block(&buf->dsp->cs_dsp, mem_type, adsp_addr, in wm_adsp_buffer_capture_block()
1984 struct wm_adsp *dsp = compr->dsp; in wm_adsp_compr_read() local
1990 if (dsp->fatal_error || !compr->buf || compr->buf->error) { in wm_adsp_compr_read()
2029 struct wm_adsp *dsp = compr->dsp; in wm_adsp_compr_copy() local
2032 mutex_lock(&dsp->cs_dsp.pwr_lock); in wm_adsp_compr_copy()
2039 mutex_unlock(&dsp->cs_dsp.pwr_lock); in wm_adsp_compr_copy()
2047 struct wm_adsp *dsp = container_of(cs_dsp, struct wm_adsp, cs_dsp); in wm_adsp_fatal_error() local
2050 dsp->fatal_error = true; in wm_adsp_fatal_error()
2052 list_for_each_entry(compr, &dsp->compr_list, list) { in wm_adsp_fatal_error()
2060 struct wm_adsp *dsp = (struct wm_adsp *)data; in wm_adsp2_bus_error() local
2062 cs_dsp_adsp2_bus_error(&dsp->cs_dsp); in wm_adsp2_bus_error()
2070 struct wm_adsp *dsp = (struct wm_adsp *)data; in wm_halo_bus_error() local
2072 cs_dsp_halo_bus_error(&dsp->cs_dsp); in wm_halo_bus_error()
2080 struct wm_adsp *dsp = data; in wm_halo_wdt_expire() local
2082 cs_dsp_halo_wdt_expire(&dsp->cs_dsp); in wm_halo_wdt_expire()