/Linux-v5.4/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 struct nhlt_specific_cfg *skl_get_ep_blob(struct skl_dev *skl, u32 instance, 172 int skl_nhlt_update_topology_bin(struct skl_dev *skl); 173 int skl_init_dsp(struct skl_dev *skl); 174 int skl_free_dsp(struct skl_dev *skl); [all …]
|
D | skl-sst-dsp.h | 20 struct skl_dev; 225 struct skl_dev **dsp); 228 struct skl_dev **dsp); 229 int skl_sst_init_fw(struct device *dev, struct skl_dev *skl); 230 int bxt_sst_init_fw(struct device *dev, struct skl_dev *skl); 231 void skl_sst_dsp_cleanup(struct device *dev, struct skl_dev *skl); 232 void bxt_sst_dsp_cleanup(struct device *dev, struct skl_dev *skl); 236 int skl_get_pvt_id(struct skl_dev *skl, guid_t *uuid_mod, int instance_id); 237 int skl_put_pvt_id(struct skl_dev *skl, guid_t *uuid_mod, int *pvt_id); 238 int skl_get_pvt_instance_id_map(struct skl_dev *skl, [all …]
|
D | skl-topology.h | 441 static inline struct skl_dev *get_skl_ctx(struct device *dev) in get_skl_ctx() 450 int skl_dsp_set_dma_control(struct skl_dev *skl, u32 *caps, 463 void skl_tplg_d0i3_get(struct skl_dev *skl, enum d0i3_capability caps); 464 void skl_tplg_d0i3_put(struct skl_dev *skl, enum d0i3_capability caps); 466 int skl_create_pipeline(struct skl_dev *skl, struct skl_pipe *pipe); 468 int skl_run_pipe(struct skl_dev *skl, struct skl_pipe *pipe); 470 int skl_pause_pipe(struct skl_dev *skl, struct skl_pipe *pipe); 472 int skl_delete_pipe(struct skl_dev *skl, struct skl_pipe *pipe); 474 int skl_stop_pipe(struct skl_dev *skl, struct skl_pipe *pipe); 476 int skl_reset_pipe(struct skl_dev *skl, struct skl_pipe *pipe); [all …]
|
D | skl.c | 55 static void skl_init_pci(struct skl_dev *skl) in skl_init_pci() 257 struct skl_dev *skl = bus_to_skl(bus); in skl_acquire_irq() 281 struct skl_dev *skl = bus_to_skl(bus); in skl_suspend_late() 289 struct skl_dev *skl = bus_to_skl(bus); in _skl_suspend() 312 struct skl_dev *skl = bus_to_skl(bus); in _skl_resume() 330 struct skl_dev *skl = bus_to_skl(bus); in skl_suspend() 360 struct skl_dev *skl = bus_to_skl(bus); in skl_resume() 435 struct skl_dev *skl = bus_to_skl(bus); in skl_free() 480 static struct snd_soc_acpi_mach *skl_find_hda_machine(struct skl_dev *skl, in skl_find_hda_machine() 499 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() 498 static u32 skl_get_node_id(struct skl_dev *skl, in skl_get_node_id() 555 static void skl_setup_cpr_gateway_cfg(struct skl_dev *skl, in skl_setup_cpr_gateway_cfg() 620 int skl_dsp_set_dma_control(struct skl_dev *skl, u32 *caps, in skl_dsp_set_dma_control() [all …]
|
D | bxt-sst.c | 52 struct skl_dev *skl = ctx->thread_context; in bxt_load_library() 187 struct skl_dev *skl = ctx->thread_context; in bxt_load_base_firmware() 271 struct skl_dev *skl = ctx->thread_context; in bxt_d0i3_target_state() 291 struct skl_dev *skl = container_of(work, in bxt_set_dsp_D0i3() 292 struct skl_dev, d0i3.work.work); in bxt_set_dsp_D0i3() 334 struct skl_dev *skl = ctx->thread_context; in bxt_schedule_dsp_D0i3() 353 struct skl_dev *skl = ctx->thread_context; in bxt_set_dsp_D0i0() 392 struct skl_dev *skl = ctx->thread_context; in bxt_set_dsp_D0() 489 struct skl_dev *skl = ctx->thread_context; in bxt_set_dsp_D3() 544 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() 514 static struct sst_dsp_device skl_dev = { variable 521 struct skl_dev **dsp) in skl_sst_dsp_init() 523 struct skl_dev *skl; in skl_sst_dsp_init() 527 ret = skl_sst_ctx_init(dev, irq, fw_name, dsp_ops, dsp, &skl_dev); in skl_sst_dsp_init() [all …]
|
D | cnl-sst.c | 111 struct skl_dev *cnl = ctx->thread_context; in cnl_load_base_firmware() 169 struct skl_dev *cnl = ctx->thread_context; in cnl_set_dsp_D0() 231 struct skl_dev *cnl = ctx->thread_context; in cnl_set_dsp_D3() 295 struct skl_dev *cnl = sst_dsp_get_thread_context(dsp); in cnl_dsp_irq_thread_handler() 388 static int cnl_ipc_init(struct device *dev, struct skl_dev *cnl) in cnl_ipc_init() 417 struct skl_dev **dsp) in cnl_sst_dsp_init() 419 struct skl_dev *cnl; in cnl_sst_dsp_init() 456 int cnl_sst_init_fw(struct device *dev, struct skl_dev *skl) in cnl_sst_init_fw() 475 void cnl_sst_dsp_cleanup(struct device *dev, struct skl_dev *skl) in cnl_sst_dsp_cleanup()
|
D | skl-nhlt.c | 82 *skl_get_ep_blob(struct skl_dev *skl, u32 instance, u8 link_type, in skl_get_ep_blob() 133 int skl_nhlt_update_topology_bin(struct skl_dev *skl) in skl_nhlt_update_topology_bin() 157 struct skl_dev *skl = bus_to_skl(bus); in skl_nhlt_platform_id_show() 171 int skl_nhlt_create_sysfs(struct skl_dev *skl) in skl_nhlt_create_sysfs() 181 void skl_nhlt_remove_sysfs(struct skl_dev *skl) in skl_nhlt_remove_sysfs() 193 static void skl_get_ssp_clks(struct skl_dev *skl, struct skl_ssp_clk *ssp_clks, in skl_get_ssp_clks() 291 static void skl_get_mclk(struct skl_dev *skl, struct skl_ssp_clk *mclk, in skl_get_mclk() 335 void skl_get_clks(struct skl_dev *skl, struct skl_ssp_clk *ssp_clks) in skl_get_clks()
|
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 | 49 void skl_tplg_d0i3_get(struct skl_dev *skl, enum d0i3_capability caps) in skl_tplg_d0i3_get() 68 void skl_tplg_d0i3_put(struct skl_dev *skl, enum d0i3_capability caps) in skl_tplg_d0i3_put() 113 static void skl_dump_mconfig(struct skl_dev *skl, struct skl_module_cfg *mcfg) in skl_dump_mconfig() 231 static void skl_tplg_update_buffer_size(struct skl_dev *skl, in skl_tplg_update_buffer_size() 283 struct skl_dev *skl) in skl_tplg_update_be_blob() 344 struct skl_dev *skl) in skl_tplg_update_module_params() 379 struct skl_dev *skl) in skl_tplg_set_module_params() 450 static int skl_tplg_module_prepare(struct skl_dev *skl, struct skl_pipe *pipe, in skl_tplg_module_prepare() 470 skl_tplg_init_pipe_modules(struct skl_dev *skl, struct skl_pipe *pipe) in skl_tplg_init_pipe_modules() 548 static int skl_tplg_unload_pipe_modules(struct skl_dev *skl, in skl_tplg_unload_pipe_modules() [all …]
|
D | skl-pcm.c | 119 struct skl_dev *skl = bus_to_skl(bus); in skl_set_suspend_active() 135 struct skl_dev *skl = bus_to_skl(bus); in skl_pcm_host_dma_prepare() 227 struct skl_dev *skl = get_skl_ctx(dai->dev); in skl_pcm_open() 274 struct skl_dev *skl = get_skl_ctx(dai->dev); in skl_pcm_prepare() 353 struct skl_dev *skl = bus_to_skl(bus); in skl_pcm_close() 390 struct skl_dev *skl = get_skl_ctx(dai->dev); in skl_pcm_hw_free() 474 struct skl_dev *skl = get_skl_ctx(dai->dev); in skl_pcm_trigger() 604 struct skl_dev *skl = get_skl_ctx(dai->dev); in skl_link_pcm_prepare() 1303 struct skl_dev *skl = bus_to_skl(bus); in skl_pcm_new() 1320 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; 216 struct skl_debug *skl_debugfs_init(struct skl_dev *skl) in skl_debugfs_init() 239 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 = sst_dsp_get_thread_context(dsp); 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()
|