/linux-5.19.10/sound/soc/intel/skylake/ |
D | skl-sst-dsp.h | 17 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 *ctx, u16 mod_id, u8 *mod_name); [all …]
|
D | cnl-sst-dsp.c | 27 cnl_dsp_core_set_reset_state(struct sst_dsp *ctx, unsigned int core_mask) in cnl_dsp_core_set_reset_state() 44 cnl_dsp_core_unset_reset_state(struct sst_dsp *ctx, unsigned int core_mask) in cnl_dsp_core_unset_reset_state() 59 static bool is_cnl_dsp_core_enable(struct sst_dsp *ctx, unsigned int core_mask) in is_cnl_dsp_core_enable() 77 static int cnl_dsp_reset_core(struct sst_dsp *ctx, unsigned int core_mask) in cnl_dsp_reset_core() 88 static int cnl_dsp_start_core(struct sst_dsp *ctx, unsigned int core_mask) in cnl_dsp_start_core() 111 static int cnl_dsp_core_power_up(struct sst_dsp *ctx, unsigned int core_mask) in cnl_dsp_core_power_up() 126 static int cnl_dsp_core_power_down(struct sst_dsp *ctx, unsigned int core_mask) in cnl_dsp_core_power_down() 141 int cnl_dsp_enable_core(struct sst_dsp *ctx, unsigned int core_mask) in cnl_dsp_enable_core() 156 int cnl_dsp_disable_core(struct sst_dsp *ctx, unsigned int core_mask) in cnl_dsp_disable_core() 186 struct sst_dsp *ctx = dev_id; in cnl_dsp_sst_interrupt() [all …]
|
D | skl-sst-dsp.c | 22 void skl_dsp_set_state_locked(struct sst_dsp *ctx, int state) in skl_dsp_set_state_locked() 34 void skl_dsp_init_core_state(struct sst_dsp *ctx) in skl_dsp_init_core_state() 49 unsigned int skl_dsp_get_enabled_cores(struct sst_dsp *ctx) in skl_dsp_get_enabled_cores() 78 skl_dsp_core_set_reset_state(struct sst_dsp *ctx, unsigned int core_mask) in skl_dsp_core_set_reset_state() 106 struct sst_dsp *ctx, unsigned int core_mask) in skl_dsp_core_unset_reset_state() 135 is_skl_dsp_core_enable(struct sst_dsp *ctx, unsigned int core_mask) in is_skl_dsp_core_enable() 153 static int skl_dsp_reset_core(struct sst_dsp *ctx, unsigned int core_mask) in skl_dsp_reset_core() 164 int skl_dsp_start_core(struct sst_dsp *ctx, unsigned int core_mask) in skl_dsp_start_core() 188 int skl_dsp_core_power_up(struct sst_dsp *ctx, unsigned int core_mask) in skl_dsp_core_power_up() 216 int skl_dsp_core_power_down(struct sst_dsp *ctx, unsigned int core_mask) in skl_dsp_core_power_down() [all …]
|
D | cnl-sst-dsp.h | 11 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);
|
D | skl-sst-cldma.c | 17 static void skl_cldma_int_enable(struct sst_dsp *ctx) in skl_cldma_int_enable() 23 void skl_cldma_int_disable(struct sst_dsp *ctx) in skl_cldma_int_disable() 29 static void skl_cldma_stream_run(struct sst_dsp *ctx, bool enable) in skl_cldma_stream_run() 55 static void skl_cldma_stream_clear(struct sst_dsp *ctx) in skl_cldma_stream_clear() 77 static void skl_cldma_setup_bdle(struct sst_dsp *ctx, in skl_cldma_setup_bdle() 107 static void skl_cldma_setup_controller(struct sst_dsp *ctx, in skl_cldma_setup_controller() 129 static void skl_cldma_setup_spb(struct sst_dsp *ctx, in skl_cldma_setup_spb() 141 static void skl_cldma_cleanup_spb(struct sst_dsp *ctx) in skl_cldma_cleanup_spb() 151 static void skl_cldma_cleanup(struct sst_dsp *ctx) in skl_cldma_cleanup() 160 int skl_cldma_wait_interruptible(struct sst_dsp *ctx) in skl_cldma_wait_interruptible() [all …]
|
D | skl-sst-cldma.h | 193 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);
|
D | skl-sst-ipc.h | 15 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);
|
D | skl-sst.c | 33 static bool skl_check_fw_status(struct sst_dsp *ctx, u32 status) in skl_check_fw_status() 42 static int skl_transfer_firmware(struct sst_dsp *ctx, in skl_transfer_firmware() 66 static int skl_load_base_firmware(struct sst_dsp *ctx) in skl_load_base_firmware() 160 static int skl_set_dsp_D0(struct sst_dsp *ctx, unsigned int core_id) in skl_set_dsp_D0() 214 static int skl_set_dsp_D3(struct sst_dsp *ctx, unsigned int core_id) in skl_set_dsp_D3() 244 static unsigned int skl_get_errorcode(struct sst_dsp *ctx) in skl_get_errorcode() 253 static int skl_get_module(struct sst_dsp *ctx, u16 mod_id) in skl_get_module() 265 static int skl_put_module(struct sst_dsp *ctx, u16 mod_id) in skl_put_module() 277 static struct skl_module_table *skl_fill_module_table(struct sst_dsp *ctx, in skl_fill_module_table() 314 struct sst_dsp *ctx, u16 mod_id) in skl_module_get_from_id() [all …]
|
D | bxt-sst.c | 40 static unsigned int bxt_get_errorcode(struct sst_dsp *ctx) in bxt_get_errorcode() 46 bxt_load_library(struct sst_dsp *ctx, struct skl_lib_info *linfo, int lib_count) in bxt_load_library() 94 static int sst_bxt_prepare_fw(struct sst_dsp *ctx, in sst_bxt_prepare_fw() 167 static int sst_transfer_fw_host_dma(struct sst_dsp *ctx) in sst_transfer_fw_host_dma() 181 static int bxt_load_base_firmware(struct sst_dsp *ctx) in bxt_load_base_firmware() 266 static int bxt_d0i3_target_state(struct sst_dsp *ctx) in bxt_d0i3_target_state() 290 struct sst_dsp *ctx = skl->dsp; in bxt_set_dsp_D0i3() 329 static int bxt_schedule_dsp_D0i3(struct sst_dsp *ctx) in bxt_schedule_dsp_D0i3() 346 static int bxt_set_dsp_D0i0(struct sst_dsp *ctx) in bxt_set_dsp_D0i0() 387 static int bxt_set_dsp_D0(struct sst_dsp *ctx, unsigned int core_id) in bxt_set_dsp_D0() [all …]
|
D | cnl-sst.c | 46 static int cnl_prepare_fw(struct sst_dsp *ctx, const void *fwdata, u32 fwsize) in cnl_prepare_fw() 109 static int sst_transfer_fw_host_dma(struct sst_dsp *ctx) in sst_transfer_fw_host_dma() 124 static int cnl_load_base_firmware(struct sst_dsp *ctx) in cnl_load_base_firmware() 188 static int cnl_set_dsp_D0(struct sst_dsp *ctx, unsigned int core_id) in cnl_set_dsp_D0() 251 static int cnl_set_dsp_D3(struct sst_dsp *ctx, unsigned int core_id) in cnl_set_dsp_D3() 288 static unsigned int cnl_get_errno(struct sst_dsp *ctx) in cnl_get_errno() 314 struct sst_dsp *dsp = context; in cnl_dsp_irq_thread_handler() 399 static bool cnl_ipc_is_dsp_busy(struct sst_dsp *dsp) in cnl_ipc_is_dsp_busy() 440 struct sst_dsp *sst; in cnl_sst_dsp_init() 479 struct sst_dsp *sst = skl->dsp; in cnl_sst_init_fw()
|
D | skl-sst-ipc.c | 287 static bool skl_ipc_is_dsp_busy(struct sst_dsp *dsp) in skl_ipc_is_dsp_busy() 308 int skl_ipc_check_D0i0(struct sst_dsp *dsp, bool state) in skl_ipc_check_D0i0() 491 struct sst_dsp *dsp = context; in skl_dsp_irq_thread_handler() 558 void skl_ipc_int_enable(struct sst_dsp *ctx) in skl_ipc_int_enable() 564 void skl_ipc_int_disable(struct sst_dsp *ctx) in skl_ipc_int_disable() 570 void skl_ipc_op_int_enable(struct sst_dsp *ctx) in skl_ipc_op_int_enable() 581 void skl_ipc_op_int_disable(struct sst_dsp *ctx) in skl_ipc_op_int_disable() 593 bool skl_ipc_int_status(struct sst_dsp *ctx) in skl_ipc_int_status()
|
D | skl-sst-utils.c | 229 int snd_skl_parse_uuids(struct sst_dsp *ctx, const struct firmware *fw, in snd_skl_parse_uuids() 361 struct sst_dsp *sst; in skl_sst_ctx_init() 388 struct sst_dsp *dsp = skl->dsp; in skl_prepare_lib_load()
|
D | skl.h | 91 struct sst_dsp *dsp;
|
D | skl-debug.c | 177 struct sst_dsp *sst = d->skl->dsp; in fw_softreg_read()
|
/linux-5.19.10/sound/soc/intel/common/ |
D | sst-dsp.h | 15 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 *sst, u32 inbox_offset, [all …]
|
D | sst-dsp.c | 48 void sst_dsp_shim_write(struct sst_dsp *sst, u32 offset, u32 value) in sst_dsp_shim_write() 58 u32 sst_dsp_shim_read(struct sst_dsp *sst, u32 offset) in sst_dsp_shim_read() 71 void sst_dsp_shim_write_unlocked(struct sst_dsp *sst, u32 offset, u32 value) in sst_dsp_shim_write_unlocked() 77 u32 sst_dsp_shim_read_unlocked(struct sst_dsp *sst, u32 offset) in sst_dsp_shim_read_unlocked() 83 int sst_dsp_shim_update_bits_unlocked(struct sst_dsp *sst, u32 offset, in sst_dsp_shim_update_bits_unlocked() 104 void sst_dsp_shim_update_bits_forced_unlocked(struct sst_dsp *sst, u32 offset, in sst_dsp_shim_update_bits_forced_unlocked() 119 int sst_dsp_shim_update_bits(struct sst_dsp *sst, u32 offset, in sst_dsp_shim_update_bits() 133 void sst_dsp_shim_update_bits_forced(struct sst_dsp *sst, u32 offset, in sst_dsp_shim_update_bits_forced() 144 int sst_dsp_register_poll(struct sst_dsp *ctx, u32 offset, u32 mask, in sst_dsp_register_poll() 184 int sst_dsp_mailbox_init(struct sst_dsp *sst, u32 inbox_offset, size_t inbox_size, in sst_dsp_mailbox_init() [all …]
|
D | sst-ipc.h | 37 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;
|
D | sst-dsp-priv.h | 30 int (*init)(struct sst_dsp *sst); 31 void (*free)(struct sst_dsp *sst); 59 struct sst_dsp { struct
|