Home
last modified time | relevance | path

Searched refs:amd_pmc_dev (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/platform/x86/amd/pmc/
H A Dpmc.c150 static struct amd_pmc_dev pmc;
151 static int amd_pmc_send_cmd(struct amd_pmc_dev *dev, u32 arg, u32 *data, u8 msg, bool ret);
152 static int amd_pmc_read_stb(struct amd_pmc_dev *dev, u32 *buf);
153 static int amd_pmc_write_stb(struct amd_pmc_dev *dev, u32 data);
155 static inline u32 amd_pmc_reg_read(struct amd_pmc_dev *dev, int reg_offset) in amd_pmc_reg_read()
160 static inline void amd_pmc_reg_write(struct amd_pmc_dev *dev, int reg_offset, u32 val) in amd_pmc_reg_write()
184 struct amd_pmc_dev *dev = filp->f_inode->i_private; in amd_pmc_stb_debugfs_open()
228 struct amd_pmc_dev *dev = filp->f_inode->i_private; in amd_pmc_stb_debugfs_open_v2()
292 static void amd_pmc_get_ip_info(struct amd_pmc_dev *dev) in amd_pmc_get_ip_info()
309 static int amd_pmc_setup_smu_logging(struct amd_pmc_dev *dev) in amd_pmc_setup_smu_logging()
[all …]
H A Dpmc.h17 struct amd_pmc_dev { struct
42 void amd_pmc_process_restore_quirks(struct amd_pmc_dev *dev); argument
43 void amd_pmc_quirks_init(struct amd_pmc_dev *dev);
H A Dpmc-quirks.c252 void amd_pmc_process_restore_quirks(struct amd_pmc_dev *dev) in amd_pmc_process_restore_quirks()
258 void amd_pmc_quirks_init(struct amd_pmc_dev *dev) in amd_pmc_quirks_init()