Home
last modified time | relevance | path

Searched refs:pmf_dev (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/platform/x86/amd/pmf/
Dacpi.c326 struct amd_pmf_dev *pmf_dev = data; in apmf_event_handler() local
330 mutex_lock(&pmf_dev->update_mutex); in apmf_event_handler()
331 ret = apmf_get_sbios_requests(pmf_dev, &req); in apmf_event_handler()
333 dev_err(pmf_dev->dev, "Failed to get SBIOS requests:%d\n", ret); in apmf_event_handler()
338 dev_dbg(pmf_dev->dev, "AMT is supported and notifications %s\n", in apmf_event_handler()
340 pmf_dev->amt_enabled = !!req.amt_event; in apmf_event_handler()
342 if (pmf_dev->amt_enabled) in apmf_event_handler()
343 amd_pmf_handle_amt(pmf_dev); in apmf_event_handler()
345 amd_pmf_reset_amt(pmf_dev); in apmf_event_handler()
349 dev_dbg(pmf_dev->dev, "CQL is supported and notifications %s\n", in apmf_event_handler()
[all …]
Dpmf.h736 int apmf_acpi_init(struct amd_pmf_dev *pmf_dev);
737 void apmf_acpi_deinit(struct amd_pmf_dev *pmf_dev);
742 int apmf_install_handler(struct amd_pmf_dev *pmf_dev);
791 int apmf_check_smart_pc(struct amd_pmf_dev *pmf_dev);