/linux-6.3-rc2/sound/soc/intel/skylake/ |
A D | skl.c | 270 skl->pci->irq); in skl_acquire_irq() 504 skl->mach = mach; in skl_find_machine() 512 skl->nhlt); in skl_find_machine() 556 if (skl->i2s_dev) in skl_machine_device_unregister() 627 if (!skl->nhlt) in skl_clock_device_register() 884 skl = devm_kzalloc(&pci->dev, sizeof(*skl), GFP_KERNEL); in skl_create() 885 if (!skl) { in skl_create() 901 skl->pci = pci; in skl_create() 910 *rskl = skl; in skl_create() 1087 if (skl->nhlt) in skl_probe() [all …]
|
A D | bxt-sst.c | 55 ret = skl_prepare_lib_load(skl, &skl->lib_info[i], &stripped_fw, in bxt_load_library() 232 ret = wait_event_timeout(skl->boot_wait, skl->boot_complete, in bxt_load_base_firmware() 323 skl->update_d0i3c(skl->dev, true); in bxt_set_dsp_D0i3() 373 skl->update_d0i3c(skl->dev, false); in bxt_set_dsp_D0i0() 404 skl->lib_count); in bxt_set_dsp_D0() 548 struct skl_dev *skl; in bxt_sst_dsp_init() local 558 skl = *dsp; in bxt_sst_dsp_init() 559 sst = skl->dsp; in bxt_sst_dsp_init() 619 skl_release_library(skl->lib_info, skl->lib_count); in bxt_sst_dsp_cleanup() 620 if (skl->dsp->fw) in bxt_sst_dsp_cleanup() [all …]
|
A D | Makefile | 2 snd-soc-skl-objs := skl.o skl-pcm.o skl-nhlt.o skl-messages.o skl-topology.o \ 3 skl-sst-ipc.o skl-sst-dsp.o cnl-sst-dsp.o skl-sst-cldma.o \ 4 skl-sst.o bxt-sst.o cnl-sst.o skl-sst-utils.o 7 snd-soc-skl-objs += skl-debug.o 10 obj-$(CONFIG_SND_SOC_INTEL_SKYLAKE_COMMON) += snd-soc-skl.o 13 snd-soc-skl-ssp-clk-objs := skl-ssp-clk.o 15 obj-$(CONFIG_SND_SOC_INTEL_SKYLAKE_SSP_CLK) += snd-soc-skl-ssp-clk.o
|
A D | skl-messages.c | 279 &skl); in skl_init_dsp() 284 skl->dsp_ops = ops; in skl_init_dsp() 285 cores = &skl->cores; in skl_init_dsp() 321 skl->dsp_ops->cleanup(bus->dev, skl); in skl_free_dsp() 326 if (skl->dsp->addr.lpe) in skl_free_dsp() 343 if (!skl) in skl_suspend_late_dsp() 399 skl->enable_miscbdcge(skl->dev, false); in skl_resume_dsp() 400 skl->clock_power_gating(skl->dev, false); in skl_resume_dsp() 403 skl->enable_miscbdcge(skl->dev, true); in skl_resume_dsp() 404 skl->clock_power_gating(skl->dev, true); in skl_resume_dsp() [all …]
|
A D | skl-sst.c | 139 ret = wait_event_timeout(skl->boot_wait, skl->boot_complete, in skl_load_base_firmware() 148 skl->fw_loaded = true; in skl_load_base_firmware() 178 skl->lib_count); in skl_set_dsp_D0() 371 ret = wait_event_timeout(skl->mod_load_wait, skl->mod_load_complete, in skl_transfer_module() 393 ret = skl_prepare_lib_load(skl, &skl->lib_info[i], &stripped_fw, in skl_load_library() 521 struct skl_dev *skl; in skl_sst_dsp_init() local 531 skl = *dsp; in skl_sst_dsp_init() 532 sst = skl->dsp; in skl_sst_dsp_init() 585 if (skl->dsp->fw) in skl_sst_dsp_cleanup() 590 skl->dsp->ops->free(skl->dsp); in skl_sst_dsp_cleanup() [all …]
|
A D | skl-topology.c | 331 cfg = intel_nhlt_get_endpoint_blob(skl->dev, skl->nhlt, m_cfg->vbus_id, in skl_tplg_update_be_blob() 492 dev_err(skl->dev, in skl_tplg_init_pipe_modules() 503 ret = skl->dsp->fw_ops.load_mod(skl->dsp, in skl_tplg_init_pipe_modules() 566 ret = skl->dsp->fw_ops.unload_mod(skl->dsp, in skl_tplg_unload_pipe_modules() 883 dev_err(skl->dev, in skl_tplg_add_moduleid_in_bind_params() 939 dev_dbg(skl->dev, in skl_tplg_bind_sinks() 941 dev_dbg(skl->dev, in skl_tplg_bind_sinks() 2645 skl, mconfig); in skl_tplg_get_tokens() 3298 if (skl->modules) { in skl_tplg_get_int_tkn() 3311 skl->modules = devm_kcalloc(dev, skl->nr_modules, in skl_tplg_get_int_tkn() [all …]
|
A D | skl.h | 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); 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); 187 struct skl_debug *skl_debugfs_init(struct skl_dev *skl); [all …]
|
A D | skl-sst-utils.c | 315 skl_freeup_uuid_list(skl); in snd_skl_parse_uuids() 360 struct skl_dev *skl = *dsp; in skl_sst_ctx_init() local 363 skl->dev = dev; in skl_sst_ctx_init() 364 skl_dev->thread_context = skl; in skl_sst_ctx_init() 365 INIT_LIST_HEAD(&skl->uuid_list); in skl_sst_ctx_init() 367 if (!skl->dsp) { in skl_sst_ctx_init() 372 sst = skl->dsp; in skl_sst_ctx_init() 378 skl->is_first_boot = true; in skl_sst_ctx_init() 388 struct sst_dsp *dsp = skl->dsp; in skl_prepare_lib_load() 392 skl->dev); in skl_prepare_lib_load() [all …]
|
A D | skl-nhlt.c | 34 struct hdac_bus *bus = skl_to_bus(skl); in skl_nhlt_update_topology_bin() 41 snprintf(skl->tplg_name, sizeof(skl->tplg_name), "%x-%.6s-%.8s-%d%s", in skl_nhlt_update_topology_bin() 45 skl_nhlt_trim_space(skl->tplg_name); in skl_nhlt_update_topology_bin() 55 struct skl_dev *skl = bus_to_skl(bus); in platform_id_show() local 69 int skl_nhlt_create_sysfs(struct skl_dev *skl) in skl_nhlt_create_sysfs() argument 71 struct device *dev = &skl->pci->dev; in skl_nhlt_create_sysfs() 79 void skl_nhlt_remove_sysfs(struct skl_dev *skl) in skl_nhlt_remove_sysfs() argument 81 struct device *dev = &skl->pci->dev; in skl_nhlt_remove_sysfs() 83 if (skl->nhlt) in skl_nhlt_remove_sysfs() 264 skl_get_ssp_clks(skl, ssp_clks, fmt, id); in skl_get_clks() [all …]
|
A D | skl-sst-dsp.c | 36 struct skl_dev *skl = ctx->thread_context; in skl_dsp_init_core_state() local 43 skl->cores.state[i] = SKL_DSP_RESET; in skl_dsp_init_core_state() 44 skl->cores.usage_count[i] = 0; in skl_dsp_init_core_state() 341 if (core_id >= skl->cores.count) { in skl_dsp_get_core() 346 skl->cores.usage_count[core_id]++; in skl_dsp_get_core() 358 core_id, skl->cores.state[core_id], in skl_dsp_get_core() 359 skl->cores.usage_count[core_id]); in skl_dsp_get_core() 370 if (core_id >= skl->cores.count) { in skl_dsp_put_core() 381 skl->cores.usage_count[core_id]++; in skl_dsp_put_core() 386 core_id, skl->cores.state[core_id], in skl_dsp_put_core() [all …]
|
A D | skl-pcm.c | 118 skl->supend_active++; in skl_set_suspend_active() 120 skl->supend_active--; in skl_set_suspend_active() 155 if (IS_BXT(skl->pci)) { in skl_pcm_host_dma_prepare() 1363 dev_err(skl->dev, in skl_populate_modules() 1390 skl->debugfs = skl_debugfs_init(skl); in skl_platform_soc_probe() 1423 skl->cfg.astate_cfg); in skl_platform_soc_probe() 1439 skl_debugfs_exit(skl); in skl_platform_soc_remove() 1464 if (!skl->dais) { in skl_platform_register() 1469 if (!skl->use_tplg_pcm) { in skl_platform_register() 1477 skl->dais = dais; in skl_platform_register() [all …]
|
A D | skl-sst-dsp.h | 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, 242 void skl_freeup_uuid_list(struct skl_dev *skl); 246 void skl_dsp_set_astate_cfg(struct skl_dev *skl, u32 cnt, void *data); 251 int skl_prepare_lib_load(struct skl_dev *skl, struct skl_lib_info *linfo,
|
A D | skl-topology.h | 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 506 int skl_set_module_params(struct skl_dev *skl, u32 *params, int size, [all …]
|
A D | skl-debug.c | 23 struct skl_dev *skl; member 177 struct sst_dsp *sst = d->skl->dsp; in fw_softreg_read() 218 struct skl_debug *skl_debugfs_init(struct skl_dev *skl) in skl_debugfs_init() argument 222 d = devm_kzalloc(&skl->pci->dev, sizeof(*d), GFP_KERNEL); in skl_debugfs_init() 227 d->fs = debugfs_create_dir("dsp", skl->component->debugfs_root); in skl_debugfs_init() 229 d->skl = skl; in skl_debugfs_init() 230 d->dev = &skl->pci->dev; in skl_debugfs_init() 241 void skl_debugfs_exit(struct skl_dev *skl) in skl_debugfs_exit() argument 243 struct skl_debug *d = skl->debugfs; in skl_debugfs_exit()
|
A D | cnl-sst.c | 476 int cnl_sst_init_fw(struct device *dev, struct skl_dev *skl) in cnl_sst_init_fw() argument 479 struct sst_dsp *sst = skl->dsp; in cnl_sst_init_fw() 481 ret = skl->dsp->fw_ops.load_fw(sst); in cnl_sst_init_fw() 489 skl->is_first_boot = false; in cnl_sst_init_fw() 495 void cnl_sst_dsp_cleanup(struct device *dev, struct skl_dev *skl) in cnl_sst_dsp_cleanup() argument 497 if (skl->dsp->fw) in cnl_sst_dsp_cleanup() 498 release_firmware(skl->dsp->fw); in cnl_sst_dsp_cleanup() 500 skl_freeup_uuid_list(skl); in cnl_sst_dsp_cleanup() 501 cnl_ipc_free(&skl->ipc); in cnl_sst_dsp_cleanup() 503 skl->dsp->ops->free(skl->dsp); in cnl_sst_dsp_cleanup()
|
A D | skl-sst-ipc.c | 363 skl->boot_complete = true; in skl_ipc_process_notification() 364 wake_up(&skl->boot_wait); in skl_ipc_process_notification() 377 skl->miscbdcg_disabled = true; in skl_ipc_process_notification() 459 skl->mod_load_complete = true; in skl_ipc_process_reply() 460 skl->mod_load_status = true; in skl_ipc_process_reply() 461 wake_up(&skl->mod_load_wait); in skl_ipc_process_reply() 473 skl->mod_load_complete = true; in skl_ipc_process_reply() 474 skl->mod_load_status = false; in skl_ipc_process_reply() 475 wake_up(&skl->mod_load_wait); in skl_ipc_process_reply() 604 ipc = &skl->ipc; in skl_ipc_init() [all …]
|
A D | cnl-sst-dsp.h | 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);
|
A D | skl-ssp-clk.c | 105 static int skl_send_clk_dma_control(struct skl_dev *skl, in skl_send_clk_dma_control() argument 156 ret = skl_dsp_set_dma_control(skl, (u32 *)i2s_config, in skl_send_clk_dma_control()
|
/linux-6.3-rc2/sound/soc/sof/intel/ |
A D | Makefile | 9 skl.o hda-loader-skl.o \ 25 snd-sof-pci-intel-skl-objs := pci-skl.o 33 obj-$(CONFIG_SND_SOC_SOF_INTEL_SKL) += snd-sof-pci-intel-skl.o
|
/linux-6.3-rc2/drivers/edac/ |
A D | ie31200_edac.c | 177 #define IE31200_PAGES(n, skl) \ argument 178 (n << (28 + (2 * skl) - PAGE_SHIFT)) 395 bool skl) in populate_dimm_info() argument 397 if (skl) in populate_dimm_info() 418 bool skl = DEVICE_ID_SKYLAKE_OR_LATER(pdev->device); in ie31200_probe1() local 447 if (skl) in ie31200_probe1() 460 if (skl) { in ie31200_probe1() 477 skl); in ie31200_probe1() 496 nr_pages = IE31200_PAGES(dimm_info[j][i].size, skl); in ie31200_probe1() 506 if (skl) in ie31200_probe1() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/i915/display/ |
A D | skl_watermark.c | 1472 memset(crtc_state->wm.skl.plane_ddb, 0, sizeof(crtc_state->wm.skl.plane_ddb)); in skl_crtc_allocate_plane_ddb() 1473 memset(crtc_state->wm.skl.plane_ddb_y, 0, sizeof(crtc_state->wm.skl.plane_ddb_y)); in skl_crtc_allocate_plane_ddb() 1543 &crtc_state->wm.skl.plane_ddb[plane_id]; in skl_crtc_allocate_plane_ddb() 2214 crtc_state->wm.skl.optimal = crtc_state->wm.skl.raw; in skl_build_pipe_wm() 2256 &crtc_state->wm.skl.plane_ddb[plane_id]; in skl_write_plane_wm() 2293 &crtc_state->wm.skl.plane_ddb[plane_id]; in skl_write_cursor_wm() 2749 &old_crtc_state->wm.skl.optimal, in skl_wm_add_affected_planes() 2750 &new_crtc_state->wm.skl.optimal)) in skl_wm_add_affected_planes() 2876 memset(&crtc_state->wm.skl.optimal, 0, in skl_wm_get_hw_state() 2880 crtc_state->wm.skl.raw = crtc_state->wm.skl.optimal; in skl_wm_get_hw_state() [all …]
|
A D | intel_atomic_plane.c | 736 if (skl_ddb_allocation_overlaps(&crtc_state->wm.skl.plane_ddb[plane_id], in skl_next_plane_to_commit() 738 skl_ddb_allocation_overlaps(&crtc_state->wm.skl.plane_ddb_y[plane_id], in skl_next_plane_to_commit() 743 ddb[plane_id] = crtc_state->wm.skl.plane_ddb[plane_id]; in skl_next_plane_to_commit() 744 ddb_y[plane_id] = crtc_state->wm.skl.plane_ddb_y[plane_id]; in skl_next_plane_to_commit() 831 memcpy(ddb, old_crtc_state->wm.skl.plane_ddb, in skl_crtc_planes_update_arm() 832 sizeof(old_crtc_state->wm.skl.plane_ddb)); in skl_crtc_planes_update_arm() 833 memcpy(ddb_y, old_crtc_state->wm.skl.plane_ddb_y, in skl_crtc_planes_update_arm() 834 sizeof(old_crtc_state->wm.skl.plane_ddb_y)); in skl_crtc_planes_update_arm()
|
/linux-6.3-rc2/sound/soc/intel/avs/ |
A D | Makefile | 6 snd-soc-avs-objs += skl.o apl.o
|
A D | skl.c | 119 AVS_SET_ENABLE_LOGS_OP(skl)
|
/linux-6.3-rc2/sound/soc/intel/common/ |
A D | Makefile | 6 soc-acpi-intel-skl-match.o soc-acpi-intel-kbl-match.o \
|