| /linux/drivers/firmware/cirrus/ |
| H A D | cs_dsp.c | 3 * cs_dsp.c -- Cirrus Logic DSP firmware support 329 bool (*validate_version)(struct cs_dsp *dsp, unsigned int version); 330 unsigned int (*parse_sizes)(struct cs_dsp *dsp, 334 int (*setup_algs)(struct cs_dsp *dsp); 338 void (*show_fw_status)(struct cs_dsp *dsp); 339 void (*stop_watchdog)(struct cs_dsp *dsp); 341 int (*enable_memory)(struct cs_dsp *dsp); 342 void (*disable_memory)(struct cs_dsp *dsp); 343 int (*lock_memory)(struct cs_dsp *dsp, unsigned int lock_regions); 345 int (*enable_core)(struct cs_dsp *dsp); 394 cs_dsp_debugfs_save_wmfwname(struct cs_dsp * dsp,const char * s) cs_dsp_debugfs_save_wmfwname() argument 400 cs_dsp_debugfs_save_binname(struct cs_dsp * dsp,const char * s) cs_dsp_debugfs_save_binname() argument 406 cs_dsp_debugfs_clear(struct cs_dsp * dsp) cs_dsp_debugfs_clear() argument 414 cs_dsp_debugfs_string_read(struct cs_dsp * dsp,char __user * user_buf,size_t count,loff_t * ppos,const char ** pstr) cs_dsp_debugfs_string_read() argument 442 struct cs_dsp *dsp = file->private_data; cs_dsp_debugfs_wmfw_read() local 452 struct cs_dsp *dsp = file->private_data; cs_dsp_debugfs_bin_read() local 483 struct cs_dsp *dsp = s->private; cs_dsp_debugfs_read_controls_show() local 513 cs_dsp_init_debugfs(struct cs_dsp * dsp,struct dentry * debugfs_root) cs_dsp_init_debugfs() argument 541 cs_dsp_cleanup_debugfs(struct cs_dsp * dsp) cs_dsp_cleanup_debugfs() argument 549 cs_dsp_init_debugfs(struct cs_dsp * dsp,struct dentry * debugfs_root) cs_dsp_init_debugfs() argument 554 cs_dsp_cleanup_debugfs(struct cs_dsp * dsp) cs_dsp_cleanup_debugfs() argument 559 cs_dsp_debugfs_save_wmfwname(struct cs_dsp * dsp,const char * s) cs_dsp_debugfs_save_wmfwname() argument 564 cs_dsp_debugfs_save_binname(struct cs_dsp * dsp,const char * s) cs_dsp_debugfs_save_binname() argument 569 cs_dsp_debugfs_clear(struct cs_dsp * dsp) cs_dsp_debugfs_clear() argument 574 cs_dsp_find_region(struct cs_dsp * dsp,int type) cs_dsp_find_region() argument 621 cs_dsp_read_fw_status(struct cs_dsp * dsp,int noffs,unsigned int * offs) cs_dsp_read_fw_status() argument 636 cs_dsp_adsp2_show_fw_status(struct cs_dsp * dsp) cs_dsp_adsp2_show_fw_status() argument 648 cs_dsp_adsp2v2_show_fw_status(struct cs_dsp * dsp) cs_dsp_adsp2v2_show_fw_status() argument 659 cs_dsp_halo_show_fw_status(struct cs_dsp * dsp) cs_dsp_halo_show_fw_status() argument 675 struct cs_dsp *dsp = ctl->dsp; cs_dsp_coeff_base_reg() local 704 struct cs_dsp *dsp = ctl->dsp; cs_dsp_coeff_write_acked_control() local 770 struct cs_dsp *dsp = ctl->dsp; cs_dsp_coeff_write_ctrl_raw() local 859 struct cs_dsp *dsp = ctl->dsp; cs_dsp_coeff_lock_and_write_ctrl() local 875 struct cs_dsp *dsp = ctl->dsp; cs_dsp_coeff_read_ctrl_raw() local 958 struct cs_dsp *dsp = ctl->dsp; cs_dsp_coeff_lock_and_read_ctrl() local 971 cs_dsp_coeff_init_control_caches(struct cs_dsp * dsp) cs_dsp_coeff_init_control_caches() argument 997 cs_dsp_coeff_sync_controls(struct cs_dsp * dsp) cs_dsp_coeff_sync_controls() argument 1016 cs_dsp_signal_event_controls(struct cs_dsp * dsp,unsigned int event) cs_dsp_signal_event_controls() argument 1044 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 1128 cs_dsp_hibernate(struct cs_dsp * dsp,bool hibernate) cs_dsp_hibernate() argument 1227 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 1289 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 1368 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 1383 cs_dsp_parse_coeff(struct cs_dsp * dsp,const struct wmfw_region * region) cs_dsp_parse_coeff() argument 1459 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 1479 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 1499 cs_dsp_validate_version(struct cs_dsp * dsp,unsigned int version) cs_dsp_validate_version() argument 1513 cs_dsp_halo_validate_version(struct cs_dsp * dsp,unsigned int version) cs_dsp_halo_validate_version() argument 1523 cs_dsp_load(struct cs_dsp * dsp,const struct firmware * firmware,const char * file) cs_dsp_load() argument 1714 cs_dsp_get_ctl(struct cs_dsp * dsp,const char * name,int type,unsigned int alg) cs_dsp_get_ctl() argument 1737 cs_dsp_ctl_fixup_base(struct cs_dsp * dsp,const struct cs_dsp_alg_region * alg_region) cs_dsp_ctl_fixup_base() argument 1751 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 1811 cs_dsp_find_alg_region(struct cs_dsp * dsp,int type,unsigned int id) cs_dsp_find_alg_region() argument 1827 cs_dsp_create_region(struct cs_dsp * dsp,int type,__be32 id,__be32 ver,__be32 base) cs_dsp_create_region() argument 1850 cs_dsp_free_alg_regions(struct cs_dsp * dsp) cs_dsp_free_alg_regions() argument 1863 cs_dsp_parse_wmfw_id_header(struct cs_dsp * dsp,struct wmfw_id_hdr * fw,int nalgs) cs_dsp_parse_wmfw_id_header() argument 1875 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 1889 cs_dsp_create_regions(struct cs_dsp * dsp,__be32 id,__be32 ver,int nregions,const int * type,__be32 * base) cs_dsp_create_regions() argument 1904 cs_dsp_adsp1_setup_algs(struct cs_dsp * dsp) cs_dsp_adsp1_setup_algs() argument 2009 cs_dsp_adsp2_setup_algs(struct cs_dsp * dsp) cs_dsp_adsp2_setup_algs() argument 2144 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 2156 cs_dsp_halo_setup_algs(struct cs_dsp * dsp) cs_dsp_halo_setup_algs() argument 2217 cs_dsp_load_coeff(struct cs_dsp * dsp,const struct firmware * firmware,const char * file) cs_dsp_load_coeff() argument 2432 cs_dsp_create_name(struct cs_dsp * dsp) cs_dsp_create_name() argument 2447 cs_dsp_common_init(struct cs_dsp * dsp) cs_dsp_common_init() argument 2477 cs_dsp_adsp1_init(struct cs_dsp * dsp) cs_dsp_adsp1_init() argument 2496 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 2582 cs_dsp_adsp1_power_down(struct cs_dsp * dsp) cs_dsp_adsp1_power_down() argument 2610 cs_dsp_adsp2v2_enable_core(struct cs_dsp * dsp) cs_dsp_adsp2v2_enable_core() argument 2637 cs_dsp_adsp2_enable_core(struct cs_dsp * dsp) cs_dsp_adsp2_enable_core() argument 2649 cs_dsp_adsp2_lock(struct cs_dsp * dsp,unsigned int lock_regions) cs_dsp_adsp2_lock() argument 2679 cs_dsp_adsp2_enable_memory(struct cs_dsp * dsp) cs_dsp_adsp2_enable_memory() argument 2685 cs_dsp_adsp2_disable_memory(struct cs_dsp * dsp) cs_dsp_adsp2_disable_memory() argument 2691 cs_dsp_adsp2_disable_core(struct cs_dsp * dsp) cs_dsp_adsp2_disable_core() argument 2701 cs_dsp_adsp2v2_disable_core(struct cs_dsp * dsp) cs_dsp_adsp2v2_disable_core() argument 2708 cs_dsp_halo_configure_mpu(struct cs_dsp * dsp,unsigned int lock_regions) cs_dsp_halo_configure_mpu() argument 2748 cs_dsp_set_dspclk(struct cs_dsp * dsp,unsigned int freq) cs_dsp_set_dspclk() argument 2762 cs_dsp_stop_watchdog(struct cs_dsp * dsp) cs_dsp_stop_watchdog() argument 2768 cs_dsp_halo_stop_watchdog(struct cs_dsp * dsp) cs_dsp_halo_stop_watchdog() argument 2791 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 2860 cs_dsp_power_down(struct cs_dsp * dsp) cs_dsp_power_down() argument 2887 cs_dsp_adsp2_start_core(struct cs_dsp * dsp) cs_dsp_adsp2_start_core() argument 2894 cs_dsp_adsp2_stop_core(struct cs_dsp * dsp) cs_dsp_adsp2_stop_core() argument 2908 cs_dsp_run(struct cs_dsp * dsp) cs_dsp_run() argument 2979 cs_dsp_stop(struct cs_dsp * dsp) cs_dsp_stop() argument 3012 cs_dsp_halo_start_core(struct cs_dsp * dsp) cs_dsp_halo_start_core() argument 3026 cs_dsp_halo_stop_core(struct cs_dsp * dsp) cs_dsp_halo_stop_core() argument 3042 cs_dsp_adsp2_init(struct cs_dsp * dsp) cs_dsp_adsp2_init() argument 3080 cs_dsp_halo_init(struct cs_dsp * dsp) cs_dsp_halo_init() argument 3095 cs_dsp_remove(struct cs_dsp * dsp) cs_dsp_remove() argument 3125 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 3157 cs_dsp_read_data_word(struct cs_dsp * dsp,int mem_type,unsigned int mem_addr,u32 * data) cs_dsp_read_data_word() argument 3181 cs_dsp_write_data_word(struct cs_dsp * dsp,int mem_type,unsigned int mem_addr,u32 data) cs_dsp_write_data_word() argument 3228 cs_dsp_adsp2_bus_error(struct cs_dsp * dsp) cs_dsp_adsp2_bus_error() argument 3298 cs_dsp_halo_bus_error(struct cs_dsp * dsp) cs_dsp_halo_bus_error() argument 3358 cs_dsp_halo_wdt_expire(struct cs_dsp * dsp) cs_dsp_halo_wdt_expire() argument 3572 cs_dsp_wseq_clear(struct cs_dsp * dsp,struct cs_dsp_wseq * wseq) cs_dsp_wseq_clear() argument 3582 cs_dsp_populate_wseq(struct cs_dsp * dsp,struct cs_dsp_wseq * wseq) cs_dsp_populate_wseq() argument 3670 cs_dsp_wseq_init(struct cs_dsp * dsp,struct cs_dsp_wseq * wseqs,unsigned int num_wseqs) cs_dsp_wseq_init() argument 3720 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 3818 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...] |
| /linux/sound/soc/codecs/ |
| H A D | wm_adsp.c | 53 adsp_err(_obj->dsp, "%s: " fmt, _obj->name ? _obj->name : "legacy", \ 56 adsp_dbg(_obj->dsp, "%s: " fmt, _obj->name ? _obj->name : "legacy", \ 134 __be32 buf1_size; /* Size of buf1 area in DSP words */ 136 __be32 buf1_buf2_size; /* Size of buf1+buf2 in DSP words */ 138 __be32 buf_total_size; /* Size of buf1+buf2+buf3 in DSP words */ 157 struct wm_adsp *dsp; 174 struct wm_adsp *dsp; 206 static int wm_adsp_buffer_init(struct wm_adsp *dsp); 207 static int wm_adsp_buffer_free(struct wm_adsp *dsp); 340 struct wm_adsp *dsp in wm_adsp_fw_get() 154 struct wm_adsp *dsp; global() member 171 struct wm_adsp *dsp; global() member 337 struct wm_adsp *dsp = snd_soc_component_get_drvdata(component); wm_adsp_fw_get() local 350 struct wm_adsp *dsp = snd_soc_component_get_drvdata(component); wm_adsp_fw_put() local 546 struct wm_adsp *dsp = container_of(cs_ctl->dsp, wm_adsp_ctl_work() local 586 struct wm_adsp *dsp = container_of(cs_ctl->dsp, struct wm_adsp, cs_dsp); wm_adsp_control_add() local 663 struct wm_adsp *dsp = container_of(cs_ctl->dsp, struct wm_adsp, cs_dsp); wm_adsp_control_add_cb() local 684 wm_adsp_write_ctl(struct wm_adsp * dsp,const char * name,int type,unsigned int alg,void * buf,size_t len) wm_adsp_write_ctl() argument 701 wm_adsp_read_ctl(struct wm_adsp * dsp,const char * name,int type,unsigned int alg,void * buf,size_t len) wm_adsp_read_ctl() argument 733 wm_adsp_request_firmware_file(struct wm_adsp * dsp,struct wm_adsp_fw_file * fw,const char * dir,const char * system_name,const char * asoc_component_prefix,const char * filetype) wm_adsp_request_firmware_file() argument 796 wm_adsp_request_firmware_files(struct wm_adsp * dsp,struct wm_adsp_fw_files * fw) wm_adsp_request_firmware_files() argument 891 wm_adsp_common_init(struct wm_adsp * dsp) wm_adsp_common_init() argument 899 wm_adsp1_init(struct wm_adsp * dsp) wm_adsp1_init() argument 919 struct wm_adsp *dsp = &dsps[w->shift]; wm_adsp1_event() local 953 struct wm_adsp *dsp = &dsps[w->shift]; wm_adsp2_set_dspclk() local 966 struct wm_adsp *dsp = &dsps[mc->shift - 1]; wm_adsp2_preloader_get() local 982 struct wm_adsp *dsp = &dsps[mc->shift - 1]; wm_adsp2_preloader_put() local 1010 wm_adsp_power_up(struct wm_adsp * dsp,bool load_firmware) wm_adsp_power_up() argument 1038 wm_adsp_power_down(struct wm_adsp * dsp) wm_adsp_power_down() argument 1046 struct wm_adsp *dsp = container_of(work, wm_adsp_boot_work() local 1058 struct wm_adsp *dsp = &dsps[w->shift]; wm_adsp_early_event() local 1077 struct wm_adsp *dsp = container_of(cs_dsp, struct wm_adsp, cs_dsp); wm_adsp_pre_run() local 1087 struct wm_adsp *dsp = container_of(cs_dsp, struct wm_adsp, cs_dsp); wm_adsp_event_post_run() local 1097 struct wm_adsp *dsp = container_of(cs_dsp, struct wm_adsp, cs_dsp); wm_adsp_event_post_stop() local 1105 wm_adsp_run(struct wm_adsp * dsp) wm_adsp_run() argument 1113 wm_adsp_stop(struct wm_adsp * dsp) wm_adsp_stop() argument 1119 wm_adsp_hibernate(struct wm_adsp * dsp,bool hibernate) wm_adsp_hibernate() argument 1130 struct wm_adsp *dsp = &dsps[w->shift]; wm_adsp_event() local 1144 wm_adsp2_component_probe(struct wm_adsp * dsp,struct snd_soc_component * component) wm_adsp2_component_probe() argument 1162 wm_adsp2_component_remove(struct wm_adsp * dsp,struct snd_soc_component * component) wm_adsp2_component_remove() argument 1177 wm_adsp2_init(struct wm_adsp * dsp) wm_adsp2_init() argument 1194 wm_halo_init(struct wm_adsp * dsp) wm_halo_init() argument 1211 wm_adsp2_remove(struct wm_adsp * dsp) wm_adsp2_remove() argument 1260 wm_adsp_compr_open(struct wm_adsp * dsp,struct snd_compr_stream * stream) wm_adsp_compr_open() argument 1307 struct wm_adsp *dsp = compr->dsp; wm_adsp_compr_free() local 1325 struct wm_adsp *dsp = compr->dsp; wm_adsp_compr_check_params() local 1493 wm_adsp_buffer_alloc(struct wm_adsp * dsp) wm_adsp_buffer_alloc() argument 1508 wm_adsp_buffer_parse_legacy(struct wm_adsp * dsp) wm_adsp_buffer_parse_legacy() argument 1575 struct wm_adsp *dsp = container_of(cs_ctl->dsp, struct wm_adsp, cs_dsp); wm_adsp_buffer_parse_coeff() local 1644 wm_adsp_buffer_init(struct wm_adsp * dsp) wm_adsp_buffer_init() argument 1682 wm_adsp_buffer_free(struct wm_adsp * dsp) wm_adsp_buffer_free() argument 1719 struct wm_adsp *dsp = compr->dsp; wm_adsp_compr_trigger() local 1814 wm_adsp_compr_handle_irq(struct wm_adsp * dsp) wm_adsp_compr_handle_irq() argument 1882 struct wm_adsp *dsp = compr->dsp; wm_adsp_compr_pointer() local 1992 struct wm_adsp *dsp = compr->dsp; wm_adsp_compr_read() local 2037 struct wm_adsp *dsp = compr->dsp; wm_adsp_compr_copy() local 2053 struct wm_adsp *dsp = container_of(cs_dsp, struct wm_adsp, cs_dsp); wm_adsp_fatal_error() local 2066 struct wm_adsp *dsp = (struct wm_adsp *)data; wm_adsp2_bus_error() local 2076 struct wm_adsp *dsp = (struct wm_adsp *)data; wm_halo_bus_error() local 2086 struct wm_adsp *dsp = data; wm_halo_wdt_expire() local [all...] |
| H A D | cs-amp-lib.c | 76 static int cs_amp_write_cal_coeff(struct cs_dsp *dsp, in cs_amp_write_cal_coeff() argument 84 KUNIT_STATIC_STUB_REDIRECT(cs_amp_write_cal_coeff, dsp, controls, ctl_name, val); in cs_amp_write_cal_coeff() 87 scoped_guard(mutex, &dsp->pwr_lock) { in cs_amp_write_cal_coeff() 88 cs_ctl = cs_dsp_get_ctl(dsp, ctl_name, in cs_amp_write_cal_coeff() 95 dev_err(dsp->dev, "Failed to write to '%s': %d\n", ctl_name, ret); in cs_amp_write_cal_coeff() 105 static int cs_amp_read_cal_coeff(struct cs_dsp *dsp, in cs_amp_read_cal_coeff() argument 113 KUNIT_STATIC_STUB_REDIRECT(cs_amp_read_cal_coeff, dsp, controls, ctl_name, val); in cs_amp_read_cal_coeff() 118 scoped_guard(mutex, &dsp->pwr_lock) { in cs_amp_read_cal_coeff() 119 cs_ctl = cs_dsp_get_ctl(dsp, ctl_name, controls->mem_region, controls->alg_id); in cs_amp_read_cal_coeff() 124 dev_err(dsp->dev, "Failed to read '%s': %d\n", ctl_name, ret); in cs_amp_read_cal_coeff() [all …]
|
| H A D | cs35l56.c | 935 ret = wm_adsp_run(&cs35l56->dsp); in cs35l56_patch() 939 ret = cs_amp_write_cal_coeffs(&cs35l56->dsp.cs_dsp, in cs35l56_patch() 943 wm_adsp_stop(&cs35l56->dsp); in cs35l56_patch() 960 cs35l56->dsp.bin_mandatory = (load_firmware && cs35l56->fallback_fw_suffix); in cs35l56_dsp_work() 962 ret = wm_adsp_power_up(&cs35l56->dsp, load_firmware); in cs35l56_dsp_work() 963 if ((ret == -ENOENT) && cs35l56->dsp.bin_mandatory) { in cs35l56_dsp_work() 964 cs35l56->dsp.fwf_suffix = cs35l56->fallback_fw_suffix; in cs35l56_dsp_work() 966 cs35l56->dsp.bin_mandatory = false; in cs35l56_dsp_work() 967 ret = wm_adsp_power_up(&cs35l56->dsp, load_firmware); in cs35l56_dsp_work() 1076 kfree(cs35l56->dsp in cs35l56_debugfs_cal_data_read() 1732 cs35l56_control_add_nop(struct wm_adsp * dsp,struct cs_dsp_coeff_ctl * cs_ctl) cs35l56_control_add_nop() argument 1739 struct wm_adsp *dsp; cs35l56_dsp_init() local [all...] |
| /linux/Documentation/devicetree/bindings/pinctrl/ |
| H A D | cirrus,lochnagar.yaml | 72 enum: [ codec-aif1, codec-aif2, codec-aif3, dsp-aif1, 73 dsp-aif2, psia1, psia2, gf-aif1, gf-aif2, gf-aif3, 84 codec-gpio7, codec-gpio8, dsp-gpio1, dsp-gpio2, 85 dsp-gpio3, dsp-gpio4, dsp-gpio5, dsp-gpio6, 90 codec-aif3-lrclk, codec-aif3-txdat, dsp-aif1-bclk, 91 dsp-aif1-rxdat, dsp-aif1-lrclk, dsp-aif1-txdat, 92 dsp-aif2-bclk, dsp-aif2-rxdat, dsp-aif2-lrclk, 93 dsp-aif2-txdat, psia1-bclk, psia1-rxdat, psia1-lrclk, 100 gf-aif2-lrclk, gf-aif2-txdat, dsp-uart1-rx, 101 dsp-uart1-tx, dsp-uart2-rx, dsp-uart2-tx, [all …]
|
| /linux/Documentation/devicetree/bindings/remoteproc/ |
| H A D | ti,keystone-rproc.txt | 1 TI Keystone DSP devices 4 The TI Keystone 2 family of SoCs usually have one or more (upto 8) TI DSP Core 10 a dedicated local power/sleep controller etc. The DSP processor core in 13 DSP Device Node: 15 Each DSP Core sub-system is represented as a single DT node, and should also 26 "ti,k2hk-dsp" for DSPs on Keystone 2 66AK2H/K SoCs 27 "ti,k2l-dsp" for DSPs on Keystone 2 66AK2L SoCs 28 "ti,k2e-dsp" for DSPs on Keystone 2 66AK2E SoCs 29 "ti,k2g-dsp" for DSPs on Keystone 2 66AK2G SoCs 42 State Control node, and the register offset of the DSP [all …]
|
| H A D | ti,davinci-rproc.txt | 1 TI Davinci DSP devices 4 The TI Davinci family of SoCs usually contains a TI DSP Core sub-system that 10 controller, a dedicated local power/sleep controller etc. The DSP processor 11 core used in Davinci SoCs is usually a C674x DSP CPU. 13 DSP Device Node: 15 Each DSP Core sub-system is represented as a single DT node. 22 "ti,da850-dsp" for DSPs on OMAP-L138 SoCs 35 interrupts from the DSP. The value should follow the 49 /* DSP Reserved Memory node */ 55 dsp_memory_region: dsp-memory@c3000000 { [all …]
|
| H A D | ti,omap-remoteproc.yaml | 21 The OMAP SoCs usually have a DSP processor sub-system and/or an IPU processor 22 sub-system. The DSP processor sub-system can contain any of the TI's C64x, 23 C66x or C67x family of DSP cores as the main execution unit. The IPU processor 42 - ti,omap4-dsp 43 - ti,omap5-dsp 44 - ti,dra7-dsp 108 'reg-names'. These are mandatory for all DSP and IPU 132 This property is required for all the DSP instances on OMAP4, OMAP5 177 - ti,dra7-dsp 225 //Example 1: OMAP4 DSP [all …]
|
| /linux/arch/mips/include/asm/ |
| H A D | dsp.h | 41 tsk->thread.dsp.dspr[0] = mfhi1(); \ 42 tsk->thread.dsp.dspr[1] = mflo1(); \ 43 tsk->thread.dsp.dspr[2] = mfhi2(); \ 44 tsk->thread.dsp.dspr[3] = mflo2(); \ 45 tsk->thread.dsp.dspr[4] = mfhi3(); \ 46 tsk->thread.dsp.dspr[5] = mflo3(); \ 47 tsk->thread.dsp.dspcontrol = rddsp(DSP_MASK); \ 58 mthi1(tsk->thread.dsp.dspr[0]); \ 59 mtlo1(tsk->thread.dsp.dspr[1]); \ 60 mthi2(tsk->thread.dsp.dspr[2]); \ [all …]
|
| /linux/Documentation/devicetree/bindings/dsp/ |
| H A D | fsl,dsp.yaml | 4 $id: http://devicetree.org/schemas/dsp/fsl,dsp.yaml# 7 title: NXP i.MX8 DSP core 14 Some boards from i.MX8 family contain a DSP core used for 20 - fsl,imx8qxp-dsp 21 - fsl,imx8qm-dsp 22 - fsl,imx8mp-dsp 23 - fsl,imx8ulp-dsp 72 used by DSP (see bindings/reserved-memory/reserved-memory.txt) 80 fsl,dsp-ctrl: 113 - fsl,imx8qxp-dsp [all …]
|
| /linux/arch/arm/mach-omap2/ |
| H A D | powerdomains2xxx_3xxx_data.c | 12 * The names for the DSP/IVA2 powerdomains are confusing. 14 * Most OMAP chips have an on-board DSP. 16 * On the 2420, this is a 'C55 DSP called, simply, the DSP. Its 17 * powerdomain is called the "DSP power domain." On the 2430, the 18 * on-board DSP is a 'C64 DSP, now called (along with its hardware 20 * the "DSP power domain." On the 3430, the DSP is a 'C64 DSP like the 25 * core, and has nothing to do with the DSP/IVA2. 27 * Ideally the DSP/IVA2 could just be the same powerdomain, but the PRCM
|
| /linux/arch/arm/boot/dts/ti/keystone/ |
| H A D | keystone-k2hk.dtsi | 92 compatible = "ti,keystone-dsp-gpio"; 100 compatible = "ti,keystone-dsp-gpio"; 108 compatible = "ti,keystone-dsp-gpio"; 116 compatible = "ti,keystone-dsp-gpio"; 124 compatible = "ti,keystone-dsp-gpio"; 132 compatible = "ti,keystone-dsp-gpio"; 140 compatible = "ti,keystone-dsp-gpio"; 148 compatible = "ti,keystone-dsp-gpio"; 156 dsp0: dsp@10800000 { 157 compatible = "ti,k2hk-dsp"; [all...] |
| /linux/Documentation/devicetree/bindings/gpio/ |
| H A D | ti,keystone-dsp-gpio.yaml | 4 $id: http://devicetree.org/schemas/gpio/ti,keystone-dsp-gpio.yaml# 7 title: Keystone 2 DSP GPIO controller 13 HOST OS userland running on ARM can send interrupts to DSP cores using 14 the DSP GPIO controller IP. It provides 28 IRQ signals per each DSP core. 17 For example TCI6638K2K SoC has 8 DSP GPIO controllers: 20 Keystone 2 DSP GPIO controller has specific features: 22 - setting GPIO value to 1 causes IRQ generation on target DSP core; 28 const: ti,keystone-dsp-gpio 60 compatible = "ti,keystone-dsp-gpio";
|
| /linux/Documentation/hwmon/ |
| H A D | lochnagar.rst | 33 in1_input Measured voltage for 1V8 DSP (milliVolts) 34 in1_label "1V8 DSP" 35 curr2_input Measured current for 1V8 DSP (milliAmps) 36 curr2_label "1V8 DSP" 37 power2_average Measured average power for 1V8 DSP (microWatts) 39 power2_label "1V8 DSP" 47 in3_input Measured voltage for VDDCORE DSP (milliVolts) 48 in3_label "VDDCORE DSP" 49 curr4_input Measured current for VDDCORE DSP (milliAmps) 50 curr4_label "VDDCORE DSP" [all …]
|
| /linux/sound/pci/asihpi/ |
| H A D | hpidspcd.h | 10 Functions for reading DSP code to load into DSP 19 /** Header structure for dsp firmware file 48 /** Expected number of words in the whole dsp code,INCL header */ 53 /** internal state of DSP code reader */ 65 /** Pointer to DSP code control structure */ 70 /** Close the DSP code file */ 73 /** Rewind to the beginning of the DSP code file (for verify) */ 76 /** Read one word from the dsp code file 80 /**< DSP code descriptor */ 84 /** Get a block of dsp code into an internal buffer, and provide a pointer to [all …]
|
| H A D | hpi6000.c | 9 These PCI bus adapters are based on the TI C6711 DSP. 16 PROFILE_DSP2 get profile data from DSP2 if present (instead of DSP 1) 74 /* can't access DSP HPI i/f */ 76 /* can't access internal DSP memory */ 335 /* Don't even try to communicate with crashed DSP */ in HPI_6000() 339 HPI_DEBUG_LOG(DEBUG, "adapter %d dsp crashed\n", in HPI_6000() 471 /* BAR1 - 32K = HPI registers on DSP */ in create_adapter_obj() 474 HPI_DEBUG_LOG(VERBOSE, "csr %p, dsp %p\n", phw->dw2040_HPICSR, in create_adapter_obj() 477 /* set addresses for the possible DSP HPI interfaces */ in create_adapter_obj() 507 /* of the first DSP i in create_adapter_obj() [all...] |
| /linux/sound/pci/echoaudio/ |
| H A D | echoaudio_dsp.c | 23 /* Some vector commands involve the DSP reading or writing data to and from the 24 comm page; if you send one of these commands to the DSP, it will complete the 31 /* Wait up to 20ms for the handshake from the DSP */ in wait_handshake() 41 dev_err(chip->card->dev, "wait_handshake(): Timeout waiting for DSP\n"); in wait_handshake() 47 /* Much of the interaction between the DSP and the driver is done via vector 48 commands; send_vector writes a vector command to the DSP. Typically, this 49 causes the DSP to read or write fields in the comm page. 74 /* write_dsp writes a 32-bit value to the DSP; this is used almost 75 exclusively for loading the DSP. */ 91 chip->bad_board = true; /* Set true until DSP re-loaded */ in write_dsp() [all …]
|
| /linux/sound/soc/sof/ |
| H A D | pm.c | 18 MODULE_PARM_DESC(on_demand_boot, "Force on-demand DSP boot: 0 - disabled, 1 - enabled"); 21 * Helper function to determine the target DSP state during in snd_sof_dsp_power_target() 33 /* DSP should be in D3 if the system is suspending to S3+ */ in snd_sof_dsp_power_target() 35 /* DSP should be in D3 if the system is suspending to S3 */ in snd_sof_dsp_power_target() 40 * Currently, the only criterion for retaining the DSP in D0 in snd_sof_dsp_power_target() 91 dev_dbg(sdev->dev, "Booting DSP firmware\n"); in sof_resume() 98 dev_err(sdev->dev, "%s: failed to load DSP firmware: %d\n", in sof_resume() 112 dev_err(sdev->dev, "%s: failed to boot DSP firmware: %d\n", in sof_resume() 139 /* notify DSP of system resume */ in sof_resume() 153 * possible DSP coredum in sof_resume() [all...] |
| /linux/arch/um/drivers/ |
| H A D | hostaudio_kern.c | 24 #define HOSTAUDIO_DEV_DSP "/dev/sound/dsp" 32 static char *dsp = HOSTAUDIO_DEV_DSP; variable 36 " This is used to specify the host dsp device to the hostaudio driver.\n" \ 43 module_param(dsp, charp, 0644); 44 MODULE_PARM_DESC(dsp, DSP_HELP); 52 dsp = name; in set_dsp() 56 __uml_setup("dsp=", set_dsp, "dsp=<dsp device>\n" DSP_HELP); 70 /* /dev/dsp file operations */ 185 printk(KERN_DEBUG "hostaudio: open called (host: %s)\n", dsp); in hostaudio_open() 200 ret = os_open_file(dsp, of_set_rw(OPENFLAGS(), r, w), 0); in hostaudio_open() [all …]
|
| /linux/sound/soc/sof/intel/ |
| H A D | cnl.c | 15 * Hardware interface for audio DSP on Cannonlake. 30 {"dsp", HDA_DSP_BAR, 0, 0x10000, SOF_DEBUGFS_ACCESS_ALWAYS}, 47 /* DSP received the message */ in cnl_ipc4_irq_thread() 58 /* Message from DSP (reply or notification) */ in cnl_ipc4_irq_thread() 90 /* Let DSP know that we have finished processing the message */ in cnl_ipc4_irq_thread() 128 /* reply message from DSP */ in cnl_ipc_irq_thread() 141 /* handle immediate reply from DSP core */ in cnl_ipc_irq_thread() 154 /* new message from DSP */ in cnl_ipc_irq_thread() 161 /* handle messages from DSP */ in cnl_ipc_irq_thread() 171 * to false as the DSP migh in cnl_ipc_irq_thread() [all...] |
| H A D | atom.c | 12 * Hardware interface for audio DSP on Atom devices 20 #include <sound/intel-dsp-config.h> 80 "error: ipc host -> DSP: pending %s complete %s raw 0x%llx\n", in atom_dump() 88 "error: ipc DSP -> host: pending %s complete %s raw 0x%llx\n", in atom_dump() 92 "error: mask DSP: pending %s complete %s raw 0x%llx\n", in atom_dump() 114 /* reply message from DSP, Mask Done interrupt first */ in atom_irq_handler() 124 /* new message from DSP, Mask Busy interrupt first */ in atom_irq_handler() 144 /* reply message from DSP */ in atom_irq_thread() 147 * handle immediate reply from DSP core. If the msg is in atom_irq_thread() 158 /* new message from DSP */ in atom_irq_thread() [all...] |
| /linux/arch/arc/ |
| H A D | Kconfig | 362 bool "Reg Pair ACCL:ACCH (FPU and/or MPY > 6 and/or DSP)" 376 prompt "DSP support" 379 Depending on the configuration, CPU can contain DSP registers 385 bool "No DSP extension presence in HW" 387 No DSP extension presence in HW 390 bool "DSP extension in HW, no support for userspace" 394 DSP extension presence in HW, no support for DSP-enabled userspace 395 applications. We don't save / restore DSP registers and only do 399 bool "Support DSP for userspace apps" 404 DSP extension presence in HW, support save / restore DSP registers to [all …]
|
| /linux/sound/soc/sof/mediatek/mt8195/ |
| H A D | mt8195.h | 6 * Header file for the mt8195 DSP register definition 114 /* dsp wdt */ 117 /* dsp mbox */ 127 /*dsp sys ao*/ 132 /* DSP memories */ 148 #define SRAM_PHYS_BASE_FROM_DSP_VIEW 0x40000000 /* MT8195 DSP view */ 149 #define DRAM_PHYS_BASE_FROM_DSP_VIEW 0x60000000 /* MT8195 DSP view */ 151 /*remap dram between AP and DSP view, 4KB aligned*/ 155 /* suspend dsp idle check interval and timeout */ 156 #define SUSPEND_DSP_IDLE_TIMEOUT_US 1000000 /* timeout to wait dsp idle, 1 sec */
|
| /linux/Documentation/sound/cards/ |
| H A D | emu-mixer.rst | 2 E-MU Digital Audio System mixer / default DSP code 65 and the DSP microcontroller can operate with the resulting sum. 102 samples for 5.1 playback. The result samples are forwarded to the DSP 0 & 1 109 samples for 5.1 playback. The result samples are forwarded to the DSP 2 & 3 116 samples for 7.1 playback. The result samples are forwarded to the DSP 6 & 7 123 are forwarded to the DSP 4 playback channel. 129 are forwarded to the DSP 5 playback channel. 158 The result samples are forwarded to the DSP 0 & 1 playback channels. 163 The result samples are forwarded to the DSP 2 & 3 playback channels. 168 The result samples are forwarded to the DSP 6 & 7 playback channels. [all …]
|
| /linux/drivers/input/misc/ |
| H A D | cs40l50-vibra.c | 4 * integrated DSP, and closed-loop algorithms 30 /* DSP */ 50 /* Describes an area in DSP memory populated by effects */ 65 /* Describes haptic interface of loaded DSP firmware */ 85 struct cs40l50_vibra_dsp dsp; member 164 base_index = vib->dsp.banks[effect->type].base_index; in cs40l50_effect_index_set() 165 max_index = vib->dsp.banks[effect->type].max_index; in cs40l50_effect_index_set() 201 effect->gpio_reg = vib->dsp.gpio_base_reg + (gpio_num * 8) - gpio_edge; in cs40l50_effect_gpio_mapping_set() 226 error = regmap_read(vib->regmap, vib->dsp.owt_size_reg, &size); in cs40l50_upload_owt() 247 error = regmap_read(vib->regmap, vib->dsp in cs40l50_upload_owt() [all...] |