Lines Matching full:dsp
47 adsp_err(_obj->dsp, "%s: " fmt, _obj->name ? _obj->name : "legacy", \
50 adsp_dbg(_obj->dsp, "%s: " fmt, _obj->name ? _obj->name : "legacy", \
128 __be32 buf1_size; /* Size of buf1 area in DSP words */
130 __be32 buf1_buf2_size; /* Size of buf1+buf2 in DSP words */
132 __be32 buf_total_size; /* Size of buf1+buf2+buf3 in DSP words */
151 struct wm_adsp *dsp; member
168 struct wm_adsp *dsp; member
200 static int wm_adsp_buffer_init(struct wm_adsp *dsp);
201 static int wm_adsp_buffer_free(struct wm_adsp *dsp);
323 struct wm_adsp *dsp = snd_soc_component_get_drvdata(component); in wm_adsp_fw_get() local
325 ucontrol->value.enumerated.item[0] = dsp[e->shift_l].fw; in wm_adsp_fw_get()
336 struct wm_adsp *dsp = snd_soc_component_get_drvdata(component); in wm_adsp_fw_put() local
339 if (ucontrol->value.enumerated.item[0] == dsp[e->shift_l].fw) in wm_adsp_fw_put()
345 mutex_lock(&dsp[e->shift_l].cs_dsp.pwr_lock); in wm_adsp_fw_put()
347 if (dsp[e->shift_l].cs_dsp.booted || !list_empty(&dsp[e->shift_l].compr_list)) in wm_adsp_fw_put()
350 dsp[e->shift_l].fw = ucontrol->value.enumerated.item[0]; in wm_adsp_fw_put()
352 mutex_unlock(&dsp[e->shift_l].cs_dsp.pwr_lock); in wm_adsp_fw_put()
448 mutex_lock(&cs_ctl->dsp->pwr_lock); in wm_coeff_put_acked()
455 mutex_unlock(&cs_ctl->dsp->pwr_lock); in wm_coeff_put_acked()
484 mutex_lock(&cs_ctl->dsp->pwr_lock); in wm_coeff_tlv_get()
491 mutex_unlock(&cs_ctl->dsp->pwr_lock); in wm_coeff_tlv_get()
548 struct wm_adsp *dsp = container_of(cs_ctl->dsp, in wm_adsp_ctl_work() local
581 snd_soc_add_component_controls(dsp->component, kcontrol, 1); in wm_adsp_ctl_work()
588 struct wm_adsp *dsp = container_of(cs_ctl->dsp, struct wm_adsp, cs_dsp); in wm_adsp_control_add() local
589 struct cs_dsp *cs_dsp = &dsp->cs_dsp; in wm_adsp_control_add()
600 adsp_err(dsp, "Unknown region type: %d\n", cs_ctl->alg_region.type); in wm_adsp_control_add()
614 wm_adsp_fw_text[dsp->fw], cs_ctl->alg_region.alg); in wm_adsp_control_add()
619 wm_adsp_fw_text[dsp->fw], cs_ctl->alg_region.alg); in wm_adsp_control_add()
627 if (dsp->component->name_prefix) in wm_adsp_control_add()
628 avail -= strlen(dsp->component->name_prefix) + 1; in wm_adsp_control_add()
665 struct wm_adsp *dsp = container_of(cs_ctl->dsp, struct wm_adsp, cs_dsp); in wm_adsp_control_add_cb() local
667 if (dsp->control_add) in wm_adsp_control_add_cb()
668 return (dsp->control_add)(dsp, cs_ctl); in wm_adsp_control_add_cb()
683 int wm_adsp_write_ctl(struct wm_adsp *dsp, const char *name, int type, in wm_adsp_write_ctl() argument
689 mutex_lock(&dsp->cs_dsp.pwr_lock); in wm_adsp_write_ctl()
690 cs_ctl = cs_dsp_get_ctl(&dsp->cs_dsp, name, type, alg); in wm_adsp_write_ctl()
692 mutex_unlock(&dsp->cs_dsp.pwr_lock); in wm_adsp_write_ctl()
701 int wm_adsp_read_ctl(struct wm_adsp *dsp, const char *name, int type, in wm_adsp_read_ctl() argument
706 mutex_lock(&dsp->cs_dsp.pwr_lock); in wm_adsp_read_ctl()
707 ret = cs_dsp_coeff_read_ctrl(cs_dsp_get_ctl(&dsp->cs_dsp, name, type, alg), in wm_adsp_read_ctl()
709 mutex_unlock(&dsp->cs_dsp.pwr_lock); in wm_adsp_read_ctl()
715 static void wm_adsp_release_firmware_files(struct wm_adsp *dsp, in wm_adsp_release_firmware_files() argument
730 static int wm_adsp_request_firmware_file(struct wm_adsp *dsp, in wm_adsp_request_firmware_file() argument
736 struct cs_dsp *cs_dsp = &dsp->cs_dsp; in wm_adsp_request_firmware_file()
741 if (dsp->fwf_name) in wm_adsp_request_firmware_file()
742 fwf = dsp->fwf_name; in wm_adsp_request_firmware_file()
744 fwf = dsp->cs_dsp.name; in wm_adsp_request_firmware_file()
747 *filename = kasprintf(GFP_KERNEL, "%s%s-%s-%s-%s-%s.%s", dir, dsp->part, in wm_adsp_request_firmware_file()
748 fwf, wm_adsp_fw[dsp->fw].file, system_name, in wm_adsp_request_firmware_file()
751 *filename = kasprintf(GFP_KERNEL, "%s%s-%s-%s-%s.%s", dir, dsp->part, in wm_adsp_request_firmware_file()
752 fwf, wm_adsp_fw[dsp->fw].file, system_name, in wm_adsp_request_firmware_file()
755 *filename = kasprintf(GFP_KERNEL, "%s%s-%s-%s.%s", dir, dsp->part, fwf, in wm_adsp_request_firmware_file()
756 wm_adsp_fw[dsp->fw].file, filetype); in wm_adsp_request_firmware_file()
778 adsp_dbg(dsp, "Failed to request '%s'\n", *filename); in wm_adsp_request_firmware_file()
782 adsp_dbg(dsp, "Found '%s'\n", *filename); in wm_adsp_request_firmware_file()
789 static int wm_adsp_request_firmware_files(struct wm_adsp *dsp, in wm_adsp_request_firmware_files() argument
795 const char *system_name = dsp->system_name; in wm_adsp_request_firmware_files()
796 const char *asoc_component_prefix = dsp->component->name_prefix; in wm_adsp_request_firmware_files()
800 if (!wm_adsp_request_firmware_file(dsp, wmfw_firmware, wmfw_filename, in wm_adsp_request_firmware_files()
803 wm_adsp_request_firmware_file(dsp, coeff_firmware, coeff_filename, in wm_adsp_request_firmware_files()
811 if (!wm_adsp_request_firmware_file(dsp, wmfw_firmware, wmfw_filename, in wm_adsp_request_firmware_files()
815 wm_adsp_request_firmware_file(dsp, coeff_firmware, coeff_filename, in wm_adsp_request_firmware_files()
820 wm_adsp_request_firmware_file(dsp, coeff_firmware, coeff_filename, in wm_adsp_request_firmware_files()
828 if (dsp->wmfw_optional && system_name) { in wm_adsp_request_firmware_files()
830 wm_adsp_request_firmware_file(dsp, coeff_firmware, coeff_filename, in wm_adsp_request_firmware_files()
835 wm_adsp_request_firmware_file(dsp, coeff_firmware, coeff_filename, in wm_adsp_request_firmware_files()
844 if (!wm_adsp_request_firmware_file(dsp, wmfw_firmware, wmfw_filename, in wm_adsp_request_firmware_files()
846 wm_adsp_request_firmware_file(dsp, coeff_firmware, coeff_filename, in wm_adsp_request_firmware_files()
852 ret = wm_adsp_request_firmware_file(dsp, wmfw_firmware, wmfw_filename, in wm_adsp_request_firmware_files()
854 if (!ret || dsp->wmfw_optional) { in wm_adsp_request_firmware_files()
855 wm_adsp_request_firmware_file(dsp, coeff_firmware, coeff_filename, in wm_adsp_request_firmware_files()
860 adsp_err(dsp, "Failed to request firmware <%s>%s-%s-%s<-%s<%s>>.wmfw\n", in wm_adsp_request_firmware_files()
861 cirrus_dir, dsp->part, in wm_adsp_request_firmware_files()
862 dsp->fwf_name ? dsp->fwf_name : dsp->cs_dsp.name, in wm_adsp_request_firmware_files()
863 wm_adsp_fw[dsp->fw].file, system_name, asoc_component_prefix); in wm_adsp_request_firmware_files()
868 static int wm_adsp_common_init(struct wm_adsp *dsp) in wm_adsp_common_init() argument
870 INIT_LIST_HEAD(&dsp->compr_list); in wm_adsp_common_init()
871 INIT_LIST_HEAD(&dsp->buffer_list); in wm_adsp_common_init()
876 int wm_adsp1_init(struct wm_adsp *dsp) in wm_adsp1_init() argument
880 dsp->cs_dsp.client_ops = &wm_adsp1_client_ops; in wm_adsp1_init()
882 ret = cs_dsp_adsp1_init(&dsp->cs_dsp); in wm_adsp1_init()
886 return wm_adsp_common_init(dsp); in wm_adsp1_init()
896 struct wm_adsp *dsp = &dsps[w->shift]; in wm_adsp1_event() local
903 dsp->component = component; in wm_adsp1_event()
907 ret = wm_adsp_request_firmware_files(dsp, in wm_adsp1_event()
913 ret = cs_dsp_adsp1_power_up(&dsp->cs_dsp, in wm_adsp1_event()
916 wm_adsp_fw_text[dsp->fw]); in wm_adsp1_event()
918 wm_adsp_release_firmware_files(dsp, in wm_adsp1_event()
923 cs_dsp_adsp1_power_down(&dsp->cs_dsp); in wm_adsp1_event()
937 struct wm_adsp *dsp = &dsps[w->shift]; in wm_adsp2_set_dspclk() local
939 return cs_dsp_set_dspclk(&dsp->cs_dsp, freq); in wm_adsp2_set_dspclk()
950 struct wm_adsp *dsp = &dsps[mc->shift - 1]; in wm_adsp2_preloader_get() local
952 ucontrol->value.integer.value[0] = dsp->preloaded; in wm_adsp2_preloader_get()
966 struct wm_adsp *dsp = &dsps[mc->shift - 1]; in wm_adsp2_preloader_put() local
969 if (dsp->preloaded == ucontrol->value.integer.value[0]) in wm_adsp2_preloader_put()
972 snprintf(preload, ARRAY_SIZE(preload), "%s Preload", dsp->cs_dsp.name); in wm_adsp2_preloader_put()
974 if (ucontrol->value.integer.value[0] || dsp->toggle_preload) in wm_adsp2_preloader_put()
981 flush_work(&dsp->boot_work); in wm_adsp2_preloader_put()
983 dsp->preloaded = ucontrol->value.integer.value[0]; in wm_adsp2_preloader_put()
985 if (dsp->toggle_preload) { in wm_adsp2_preloader_put()
994 int wm_adsp_power_up(struct wm_adsp *dsp, bool load_firmware) in wm_adsp_power_up() argument
1003 ret = wm_adsp_request_firmware_files(dsp, in wm_adsp_power_up()
1010 ret = cs_dsp_power_up(&dsp->cs_dsp, in wm_adsp_power_up()
1013 wm_adsp_fw_text[dsp->fw]); in wm_adsp_power_up()
1015 wm_adsp_release_firmware_files(dsp, in wm_adsp_power_up()
1023 void wm_adsp_power_down(struct wm_adsp *dsp) in wm_adsp_power_down() argument
1025 cs_dsp_power_down(&dsp->cs_dsp); in wm_adsp_power_down()
1031 struct wm_adsp *dsp = container_of(work, in wm_adsp_boot_work() local
1035 wm_adsp_power_up(dsp, true); in wm_adsp_boot_work()
1043 struct wm_adsp *dsp = &dsps[w->shift]; in wm_adsp_early_event() local
1047 queue_work(system_unbound_wq, &dsp->boot_work); in wm_adsp_early_event()
1050 wm_adsp_power_down(dsp); in wm_adsp_early_event()
1062 struct wm_adsp *dsp = container_of(cs_dsp, struct wm_adsp, cs_dsp); in wm_adsp_pre_run() local
1064 if (!dsp->pre_run) in wm_adsp_pre_run()
1067 return (*dsp->pre_run)(dsp); in wm_adsp_pre_run()
1072 struct wm_adsp *dsp = container_of(cs_dsp, struct wm_adsp, cs_dsp); in wm_adsp_event_post_run() local
1074 if (wm_adsp_fw[dsp->fw].num_caps != 0) in wm_adsp_event_post_run()
1075 return wm_adsp_buffer_init(dsp); in wm_adsp_event_post_run()
1082 struct wm_adsp *dsp = container_of(cs_dsp, struct wm_adsp, cs_dsp); in wm_adsp_event_post_stop() local
1084 if (wm_adsp_fw[dsp->fw].num_caps != 0) in wm_adsp_event_post_stop()
1085 wm_adsp_buffer_free(dsp); in wm_adsp_event_post_stop()
1087 dsp->fatal_error = false; in wm_adsp_event_post_stop()
1090 int wm_adsp_run(struct wm_adsp *dsp) in wm_adsp_run() argument
1092 flush_work(&dsp->boot_work); in wm_adsp_run()
1094 return cs_dsp_run(&dsp->cs_dsp); in wm_adsp_run()
1098 void wm_adsp_stop(struct wm_adsp *dsp) in wm_adsp_stop() argument
1100 cs_dsp_stop(&dsp->cs_dsp); in wm_adsp_stop()
1109 struct wm_adsp *dsp = &dsps[w->shift]; in wm_adsp_event() local
1113 return wm_adsp_run(dsp); in wm_adsp_event()
1115 wm_adsp_stop(dsp); in wm_adsp_event()
1123 int wm_adsp2_component_probe(struct wm_adsp *dsp, struct snd_soc_component *component) in wm_adsp2_component_probe() argument
1127 if (!dsp->cs_dsp.no_core_startstop) { in wm_adsp2_component_probe()
1128 snprintf(preload, ARRAY_SIZE(preload), "%s Preload", dsp->cs_dsp.name); in wm_adsp2_component_probe()
1132 cs_dsp_init_debugfs(&dsp->cs_dsp, component->debugfs_root); in wm_adsp2_component_probe()
1134 dsp->component = component; in wm_adsp2_component_probe()
1140 int wm_adsp2_component_remove(struct wm_adsp *dsp, struct snd_soc_component *component) in wm_adsp2_component_remove() argument
1142 cs_dsp_cleanup_debugfs(&dsp->cs_dsp); in wm_adsp2_component_remove()
1148 int wm_adsp2_init(struct wm_adsp *dsp) in wm_adsp2_init() argument
1152 INIT_WORK(&dsp->boot_work, wm_adsp_boot_work); in wm_adsp2_init()
1154 dsp->sys_config_size = sizeof(struct wm_adsp_system_config_xm_hdr); in wm_adsp2_init()
1155 dsp->cs_dsp.client_ops = &wm_adsp2_client_ops; in wm_adsp2_init()
1157 ret = cs_dsp_adsp2_init(&dsp->cs_dsp); in wm_adsp2_init()
1161 return wm_adsp_common_init(dsp); in wm_adsp2_init()
1165 int wm_halo_init(struct wm_adsp *dsp) in wm_halo_init() argument
1169 INIT_WORK(&dsp->boot_work, wm_adsp_boot_work); in wm_halo_init()
1171 dsp->sys_config_size = sizeof(struct wm_halo_system_config_xm_hdr); in wm_halo_init()
1172 dsp->cs_dsp.client_ops = &wm_adsp2_client_ops; in wm_halo_init()
1174 ret = cs_dsp_halo_init(&dsp->cs_dsp); in wm_halo_init()
1178 return wm_adsp_common_init(dsp); in wm_halo_init()
1182 void wm_adsp2_remove(struct wm_adsp *dsp) in wm_adsp2_remove() argument
1184 cs_dsp_remove(&dsp->cs_dsp); in wm_adsp2_remove()
1197 if (compr->dsp->fatal_error) in wm_adsp_compr_attach()
1200 list_for_each_entry(tmp, &compr->dsp->buffer_list, list) { in wm_adsp_compr_attach()
1231 int wm_adsp_compr_open(struct wm_adsp *dsp, struct snd_compr_stream *stream) in wm_adsp_compr_open() argument
1237 mutex_lock(&dsp->cs_dsp.pwr_lock); in wm_adsp_compr_open()
1239 if (wm_adsp_fw[dsp->fw].num_caps == 0) { in wm_adsp_compr_open()
1240 adsp_err(dsp, "%s: Firmware does not support compressed API\n", in wm_adsp_compr_open()
1246 if (wm_adsp_fw[dsp->fw].compr_direction != stream->direction) { in wm_adsp_compr_open()
1247 adsp_err(dsp, "%s: Firmware does not support stream direction\n", in wm_adsp_compr_open()
1253 list_for_each_entry(tmp, &dsp->compr_list, list) { in wm_adsp_compr_open()
1255 adsp_err(dsp, "%s: Only a single stream supported per dai\n", in wm_adsp_compr_open()
1268 compr->dsp = dsp; in wm_adsp_compr_open()
1272 list_add_tail(&compr->list, &dsp->compr_list); in wm_adsp_compr_open()
1277 mutex_unlock(&dsp->cs_dsp.pwr_lock); in wm_adsp_compr_open()
1287 struct wm_adsp *dsp = compr->dsp; in wm_adsp_compr_free() local
1289 mutex_lock(&dsp->cs_dsp.pwr_lock); in wm_adsp_compr_free()
1297 mutex_unlock(&dsp->cs_dsp.pwr_lock); in wm_adsp_compr_free()
1307 struct wm_adsp *dsp = compr->dsp; in wm_adsp_compr_check_params() local
1324 for (i = 0; i < wm_adsp_fw[dsp->fw].num_caps; i++) { in wm_adsp_compr_check_params()
1325 caps = &wm_adsp_fw[dsp->fw].caps[i]; in wm_adsp_compr_check_params()
1391 int fw = compr->dsp->fw; in wm_adsp_compr_get_caps()
1414 return cs_dsp_read_data_word(&buf->dsp->cs_dsp, buf->host_buf_mem_type, in wm_adsp_buffer_read()
1421 return cs_dsp_write_data_word(&buf->dsp->cs_dsp, buf->host_buf_mem_type, in wm_adsp_buffer_write()
1428 const struct wm_adsp_fw_caps *caps = wm_adsp_fw[buf->dsp->fw].caps; in wm_adsp_buffer_populate()
1476 static struct wm_adsp_compr_buf *wm_adsp_buffer_alloc(struct wm_adsp *dsp) in wm_adsp_buffer_alloc() argument
1484 buf->dsp = dsp; in wm_adsp_buffer_alloc()
1491 static int wm_adsp_buffer_parse_legacy(struct wm_adsp *dsp) in wm_adsp_buffer_parse_legacy() argument
1498 alg_region = cs_dsp_find_alg_region(&dsp->cs_dsp, WMFW_ADSP2_XM, dsp->cs_dsp.fw_id); in wm_adsp_buffer_parse_legacy()
1500 adsp_err(dsp, "No algorithm region found\n"); in wm_adsp_buffer_parse_legacy()
1504 xmalg = dsp->sys_config_size / sizeof(__be32); in wm_adsp_buffer_parse_legacy()
1507 ret = cs_dsp_read_data_word(&dsp->cs_dsp, WMFW_ADSP2_XM, addr, &magic); in wm_adsp_buffer_parse_legacy()
1514 buf = wm_adsp_buffer_alloc(dsp); in wm_adsp_buffer_parse_legacy()
1520 ret = cs_dsp_read_data_word(&dsp->cs_dsp, WMFW_ADSP2_XM, addr, in wm_adsp_buffer_parse_legacy()
1542 list_add_tail(&buf->list, &dsp->buffer_list); in wm_adsp_buffer_parse_legacy()
1558 struct wm_adsp *dsp = container_of(cs_ctl->dsp, struct wm_adsp, cs_dsp); in wm_adsp_buffer_parse_coeff() local
1575 adsp_err(dsp, "Failed to acquire host buffer\n"); in wm_adsp_buffer_parse_coeff()
1579 buf = wm_adsp_buffer_alloc(dsp); in wm_adsp_buffer_parse_coeff()
1601 adsp_err(dsp, in wm_adsp_buffer_parse_coeff()
1610 buf->name = kasprintf(GFP_KERNEL, "%s-dsp-%s", dsp->part, in wm_adsp_buffer_parse_coeff()
1614 list_add_tail(&buf->list, &dsp->buffer_list); in wm_adsp_buffer_parse_coeff()
1627 static int wm_adsp_buffer_init(struct wm_adsp *dsp) in wm_adsp_buffer_init() argument
1632 list_for_each_entry(cs_ctl, &dsp->cs_dsp.ctl_list, list) { in wm_adsp_buffer_init()
1641 adsp_err(dsp, "Failed to parse coeff: %d\n", ret); in wm_adsp_buffer_init()
1649 if (list_empty(&dsp->buffer_list)) { in wm_adsp_buffer_init()
1651 ret = wm_adsp_buffer_parse_legacy(dsp); in wm_adsp_buffer_init()
1653 adsp_info(dsp, "Legacy support not available\n"); in wm_adsp_buffer_init()
1655 adsp_warn(dsp, "Failed to parse legacy: %d\n", ret); in wm_adsp_buffer_init()
1661 wm_adsp_buffer_free(dsp); in wm_adsp_buffer_init()
1665 static int wm_adsp_buffer_free(struct wm_adsp *dsp) in wm_adsp_buffer_free() argument
1669 list_for_each_entry_safe(buf, tmp, &dsp->buffer_list, list) { in wm_adsp_buffer_free()
1702 struct wm_adsp *dsp = compr->dsp; in wm_adsp_compr_trigger() local
1707 mutex_lock(&dsp->cs_dsp.pwr_lock); in wm_adsp_compr_trigger()
1743 mutex_unlock(&dsp->cs_dsp.pwr_lock); in wm_adsp_compr_trigger()
1751 int last_region = wm_adsp_fw[buf->dsp->fw].caps->num_regions - 1; in wm_adsp_buffer_size()
1799 int wm_adsp_compr_handle_irq(struct wm_adsp *dsp) in wm_adsp_compr_handle_irq() argument
1805 mutex_lock(&dsp->cs_dsp.pwr_lock); in wm_adsp_compr_handle_irq()
1807 if (list_empty(&dsp->buffer_list)) { in wm_adsp_compr_handle_irq()
1812 adsp_dbg(dsp, "Handling buffer IRQ\n"); in wm_adsp_compr_handle_irq()
1814 list_for_each_entry(buf, &dsp->buffer_list, list) { in wm_adsp_compr_handle_irq()
1834 if (wm_adsp_fw[dsp->fw].voice_trigger && buf->irq_count == 2) in wm_adsp_compr_handle_irq()
1843 mutex_unlock(&dsp->cs_dsp.pwr_lock); in wm_adsp_compr_handle_irq()
1867 struct wm_adsp *dsp = compr->dsp; in wm_adsp_compr_pointer() local
1873 mutex_lock(&dsp->cs_dsp.pwr_lock); in wm_adsp_compr_pointer()
1877 if (dsp->fatal_error || !buf || buf->error) { in wm_adsp_compr_pointer()
1892 * DSP to inform us once a whole fragment is available. in wm_adsp_compr_pointer()
1917 mutex_unlock(&dsp->cs_dsp.pwr_lock); in wm_adsp_compr_pointer()
1931 for (i = 0; i < wm_adsp_fw[buf->dsp->fw].caps->num_regions; ++i) in wm_adsp_buffer_capture_block()
1935 if (i == wm_adsp_fw[buf->dsp->fw].caps->num_regions) in wm_adsp_buffer_capture_block()
1954 /* Read data from DSP */ in wm_adsp_buffer_capture_block()
1955 ret = cs_dsp_read_raw_data_block(&buf->dsp->cs_dsp, mem_type, adsp_addr, in wm_adsp_buffer_capture_block()
1981 struct wm_adsp *dsp = compr->dsp; in wm_adsp_compr_read() local
1987 if (dsp->fatal_error || !compr->buf || compr->buf->error) { in wm_adsp_compr_read()
2026 struct wm_adsp *dsp = compr->dsp; in wm_adsp_compr_copy() local
2029 mutex_lock(&dsp->cs_dsp.pwr_lock); in wm_adsp_compr_copy()
2036 mutex_unlock(&dsp->cs_dsp.pwr_lock); in wm_adsp_compr_copy()
2044 struct wm_adsp *dsp = container_of(cs_dsp, struct wm_adsp, cs_dsp); in wm_adsp_fatal_error() local
2047 dsp->fatal_error = true; in wm_adsp_fatal_error()
2049 list_for_each_entry(compr, &dsp->compr_list, list) { in wm_adsp_fatal_error()
2057 struct wm_adsp *dsp = (struct wm_adsp *)data; in wm_adsp2_bus_error() local
2059 cs_dsp_adsp2_bus_error(&dsp->cs_dsp); in wm_adsp2_bus_error()
2067 struct wm_adsp *dsp = (struct wm_adsp *)data; in wm_halo_bus_error() local
2069 cs_dsp_halo_bus_error(&dsp->cs_dsp); in wm_halo_bus_error()
2077 struct wm_adsp *dsp = data; in wm_halo_wdt_expire() local
2079 cs_dsp_halo_wdt_expire(&dsp->cs_dsp); in wm_halo_wdt_expire()
2099 MODULE_DESCRIPTION("Cirrus Logic ASoC DSP Support");