Searched refs:pmc_dev (Results 1 – 3 of 3) sorted by relevance
40 struct pmc_dev { struct50 static struct pmc_dev pmc_device; argument172 static inline u32 pmc_reg_read(struct pmc_dev *pmc, int reg_offset) in pmc_reg_read()177 static inline void pmc_reg_write(struct pmc_dev *pmc, int reg_offset, u32 val) in pmc_reg_write()184 struct pmc_dev *pmc = &pmc_device; in pmc_atom_read()196 struct pmc_dev *pmc = &pmc_device; in pmc_atom_write()223 static void pmc_hw_reg_setup(struct pmc_dev *pmc) in pmc_hw_reg_setup()254 struct pmc_dev *pmc = s->private; in pmc_dev_state_show()287 struct pmc_dev *pmc = s->private; in pmc_pss_state_show()314 struct pmc_dev *pmc = s->private; in pmc_sleep_tmr_show()[all …]
33 static struct device *pmc_dev; variable47 dev_err(pmc_dev, "tired waiting for SLP bit to clear\n"); in pmc_suspend_enter()69 pmc_dev = &ofdev->dev; in pmc_probe()
105 static struct platform_device *pmc_dev; variable344 pmc_dev = ofdev; in pmc_probe()