Home
last modified time | relevance | path

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

/drivers/platform/x86/intel/pmc/
Dcore.h371 struct pmc_dev { struct
383 void (*suspend)(struct pmc_dev *pmcdev); argument
384 int (*resume)(struct pmc_dev *pmcdev); argument
491 int pmc_core_send_ltr_ignore(struct pmc_dev *pmcdev, u32 value, int ignore);
493 int pmc_core_resume_common(struct pmc_dev *pmcdev);
496 extern void pmc_core_ssram_init(struct pmc_dev *pmcdev);
498 int spt_core_init(struct pmc_dev *pmcdev);
499 int cnp_core_init(struct pmc_dev *pmcdev);
500 int icl_core_init(struct pmc_dev *pmcdev);
501 int tgl_core_init(struct pmc_dev *pmcdev);
[all …]
Dcore.c83 static int set_etr3(struct pmc_dev *pmcdev) in set_etr3()
123 struct pmc_dev *pmcdev = dev_get_drvdata(dev); in etr3_is_visible()
138 struct pmc_dev *pmcdev = dev_get_drvdata(dev); in etr3_show()
160 struct pmc_dev *pmcdev = dev_get_drvdata(dev); in etr3_store()
312 struct pmc_dev *pmcdev = s->private; in pmc_core_ppfear_show()
373 struct pmc_dev *pmcdev = s->private; in pmc_core_mphy_pg_show()
428 struct pmc_dev *pmcdev = s->private; in pmc_core_pll_show()
463 int pmc_core_send_ltr_ignore(struct pmc_dev *pmcdev, u32 value, int ignore) in pmc_core_send_ltr_ignore()
517 struct pmc_dev *pmcdev = s->private; in pmc_core_ltr_ignore_write()
550 static void pmc_core_slps0_dbg_latch(struct pmc_dev *pmcdev, bool reset) in pmc_core_slps0_dbg_latch()
[all …]
Dcore_ssram.c39 pmc_core_pmc_add(struct pmc_dev *pmcdev, u64 pwrm_base, in pmc_core_pmc_add()
67 pmc_core_ssram_get_pmc(struct pmc_dev *pmcdev, void __iomem *ssram, u32 offset, in pmc_core_ssram_get_pmc()
99 void pmc_core_ssram_init(struct pmc_dev *pmcdev) 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.c210 struct pmc_dev *pmcdev = platform_get_drvdata(pdev); in pmc_core_get_tgl_lpm_reqs()
256 int tgl_core_init(struct pmc_dev *pmcdev) in tgl_core_init()
Dicl.c53 int icl_core_init(struct pmc_dev *pmcdev) in icl_core_init()
Dspt.c137 int spt_core_init(struct pmc_dev *pmcdev) in spt_core_init()
Dadl.c312 int adl_core_init(struct pmc_dev *pmcdev) in adl_core_init()
Dmtl.c979 static int mtl_resume(struct pmc_dev *pmcdev) in mtl_resume()
987 int mtl_core_init(struct pmc_dev *pmcdev) in mtl_core_init()
/drivers/platform/x86/
Dpmc_atom.c39 struct pmc_dev { struct
49 static struct pmc_dev pmc_device; argument
204 static inline u32 pmc_reg_read(struct pmc_dev *pmc, int reg_offset) in pmc_reg_read()
209 static inline void pmc_reg_write(struct pmc_dev *pmc, int reg_offset, u32 val) in pmc_reg_write()
216 struct pmc_dev *pmc = &pmc_device; in pmc_atom_read()
242 static void pmc_hw_reg_setup(struct pmc_dev *pmc) in pmc_hw_reg_setup()
273 struct pmc_dev *pmc = s->private; in pmc_dev_state_show()
296 struct pmc_dev *pmc = s->private; in pmc_pss_state_show()
313 struct pmc_dev *pmc = s->private; in pmc_sleep_tmr_show()
332 static void pmc_dbgfs_register(struct pmc_dev *pmc) in pmc_dbgfs_register()
[all …]