Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/platform/x86/amd/pmc/
Dpmc.c164 static struct amd_pmc_dev pmc;
165 static int amd_pmc_send_cmd(struct amd_pmc_dev *dev, u32 arg, u32 *data, u8 msg, bool ret);
166 static int amd_pmc_read_stb(struct amd_pmc_dev *dev, u32 *buf);
167 static int amd_pmc_write_stb(struct amd_pmc_dev *dev, u32 data);
169 static inline u32 amd_pmc_reg_read(struct amd_pmc_dev *dev, int reg_offset) in amd_pmc_reg_read()
174 static inline void amd_pmc_reg_write(struct amd_pmc_dev *dev, int reg_offset, u32 val) in amd_pmc_reg_write()
198 struct amd_pmc_dev *dev = filp->f_inode->i_private; in amd_pmc_stb_debugfs_open()
243 struct amd_pmc_dev *dev = filp->f_inode->i_private; in amd_pmc_stb_handle_efr()
261 struct amd_pmc_dev *dev = filp->f_inode->i_private; in amd_pmc_stb_debugfs_open_v2()
345 static void amd_pmc_get_ip_info(struct amd_pmc_dev *dev) in amd_pmc_get_ip_info()
[all …]
Dpmc.h28 struct amd_pmc_dev { struct
55 void amd_pmc_process_restore_quirks(struct amd_pmc_dev *dev); argument
56 void amd_pmc_quirks_init(struct amd_pmc_dev *dev);
57 void amd_mp2_stb_init(struct amd_pmc_dev *dev);
58 void amd_mp2_stb_deinit(struct amd_pmc_dev *dev);
Dmp2_stb.c160 struct amd_pmc_dev *dev = filp->f_inode->i_private; in amd_mp2_stb_debugfs_open()
178 struct amd_pmc_dev *dev = filp->f_inode->i_private; in amd_mp2_stb_debugfs_read()
196 static void amd_mp2_dbgfs_register(struct amd_pmc_dev *dev) in amd_mp2_dbgfs_register()
205 void amd_mp2_stb_deinit(struct amd_pmc_dev *dev) in amd_mp2_stb_deinit()
225 void amd_mp2_stb_init(struct amd_pmc_dev *dev) in amd_mp2_stb_init()
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()