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()
1604 static inline void wm_coeff_parse_alg(struct wm_adsp *dsp, const u8 **data, in wm_coeff_parse_alg()
1634 static inline void wm_coeff_parse_coeff(struct wm_adsp *dsp, const u8 **data, in wm_coeff_parse_coeff()
1680 static int wm_adsp_check_coeff_flags(struct wm_adsp *dsp, in wm_adsp_check_coeff_flags()
1695 static int wm_adsp_parse_coeff(struct wm_adsp *dsp, in wm_adsp_parse_coeff()
1766 static unsigned int wm_adsp1_parse_sizes(struct wm_adsp *dsp, in wm_adsp1_parse_sizes()
1782 static unsigned int wm_adsp2_parse_sizes(struct wm_adsp *dsp, in wm_adsp2_parse_sizes()
1798 static bool wm_adsp_validate_version(struct wm_adsp *dsp, unsigned int version) in wm_adsp_validate_version()
1812 static bool wm_halo_validate_version(struct wm_adsp *dsp, unsigned int version) in wm_halo_validate_version()
1822 static int wm_adsp_load(struct wm_adsp *dsp) in wm_adsp_load()
2028 static struct wm_coeff_ctl *wm_adsp_get_ctl(struct wm_adsp *dsp, in wm_adsp_get_ctl()
2048 int wm_adsp_write_ctl(struct wm_adsp *dsp, const char *name, int type, in wm_adsp_write_ctl()
2090 int wm_adsp_read_ctl(struct wm_adsp *dsp, const char *name, int type, in wm_adsp_read_ctl()
2106 static void wm_adsp_ctl_fixup_base(struct wm_adsp *dsp, in wm_adsp_ctl_fixup_base()
2120 static void *wm_adsp_read_algs(struct wm_adsp *dsp, size_t n_algs, in wm_adsp_read_algs()
2173 wm_adsp_find_alg_region(struct wm_adsp *dsp, int type, unsigned int id) in wm_adsp_find_alg_region()
2185 static struct wm_adsp_alg_region *wm_adsp_create_region(struct wm_adsp *dsp, in wm_adsp_create_region()
2207 static void wm_adsp_free_alg_regions(struct wm_adsp *dsp) in wm_adsp_free_alg_regions()
2220 static void wmfw_parse_id_header(struct wm_adsp *dsp, in wmfw_parse_id_header()
2232 static void wmfw_v3_parse_id_header(struct wm_adsp *dsp, in wmfw_v3_parse_id_header()
2246 static int wm_adsp_create_regions(struct wm_adsp *dsp, __be32 id, int nregions, in wm_adsp_create_regions()
2261 static int wm_adsp1_setup_algs(struct wm_adsp *dsp) in wm_adsp1_setup_algs()
2362 static int wm_adsp2_setup_algs(struct wm_adsp *dsp) in wm_adsp2_setup_algs()
2491 static int wm_halo_create_regions(struct wm_adsp *dsp, __be32 id, in wm_halo_create_regions()
2503 static int wm_halo_setup_algs(struct wm_adsp *dsp) in wm_halo_setup_algs()
2563 static int wm_adsp_load_coeff(struct wm_adsp *dsp) in wm_adsp_load_coeff()
2757 static int wm_adsp_create_name(struct wm_adsp *dsp) in wm_adsp_create_name()
2781 static int wm_adsp_common_init(struct wm_adsp *dsp) in wm_adsp_common_init()
2799 int wm_adsp1_init(struct wm_adsp *dsp) in wm_adsp1_init()
2813 struct wm_adsp *dsp = &dsps[w->shift]; in wm_adsp1_event() local
2922 static int wm_adsp2v2_enable_core(struct wm_adsp *dsp) in wm_adsp2v2_enable_core()
2949 static int wm_adsp2_enable_core(struct wm_adsp *dsp) in wm_adsp2_enable_core()
2961 static int wm_adsp2_lock(struct wm_adsp *dsp, unsigned int lock_regions) in wm_adsp2_lock()
2991 static int wm_adsp2_enable_memory(struct wm_adsp *dsp) in wm_adsp2_enable_memory()
2997 static void wm_adsp2_disable_memory(struct wm_adsp *dsp) in wm_adsp2_disable_memory()
3003 static void wm_adsp2_disable_core(struct wm_adsp *dsp) in wm_adsp2_disable_core()
3013 static void wm_adsp2v2_disable_core(struct wm_adsp *dsp) in wm_adsp2v2_disable_core()
3022 struct wm_adsp *dsp = container_of(work, in wm_adsp_boot_work() local
3077 static int wm_halo_configure_mpu(struct wm_adsp *dsp, unsigned int lock_regions) in wm_halo_configure_mpu()
3112 struct wm_adsp *dsp = &dsps[w->shift]; in wm_adsp2_set_dspclk() local
3132 struct wm_adsp *dsp = &dsps[mc->shift - 1]; in wm_adsp2_preloader_get() local
3148 struct wm_adsp *dsp = &dsps[mc->shift - 1]; in wm_adsp2_preloader_put() local
3168 static void wm_adsp_stop_watchdog(struct wm_adsp *dsp) in wm_adsp_stop_watchdog()
3174 static void wm_halo_stop_watchdog(struct wm_adsp *dsp) in wm_halo_stop_watchdog()
3185 struct wm_adsp *dsp = &dsps[w->shift]; in wm_adsp_early_event() local
3222 static int wm_adsp2_start_core(struct wm_adsp *dsp) in wm_adsp2_start_core()
3229 static void wm_adsp2_stop_core(struct wm_adsp *dsp) in wm_adsp2_stop_core()
3240 struct wm_adsp *dsp = &dsps[w->shift]; in wm_adsp_event() local
3336 static int wm_halo_start_core(struct wm_adsp *dsp) in wm_halo_start_core()
3343 static void wm_halo_stop_core(struct wm_adsp *dsp) in wm_halo_stop_core()
3353 int wm_adsp2_component_probe(struct wm_adsp *dsp, struct snd_soc_component *component) in wm_adsp2_component_probe()
3368 int wm_adsp2_component_remove(struct wm_adsp *dsp, struct snd_soc_component *component) in wm_adsp2_component_remove()
3376 int wm_adsp2_init(struct wm_adsp *dsp) in wm_adsp2_init()
3414 int wm_halo_init(struct wm_adsp *dsp) in wm_halo_init()
3430 void wm_adsp2_remove(struct wm_adsp *dsp) in wm_adsp2_remove()
3486 int wm_adsp_compr_open(struct wm_adsp *dsp, struct snd_compr_stream *stream) in wm_adsp_compr_open()
3542 struct wm_adsp *dsp = compr->dsp; in wm_adsp_compr_free() local
3562 struct wm_adsp *dsp = compr->dsp; in wm_adsp_compr_check_params() local
3666 static int wm_adsp_read_data_block(struct wm_adsp *dsp, int mem_type, in wm_adsp_read_data_block()
3690 static inline int wm_adsp_read_data_word(struct wm_adsp *dsp, int mem_type, in wm_adsp_read_data_word()
3696 static int wm_adsp_write_data_word(struct wm_adsp *dsp, int mem_type, in wm_adsp_write_data_word()
3787 static struct wm_adsp_compr_buf *wm_adsp_buffer_alloc(struct wm_adsp *dsp) in wm_adsp_buffer_alloc()
3804 static int wm_adsp_buffer_parse_legacy(struct wm_adsp *dsp) in wm_adsp_buffer_parse_legacy()
3937 static int wm_adsp_buffer_init(struct wm_adsp *dsp) in wm_adsp_buffer_init()
3975 static int wm_adsp_buffer_free(struct wm_adsp *dsp) in wm_adsp_buffer_free()
4012 struct wm_adsp *dsp = compr->dsp; in wm_adsp_compr_trigger() local
4109 int wm_adsp_compr_handle_irq(struct wm_adsp *dsp) in wm_adsp_compr_handle_irq()
4177 struct wm_adsp *dsp = compr->dsp; in wm_adsp_compr_pointer() local
4291 struct wm_adsp *dsp = compr->dsp; in wm_adsp_compr_read() local
4336 struct wm_adsp *dsp = compr->dsp; in wm_adsp_compr_copy() local
4352 static void wm_adsp_fatal_error(struct wm_adsp *dsp) in wm_adsp_fatal_error()
4366 struct wm_adsp *dsp = (struct wm_adsp *)data; in wm_adsp2_bus_error() local
4432 struct wm_adsp *dsp = (struct wm_adsp *)data; in wm_halo_bus_error() local
4489 struct wm_adsp *dsp = data; in wm_halo_wdt_expire() local