Searched refs:pmc_dev (Results 1 – 4 of 4) sorted by relevance
603 struct pmc_dev *pmcdev = platform_get_drvdata(pdev); in pmc_core_get_tgl_lpm_reqs()948 static inline u32 pmc_core_reg_read(struct pmc_dev *pmcdev, int reg_offset) in pmc_core_reg_read()953 static inline void pmc_core_reg_write(struct pmc_dev *pmcdev, int reg_offset, in pmc_core_reg_write()959 static inline u64 pmc_core_adjust_slp_s0_step(struct pmc_dev *pmcdev, u32 value) in pmc_core_adjust_slp_s0_step()964 static int set_etr3(struct pmc_dev *pmcdev) in set_etr3()1003 struct pmc_dev *pmcdev = dev_get_drvdata(dev); in etr3_is_visible()1017 struct pmc_dev *pmcdev = dev_get_drvdata(dev); in etr3_show()1038 struct pmc_dev *pmcdev = dev_get_drvdata(dev); in etr3_store()1075 struct pmc_dev *pmcdev = data; in pmc_core_dev_state_get()1087 static int pmc_core_check_read_lock_bit(struct pmc_dev *pmcdev) in pmc_core_check_read_lock_bit()[all …]
328 struct pmc_dev { struct
39 struct pmc_dev { struct49 static struct pmc_dev pmc_device; argument204 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 …]
29 static struct device *pmc_dev; variable43 dev_err(pmc_dev, "tired waiting for SLP bit to clear\n"); in pmc_suspend_enter()65 pmc_dev = &ofdev->dev; in pmc_probe()