Lines Matching defs:amd_pmf_dev
197 struct amd_pmf_dev { struct
198 void __iomem *regbase;
199 void __iomem *smu_virt_addr;
200 void *buf;
201 u32 base_addr;
202 u32 cpu_id;
203 struct device *dev;
204 struct mutex lock; /* protects the PMF interface */
205 u32 supported_func;
206 enum platform_profile_option current_profile;
207 struct platform_profile_handler pprof;
208 struct dentry *dbgfs_dir;
209 int hb_interval; /* SBIOS heartbeat interval */
210 struct delayed_work heart_beat;
211 struct smu_pmf_metrics m_table;
212 struct delayed_work work_buffer;
213 ktime_t start_time;
214 int socket_power_history[AVG_SAMPLE_SIZE];
215 int socket_power_history_idx;
216 bool amt_enabled;
217 struct mutex update_mutex; /* protects race between ACPI handler and metrics thread */
218 bool cnqf_enabled;
219 bool cnqf_supported;
220 struct notifier_block pwr_src_notifier;
222 struct dentry *esbin;
223 unsigned char *policy_buf;
224 u32 policy_sz;
225 struct tee_context *tee_ctx;
226 struct tee_shm *fw_shm_pool;
227 u32 session_id;
228 void *shbuf;
229 struct delayed_work pb_work;
230 struct pmf_action_table *prev_data;
231 u64 policy_addr;
232 void *policy_base;
233 bool smart_pc_enabled;