Lines Matching refs:self
77 lpt_acpi_attach(device_t parent, device_t self, void *aux)
79 struct lpt_acpi_softc *asc = device_private(self);
86 sc->sc_dev = self;
88 if (!pmf_device_register(self, NULL, NULL))
89 aprint_error_dev(self, "couldn't establish power handler\n");
100 aprint_error_dev(self,
108 aprint_error_dev(self, "can't map i/o space\n");
114 sc->sc_ih = acpi_intr_establish(self,
116 IPL_TTY, false, lptintr, sc, device_xname(self));
118 aprint_error_dev(self, "unable to establish interrupt\n");