Lines Matching defs:amd_pmf_dev
334 struct amd_pmf_dev { struct
335 void __iomem *regbase;
336 void __iomem *smu_virt_addr;
337 void *buf;
338 u32 base_addr;
339 u32 cpu_id;
340 struct device *dev;
341 struct mutex lock; /* protects the PMF interface */
342 u32 supported_func;
343 enum platform_profile_option current_profile;
344 struct device *ppdev; /* platform profile class device */
345 struct dentry *dbgfs_dir;
346 int hb_interval; /* SBIOS heartbeat interval */
347 struct delayed_work heart_beat;
348 struct smu_pmf_metrics m_table;
349 struct smu_pmf_metrics_v2 m_table_v2;
350 struct delayed_work work_buffer;
351 ktime_t start_time;
352 int socket_power_history[AVG_SAMPLE_SIZE];
353 int socket_power_history_idx;
354 bool amt_enabled;
355 struct mutex update_mutex; /* protects race between ACPI handler and metrics thread */
356 bool cnqf_enabled;
357 bool cnqf_supported;
358 struct notifier_block pwr_src_notifier;
360 struct dentry *esbin;
361 unsigned char *policy_buf;
362 resource_size_t policy_sz;
363 struct tee_context *tee_ctx;
364 struct tee_shm *fw_shm_pool;
365 u32 session_id;
366 void *shbuf;
367 struct delayed_work pb_work;
368 struct pmf_action_table *prev_data;
369 resource_size_t policy_addr;
370 void __iomem *policy_base;
371 bool smart_pc_enabled;
372 u16 pmf_if_version;
373 struct input_dev *pmf_idev;
374 size_t mtable_size;
375 struct resource *res;
376 struct apmf_sbios_req_v2 req; /* To get custom bios pending request */
377 struct mutex cb_mutex;