| H A D | cs_dsp.c | 3 * cs_dsp.c -- Cirrus Logic DSP firmware support 288 bool (*validate_version)(struct cs_dsp *dsp, unsigned int version); 289 unsigned int (*parse_sizes)(struct cs_dsp *dsp, 293 int (*setup_algs)(struct cs_dsp *dsp); 297 void (*show_fw_status)(struct cs_dsp *dsp); 298 void (*stop_watchdog)(struct cs_dsp *dsp); 300 int (*enable_memory)(struct cs_dsp *dsp); 301 void (*disable_memory)(struct cs_dsp *dsp); 302 int (*lock_memory)(struct cs_dsp *dsp, unsigned int lock_regions); 304 int (*enable_core)(struct cs_dsp *dsp); 389 cs_dsp_debugfs_save_wmfwname(struct cs_dsp * dsp,const char * s) cs_dsp_debugfs_save_wmfwname() argument 397 cs_dsp_debugfs_save_binname(struct cs_dsp * dsp,const char * s) cs_dsp_debugfs_save_binname() argument 405 cs_dsp_debugfs_clear(struct cs_dsp * dsp) cs_dsp_debugfs_clear() argument 417 struct cs_dsp *dsp = file->private_data; cs_dsp_debugfs_wmfw_read() local 437 struct cs_dsp *dsp = file->private_data; cs_dsp_debugfs_bin_read() local 478 struct cs_dsp *dsp = s->private; cs_dsp_debugfs_read_controls_show() local 506 cs_dsp_init_debugfs(struct cs_dsp * dsp,struct dentry * debugfs_root) cs_dsp_init_debugfs() argument 533 cs_dsp_cleanup_debugfs(struct cs_dsp * dsp) cs_dsp_cleanup_debugfs() argument 541 cs_dsp_init_debugfs(struct cs_dsp * dsp,struct dentry * debugfs_root) cs_dsp_init_debugfs() argument 546 cs_dsp_cleanup_debugfs(struct cs_dsp * dsp) cs_dsp_cleanup_debugfs() argument 551 cs_dsp_debugfs_save_wmfwname(struct cs_dsp * dsp,const char * s) cs_dsp_debugfs_save_wmfwname() argument 556 cs_dsp_debugfs_save_binname(struct cs_dsp * dsp,const char * s) cs_dsp_debugfs_save_binname() argument 561 cs_dsp_debugfs_clear(struct cs_dsp * dsp) cs_dsp_debugfs_clear() argument 566 cs_dsp_find_region(struct cs_dsp * dsp,int type) cs_dsp_find_region() argument 613 cs_dsp_read_fw_status(struct cs_dsp * dsp,int noffs,unsigned int * offs) cs_dsp_read_fw_status() argument 628 cs_dsp_adsp2_show_fw_status(struct cs_dsp * dsp) cs_dsp_adsp2_show_fw_status() argument 640 cs_dsp_adsp2v2_show_fw_status(struct cs_dsp * dsp) cs_dsp_adsp2v2_show_fw_status() argument 651 cs_dsp_halo_show_fw_status(struct cs_dsp * dsp) cs_dsp_halo_show_fw_status() argument 667 struct cs_dsp *dsp = ctl->dsp; cs_dsp_coeff_base_reg() local 696 struct cs_dsp *dsp = ctl->dsp; cs_dsp_coeff_write_acked_control() local 762 struct cs_dsp *dsp = ctl->dsp; cs_dsp_coeff_write_ctrl_raw() local 851 struct cs_dsp *dsp = ctl->dsp; cs_dsp_coeff_lock_and_write_ctrl() local 867 struct cs_dsp *dsp = ctl->dsp; cs_dsp_coeff_read_ctrl_raw() local 950 struct cs_dsp *dsp = ctl->dsp; cs_dsp_coeff_lock_and_read_ctrl() local 963 cs_dsp_coeff_init_control_caches(struct cs_dsp * dsp) cs_dsp_coeff_init_control_caches() argument 989 cs_dsp_coeff_sync_controls(struct cs_dsp * dsp) cs_dsp_coeff_sync_controls() argument 1008 cs_dsp_signal_event_controls(struct cs_dsp * dsp,unsigned int event) cs_dsp_signal_event_controls() argument 1036 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 1181 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 1243 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 1322 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 1337 cs_dsp_parse_coeff(struct cs_dsp * dsp,const struct wmfw_region * region) cs_dsp_parse_coeff() argument 1413 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 1433 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 1453 cs_dsp_validate_version(struct cs_dsp * dsp,unsigned int version) cs_dsp_validate_version() argument 1467 cs_dsp_halo_validate_version(struct cs_dsp * dsp,unsigned int version) cs_dsp_halo_validate_version() argument 1477 cs_dsp_load(struct cs_dsp * dsp,const struct firmware * firmware,const char * file) cs_dsp_load() argument 1660 cs_dsp_get_ctl(struct cs_dsp * dsp,const char * name,int type,unsigned int alg) cs_dsp_get_ctl() argument 1683 cs_dsp_ctl_fixup_base(struct cs_dsp * dsp,const struct cs_dsp_alg_region * alg_region) cs_dsp_ctl_fixup_base() argument 1697 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 1757 cs_dsp_find_alg_region(struct cs_dsp * dsp,int type,unsigned int id) cs_dsp_find_alg_region() argument 1773 cs_dsp_create_region(struct cs_dsp * dsp,int type,__be32 id,__be32 ver,__be32 base) cs_dsp_create_region() argument 1796 cs_dsp_free_alg_regions(struct cs_dsp * dsp) cs_dsp_free_alg_regions() argument 1809 cs_dsp_parse_wmfw_id_header(struct cs_dsp * dsp,struct wmfw_id_hdr * fw,int nalgs) cs_dsp_parse_wmfw_id_header() argument 1821 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 1835 cs_dsp_create_regions(struct cs_dsp * dsp,__be32 id,__be32 ver,int nregions,const int * type,__be32 * base) cs_dsp_create_regions() argument 1850 cs_dsp_adsp1_setup_algs(struct cs_dsp * dsp) cs_dsp_adsp1_setup_algs() argument 1955 cs_dsp_adsp2_setup_algs(struct cs_dsp * dsp) cs_dsp_adsp2_setup_algs() argument 2090 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 2102 cs_dsp_halo_setup_algs(struct cs_dsp * dsp) cs_dsp_halo_setup_algs() argument 2163 cs_dsp_load_coeff(struct cs_dsp * dsp,const struct firmware * firmware,const char * file) cs_dsp_load_coeff() argument 2357 cs_dsp_create_name(struct cs_dsp * dsp) cs_dsp_create_name() argument 2369 cs_dsp_common_init(struct cs_dsp * dsp) cs_dsp_common_init() argument 2396 cs_dsp_adsp1_init(struct cs_dsp * dsp) cs_dsp_adsp1_init() argument 2415 cs_dsp_adsp1_power_up(struct cs_dsp * dsp,const struct firmware * wmfw_firmware,const char * wmfw_filename,const struct firmware * coeff_firmware,const char * coeff_filename,const char * fw_name) cs_dsp_adsp1_power_up() argument 2500 cs_dsp_adsp1_power_down(struct cs_dsp * dsp) cs_dsp_adsp1_power_down() argument 2528 cs_dsp_adsp2v2_enable_core(struct cs_dsp * dsp) cs_dsp_adsp2v2_enable_core() argument 2555 cs_dsp_adsp2_enable_core(struct cs_dsp * dsp) cs_dsp_adsp2_enable_core() argument 2567 cs_dsp_adsp2_lock(struct cs_dsp * dsp,unsigned int lock_regions) cs_dsp_adsp2_lock() argument 2597 cs_dsp_adsp2_enable_memory(struct cs_dsp * dsp) cs_dsp_adsp2_enable_memory() argument 2603 cs_dsp_adsp2_disable_memory(struct cs_dsp * dsp) cs_dsp_adsp2_disable_memory() argument 2609 cs_dsp_adsp2_disable_core(struct cs_dsp * dsp) cs_dsp_adsp2_disable_core() argument 2619 cs_dsp_adsp2v2_disable_core(struct cs_dsp * dsp) cs_dsp_adsp2v2_disable_core() argument 2626 cs_dsp_halo_configure_mpu(struct cs_dsp * dsp,unsigned int lock_regions) cs_dsp_halo_configure_mpu() argument 2666 cs_dsp_set_dspclk(struct cs_dsp * dsp,unsigned int freq) cs_dsp_set_dspclk() argument 2680 cs_dsp_stop_watchdog(struct cs_dsp * dsp) cs_dsp_stop_watchdog() argument 2686 cs_dsp_halo_stop_watchdog(struct cs_dsp * dsp) cs_dsp_halo_stop_watchdog() argument 2709 cs_dsp_power_up(struct cs_dsp * dsp,const struct firmware * wmfw_firmware,const char * wmfw_filename,const struct firmware * coeff_firmware,const char * coeff_filename,const char * fw_name) cs_dsp_power_up() argument 2777 cs_dsp_power_down(struct cs_dsp * dsp) cs_dsp_power_down() argument 2804 cs_dsp_adsp2_start_core(struct cs_dsp * dsp) cs_dsp_adsp2_start_core() argument 2811 cs_dsp_adsp2_stop_core(struct cs_dsp * dsp) cs_dsp_adsp2_stop_core() argument 2825 cs_dsp_run(struct cs_dsp * dsp) cs_dsp_run() argument 2896 cs_dsp_stop(struct cs_dsp * dsp) cs_dsp_stop() argument 2929 cs_dsp_halo_start_core(struct cs_dsp * dsp) cs_dsp_halo_start_core() argument 2943 cs_dsp_halo_stop_core(struct cs_dsp * dsp) cs_dsp_halo_stop_core() argument 2959 cs_dsp_adsp2_init(struct cs_dsp * dsp) cs_dsp_adsp2_init() argument 2997 cs_dsp_halo_init(struct cs_dsp * dsp) cs_dsp_halo_init() argument 3012 cs_dsp_remove(struct cs_dsp * dsp) cs_dsp_remove() argument 3042 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 3074 cs_dsp_read_data_word(struct cs_dsp * dsp,int mem_type,unsigned int mem_addr,u32 * data) cs_dsp_read_data_word() argument 3098 cs_dsp_write_data_word(struct cs_dsp * dsp,int mem_type,unsigned int mem_addr,u32 data) cs_dsp_write_data_word() argument 3145 cs_dsp_adsp2_bus_error(struct cs_dsp * dsp) cs_dsp_adsp2_bus_error() argument 3215 cs_dsp_halo_bus_error(struct cs_dsp * dsp) cs_dsp_halo_bus_error() argument 3275 cs_dsp_halo_wdt_expire(struct cs_dsp * dsp) cs_dsp_halo_wdt_expire() argument 3489 cs_dsp_wseq_clear(struct cs_dsp * dsp,struct cs_dsp_wseq * wseq) cs_dsp_wseq_clear() argument 3499 cs_dsp_populate_wseq(struct cs_dsp * dsp,struct cs_dsp_wseq * wseq) cs_dsp_populate_wseq() argument 3587 cs_dsp_wseq_init(struct cs_dsp * dsp,struct cs_dsp_wseq * wseqs,unsigned int num_wseqs) cs_dsp_wseq_init() argument 3637 cs_dsp_wseq_write(struct cs_dsp * dsp,struct cs_dsp_wseq * wseq,u32 addr,u32 data,u8 op_code,bool update) cs_dsp_wseq_write() argument 3735 cs_dsp_wseq_multi_write(struct cs_dsp * dsp,struct cs_dsp_wseq * wseq,const struct reg_sequence * reg_seq,int num_regs,u8 op_code,bool update) cs_dsp_wseq_multi_write() argument [all...] |