Lines Matching defs:asc
84 struct plgpio_acpi_softc * const asc = device_private(self);
85 struct plgpio_softc * const sc = &asc->sc_base;
95 asc->sc_handle = aa->aa_node->ad_handle;
124 rv = acpi_event_create_gpio(self, asc->sc_handle, plgpio_acpi_register_event, asc);
132 (uint64_t)(uintptr_t)asc->sc_handle,
133 IPL_VM, false, plgpio_acpi_intr, asc, device_xname(self));
144 struct plgpio_acpi_softc * const asc = priv;
145 struct plgpio_softc * const sc = &asc->sc_base;
150 if (pin >= __arraycount(asc->sc_event)) {
151 aprint_error_dev(asc->sc_base.sc_dev,
155 if (asc->sc_event[pin] != NULL) {
156 aprint_error_dev(asc->sc_base.sc_dev,
161 asc->sc_event[pin] = ev;
162 asc->sc_base.sc_reserved_mask |= __BIT(pin);
209 struct plgpio_acpi_softc * const asc = priv;
210 struct plgpio_softc * const sc = &asc->sc_base;
219 struct acpi_event * const ev = asc->sc_event[pin];