H A D | cs_dsp.c | 279 bool (*validate_version)(struct cs_dsp *dsp, unsigned int version); 280 unsigned int (*parse_sizes)(struct cs_dsp *dsp, 284 int (*setup_algs)(struct cs_dsp *dsp); 288 void (*show_fw_status)(struct cs_dsp *dsp); 289 void (*stop_watchdog)(struct cs_dsp *dsp); 291 int (*enable_memory)(struct cs_dsp *dsp); 292 void (*disable_memory)(struct cs_dsp *dsp); 293 int (*lock_memory)(struct cs_dsp *dsp, unsigned int lock_regions); 295 int (*enable_core)(struct cs_dsp *dsp); 296 void (*disable_core)(struct cs_dsp *dsp); 377 cs_dsp_debugfs_save_wmfwname(struct cs_dsp * dsp,const char * s) cs_dsp_debugfs_save_wmfwname() argument 385 cs_dsp_debugfs_save_binname(struct cs_dsp * dsp,const char * s) cs_dsp_debugfs_save_binname() argument 393 cs_dsp_debugfs_clear(struct cs_dsp * dsp) cs_dsp_debugfs_clear() argument 405 struct cs_dsp *dsp = file->private_data; cs_dsp_debugfs_wmfw_read() local 425 struct cs_dsp *dsp = file->private_data; cs_dsp_debugfs_bin_read() local 466 struct cs_dsp *dsp = s->private; cs_dsp_debugfs_read_controls_show() local 494 cs_dsp_init_debugfs(struct cs_dsp * dsp,struct dentry * debugfs_root) cs_dsp_init_debugfs() argument 521 cs_dsp_cleanup_debugfs(struct cs_dsp * dsp) cs_dsp_cleanup_debugfs() argument 529 cs_dsp_init_debugfs(struct cs_dsp * dsp,struct dentry * debugfs_root) cs_dsp_init_debugfs() argument 534 cs_dsp_cleanup_debugfs(struct cs_dsp * dsp) cs_dsp_cleanup_debugfs() argument 539 cs_dsp_debugfs_save_wmfwname(struct cs_dsp * dsp,const char * s) cs_dsp_debugfs_save_wmfwname() argument 544 cs_dsp_debugfs_save_binname(struct cs_dsp * dsp,const char * s) cs_dsp_debugfs_save_binname() argument 549 cs_dsp_debugfs_clear(struct cs_dsp * dsp) cs_dsp_debugfs_clear() argument 554 cs_dsp_find_region(struct cs_dsp * dsp,int type) cs_dsp_find_region() argument 601 cs_dsp_read_fw_status(struct cs_dsp * dsp,int noffs,unsigned int * offs) cs_dsp_read_fw_status() argument 616 cs_dsp_adsp2_show_fw_status(struct cs_dsp * dsp) cs_dsp_adsp2_show_fw_status() argument 628 cs_dsp_adsp2v2_show_fw_status(struct cs_dsp * dsp) cs_dsp_adsp2v2_show_fw_status() argument 639 cs_dsp_halo_show_fw_status(struct cs_dsp * dsp) cs_dsp_halo_show_fw_status() argument 655 struct cs_dsp *dsp = ctl->dsp; cs_dsp_coeff_base_reg() local 684 struct cs_dsp *dsp = ctl->dsp; cs_dsp_coeff_write_acked_control() local 750 struct cs_dsp *dsp = ctl->dsp; cs_dsp_coeff_write_ctrl_raw() local 828 struct cs_dsp *dsp = ctl->dsp; cs_dsp_coeff_read_ctrl_raw() local 897 cs_dsp_coeff_init_control_caches(struct cs_dsp * dsp) cs_dsp_coeff_init_control_caches() argument 923 cs_dsp_coeff_sync_controls(struct cs_dsp * dsp) cs_dsp_coeff_sync_controls() argument 942 cs_dsp_signal_event_controls(struct cs_dsp * dsp,unsigned int event) cs_dsp_signal_event_controls() argument 970 cs_dsp_create_control(struct cs_dsp * dsp,const struct cs_dsp_alg_region * alg_region,unsigned int offset,unsigned int len,const char * subname,unsigned int subname_len,unsigned int flags,unsigned int type) cs_dsp_create_control() argument 1115 cs_dsp_coeff_parse_alg(struct cs_dsp * dsp,const struct wmfw_region * region,struct cs_dsp_coeff_parsed_alg * blk) cs_dsp_coeff_parse_alg() argument 1177 cs_dsp_coeff_parse_coeff(struct cs_dsp * dsp,const struct wmfw_region * region,unsigned int pos,struct cs_dsp_coeff_parsed_coeff * blk) cs_dsp_coeff_parse_coeff() argument 1256 cs_dsp_check_coeff_flags(struct cs_dsp * dsp,const struct cs_dsp_coeff_parsed_coeff * coeff_blk,unsigned int f_required,unsigned int f_illegal) cs_dsp_check_coeff_flags() argument 1271 cs_dsp_parse_coeff(struct cs_dsp * dsp,const struct wmfw_region * region) cs_dsp_parse_coeff() argument 1347 cs_dsp_adsp1_parse_sizes(struct cs_dsp * dsp,const char * const file,unsigned int pos,const struct firmware * firmware) cs_dsp_adsp1_parse_sizes() argument 1367 cs_dsp_adsp2_parse_sizes(struct cs_dsp * dsp,const char * const file,unsigned int pos,const struct firmware * firmware) cs_dsp_adsp2_parse_sizes() argument 1387 cs_dsp_validate_version(struct cs_dsp * dsp,unsigned int version) cs_dsp_validate_version() argument 1401 cs_dsp_halo_validate_version(struct cs_dsp * dsp,unsigned int version) cs_dsp_halo_validate_version() argument 1411 cs_dsp_load(struct cs_dsp * dsp,const struct firmware * firmware,const char * file) cs_dsp_load() argument 1615 cs_dsp_get_ctl(struct cs_dsp * dsp,const char * name,int type,unsigned int alg) cs_dsp_get_ctl() argument 1638 cs_dsp_ctl_fixup_base(struct cs_dsp * dsp,const struct cs_dsp_alg_region * alg_region) cs_dsp_ctl_fixup_base() argument 1652 cs_dsp_read_algs(struct cs_dsp * dsp,size_t n_algs,const struct cs_dsp_region * mem,unsigned int pos,unsigned int len) cs_dsp_read_algs() argument 1712 cs_dsp_find_alg_region(struct cs_dsp * dsp,int type,unsigned int id) cs_dsp_find_alg_region() argument 1728 cs_dsp_create_region(struct cs_dsp * dsp,int type,__be32 id,__be32 ver,__be32 base) cs_dsp_create_region() argument 1751 cs_dsp_free_alg_regions(struct cs_dsp * dsp) cs_dsp_free_alg_regions() argument 1764 cs_dsp_parse_wmfw_id_header(struct cs_dsp * dsp,struct wmfw_id_hdr * fw,int nalgs) cs_dsp_parse_wmfw_id_header() argument 1776 cs_dsp_parse_wmfw_v3_id_header(struct cs_dsp * dsp,struct wmfw_v3_id_hdr * fw,int nalgs) cs_dsp_parse_wmfw_v3_id_header() argument 1790 cs_dsp_create_regions(struct cs_dsp * dsp,__be32 id,__be32 ver,int nregions,const int * type,__be32 * base) cs_dsp_create_regions() argument 1805 cs_dsp_adsp1_setup_algs(struct cs_dsp * dsp) cs_dsp_adsp1_setup_algs() argument 1910 cs_dsp_adsp2_setup_algs(struct cs_dsp * dsp) cs_dsp_adsp2_setup_algs() argument 2045 cs_dsp_halo_create_regions(struct cs_dsp * dsp,__be32 id,__be32 ver,__be32 xm_base,__be32 ym_base) cs_dsp_halo_create_regions() argument 2057 cs_dsp_halo_setup_algs(struct cs_dsp * dsp) cs_dsp_halo_setup_algs() argument 2118 cs_dsp_load_coeff(struct cs_dsp * dsp,const struct firmware * firmware,const char * file) cs_dsp_load_coeff() argument 2324 cs_dsp_create_name(struct cs_dsp * dsp) cs_dsp_create_name() argument 2336 cs_dsp_common_init(struct cs_dsp * dsp) cs_dsp_common_init() argument 2363 cs_dsp_adsp1_init(struct cs_dsp * dsp) cs_dsp_adsp1_init() argument 2382 cs_dsp_adsp1_power_up(struct cs_dsp * dsp,const struct firmware * wmfw_firmware,char * wmfw_filename,const struct firmware * coeff_firmware,char * coeff_filename,const char * fw_name) cs_dsp_adsp1_power_up() argument 2467 cs_dsp_adsp1_power_down(struct cs_dsp * dsp) cs_dsp_adsp1_power_down() argument 2495 cs_dsp_adsp2v2_enable_core(struct cs_dsp * dsp) cs_dsp_adsp2v2_enable_core() argument 2522 cs_dsp_adsp2_enable_core(struct cs_dsp * dsp) cs_dsp_adsp2_enable_core() argument 2534 cs_dsp_adsp2_lock(struct cs_dsp * dsp,unsigned int lock_regions) cs_dsp_adsp2_lock() argument 2564 cs_dsp_adsp2_enable_memory(struct cs_dsp * dsp) cs_dsp_adsp2_enable_memory() argument 2570 cs_dsp_adsp2_disable_memory(struct cs_dsp * dsp) cs_dsp_adsp2_disable_memory() argument 2576 cs_dsp_adsp2_disable_core(struct cs_dsp * dsp) cs_dsp_adsp2_disable_core() argument 2586 cs_dsp_adsp2v2_disable_core(struct cs_dsp * dsp) cs_dsp_adsp2v2_disable_core() argument 2593 cs_dsp_halo_configure_mpu(struct cs_dsp * dsp,unsigned int lock_regions) cs_dsp_halo_configure_mpu() argument 2633 cs_dsp_set_dspclk(struct cs_dsp * dsp,unsigned int freq) cs_dsp_set_dspclk() argument 2647 cs_dsp_stop_watchdog(struct cs_dsp * dsp) cs_dsp_stop_watchdog() argument 2653 cs_dsp_halo_stop_watchdog(struct cs_dsp * dsp) cs_dsp_halo_stop_watchdog() argument 2676 cs_dsp_power_up(struct cs_dsp * dsp,const struct firmware * wmfw_firmware,char * wmfw_filename,const struct firmware * coeff_firmware,char * coeff_filename,const char * fw_name) cs_dsp_power_up() argument 2744 cs_dsp_power_down(struct cs_dsp * dsp) cs_dsp_power_down() argument 2771 cs_dsp_adsp2_start_core(struct cs_dsp * dsp) cs_dsp_adsp2_start_core() argument 2778 cs_dsp_adsp2_stop_core(struct cs_dsp * dsp) cs_dsp_adsp2_stop_core() argument 2792 cs_dsp_run(struct cs_dsp * dsp) cs_dsp_run() argument 2863 cs_dsp_stop(struct cs_dsp * dsp) cs_dsp_stop() argument 2896 cs_dsp_halo_start_core(struct cs_dsp * dsp) cs_dsp_halo_start_core() argument 2910 cs_dsp_halo_stop_core(struct cs_dsp * dsp) cs_dsp_halo_stop_core() argument 2926 cs_dsp_adsp2_init(struct cs_dsp * dsp) cs_dsp_adsp2_init() argument 2964 cs_dsp_halo_init(struct cs_dsp * dsp) cs_dsp_halo_init() argument 2979 cs_dsp_remove(struct cs_dsp * dsp) cs_dsp_remove() argument 3009 cs_dsp_read_raw_data_block(struct cs_dsp * dsp,int mem_type,unsigned int mem_addr,unsigned int num_words,__be32 * data) cs_dsp_read_raw_data_block() argument 3041 cs_dsp_read_data_word(struct cs_dsp * dsp,int mem_type,unsigned int mem_addr,u32 * data) cs_dsp_read_data_word() argument 3065 cs_dsp_write_data_word(struct cs_dsp * dsp,int mem_type,unsigned int mem_addr,u32 data) cs_dsp_write_data_word() argument 3112 cs_dsp_adsp2_bus_error(struct cs_dsp * dsp) cs_dsp_adsp2_bus_error() argument 3182 cs_dsp_halo_bus_error(struct cs_dsp * dsp) cs_dsp_halo_bus_error() argument 3242 cs_dsp_halo_wdt_expire(struct cs_dsp * dsp) cs_dsp_halo_wdt_expire() argument [all...] |