Home
last modified time | relevance | path

Searched refs:pmcdev (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/platform/x86/intel/pmc/
H A Dcore.c963 ret = pmt_telem_read(pmcdev->punit_ep, pmcdev->die_c6_offset, in pmc_core_die_c6_us_show()
1313 pmcdev->dbgfs_dir, pmcdev, in pmc_core_dbgfs_register()
1319 pmcdev->dbgfs_dir, pmcdev, in pmc_core_dbgfs_register()
1322 pmcdev->dbgfs_dir, pmcdev, in pmc_core_dbgfs_register()
1325 pmcdev->dbgfs_dir, pmcdev, in pmc_core_dbgfs_register()
1331 pmcdev->dbgfs_dir, pmcdev, in pmc_core_dbgfs_register()
1342 pmcdev->dbgfs_dir, pmcdev, in pmc_core_dbgfs_register()
1462 if (!pmcdev) in pmc_core_probe()
1541 pmcdev->suspend(pmcdev); in pmc_core_suspend()
1615 pmcdev->pkgc_res_cnt[pmcdev->num_of_pkgc - 1]); in pmc_core_resume_common()
[all …]
H A Dcore_ssram.c119 pmc_for_each_mode(mode, pmcdev) { in pmc_core_get_lpm_req()
128 dev_err(&pmcdev->pdev->dev, in pmc_core_get_lpm_req()
148 if (!pmcdev->ssram_pcidev) in pmc_core_ssram_get_lpm_reqs()
152 if (!pmcdev->pmcs[i]) in pmc_core_ssram_get_lpm_reqs()
155 ret = pmc_core_get_lpm_req(pmcdev, pmcdev->pmcs[i]); in pmc_core_ssram_get_lpm_reqs()
201 info.parent = &pmcdev->pdev->dev; in pmc_add_pmt()
241 devm_kfree(&pmcdev->pdev->dev, pmc); in pmc_core_pmc_add()
245 pmcdev->pmcs[pmc_index] = pmc; in pmc_core_pmc_add()
260 if (!pmcdev->regmap_list) in pmc_core_ssram_get_pmc()
308 pmcdev->ssram_pcidev = pcidev; in pmc_core_ssram_init()
[all …]
H A Dcnp.c207 void cnl_suspend(struct pmc_dev *pmcdev) in cnl_suspend() argument
214 pmc_core_send_ltr_ignore(pmcdev, 3, 1); in cnl_suspend()
217 int cnl_resume(struct pmc_dev *pmcdev) in cnl_resume() argument
219 pmc_core_send_ltr_ignore(pmcdev, 3, 0); in cnl_resume()
221 return pmc_core_resume_common(pmcdev); in cnl_resume()
224 int cnp_core_init(struct pmc_dev *pmcdev) in cnp_core_init() argument
226 struct pmc *pmc = pmcdev->pmcs[PMC_IDX_MAIN]; in cnp_core_init()
229 pmcdev->suspend = cnl_suspend; in cnp_core_init()
230 pmcdev->resume = cnl_resume; in cnp_core_init()
237 pmc_core_get_low_power_modes(pmcdev); in cnp_core_init()
H A Dcore.h419 void (*suspend)(struct pmc_dev *pmcdev);
420 int (*resume)(struct pmc_dev *pmcdev);
595 int spt_core_init(struct pmc_dev *pmcdev);
596 int cnp_core_init(struct pmc_dev *pmcdev);
597 int icl_core_init(struct pmc_dev *pmcdev);
598 int tgl_core_init(struct pmc_dev *pmcdev);
601 int adl_core_init(struct pmc_dev *pmcdev);
602 int mtl_core_init(struct pmc_dev *pmcdev);
603 int arl_core_init(struct pmc_dev *pmcdev);
606 void cnl_suspend(struct pmc_dev *pmcdev);
[all …]
H A Dtgl.c242 struct pmc_dev *pmcdev = platform_get_drvdata(pdev); in pmc_core_get_tgl_lpm_reqs() local
243 struct pmc *pmc = pmcdev->pmcs[PMC_IDX_MAIN]; in pmc_core_get_tgl_lpm_reqs()
288 int tgl_l_core_init(struct pmc_dev *pmcdev) in tgl_l_core_init() argument
290 return tgl_core_generic_init(pmcdev, PCH_LP); in tgl_l_core_init()
293 int tgl_core_init(struct pmc_dev *pmcdev) in tgl_core_init() argument
295 return tgl_core_generic_init(pmcdev, PCH_H); in tgl_core_init()
300 struct pmc *pmc = pmcdev->pmcs[PMC_IDX_MAIN]; in tgl_core_generic_init()
308 pmcdev->suspend = cnl_suspend; in tgl_core_generic_init()
309 pmcdev->resume = cnl_resume; in tgl_core_generic_init()
315 pmc_core_get_low_power_modes(pmcdev); in tgl_core_generic_init()
[all …]
H A Darl.c687 static int arl_resume(struct pmc_dev *pmcdev) in arl_resume() argument
690 pmc_core_send_ltr_ignore(pmcdev, 3, 0); in arl_resume()
692 return pmc_core_resume_common(pmcdev); in arl_resume()
695 int arl_core_init(struct pmc_dev *pmcdev) in arl_core_init() argument
697 struct pmc *pmc = pmcdev->pmcs[PMC_IDX_SOC]; in arl_core_init()
703 pmcdev->suspend = cnl_suspend; in arl_core_init()
704 pmcdev->resume = arl_resume; in arl_core_init()
705 pmcdev->regmap_list = arl_pmc_info_list; in arl_core_init()
711 ret = pmc_core_ssram_init(pmcdev, func); in arl_core_init()
721 pmc_core_get_low_power_modes(pmcdev); in arl_core_init()
[all …]
H A Dmtl.c986 static int mtl_resume(struct pmc_dev *pmcdev) in mtl_resume() argument
989 pmc_core_send_ltr_ignore(pmcdev, 3, 0); in mtl_resume()
991 return pmc_core_resume_common(pmcdev); in mtl_resume()
994 int mtl_core_init(struct pmc_dev *pmcdev) in mtl_core_init() argument
996 struct pmc *pmc = pmcdev->pmcs[PMC_IDX_SOC]; in mtl_core_init()
1003 pmcdev->suspend = cnl_suspend; in mtl_core_init()
1004 pmcdev->resume = mtl_resume; in mtl_core_init()
1005 pmcdev->regmap_list = mtl_pmc_info_list; in mtl_core_init()
1011 ret = pmc_core_ssram_init(pmcdev, func); in mtl_core_init()
1014 dev_warn(&pmcdev->pdev->dev, in mtl_core_init()
[all …]
H A Dlnl.c546 static int lnl_resume(struct pmc_dev *pmcdev) in lnl_resume() argument
549 pmc_core_send_ltr_ignore(pmcdev, 3, 0); in lnl_resume()
551 return pmc_core_resume_common(pmcdev); in lnl_resume()
554 int lnl_core_init(struct pmc_dev *pmcdev) in lnl_core_init() argument
557 struct pmc *pmc = pmcdev->pmcs[PMC_IDX_SOC]; in lnl_core_init()
561 pmcdev->suspend = cnl_suspend; in lnl_core_init()
562 pmcdev->resume = lnl_resume; in lnl_core_init()
569 pmc_core_get_low_power_modes(pmcdev); in lnl_core_init()
H A Dicl.c53 int icl_core_init(struct pmc_dev *pmcdev) in icl_core_init() argument
55 struct pmc *pmc = pmcdev->pmcs[PMC_IDX_MAIN]; in icl_core_init()
64 pmc_core_get_low_power_modes(pmcdev); in icl_core_init()
H A Dadl.c314 int adl_core_init(struct pmc_dev *pmcdev) in adl_core_init() argument
316 struct pmc *pmc = pmcdev->pmcs[PMC_IDX_MAIN]; in adl_core_init()
319 pmcdev->suspend = cnl_suspend; in adl_core_init()
320 pmcdev->resume = cnl_resume; in adl_core_init()
327 pmc_core_get_low_power_modes(pmcdev); in adl_core_init()
H A Dspt.c137 int spt_core_init(struct pmc_dev *pmcdev) in spt_core_init() argument
139 struct pmc *pmc = pmcdev->pmcs[PMC_IDX_MAIN]; in spt_core_init()
148 pmc_core_get_low_power_modes(pmcdev); in spt_core_init()