Home
last modified time | relevance | path

Searched refs:skl_sst (Results 1 – 17 of 17) sorted by relevance

/Linux-v4.19/sound/soc/intel/skylake/
Dskl-sst-dsp.h26 struct skl_sst;
233 struct skl_sst **dsp);
236 struct skl_sst **dsp);
237 int skl_sst_init_fw(struct device *dev, struct skl_sst *ctx);
238 int bxt_sst_init_fw(struct device *dev, struct skl_sst *ctx);
239 void skl_sst_dsp_cleanup(struct device *dev, struct skl_sst *ctx);
240 void bxt_sst_dsp_cleanup(struct device *dev, struct skl_sst *ctx);
244 int skl_get_pvt_id(struct skl_sst *ctx, uuid_le *uuid_mod, int instance_id);
245 int skl_put_pvt_id(struct skl_sst *ctx, uuid_le *uuid_mod, int *pvt_id);
246 int skl_get_pvt_instance_id_map(struct skl_sst *ctx,
[all …]
Dskl-messages.c58 void skl_dsp_set_astate_cfg(struct skl_sst *ctx, u32 cnt, void *data) in skl_dsp_set_astate_cfg()
73 void skl_dsp_enable_notification(struct skl_sst *ctx, bool enable) in skl_dsp_enable_notification()
294 &skl->skl_sst); in skl_init_dsp()
299 skl->skl_sst->dsp_ops = ops; in skl_init_dsp()
300 cores = &skl->skl_sst->cores; in skl_init_dsp()
332 struct skl_sst *ctx = skl->skl_sst; in skl_free_dsp()
357 struct skl_sst *ctx = skl->skl_sst; in skl_suspend_late_dsp()
377 struct skl_sst *ctx = skl->skl_sst; in skl_suspend_dsp()
398 struct skl_sst *ctx = skl->skl_sst; in skl_resume_dsp()
411 if (skl->skl_sst->is_first_boot == true) in skl_resume_dsp()
[all …]
Dskl.h85 struct skl_sst *skl_sst; /* sst skl ctx */ member
129 struct skl_sst **skl_sst);
130 int (*init_fw)(struct device *dev, struct skl_sst *ctx);
131 void (*cleanup)(struct device *dev, struct skl_sst *ctx);
157 int skl_dsp_set_dma_control(struct skl_sst *ctx, u32 *caps,
Dskl-topology.h468 int skl_dsp_set_dma_control(struct skl_sst *ctx, u32 *caps,
482 int skl_create_pipeline(struct skl_sst *ctx, struct skl_pipe *pipe);
484 int skl_run_pipe(struct skl_sst *ctx, struct skl_pipe *pipe);
486 int skl_pause_pipe(struct skl_sst *ctx, struct skl_pipe *pipe);
488 int skl_delete_pipe(struct skl_sst *ctx, struct skl_pipe *pipe);
490 int skl_stop_pipe(struct skl_sst *ctx, struct skl_pipe *pipe);
492 int skl_reset_pipe(struct skl_sst *ctx, struct skl_pipe *pipe);
494 int skl_init_module(struct skl_sst *ctx, struct skl_module_cfg *module_config);
496 int skl_bind_modules(struct skl_sst *ctx, struct skl_module_cfg
499 int skl_unbind_modules(struct skl_sst *ctx, struct skl_module_cfg
[all …]
Dcnl-sst-dsp.h20 struct skl_sst;
108 struct skl_sst **dsp);
109 int cnl_sst_init_fw(struct device *dev, struct skl_sst *ctx);
110 void cnl_sst_dsp_cleanup(struct device *dev, struct skl_sst *ctx);
Dbxt-sst.c60 struct skl_sst *skl = ctx->thread_context; in bxt_load_library()
195 struct skl_sst *skl = ctx->thread_context; in bxt_load_base_firmware()
279 struct skl_sst *skl = ctx->thread_context; in bxt_d0i3_target_state()
299 struct skl_sst *skl = container_of(work, in bxt_set_dsp_D0i3()
300 struct skl_sst, d0i3.work.work); in bxt_set_dsp_D0i3()
342 struct skl_sst *skl = ctx->thread_context; in bxt_schedule_dsp_D0i3()
361 struct skl_sst *skl = ctx->thread_context; in bxt_set_dsp_D0i0()
400 struct skl_sst *skl = ctx->thread_context; in bxt_set_dsp_D0()
497 struct skl_sst *skl = ctx->thread_context; in bxt_set_dsp_D3()
559 struct skl_sst **dsp) in bxt_sst_dsp_init()
[all …]
Dskl-sst-utils.c116 int skl_get_pvt_instance_id_map(struct skl_sst *ctx, in skl_get_pvt_instance_id_map()
187 int skl_get_pvt_id(struct skl_sst *ctx, uuid_le *uuid_mod, int instance_id) in skl_get_pvt_id()
217 int skl_put_pvt_id(struct skl_sst *ctx, uuid_le *uuid_mod, int *pvt_id) in skl_put_pvt_id()
252 struct skl_sst *skl = ctx->thread_context; in snd_skl_parse_uuids()
337 void skl_freeup_uuid_list(struct skl_sst *ctx) in skl_freeup_uuid_list()
375 struct skl_dsp_loader_ops dsp_ops, struct skl_sst **dsp, in skl_sst_ctx_init()
378 struct skl_sst *skl; in skl_sst_ctx_init()
407 int skl_prepare_lib_load(struct skl_sst *skl, struct skl_lib_info *linfo, in skl_prepare_lib_load()
Dcnl-sst.c120 struct skl_sst *cnl = ctx->thread_context; in cnl_load_base_firmware()
178 struct skl_sst *cnl = ctx->thread_context; in cnl_set_dsp_D0()
240 struct skl_sst *cnl = ctx->thread_context; in cnl_set_dsp_D3()
304 struct skl_sst *cnl = sst_dsp_get_thread_context(dsp); in cnl_dsp_irq_thread_handler()
397 static int cnl_ipc_init(struct device *dev, struct skl_sst *cnl) in cnl_ipc_init()
426 struct skl_sst **dsp) in cnl_sst_dsp_init()
428 struct skl_sst *cnl; in cnl_sst_dsp_init()
465 int cnl_sst_init_fw(struct device *dev, struct skl_sst *ctx) in cnl_sst_init_fw()
484 void cnl_sst_dsp_cleanup(struct device *dev, struct skl_sst *ctx) in cnl_sst_dsp_cleanup()
Dskl-sst.c77 struct skl_sst *skl = ctx->thread_context; in skl_load_base_firmware()
172 struct skl_sst *skl = ctx->thread_context; in skl_set_dsp_D0()
226 struct skl_sst *skl = ctx->thread_context; in skl_set_dsp_D3()
343 struct skl_sst *skl = ctx->thread_context; in skl_transfer_module()
395 struct skl_sst *skl = ctx->thread_context; in skl_load_library()
456 struct skl_sst *skl = ctx->thread_context; in skl_unload_module()
531 const char *fw_name, struct skl_dsp_loader_ops dsp_ops, struct skl_sst **dsp) in skl_sst_dsp_init()
533 struct skl_sst *skl; in skl_sst_dsp_init()
567 int skl_sst_init_fw(struct device *dev, struct skl_sst *ctx) in skl_sst_init_fw()
594 void skl_sst_dsp_cleanup(struct device *dev, struct skl_sst *ctx) in skl_sst_dsp_cleanup()
Dskl-pcm.c283 ret = skl_reset_pipe(skl->skl_sst, mconfig->pipe); in skl_pcm_prepare()
365 skl->skl_sst->miscbdcg_disabled) { in skl_pcm_close()
366 skl->skl_sst->enable_miscbdcge(dai->dev, true); in skl_pcm_close()
367 skl->skl_sst->miscbdcg_disabled = false; in skl_pcm_close()
391 ret = skl_reset_pipe(skl->skl_sst, mconfig->pipe); in skl_pcm_hw_free()
467 struct skl_sst *ctx = skl->skl_sst; in skl_pcm_trigger()
600 skl_reset_pipe(skl->skl_sst, mconfig->pipe); in skl_link_pcm_prepare()
1269 struct skl_sst *ctx = skl->skl_sst; in skl_get_module_info()
1342 dev_err(skl->skl_sst->dev, in skl_populate_modules()
1379 if (skl->skl_sst->is_first_boot == false) { in skl_platform_soc_probe()
[all …]
Dskl-topology.c58 struct skl_d0i3_data *d0i3 = &skl->skl_sst->d0i3; in skl_tplg_d0i3_get()
77 struct skl_d0i3_data *d0i3 = &skl->skl_sst->d0i3; in skl_tplg_d0i3_put()
127 struct skl_sst *ctx = skl->skl_sst; in skl_is_pipe_mem_avail()
166 struct skl_sst *ctx = skl->skl_sst; in skl_is_pipe_mcps_avail()
214 static void skl_dump_mconfig(struct skl_sst *ctx, in skl_dump_mconfig()
333 static void skl_tplg_update_buffer_size(struct skl_sst *ctx, in skl_tplg_update_buffer_size()
385 struct skl_sst *ctx) in skl_tplg_update_be_blob()
447 struct skl_sst *ctx) in skl_tplg_update_module_params()
482 struct skl_sst *ctx) in skl_tplg_set_module_params()
553 static int skl_tplg_module_prepare(struct skl_sst *ctx, struct skl_pipe *pipe, in skl_tplg_module_prepare()
[all …]
Dskl-sst-ipc.h23 struct skl_sst;
78 struct skl_sst { struct
215 int skl_ipc_init(struct device *dev, struct skl_sst *skl);
Dskl-sst-dsp.c44 struct skl_sst *skl = ctx->thread_context; in skl_dsp_init_core_state()
59 struct skl_sst *skl = ctx->thread_context; in skl_dsp_get_enabled_cores()
346 struct skl_sst *skl = ctx->thread_context; in skl_dsp_get_core()
375 struct skl_sst *skl = ctx->thread_context; in skl_dsp_put_core()
Dskl-sst-ipc.c353 struct skl_sst *skl = container_of(ipc, struct skl_sst, ipc); in skl_ipc_process_notification()
415 struct skl_sst *skl = container_of(ipc, struct skl_sst, ipc); in skl_ipc_process_reply()
471 struct skl_sst *skl = sst_dsp_get_thread_context(dsp); in skl_dsp_irq_thread_handler()
578 int skl_ipc_init(struct device *dev, struct skl_sst *skl) in skl_ipc_init()
Dskl.c329 skl->skl_sst->fw_loaded = false; in skl_suspend()
937 skl->skl_sst->enable_miscbdcge = skl_enable_miscbdcge; in skl_probe()
938 skl->skl_sst->clock_power_gating = skl_clock_power_gating; in skl_probe()
Dskl-debug.c183 struct sst_dsp *sst = d->skl->skl_sst->dsp; in fw_softreg_read()
Dskl-ssp-clk.c155 ret = skl_dsp_set_dma_control(skl->skl_sst, (u32 *)i2s_config, in skl_send_clk_dma_control()