Lines Matching refs:self
70 ehci_pci_match(device_t self)
76 ehci_pci_probe(device_t self)
78 const char *desc = ehci_pci_match(self);
81 device_set_desc(self, desc);
89 ehci_pci_attach(device_t self)
92 ehci_softc_t *sc = device_get_softc(self);
96 sc->sc_bus.parent = self;
109 res = bus_alloc_resource_any(self, SYS_RES_MEMORY, &unit, 0);
129 sc->sc_bus.bdev = device_add_child(self, "usbus", -1);
131 device_printf(self, "Could not add USB device\n");
140 device_set_desc(sc->sc_bus.bdev, ehci_pci_match(self));
142 res = bus_alloc_resource_any(self, SYS_RES_IRQ, &unit, 0);
152 ehci_pci_take_controller(self);
162 device_printf(self, "ehci init failed err=%d\n", err);
169 device_printf(self, "ehci attach failed err=%d\n", err);
170 (void)ehci_pci_detach(self);
181 device_printf(self, "ehci attach failed err=%d\n", err);
186 ehci_pci_detach(device_t self)
188 ehci_softc_t *sc = device_get_softc(self);
213 ehci_pci_take_controller(device_t self)