| /linux/sound/soc/intel/skylake/ |
| A D | skl.c | 270 skl->pci->irq); in skl_acquire_irq() 513 skl->mach = mach; in skl_find_machine() 521 skl->nhlt); in skl_find_machine() 565 if (skl->i2s_dev) in skl_machine_device_unregister() 636 if (!skl->nhlt) in skl_clock_device_register() 874 skl = devm_kzalloc(&pci->dev, sizeof(*skl), GFP_KERNEL); in skl_create() 875 if (!skl) { in skl_create() 891 skl->pci = pci; in skl_create() 900 *rskl = skl; in skl_create() 1076 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 | skl-messages.c | 281 &skl); in skl_init_dsp() 286 skl->dsp_ops = ops; in skl_init_dsp() 287 cores = &skl->cores; in skl_init_dsp() 323 skl->dsp_ops->cleanup(bus->dev, skl); in skl_free_dsp() 328 if (skl->dsp->addr.lpe) in skl_free_dsp() 345 if (!skl) in skl_suspend_late_dsp() 401 skl->enable_miscbdcge(skl->dev, false); in skl_resume_dsp() 402 skl->clock_power_gating(skl->dev, false); in skl_resume_dsp() 405 skl->enable_miscbdcge(skl->dev, true); in skl_resume_dsp() 406 skl->clock_power_gating(skl->dev, true); in skl_resume_dsp() [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-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 | 488 dev_err(skl->dev, in skl_tplg_init_pipe_modules() 499 ret = skl->dsp->fw_ops.load_mod(skl->dsp, in skl_tplg_init_pipe_modules() 562 ret = skl->dsp->fw_ops.unload_mod(skl->dsp, in skl_tplg_unload_pipe_modules() 917 dev_err(skl->dev, in skl_tplg_add_moduleid_in_bind_params() 973 dev_dbg(skl->dev, in skl_tplg_bind_sinks() 975 dev_dbg(skl->dev, in skl_tplg_bind_sinks() 2676 skl, mconfig); in skl_tplg_get_tokens() 3332 if (skl->modules) { in skl_tplg_get_int_tkn() 3345 skl->modules = devm_kcalloc(dev, skl->nr_modules, in skl_tplg_get_int_tkn() 3347 if (!skl->modules) in skl_tplg_get_int_tkn() [all …]
|
| A D | skl.h | 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); 175 int skl_suspend_late_dsp(struct skl_dev *skl); 176 int skl_suspend_dsp(struct skl_dev *skl); 177 int skl_resume_dsp(struct skl_dev *skl); 178 void skl_cleanup_resources(struct skl_dev *skl); 181 int skl_nhlt_create_sysfs(struct skl_dev *skl); 182 void skl_nhlt_remove_sysfs(struct skl_dev *skl); 191 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 | 88 struct hdac_bus *bus = skl_to_bus(skl); in skl_get_ep_blob() 91 struct nhlt_acpi_table *nhlt = skl->nhlt; in skl_get_ep_blob() 136 struct hdac_bus *bus = skl_to_bus(skl); in skl_nhlt_update_topology_bin() 143 snprintf(skl->tplg_name, sizeof(skl->tplg_name), "%x-%.6s-%.8s-%d%s", in skl_nhlt_update_topology_bin() 147 skl_nhlt_trim_space(skl->tplg_name); in skl_nhlt_update_topology_bin() 157 struct skl_dev *skl = bus_to_skl(bus); in platform_id_show() local 173 struct device *dev = &skl->pci->dev; in skl_nhlt_create_sysfs() 183 struct device *dev = &skl->pci->dev; in skl_nhlt_remove_sysfs() 185 if (skl->nhlt) in skl_nhlt_remove_sysfs() 352 skl_get_ssp_clks(skl, ssp_clks, fmt, id); in skl_get_clks() [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() 1365 dev_err(skl->dev, in skl_populate_modules() 1389 skl->debugfs = skl_debugfs_init(skl); in skl_platform_soc_probe() 1422 skl->cfg.astate_cfg); in skl_platform_soc_probe() 1438 skl_debugfs_exit(skl); in skl_platform_soc_remove() 1463 if (!skl->dais) { in skl_platform_register() 1468 if (!skl->use_tplg_pcm) { in skl_platform_register() 1476 skl->dais = dais; in skl_platform_register() [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-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 | 467 int skl_dsp_set_dma_control(struct skl_dev *skl, u32 *caps, 483 int skl_create_pipeline(struct skl_dev *skl, struct skl_pipe *pipe); 485 int skl_run_pipe(struct skl_dev *skl, struct skl_pipe *pipe); 487 int skl_pause_pipe(struct skl_dev *skl, struct skl_pipe *pipe); 489 int skl_delete_pipe(struct skl_dev *skl, struct skl_pipe *pipe); 491 int skl_stop_pipe(struct skl_dev *skl, struct skl_pipe *pipe); 493 int skl_reset_pipe(struct skl_dev *skl, struct skl_pipe *pipe); 497 int skl_bind_modules(struct skl_dev *skl, struct skl_module_cfg 500 int skl_unbind_modules(struct skl_dev *skl, struct skl_module_cfg 503 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()
|
| A D | skl-sst-ipc.h | 160 int skl_ipc_init(struct device *dev, struct skl_dev *skl);
|
| /linux/drivers/edac/ |
| A D | ie31200_edac.c | 169 #define IE31200_PAGES(n, skl) \ argument 170 (n << (28 + (2 * skl) - PAGE_SHIFT)) 387 bool skl) in populate_dimm_info() argument 389 if (skl) in populate_dimm_info() 410 bool skl = DEVICE_ID_SKYLAKE_OR_LATER(pdev->device); in ie31200_probe1() local 439 if (skl) in ie31200_probe1() 452 if (skl) { in ie31200_probe1() 469 skl); in ie31200_probe1() 488 nr_pages = IE31200_PAGES(dimm_info[j][i].size, skl); in ie31200_probe1() 498 if (skl) in ie31200_probe1() [all …]
|
| /linux/drivers/gpu/drm/i915/display/ |
| A D | intel_atomic_plane.c | 451 if (skl_ddb_allocation_overlaps(&crtc_state->wm.skl.plane_ddb_y[plane_id], in skl_next_plane_to_commit() 454 skl_ddb_allocation_overlaps(&crtc_state->wm.skl.plane_ddb_uv[plane_id], in skl_next_plane_to_commit() 460 entries_y[plane_id] = crtc_state->wm.skl.plane_ddb_y[plane_id]; in skl_next_plane_to_commit() 461 entries_uv[plane_id] = crtc_state->wm.skl.plane_ddb_uv[plane_id]; in skl_next_plane_to_commit() 507 memcpy(entries_y, old_crtc_state->wm.skl.plane_ddb_y, in skl_update_planes_on_crtc() 508 sizeof(old_crtc_state->wm.skl.plane_ddb_y)); in skl_update_planes_on_crtc() 509 memcpy(entries_uv, old_crtc_state->wm.skl.plane_ddb_uv, in skl_update_planes_on_crtc() 510 sizeof(old_crtc_state->wm.skl.plane_ddb_uv)); in skl_update_planes_on_crtc()
|
| A D | intel_bw.c | 564 &crtc_state->wm.skl.plane_ddb_y[plane_id]; in skl_bw_calc_min_cdclk() 566 &crtc_state->wm.skl.plane_ddb_uv[plane_id]; in skl_bw_calc_min_cdclk()
|
| /linux/drivers/gpu/drm/i915/ |
| A D | intel_pm.c | 5117 memset(crtc_state->wm.skl.plane_ddb_y, 0, sizeof(crtc_state->wm.skl.plane_ddb_y)); in skl_allocate_plane_ddb() 5118 memset(crtc_state->wm.skl.plane_ddb_uv, 0, sizeof(crtc_state->wm.skl.plane_ddb_uv)); in skl_allocate_plane_ddb() 5228 &crtc_state->wm.skl.plane_ddb_y[plane_id]; in skl_allocate_plane_ddb() 5865 crtc_state->wm.skl.optimal = crtc_state->wm.skl.raw; in skl_build_pipe_wm() 5907 &crtc_state->wm.skl.plane_ddb_y[plane_id]; in skl_write_plane_wm() 5909 &crtc_state->wm.skl.plane_ddb_uv[plane_id]; in skl_write_plane_wm() 5949 &crtc_state->wm.skl.plane_ddb_y[plane_id]; in skl_write_cursor_wm() 6403 &old_crtc_state->wm.skl.optimal, in skl_wm_add_affected_planes() 6404 &new_crtc_state->wm.skl.optimal)) in skl_wm_add_affected_planes() 6613 crtc_state->wm.skl.raw = crtc_state->wm.skl.optimal; in skl_wm_get_hw_state() [all …]
|
| /linux/sound/soc/intel/common/ |
| A D | Makefile | 6 soc-acpi-intel-skl-match.o soc-acpi-intel-kbl-match.o \
|
| /linux/drivers/platform/x86/intel/int3472/ |
| A D | Kconfig | 30 The module will be named "intel-skl-int3472".
|