Lines Matching refs:self
185 pcibattach(device_t parent, device_t self, void *aux)
187 struct pcib_softc *sc = device_private(self);
199 if (!pmf_device_register(self, NULL, NULL))
200 aprint_error_dev(self, "couldn't establish power handler\n");
202 config_defer(self, pcib_callback);
206 pcibdetach(device_t self, int flags)
210 if ((rc = config_detach_children(self, flags)) != 0)
212 pmf_device_deregister(self);
217 pcibchilddet(device_t self, device_t child)
219 struct pcib_softc *sc = device_private(self);
226 pcibrescan(device_t self, const char *ifattr, const int *loc)
228 struct pcib_softc *sc = device_private(self);
246 sc->sc_isabus = isabus_attach(self, &iba);
252 pcib_callback(device_t self)
254 pcibrescan(self, "isabus", NULL);