Home | History | Annotate | Download | only in dev

Lines Matching refs:self

101 pcibattach(device_t parent, device_t self, void *aux)
103 struct pcib_softc *sc = device_private(self);
120 if (!pmf_device_register(self, NULL, NULL))
121 aprint_error_dev(self, "couldn't establish power handler\n");
122 config_defer(self, pcib_callback);
126 pcibdetach(device_t self, int flags)
130 if ((rc = config_detach_children(self, flags)) != 0)
132 pmf_device_deregister(self);
137 pcibchilddet(device_t self, device_t child)
139 struct pcib_softc *sc = device_private(self);
146 pcibrescan(device_t self, const char *ifattr, const int *loc)
148 struct pcib_softc *sc = device_private(self);
168 sc->sc_isabus = isabus_attach(self, &iba);
175 pcib_callback(device_t self)
177 pcibrescan(self, "isabus", NULL);