/openbmc/linux/sound/soc/intel/skylake/ |
H A D | skl.h | 59 struct skl_dev { struct 160 struct skl_dev **skl_sst); 169 int skl_init_dsp(struct skl_dev *skl); 170 int skl_free_dsp(struct skl_dev *skl); 171 int skl_suspend_late_dsp(struct skl_dev *skl); 172 int skl_suspend_dsp(struct skl_dev *skl); 173 int skl_resume_dsp(struct skl_dev *skl); 174 void skl_cleanup_resources(struct skl_dev *skl); 177 int skl_nhlt_create_sysfs(struct skl_dev *skl); 178 void skl_nhlt_remove_sysfs(struct skl_dev *skl); [all …]
|
H A D | skl-sst-dsp.h | 20 struct skl_dev; 227 struct skl_dev **dsp); 230 struct skl_dev **dsp); 231 int skl_sst_init_fw(struct device *dev, struct skl_dev *skl); 232 int bxt_sst_init_fw(struct device *dev, struct skl_dev *skl); 233 void skl_sst_dsp_cleanup(struct device *dev, struct skl_dev *skl); 234 void bxt_sst_dsp_cleanup(struct device *dev, struct skl_dev *skl); 240 int skl_get_pvt_instance_id_map(struct skl_dev *skl, 242 void skl_freeup_uuid_list(struct skl_dev *skl); 249 struct skl_dsp_loader_ops dsp_ops, struct skl_dev **dsp, [all …]
|
H A D | skl-topology.h | 461 static inline struct skl_dev *get_skl_ctx(struct device *dev) in get_skl_ctx() 470 int skl_dsp_set_dma_control(struct skl_dev *skl, u32 *caps, 486 int skl_create_pipeline(struct skl_dev *skl, struct skl_pipe *pipe); 488 int skl_run_pipe(struct skl_dev *skl, struct skl_pipe *pipe); 490 int skl_pause_pipe(struct skl_dev *skl, struct skl_pipe *pipe); 492 int skl_delete_pipe(struct skl_dev *skl, struct skl_pipe *pipe); 494 int skl_stop_pipe(struct skl_dev *skl, struct skl_pipe *pipe); 496 int skl_reset_pipe(struct skl_dev *skl, struct skl_pipe *pipe); 500 int skl_bind_modules(struct skl_dev *skl, struct skl_module_cfg 503 int skl_unbind_modules(struct skl_dev *skl, struct skl_module_cfg [all …]
|
H A D | skl.c | 260 struct skl_dev *skl = bus_to_skl(bus); in skl_acquire_irq() 284 struct skl_dev *skl = bus_to_skl(bus); in skl_suspend_late() 292 struct skl_dev *skl = bus_to_skl(bus); in _skl_suspend() 315 struct skl_dev *skl = bus_to_skl(bus); in _skl_resume() 333 struct skl_dev *skl = bus_to_skl(bus); in skl_suspend() 363 struct skl_dev *skl = bus_to_skl(bus); in skl_resume() 805 struct skl_dev *skl = container_of(work, struct skl_dev, probe_work); in skl_probe_work() 870 struct skl_dev **rskl) in skl_create() 873 struct skl_dev *skl; in skl_create() 984 struct skl_dev *skl; in skl_probe() [all …]
|
H A D | skl-sst-utils.c | 101 int skl_get_pvt_instance_id_map(struct skl_dev *skl, in skl_get_pvt_instance_id_map() 172 int skl_get_pvt_id(struct skl_dev *skl, guid_t *uuid_mod, int instance_id) in skl_get_pvt_id() 202 int skl_put_pvt_id(struct skl_dev *skl, guid_t *uuid_mod, int *pvt_id) in skl_put_pvt_id() 236 struct skl_dev *skl = ctx->thread_context; in snd_skl_parse_uuids() 320 void skl_freeup_uuid_list(struct skl_dev *skl) in skl_freeup_uuid_list() 358 struct skl_dsp_loader_ops dsp_ops, struct skl_dev **dsp, in skl_sst_ctx_init() 359 struct sst_dsp_device *skl_dev) in skl_sst_ctx_init() argument 361 struct skl_dev *skl = *dsp; in skl_sst_ctx_init() 365 skl_dev->thread_context = skl; in skl_sst_ctx_init() 367 skl->dsp = skl_dsp_ctx_init(dev, skl_dev, irq); in skl_sst_ctx_init() [all …]
|
H A D | skl-messages.c | 249 int skl_init_dsp(struct skl_dev *skl) in skl_init_dsp() 314 int skl_free_dsp(struct skl_dev *skl) in skl_free_dsp() 339 int skl_suspend_late_dsp(struct skl_dev *skl) in skl_suspend_late_dsp() 358 int skl_suspend_dsp(struct skl_dev *skl) in skl_suspend_dsp() 378 int skl_resume_dsp(struct skl_dev *skl) in skl_resume_dsp() 565 static u32 skl_get_node_id(struct skl_dev *skl, in skl_get_node_id() 727 static void skl_setup_out_format(struct skl_dev *skl, in skl_setup_out_format() 754 static void skl_set_src_format(struct skl_dev *skl, in skl_set_src_format() 1024 int skl_init_module(struct skl_dev *skl, in skl_init_module() 1083 int skl_unbind_modules(struct skl_dev *skl, in skl_unbind_modules() [all …]
|
H A D | bxt-sst.c | 49 struct skl_dev *skl = ctx->thread_context; in bxt_load_library() 184 struct skl_dev *skl = ctx->thread_context; in bxt_load_base_firmware() 268 struct skl_dev *skl = ctx->thread_context; in bxt_d0i3_target_state() 288 struct skl_dev *skl = container_of(work, in bxt_set_dsp_D0i3() 289 struct skl_dev, d0i3.work.work); in bxt_set_dsp_D0i3() 331 struct skl_dev *skl = ctx->thread_context; in bxt_schedule_dsp_D0i3() 350 struct skl_dev *skl = ctx->thread_context; in bxt_set_dsp_D0i0() 389 struct skl_dev *skl = ctx->thread_context; in bxt_set_dsp_D0() 539 static struct sst_dsp_device skl_dev = { variable 546 struct skl_dev **dsp) in bxt_sst_dsp_init() [all …]
|
H A D | skl-sst.c | 69 struct skl_dev *skl = ctx->thread_context; in skl_load_base_firmware() 164 struct skl_dev *skl = ctx->thread_context; in skl_set_dsp_D0() 218 struct skl_dev *skl = ctx->thread_context; in skl_set_dsp_D3() 335 struct skl_dev *skl = ctx->thread_context; in skl_transfer_module() 387 struct skl_dev *skl = ctx->thread_context; in skl_load_library() 445 struct skl_dev *skl = ctx->thread_context; in skl_unload_module() 512 static struct sst_dsp_device skl_dev = { variable 519 struct skl_dev **dsp) in skl_sst_dsp_init() 521 struct skl_dev *skl; in skl_sst_dsp_init() 555 int skl_sst_init_fw(struct device *dev, struct skl_dev *skl) in skl_sst_init_fw() [all …]
|
H A D | skl-nhlt.c | 31 int skl_nhlt_update_topology_bin(struct skl_dev *skl) in skl_nhlt_update_topology_bin() 55 struct skl_dev *skl = bus_to_skl(bus); in platform_id_show() 69 int skl_nhlt_create_sysfs(struct skl_dev *skl) in skl_nhlt_create_sysfs() 79 void skl_nhlt_remove_sysfs(struct skl_dev *skl) in skl_nhlt_remove_sysfs() 92 static void skl_get_ssp_clks(struct skl_dev *skl, struct skl_ssp_clk *ssp_clks, in skl_get_ssp_clks() 204 static void skl_get_mclk(struct skl_dev *skl, struct skl_ssp_clk *mclk, in skl_get_mclk() 248 void skl_get_clks(struct skl_dev *skl, struct skl_ssp_clk *ssp_clks) in skl_get_clks()
|
H A D | cnl-sst-dsp.h | 99 struct skl_dev **dsp); 100 int cnl_sst_init_fw(struct device *dev, struct skl_dev *skl); 101 void cnl_sst_dsp_cleanup(struct device *dev, struct skl_dev *skl);
|
H A D | cnl-sst.c | 127 struct skl_dev *cnl = ctx->thread_context; in cnl_load_base_firmware() 190 struct skl_dev *cnl = ctx->thread_context; in cnl_set_dsp_D0() 253 struct skl_dev *cnl = ctx->thread_context; in cnl_set_dsp_D3() 315 struct skl_dev *cnl = dsp->thread_context; in cnl_dsp_irq_thread_handler() 408 static int cnl_ipc_init(struct device *dev, struct skl_dev *cnl) in cnl_ipc_init() 437 struct skl_dev **dsp) in cnl_sst_dsp_init() 439 struct skl_dev *cnl; in cnl_sst_dsp_init() 476 int cnl_sst_init_fw(struct device *dev, struct skl_dev *skl) in cnl_sst_init_fw() 495 void cnl_sst_dsp_cleanup(struct device *dev, struct skl_dev *skl) in cnl_sst_dsp_cleanup()
|
H A D | skl-topology.c | 284 struct skl_dev *skl) in skl_tplg_update_be_blob() 349 struct skl_dev *skl) in skl_tplg_update_module_params() 384 struct skl_dev *skl) in skl_tplg_set_module_params() 654 struct skl_dev *skl) in skl_tplg_mixer_dapm_pre_pmu_event() 926 struct skl_dev *skl, in skl_tplg_bind_sinks() 1026 struct skl_dev *skl) in skl_tplg_pga_dapm_pre_pmu_event() 1090 struct skl_dev *skl) in skl_tplg_mixer_dapm_post_pmu_event() 1142 struct skl_dev *skl) in skl_tplg_mixer_dapm_pre_pmd_event() 3150 struct skl_dev *skl) in skl_tplg_fill_str_mfest_tkn() 3179 struct skl_dev *skl) in skl_tplg_get_str_tkn() [all …]
|
H A D | skl-pcm.c | 114 struct skl_dev *skl = bus_to_skl(bus); in skl_set_suspend_active() 127 struct skl_dev *skl = bus_to_skl(bus); in skl_pcm_host_dma_prepare() 219 struct skl_dev *skl = get_skl_ctx(dai->dev); in skl_pcm_open() 268 struct skl_dev *skl = get_skl_ctx(dai->dev); in skl_pcm_prepare() 348 struct skl_dev *skl = bus_to_skl(bus); in skl_pcm_close() 384 struct skl_dev *skl = get_skl_ctx(dai->dev); in skl_pcm_hw_free() 1281 struct skl_dev *skl = bus_to_skl(bus); in skl_platform_soc_new() 1381 struct skl_dev *skl = bus_to_skl(bus); in skl_platform_soc_probe() 1438 struct skl_dev *skl = bus_to_skl(bus); in skl_platform_soc_remove() 1463 struct skl_dev *skl = bus_to_skl(bus); in skl_platform_register() [all …]
|
H A D | skl-sst-dsp.c | 36 struct skl_dev *skl = ctx->thread_context; in skl_dsp_init_core_state() 51 struct skl_dev *skl = ctx->thread_context; in skl_dsp_get_enabled_cores() 338 struct skl_dev *skl = ctx->thread_context; in skl_dsp_get_core() 367 struct skl_dev *skl = ctx->thread_context; in skl_dsp_put_core()
|
H A D | skl-debug.c | 23 struct skl_dev *skl; 218 struct skl_debug *skl_debugfs_init(struct skl_dev *skl) in skl_debugfs_init() 241 void skl_debugfs_exit(struct skl_dev *skl) in skl_debugfs_exit()
|
H A D | skl-sst-ipc.c | 348 struct skl_dev *skl = container_of(ipc, struct skl_dev, ipc); in skl_ipc_process_notification() 439 struct skl_dev *skl = container_of(ipc, struct skl_dev, ipc); in skl_ipc_process_reply() 492 struct skl_dev *skl = dsp->thread_context; in skl_dsp_irq_thread_handler() 599 int skl_ipc_init(struct device *dev, struct skl_dev *skl) in skl_ipc_init()
|
H A D | skl-sst-ipc.h | 160 int skl_ipc_init(struct device *dev, struct skl_dev *skl);
|
H A D | skl-ssp-clk.c | 105 static int skl_send_clk_dma_control(struct skl_dev *skl, in skl_send_clk_dma_control()
|