Lines Matching refs: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);
207 status = acpi_set_gpe_wake_mask(NULL, lid->gpe_number, action);
231 struct surface_lid_device *lid;
242 lid = devm_kzalloc(&pdev->dev, sizeof(*lid), GFP_KERNEL);
243 if (!lid)
246 lid->gpe_number = gpe_number;
247 platform_set_drvdata(pdev, lid);
272 struct surface_lid_device *lid = dev_get_drvdata(&pdev->dev);
276 acpi_disable_gpe(NULL, lid->gpe_number);