Home
last modified time | relevance | path

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

/openbmc/linux/drivers/platform/x86/
H A Dlenovo-ymc.c65 struct acpi_device *ec_acpi_dev; member
72 if (!priv->ec_acpi_dev) in lenovo_ymc_trigger_ec()
75 err = write_ec_cmd(priv->ec_acpi_dev->handle, VPCCMD_W_YMC, 1); in lenovo_ymc_trigger_ec()
156 priv->ec_acpi_dev = acpi_dev_get_first_match_dev("VPC2004", NULL, -1); in lenovo_ymc_probe()
158 if (!priv->ec_acpi_dev) { in lenovo_ymc_probe()
163 acpi_dev_put_helper, priv->ec_acpi_dev); in lenovo_ymc_probe()