Home
last modified time | relevance | path

Searched refs:pmc_dev (Results 1 – 13 of 13) sorted by relevance

/linux-6.12.1/drivers/platform/x86/intel/pmc/
Dcore.h407 struct pmc_dev { struct
419 void (*suspend)(struct pmc_dev *pmcdev); argument
420 int (*resume)(struct pmc_dev *pmcdev); argument
584 extern int pmc_core_ssram_get_lpm_reqs(struct pmc_dev *pmcdev);
585 int pmc_core_send_ltr_ignore(struct pmc_dev *pmcdev, u32 value, int ignore);
587 int pmc_core_resume_common(struct pmc_dev *pmcdev);
589 extern void pmc_core_get_low_power_modes(struct pmc_dev *pmcdev);
590 extern void pmc_core_punit_pmt_init(struct pmc_dev *pmcdev, u32 guid);
593 extern int pmc_core_ssram_init(struct pmc_dev *pmcdev, int func);
595 int spt_core_init(struct pmc_dev *pmcdev);
[all …]
Dcore.c85 static int set_etr3(struct pmc_dev *pmcdev) in set_etr3()
116 struct pmc_dev *pmcdev = dev_get_drvdata(dev); in etr3_is_visible()
130 struct pmc_dev *pmcdev = dev_get_drvdata(dev); in etr3_show()
150 struct pmc_dev *pmcdev = dev_get_drvdata(dev); in etr3_store()
316 struct pmc_dev *pmcdev = s->private; in pmc_core_ppfear_show()
377 struct pmc_dev *pmcdev = s->private; in pmc_core_mphy_pg_show()
429 struct pmc_dev *pmcdev = s->private; in pmc_core_pll_show()
462 int pmc_core_send_ltr_ignore(struct pmc_dev *pmcdev, u32 value, int ignore) in pmc_core_send_ltr_ignore()
510 static ssize_t pmc_core_ltr_write(struct pmc_dev *pmcdev, in pmc_core_ltr_write()
531 struct pmc_dev *pmcdev = s->private; in pmc_core_ltr_ignore_write()
[all …]
Dcore_ssram.c43 static int pmc_core_get_lpm_req(struct pmc_dev *pmcdev, struct pmc *pmc) in pmc_core_get_lpm_req()
144 int pmc_core_ssram_get_lpm_reqs(struct pmc_dev *pmcdev) in pmc_core_ssram_get_lpm_reqs()
164 pmc_add_pmt(struct pmc_dev *pmcdev, u64 ssram_base, void __iomem *ssram) in pmc_add_pmt()
221 pmc_core_pmc_add(struct pmc_dev *pmcdev, u64 pwrm_base, in pmc_core_pmc_add()
251 pmc_core_ssram_get_pmc(struct pmc_dev *pmcdev, int pmc_idx, u32 offset) in pmc_core_ssram_get_pmc()
295 int pmc_core_ssram_init(struct pmc_dev *pmcdev, int func) in pmc_core_ssram_init()
Dcnp.c207 void cnl_suspend(struct pmc_dev *pmcdev) in cnl_suspend()
217 int cnl_resume(struct pmc_dev *pmcdev) in cnl_resume()
224 int cnp_core_init(struct pmc_dev *pmcdev) in cnp_core_init()
Dtgl.c242 struct pmc_dev *pmcdev = platform_get_drvdata(pdev); in pmc_core_get_tgl_lpm_reqs()
288 int tgl_l_core_init(struct pmc_dev *pmcdev) in tgl_l_core_init()
293 int tgl_core_init(struct pmc_dev *pmcdev) in tgl_core_init()
298 int tgl_core_generic_init(struct pmc_dev *pmcdev, int pch_tp) in tgl_core_generic_init()
Dicl.c53 int icl_core_init(struct pmc_dev *pmcdev) in icl_core_init()
Dlnl.c546 static int lnl_resume(struct pmc_dev *pmcdev) in lnl_resume()
554 int lnl_core_init(struct pmc_dev *pmcdev) in lnl_core_init()
Dspt.c137 int spt_core_init(struct pmc_dev *pmcdev) in spt_core_init()
Darl.c687 static int arl_resume(struct pmc_dev *pmcdev) in arl_resume()
695 int arl_core_init(struct pmc_dev *pmcdev) in arl_core_init()
Dadl.c314 int adl_core_init(struct pmc_dev *pmcdev) in adl_core_init()
Dmtl.c986 static int mtl_resume(struct pmc_dev *pmcdev) in mtl_resume()
994 int mtl_core_init(struct pmc_dev *pmcdev) in mtl_core_init()
/linux-6.12.1/drivers/platform/x86/
Dpmc_atom.c41 struct pmc_dev { struct
51 static struct pmc_dev pmc_device; argument
206 static inline u32 pmc_reg_read(struct pmc_dev *pmc, int reg_offset) in pmc_reg_read()
211 static inline void pmc_reg_write(struct pmc_dev *pmc, int reg_offset, u32 val) in pmc_reg_write()
218 struct pmc_dev *pmc = &pmc_device; in pmc_atom_read()
244 static void pmc_hw_reg_setup(struct pmc_dev *pmc) in pmc_hw_reg_setup()
275 struct pmc_dev *pmc = s->private; in pmc_dev_state_show()
298 struct pmc_dev *pmc = s->private; in pmc_pss_state_show()
315 struct pmc_dev *pmc = s->private; in pmc_sleep_tmr_show()
334 static void pmc_dbgfs_register(struct pmc_dev *pmc) in pmc_dbgfs_register()
[all …]
/linux-6.12.1/arch/powerpc/sysdev/
Dfsl_pmc.c29 static struct device *pmc_dev; variable
43 dev_err(pmc_dev, "tired waiting for SLP bit to clear\n"); in pmc_suspend_enter()
65 pmc_dev = &ofdev->dev; in pmc_probe()