/linux-5.19.10/sound/soc/intel/skylake/ |
D | skl.h | 59 struct skl_dev { struct 138 #define bus_to_skl(bus) container_of(bus, struct skl_dev, hbus.core) argument 141 #define hbus_to_skl(hbus) container_of((hbus), struct skl_dev, (hbus)) 160 struct skl_dev **skl_sst); 161 int (*init_fw)(struct device *dev, struct skl_dev *skl); 162 void (*cleanup)(struct device *dev, struct skl_dev *skl); 168 int skl_nhlt_update_topology_bin(struct skl_dev *skl); 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); [all …]
|
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); 238 int skl_get_pvt_id(struct skl_dev *skl, guid_t *uuid_mod, int instance_id); 239 int skl_put_pvt_id(struct skl_dev *skl, guid_t *uuid_mod, int *pvt_id); 240 int skl_get_pvt_instance_id_map(struct skl_dev *skl, [all …]
|
D | skl-topology.h | 459 static inline struct skl_dev *get_skl_ctx(struct device *dev) in get_skl_ctx() 468 int skl_dsp_set_dma_control(struct skl_dev *skl, u32 *caps, 481 void skl_tplg_d0i3_get(struct skl_dev *skl, enum d0i3_capability caps); 482 void skl_tplg_d0i3_put(struct skl_dev *skl, enum d0i3_capability caps); 484 int skl_create_pipeline(struct skl_dev *skl, struct skl_pipe *pipe); 486 int skl_run_pipe(struct skl_dev *skl, struct skl_pipe *pipe); 488 int skl_pause_pipe(struct skl_dev *skl, struct skl_pipe *pipe); 490 int skl_delete_pipe(struct skl_dev *skl, struct skl_pipe *pipe); 492 int skl_stop_pipe(struct skl_dev *skl, struct skl_pipe *pipe); 494 int skl_reset_pipe(struct skl_dev *skl, struct skl_pipe *pipe); [all …]
|
D | skl.c | 56 static void skl_init_pci(struct skl_dev *skl) in skl_init_pci() 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() 438 struct skl_dev *skl = bus_to_skl(bus); in skl_free() 483 static struct snd_soc_acpi_mach *skl_find_hda_machine(struct skl_dev *skl, in skl_find_hda_machine() 497 static int skl_find_machine(struct skl_dev *skl, void *driver_data) in skl_find_machine() [all …]
|
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() 319 void skl_freeup_uuid_list(struct skl_dev *skl) in skl_freeup_uuid_list() 357 struct skl_dsp_loader_ops dsp_ops, struct skl_dev **dsp, in skl_sst_ctx_init() 358 struct sst_dsp_device *skl_dev) in skl_sst_ctx_init() argument 360 struct skl_dev *skl = *dsp; in skl_sst_ctx_init() 364 skl_dev->thread_context = skl; in skl_sst_ctx_init() 366 skl->dsp = skl_dsp_ctx_init(dev, skl_dev, irq); in skl_sst_ctx_init() [all …]
|
D | skl-messages.c | 39 void skl_dsp_set_astate_cfg(struct skl_dev *skl, u32 cnt, void *data) in skl_dsp_set_astate_cfg() 251 int skl_init_dsp(struct skl_dev *skl) in skl_init_dsp() 316 int skl_free_dsp(struct skl_dev *skl) in skl_free_dsp() 341 int skl_suspend_late_dsp(struct skl_dev *skl) in skl_suspend_late_dsp() 360 int skl_suspend_dsp(struct skl_dev *skl) in skl_suspend_dsp() 380 int skl_resume_dsp(struct skl_dev *skl) in skl_resume_dsp() 444 static void skl_set_base_module_format(struct skl_dev *skl, in skl_set_base_module_format() 493 static void skl_set_base_ext_module_format(struct skl_dev *skl, in skl_set_base_ext_module_format() 567 static u32 skl_get_node_id(struct skl_dev *skl, in skl_get_node_id() 624 static void skl_setup_cpr_gateway_cfg(struct skl_dev *skl, in skl_setup_cpr_gateway_cfg() [all …]
|
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() 486 struct skl_dev *skl = ctx->thread_context; in bxt_set_dsp_D3() 539 static struct sst_dsp_device skl_dev = { variable [all …]
|
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() 525 ret = skl_sst_ctx_init(dev, irq, fw_name, dsp_ops, dsp, &skl_dev); in skl_sst_dsp_init() [all …]
|
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()
|
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()
|
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);
|
D | skl-topology.c | 50 void skl_tplg_d0i3_get(struct skl_dev *skl, enum d0i3_capability caps) in skl_tplg_d0i3_get() 69 void skl_tplg_d0i3_put(struct skl_dev *skl, enum d0i3_capability caps) in skl_tplg_d0i3_put() 114 static void skl_dump_mconfig(struct skl_dev *skl, struct skl_module_cfg *mcfg) in skl_dump_mconfig() 232 static void skl_tplg_update_buffer_size(struct skl_dev *skl, in skl_tplg_update_buffer_size() 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() 457 static int skl_tplg_module_prepare(struct skl_dev *skl, struct skl_pipe *pipe, in skl_tplg_module_prepare() 477 skl_tplg_init_pipe_modules(struct skl_dev *skl, struct skl_pipe *pipe) in skl_tplg_init_pipe_modules() 553 static int skl_tplg_unload_pipe_modules(struct skl_dev *skl, in skl_tplg_unload_pipe_modules() [all …]
|
D | skl-pcm.c | 113 struct skl_dev *skl = bus_to_skl(bus); in skl_set_suspend_active() 126 struct skl_dev *skl = bus_to_skl(bus); in skl_pcm_host_dma_prepare() 218 struct skl_dev *skl = get_skl_ctx(dai->dev); in skl_pcm_open() 265 struct skl_dev *skl = get_skl_ctx(dai->dev); in skl_pcm_prepare() 345 struct skl_dev *skl = bus_to_skl(bus); in skl_pcm_close() 381 struct skl_dev *skl = get_skl_ctx(dai->dev); in skl_pcm_hw_free() 466 struct skl_dev *skl = get_skl_ctx(dai->dev); in skl_pcm_trigger() 590 struct skl_dev *skl = get_skl_ctx(dai->dev); in skl_link_pcm_prepare() 1279 struct skl_dev *skl = bus_to_skl(bus); in skl_platform_soc_new() 1296 static int skl_get_module_info(struct skl_dev *skl, in skl_get_module_info() [all …]
|
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()
|
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()
|
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()
|
D | skl-sst-ipc.h | 160 int skl_ipc_init(struct device *dev, struct skl_dev *skl);
|
D | skl-ssp-clk.c | 105 static int skl_send_clk_dma_control(struct skl_dev *skl, in skl_send_clk_dma_control()
|