Lines Matching full:lid
3 * Surface GPE/Lid driver to enable wakeup from suspend via the lid by
4 * properly configuring the respective GPEs. Required for wakeup via lid on
19 * Note: The GPE numbers for the lid devices found below have been obtained
21 * lid.
203 const struct surface_lid_device *lid = dev_get_drvdata(dev); in surface_lid_enable_wakeup() local
207 status = acpi_set_gpe_wake_mask(NULL, lid->gpe_number, action); in surface_lid_enable_wakeup()
231 struct surface_lid_device *lid; in surface_gpe_probe() local
242 lid = devm_kzalloc(&pdev->dev, sizeof(*lid), GFP_KERNEL); in surface_gpe_probe()
243 if (!lid) in surface_gpe_probe()
246 lid->gpe_number = gpe_number; in surface_gpe_probe()
247 platform_set_drvdata(pdev, lid); in surface_gpe_probe()
272 struct surface_lid_device *lid = dev_get_drvdata(&pdev->dev); in surface_gpe_remove() local
276 acpi_disable_gpe(NULL, lid->gpe_number); in surface_gpe_remove()
350 MODULE_DESCRIPTION("Surface GPE/Lid Driver");