Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/platform/x86/amd/pmf/
Dacpi.c163 struct amd_pmf_dev *pmf_dev = data; in apmf_event_handler() local
167 mutex_lock(&pmf_dev->update_mutex); in apmf_event_handler()
168 ret = apmf_get_sbios_requests(pmf_dev, &req); in apmf_event_handler()
170 dev_err(pmf_dev->dev, "Failed to get SBIOS requests:%d\n", ret); in apmf_event_handler()
175 dev_dbg(pmf_dev->dev, "AMT is supported and notifications %s\n", in apmf_event_handler()
177 pmf_dev->amt_enabled = !!req.amt_event; in apmf_event_handler()
179 if (pmf_dev->amt_enabled) in apmf_event_handler()
180 amd_pmf_handle_amt(pmf_dev); in apmf_event_handler()
182 amd_pmf_reset_amt(pmf_dev); in apmf_event_handler()
186 dev_dbg(pmf_dev->dev, "CQL is supported and notifications %s\n", in apmf_event_handler()
[all …]
Dpmf.h378 int apmf_acpi_init(struct amd_pmf_dev *pmf_dev);
379 void apmf_acpi_deinit(struct amd_pmf_dev *pmf_dev);
384 int apmf_install_handler(struct amd_pmf_dev *pmf_dev);