Searched refs:sst_dsp (Results 1 - 18 of 18) sorted by last modified time

/linux-master/sound/soc/intel/common/
H A Dsst-ipc.h37 struct sst_dsp;
44 bool (*is_dsp_busy)(struct sst_dsp *dsp);
45 int (*check_dsp_lp_on)(struct sst_dsp *dsp, bool state);
51 struct sst_dsp *dsp;
H A Dsst-dsp.c48 void sst_dsp_shim_write(struct sst_dsp *sst, u32 offset, u32 value)
58 u32 sst_dsp_shim_read(struct sst_dsp *sst, u32 offset)
71 void sst_dsp_shim_write_unlocked(struct sst_dsp *sst, u32 offset, u32 value)
77 u32 sst_dsp_shim_read_unlocked(struct sst_dsp *sst, u32 offset)
83 int sst_dsp_shim_update_bits_unlocked(struct sst_dsp *sst, u32 offset,
104 void sst_dsp_shim_update_bits_forced_unlocked(struct sst_dsp *sst, u32 offset,
119 int sst_dsp_shim_update_bits(struct sst_dsp *sst, u32 offset,
133 void sst_dsp_shim_update_bits_forced(struct sst_dsp *sst, u32 offset,
144 int sst_dsp_register_poll(struct sst_dsp *ctx, u32 offset, u32 mask,
184 int sst_dsp_mailbox_init(struct sst_dsp *ss
[all...]
H A Dsst-dsp-priv.h30 int (*init)(struct sst_dsp *sst);
31 void (*free)(struct sst_dsp *sst);
59 struct sst_dsp { struct
H A Dsst-dsp.h15 struct sst_dsp;
30 void sst_dsp_shim_write(struct sst_dsp *sst, u32 offset, u32 value);
31 u32 sst_dsp_shim_read(struct sst_dsp *sst, u32 offset);
32 int sst_dsp_shim_update_bits(struct sst_dsp *sst, u32 offset,
34 void sst_dsp_shim_update_bits_forced(struct sst_dsp *sst, u32 offset,
38 void sst_dsp_shim_write_unlocked(struct sst_dsp *sst, u32 offset, u32 value);
39 u32 sst_dsp_shim_read_unlocked(struct sst_dsp *sst, u32 offset);
40 int sst_dsp_shim_update_bits_unlocked(struct sst_dsp *sst, u32 offset,
42 void sst_dsp_shim_update_bits_forced_unlocked(struct sst_dsp *sst, u32 offset,
52 int sst_dsp_mailbox_init(struct sst_dsp *ss
[all...]
/linux-master/sound/soc/intel/skylake/
H A Dskl-sst-ipc.c287 static bool skl_ipc_is_dsp_busy(struct sst_dsp *dsp)
308 int skl_ipc_check_D0i0(struct sst_dsp *dsp, bool state)
491 struct sst_dsp *dsp = context;
558 void skl_ipc_int_enable(struct sst_dsp *ctx)
564 void skl_ipc_int_disable(struct sst_dsp *ctx)
570 void skl_ipc_op_int_enable(struct sst_dsp *ctx)
581 void skl_ipc_op_int_disable(struct sst_dsp *ctx)
593 bool skl_ipc_int_status(struct sst_dsp *ctx)
H A Dskl-sst-utils.c229 int snd_skl_parse_uuids(struct sst_dsp *ctx, const struct firmware *fw,
362 struct sst_dsp *sst;
389 struct sst_dsp *dsp = skl->dsp;
H A Dskl-sst-cldma.c18 static void skl_cldma_int_enable(struct sst_dsp *ctx)
24 void skl_cldma_int_disable(struct sst_dsp *ctx)
30 static void skl_cldma_stream_run(struct sst_dsp *ctx, bool enable)
56 static void skl_cldma_stream_clear(struct sst_dsp *ctx)
78 static void skl_cldma_setup_bdle(struct sst_dsp *ctx,
112 static void skl_cldma_setup_controller(struct sst_dsp *ctx,
134 static void skl_cldma_setup_spb(struct sst_dsp *ctx,
146 static void skl_cldma_cleanup_spb(struct sst_dsp *ctx)
156 static void skl_cldma_cleanup(struct sst_dsp *ctx)
165 int skl_cldma_wait_interruptible(struct sst_dsp *ct
[all...]
H A Dskl.h91 struct sst_dsp *dsp;
H A Dcnl-sst.c46 static int cnl_prepare_fw(struct sst_dsp *ctx, const void *fwdata, u32 fwsize)
109 static int sst_transfer_fw_host_dma(struct sst_dsp *ctx)
124 static int cnl_load_base_firmware(struct sst_dsp *ctx)
188 static int cnl_set_dsp_D0(struct sst_dsp *ctx, unsigned int core_id)
251 static int cnl_set_dsp_D3(struct sst_dsp *ctx, unsigned int core_id)
288 static unsigned int cnl_get_errno(struct sst_dsp *ctx)
314 struct sst_dsp *dsp = context;
399 static bool cnl_ipc_is_dsp_busy(struct sst_dsp *dsp)
440 struct sst_dsp *sst;
479 struct sst_dsp *ss
[all...]
H A Dskl-sst.c33 static bool skl_check_fw_status(struct sst_dsp *ctx, u32 status)
42 static int skl_transfer_firmware(struct sst_dsp *ctx,
66 static int skl_load_base_firmware(struct sst_dsp *ctx)
160 static int skl_set_dsp_D0(struct sst_dsp *ctx, unsigned int core_id)
214 static int skl_set_dsp_D3(struct sst_dsp *ctx, unsigned int core_id)
244 static unsigned int skl_get_errorcode(struct sst_dsp *ctx)
253 static int skl_get_module(struct sst_dsp *ctx, u16 mod_id)
265 static int skl_put_module(struct sst_dsp *ctx, u16 mod_id)
277 static struct skl_module_table *skl_fill_module_table(struct sst_dsp *ctx,
314 struct sst_dsp *ct
[all...]
H A Dskl-sst-ipc.h15 struct sst_dsp;
151 int skl_ipc_check_D0i0(struct sst_dsp *dsp, bool state);
153 void skl_ipc_int_enable(struct sst_dsp *ctx);
154 void skl_ipc_op_int_enable(struct sst_dsp *ctx);
155 void skl_ipc_op_int_disable(struct sst_dsp *ctx);
156 void skl_ipc_int_disable(struct sst_dsp *ctx);
158 bool skl_ipc_int_status(struct sst_dsp *ctx);
161 void skl_clear_module_cnt(struct sst_dsp *ctx);
H A Dskl-sst-dsp.c22 void skl_dsp_set_state_locked(struct sst_dsp *ctx, int state)
34 void skl_dsp_init_core_state(struct sst_dsp *ctx)
49 unsigned int skl_dsp_get_enabled_cores(struct sst_dsp *ctx)
78 skl_dsp_core_set_reset_state(struct sst_dsp *ctx, unsigned int core_mask)
106 struct sst_dsp *ctx, unsigned int core_mask)
135 is_skl_dsp_core_enable(struct sst_dsp *ctx, unsigned int core_mask)
153 static int skl_dsp_reset_core(struct sst_dsp *ctx, unsigned int core_mask)
164 int skl_dsp_start_core(struct sst_dsp *ctx, unsigned int core_mask)
188 int skl_dsp_core_power_up(struct sst_dsp *ctx, unsigned int core_mask)
216 int skl_dsp_core_power_down(struct sst_dsp *ct
[all...]
H A Dcnl-sst-dsp.h11 struct sst_dsp;
85 int cnl_dsp_enable_core(struct sst_dsp *ctx, unsigned int core_mask);
86 int cnl_dsp_disable_core(struct sst_dsp *ctx, unsigned int core_mask);
88 void cnl_dsp_free(struct sst_dsp *dsp);
90 void cnl_ipc_int_enable(struct sst_dsp *ctx);
91 void cnl_ipc_int_disable(struct sst_dsp *ctx);
92 void cnl_ipc_op_int_enable(struct sst_dsp *ctx);
93 void cnl_ipc_op_int_disable(struct sst_dsp *ctx);
94 bool cnl_ipc_int_status(struct sst_dsp *ctx);
H A Dbxt-sst.c40 static unsigned int bxt_get_errorcode(struct sst_dsp *ctx)
46 bxt_load_library(struct sst_dsp *ctx, struct skl_lib_info *linfo, int lib_count)
94 static int sst_bxt_prepare_fw(struct sst_dsp *ctx,
167 static int sst_transfer_fw_host_dma(struct sst_dsp *ctx)
181 static int bxt_load_base_firmware(struct sst_dsp *ctx)
266 static int bxt_d0i3_target_state(struct sst_dsp *ctx)
290 struct sst_dsp *ctx = skl->dsp;
329 static int bxt_schedule_dsp_D0i3(struct sst_dsp *ctx)
346 static int bxt_set_dsp_D0i0(struct sst_dsp *ctx)
387 static int bxt_set_dsp_D0(struct sst_dsp *ct
[all...]
H A Dskl-sst-dsp.h17 struct sst_dsp;
140 int (*load_fw)(struct sst_dsp *ctx);
142 int (*load_library)(struct sst_dsp *ctx,
144 int (*parse_fw)(struct sst_dsp *ctx);
145 int (*set_state_D0)(struct sst_dsp *ctx, unsigned int core_id);
146 int (*set_state_D3)(struct sst_dsp *ctx, unsigned int core_id);
147 int (*set_state_D0i3)(struct sst_dsp *ctx);
148 int (*set_state_D0i0)(struct sst_dsp *ctx);
149 unsigned int (*get_fw_errcode)(struct sst_dsp *ctx);
150 int (*load_mod)(struct sst_dsp *ct
[all...]
H A Dskl-debug.c177 struct sst_dsp *sst = d->skl->dsp;
H A Dskl-sst-cldma.h193 struct sst_dsp;
196 void (*cl_setup_bdle)(struct sst_dsp *ctx,
199 void (*cl_setup_controller)(struct sst_dsp *ctx,
202 void (*cl_setup_spb)(struct sst_dsp *ctx,
204 void (*cl_cleanup_spb)(struct sst_dsp *ctx);
205 void (*cl_trigger)(struct sst_dsp *ctx, bool enable);
206 void (*cl_cleanup_controller)(struct sst_dsp *ctx);
207 int (*cl_copy_to_dmabuf)(struct sst_dsp *ctx,
209 void (*cl_stop_dma)(struct sst_dsp *ctx);
H A Dcnl-sst-dsp.c27 cnl_dsp_core_set_reset_state(struct sst_dsp *ctx, unsigned int core_mask)
44 cnl_dsp_core_unset_reset_state(struct sst_dsp *ctx, unsigned int core_mask)
59 static bool is_cnl_dsp_core_enable(struct sst_dsp *ctx, unsigned int core_mask)
77 static int cnl_dsp_reset_core(struct sst_dsp *ctx, unsigned int core_mask)
88 static int cnl_dsp_start_core(struct sst_dsp *ctx, unsigned int core_mask)
111 static int cnl_dsp_core_power_up(struct sst_dsp *ctx, unsigned int core_mask)
126 static int cnl_dsp_core_power_down(struct sst_dsp *ctx, unsigned int core_mask)
141 int cnl_dsp_enable_core(struct sst_dsp *ctx, unsigned int core_mask)
156 int cnl_dsp_disable_core(struct sst_dsp *ctx, unsigned int core_mask)
186 struct sst_dsp *ct
[all...]

Completed in 196 milliseconds