Lines Matching defs:dsp
441 struct wm_adsp *dsp; member
458 struct wm_adsp *dsp; member
613 struct wm_adsp *dsp; member
650 static void wm_adsp_debugfs_save_wmfwname(struct wm_adsp *dsp, const char *s) in wm_adsp_debugfs_save_wmfwname()
658 static void wm_adsp_debugfs_save_binname(struct wm_adsp *dsp, const char *s) in wm_adsp_debugfs_save_binname()
666 static void wm_adsp_debugfs_clear(struct wm_adsp *dsp) in wm_adsp_debugfs_clear()
678 struct wm_adsp *dsp = file->private_data; in wm_adsp_debugfs_wmfw_read() local
698 struct wm_adsp *dsp = file->private_data; in wm_adsp_debugfs_bin_read() local
734 static void wm_adsp2_init_debugfs(struct wm_adsp *dsp, in wm_adsp2_init_debugfs()
754 static void wm_adsp2_cleanup_debugfs(struct wm_adsp *dsp) in wm_adsp2_cleanup_debugfs()
760 static inline void wm_adsp2_init_debugfs(struct wm_adsp *dsp, in wm_adsp2_init_debugfs()
765 static inline void wm_adsp2_cleanup_debugfs(struct wm_adsp *dsp) in wm_adsp2_cleanup_debugfs()
769 static inline void wm_adsp_debugfs_save_wmfwname(struct wm_adsp *dsp, in wm_adsp_debugfs_save_wmfwname()
774 static inline void wm_adsp_debugfs_save_binname(struct wm_adsp *dsp, in wm_adsp_debugfs_save_binname()
779 static inline void wm_adsp_debugfs_clear(struct wm_adsp *dsp) in wm_adsp_debugfs_clear()
789 struct wm_adsp *dsp = snd_soc_component_get_drvdata(component); in wm_adsp_fw_get() local
802 struct wm_adsp *dsp = snd_soc_component_get_drvdata(component); in wm_adsp_fw_put() local
835 static struct wm_adsp_region const *wm_adsp_find_region(struct wm_adsp *dsp, in wm_adsp_find_region()
882 static void wm_adsp_read_fw_status(struct wm_adsp *dsp, in wm_adsp_read_fw_status()
897 static void wm_adsp2_show_fw_status(struct wm_adsp *dsp) in wm_adsp2_show_fw_status()
909 static void wm_adsp2v2_show_fw_status(struct wm_adsp *dsp) in wm_adsp2v2_show_fw_status()
920 static void wm_halo_show_fw_status(struct wm_adsp *dsp) in wm_halo_show_fw_status()
940 struct wm_adsp *dsp = ctl->dsp; in wm_coeff_base_reg() local
982 struct wm_adsp *dsp = ctl->dsp; in wm_coeff_write_acked_control() local
1042 struct wm_adsp *dsp = ctl->dsp; in wm_coeff_write_ctrl_raw() local
1150 struct wm_adsp *dsp = ctl->dsp; in wm_coeff_read_ctrl_raw() local
1250 struct wm_adsp *dsp; member
1286 static int wmfw_add_ctl(struct wm_adsp *dsp, struct wm_coeff_ctl *ctl) in wmfw_add_ctl()
1335 static int wm_coeff_init_control_caches(struct wm_adsp *dsp) in wm_coeff_init_control_caches()
1361 static int wm_coeff_sync_controls(struct wm_adsp *dsp) in wm_coeff_sync_controls()
1380 static void wm_adsp_signal_event_controls(struct wm_adsp *dsp, in wm_adsp_signal_event_controls()
1419 static int wm_adsp_create_control(struct wm_adsp *dsp, in wm_adsp_create_control()
1605 static inline void wm_coeff_parse_alg(struct wm_adsp *dsp, const u8 **data, in wm_coeff_parse_alg()
1635 static inline void wm_coeff_parse_coeff(struct wm_adsp *dsp, const u8 **data, in wm_coeff_parse_coeff()
1681 static int wm_adsp_check_coeff_flags(struct wm_adsp *dsp, in wm_adsp_check_coeff_flags()
1696 static int wm_adsp_parse_coeff(struct wm_adsp *dsp, in wm_adsp_parse_coeff()
1767 static unsigned int wm_adsp1_parse_sizes(struct wm_adsp *dsp, in wm_adsp1_parse_sizes()
1783 static unsigned int wm_adsp2_parse_sizes(struct wm_adsp *dsp, in wm_adsp2_parse_sizes()
1799 static bool wm_adsp_validate_version(struct wm_adsp *dsp, unsigned int version) in wm_adsp_validate_version()
1813 static bool wm_halo_validate_version(struct wm_adsp *dsp, unsigned int version) in wm_halo_validate_version()
1823 static int wm_adsp_load(struct wm_adsp *dsp) in wm_adsp_load()
2029 static struct wm_coeff_ctl *wm_adsp_get_ctl(struct wm_adsp *dsp, in wm_adsp_get_ctl()
2052 int wm_adsp_write_ctl(struct wm_adsp *dsp, const char *name, int type, in wm_adsp_write_ctl()
2094 int wm_adsp_read_ctl(struct wm_adsp *dsp, const char *name, int type, in wm_adsp_read_ctl()
2110 static void wm_adsp_ctl_fixup_base(struct wm_adsp *dsp, in wm_adsp_ctl_fixup_base()
2124 static void *wm_adsp_read_algs(struct wm_adsp *dsp, size_t n_algs, in wm_adsp_read_algs()
2177 wm_adsp_find_alg_region(struct wm_adsp *dsp, int type, unsigned int id) in wm_adsp_find_alg_region()
2189 static struct wm_adsp_alg_region *wm_adsp_create_region(struct wm_adsp *dsp, in wm_adsp_create_region()
2211 static void wm_adsp_free_alg_regions(struct wm_adsp *dsp) in wm_adsp_free_alg_regions()
2224 static void wmfw_parse_id_header(struct wm_adsp *dsp, in wmfw_parse_id_header()
2236 static void wmfw_v3_parse_id_header(struct wm_adsp *dsp, in wmfw_v3_parse_id_header()
2250 static int wm_adsp_create_regions(struct wm_adsp *dsp, __be32 id, int nregions, in wm_adsp_create_regions()
2265 static int wm_adsp1_setup_algs(struct wm_adsp *dsp) in wm_adsp1_setup_algs()
2366 static int wm_adsp2_setup_algs(struct wm_adsp *dsp) in wm_adsp2_setup_algs()
2495 static int wm_halo_create_regions(struct wm_adsp *dsp, __be32 id, in wm_halo_create_regions()
2507 static int wm_halo_setup_algs(struct wm_adsp *dsp) in wm_halo_setup_algs()
2567 static int wm_adsp_load_coeff(struct wm_adsp *dsp) in wm_adsp_load_coeff()
2761 static int wm_adsp_create_name(struct wm_adsp *dsp) in wm_adsp_create_name()
2785 static int wm_adsp_common_init(struct wm_adsp *dsp) in wm_adsp_common_init()
2803 int wm_adsp1_init(struct wm_adsp *dsp) in wm_adsp1_init()
2817 struct wm_adsp *dsp = &dsps[w->shift]; in wm_adsp1_event() local
2926 static int wm_adsp2v2_enable_core(struct wm_adsp *dsp) in wm_adsp2v2_enable_core()
2953 static int wm_adsp2_enable_core(struct wm_adsp *dsp) in wm_adsp2_enable_core()
2965 static int wm_adsp2_lock(struct wm_adsp *dsp, unsigned int lock_regions) in wm_adsp2_lock()
2995 static int wm_adsp2_enable_memory(struct wm_adsp *dsp) in wm_adsp2_enable_memory()
3001 static void wm_adsp2_disable_memory(struct wm_adsp *dsp) in wm_adsp2_disable_memory()
3007 static void wm_adsp2_disable_core(struct wm_adsp *dsp) in wm_adsp2_disable_core()
3017 static void wm_adsp2v2_disable_core(struct wm_adsp *dsp) in wm_adsp2v2_disable_core()
3026 struct wm_adsp *dsp = container_of(work, in wm_adsp_boot_work() local
3081 static int wm_halo_configure_mpu(struct wm_adsp *dsp, unsigned int lock_regions) in wm_halo_configure_mpu()
3116 struct wm_adsp *dsp = &dsps[w->shift]; in wm_adsp2_set_dspclk() local
3136 struct wm_adsp *dsp = &dsps[mc->shift - 1]; in wm_adsp2_preloader_get() local
3152 struct wm_adsp *dsp = &dsps[mc->shift - 1]; in wm_adsp2_preloader_put() local
3172 static void wm_adsp_stop_watchdog(struct wm_adsp *dsp) in wm_adsp_stop_watchdog()
3178 static void wm_halo_stop_watchdog(struct wm_adsp *dsp) in wm_halo_stop_watchdog()
3189 struct wm_adsp *dsp = &dsps[w->shift]; in wm_adsp_early_event() local
3226 static int wm_adsp2_start_core(struct wm_adsp *dsp) in wm_adsp2_start_core()
3233 static void wm_adsp2_stop_core(struct wm_adsp *dsp) in wm_adsp2_stop_core()
3244 struct wm_adsp *dsp = &dsps[w->shift]; in wm_adsp_event() local
3340 static int wm_halo_start_core(struct wm_adsp *dsp) in wm_halo_start_core()
3347 static void wm_halo_stop_core(struct wm_adsp *dsp) in wm_halo_stop_core()
3357 int wm_adsp2_component_probe(struct wm_adsp *dsp, struct snd_soc_component *component) in wm_adsp2_component_probe()
3372 int wm_adsp2_component_remove(struct wm_adsp *dsp, struct snd_soc_component *component) in wm_adsp2_component_remove()
3380 int wm_adsp2_init(struct wm_adsp *dsp) in wm_adsp2_init()
3418 int wm_halo_init(struct wm_adsp *dsp) in wm_halo_init()
3434 void wm_adsp2_remove(struct wm_adsp *dsp) in wm_adsp2_remove()
3490 int wm_adsp_compr_open(struct wm_adsp *dsp, struct snd_compr_stream *stream) in wm_adsp_compr_open()
3546 struct wm_adsp *dsp = compr->dsp; in wm_adsp_compr_free() local
3566 struct wm_adsp *dsp = compr->dsp; in wm_adsp_compr_check_params() local
3670 static int wm_adsp_read_data_block(struct wm_adsp *dsp, int mem_type, in wm_adsp_read_data_block()
3694 static inline int wm_adsp_read_data_word(struct wm_adsp *dsp, int mem_type, in wm_adsp_read_data_word()
3700 static int wm_adsp_write_data_word(struct wm_adsp *dsp, int mem_type, in wm_adsp_write_data_word()
3791 static struct wm_adsp_compr_buf *wm_adsp_buffer_alloc(struct wm_adsp *dsp) in wm_adsp_buffer_alloc()
3808 static int wm_adsp_buffer_parse_legacy(struct wm_adsp *dsp) in wm_adsp_buffer_parse_legacy()
3941 static int wm_adsp_buffer_init(struct wm_adsp *dsp) in wm_adsp_buffer_init()
3979 static int wm_adsp_buffer_free(struct wm_adsp *dsp) in wm_adsp_buffer_free()
4016 struct wm_adsp *dsp = compr->dsp; in wm_adsp_compr_trigger() local
4113 int wm_adsp_compr_handle_irq(struct wm_adsp *dsp) in wm_adsp_compr_handle_irq()
4181 struct wm_adsp *dsp = compr->dsp; in wm_adsp_compr_pointer() local
4295 struct wm_adsp *dsp = compr->dsp; in wm_adsp_compr_read() local
4340 struct wm_adsp *dsp = compr->dsp; in wm_adsp_compr_copy() local
4356 static void wm_adsp_fatal_error(struct wm_adsp *dsp) in wm_adsp_fatal_error()
4370 struct wm_adsp *dsp = (struct wm_adsp *)data; in wm_adsp2_bus_error() local
4436 struct wm_adsp *dsp = (struct wm_adsp *)data; in wm_halo_bus_error() local
4493 struct wm_adsp *dsp = data; in wm_halo_wdt_expire() local