Lines Matching full:dsp

3  * cs_dsp.h  --  Cirrus Logic DSP firmware support
46 * struct cs_dsp_region - Describes a logical memory region in DSP address space
56 * struct cs_dsp_alg_region - Describes a logical algorithm region in DSP address space
74 * @dsp: DSP instance associated with this control
90 struct cs_dsp *dsp; member
111 * struct cs_dsp - Configuration and state of a Cirrus Logic DSP
112 * @name: The name of the DSP instance
113 * @rev: Revision of the DSP
114 * @num: DSP instance number
115 * @type: Type of DSP
120 * @base: Address of the DSP registers
131 * @mem: DSP memory region descriptions
132 * @num_mems: Number of memory regions in this DSP
134 * @booted: Flag indicating DSP has been configured
135 * @running: Flag indicating DSP is executing firmware
136 * @ctl_list: Controls defined within the loaded DSP firmware
139 * @debugfs_root: Debugfs directory for this DSP instance
205 int (*pre_run)(struct cs_dsp *dsp);
206 int (*post_run)(struct cs_dsp *dsp);
207 void (*pre_stop)(struct cs_dsp *dsp);
208 void (*post_stop)(struct cs_dsp *dsp);
209 void (*watchdog_expired)(struct cs_dsp *dsp);
212 int cs_dsp_adsp1_init(struct cs_dsp *dsp);
213 int cs_dsp_adsp2_init(struct cs_dsp *dsp);
214 int cs_dsp_halo_init(struct cs_dsp *dsp);
216 int cs_dsp_adsp1_power_up(struct cs_dsp *dsp,
220 void cs_dsp_adsp1_power_down(struct cs_dsp *dsp);
221 int cs_dsp_power_up(struct cs_dsp *dsp,
225 void cs_dsp_power_down(struct cs_dsp *dsp);
226 int cs_dsp_run(struct cs_dsp *dsp);
227 void cs_dsp_stop(struct cs_dsp *dsp);
229 void cs_dsp_remove(struct cs_dsp *dsp);
231 int cs_dsp_set_dspclk(struct cs_dsp *dsp, unsigned int freq);
232 void cs_dsp_adsp2_bus_error(struct cs_dsp *dsp);
233 void cs_dsp_halo_bus_error(struct cs_dsp *dsp);
234 void cs_dsp_halo_wdt_expire(struct cs_dsp *dsp);
236 void cs_dsp_init_debugfs(struct cs_dsp *dsp, struct dentry *debugfs_root);
237 void cs_dsp_cleanup_debugfs(struct cs_dsp *dsp);
244 struct cs_dsp_coeff_ctl *cs_dsp_get_ctl(struct cs_dsp *dsp, const char *name, int type,
247 int cs_dsp_read_raw_data_block(struct cs_dsp *dsp, int mem_type, unsigned int mem_addr,
249 int cs_dsp_read_data_word(struct cs_dsp *dsp, int mem_type, unsigned int mem_addr, u32 *data);
250 int cs_dsp_write_data_word(struct cs_dsp *dsp, int mem_type, unsigned int mem_addr, u32 data);
253 struct cs_dsp_alg_region *cs_dsp_find_alg_region(struct cs_dsp *dsp,
259 * struct cs_dsp_chunk - Describes a buffer holding data formatted for the DSP
276 * cs_dsp_chunk() - Create a DSP memory chunk
293 * cs_dsp_chunk_end() - Check if a DSP memory chunk is full
304 * cs_dsp_chunk_bytes() - Number of bytes written/read from a DSP memory chunk
315 * cs_dsp_chunk_valid_addr() - Check if an address is in a DSP memory chunk