Lines Matching defs:handle
61 acpi_event_create(device_t dev, ACPI_HANDLE handle, UINT16 data, UINT8 trig, struct acpi_event **pev)
77 AcpiGetHandle(handle, namebuf, &ev->ev_method);
79 if (ev->ev_method == NULL && ACPI_SUCCESS(AcpiGetHandle(handle, "_EVT", &ev->ev_method)))
84 acpi_name(handle), data, trigchar);
119 acpi_event_create_gpio(device_t dev, ACPI_HANDLE handle,
125 ctx.ctx_handle = handle;
129 return AcpiWalkResources(handle, "_AEI", acpi_event_gpio_resource_cb, &ctx);
133 acpi_event_create_int(device_t dev, ACPI_HANDLE handle,
142 rv = acpi_resource_parse(dev, handle, "_CRS", &res,
148 rv = acpi_event_create(dev, handle, irq->ar_irq, irq->ar_type, &ev);
176 device_printf(ev->ev_dev, "failed to handle %s event: %s\n",