Lines Matching refs:dev
89 usb_probe(device_t dev)
115 usb_attach(device_t dev)
117 struct usb_bus *bus = (struct usb_bus *)device_get_ivars(dev);
124 device_printf(dev, "USB device has no ivars\n");
131 bus->bus_roothold = root_mount_hold(device_get_nameunit(dev));
137 info.nameunit = device_get_nameunit(dev);
143 usb_attach_sub(dev, bus);
151 usb_detach(device_t dev)
153 struct usb_bus *bus = (struct usb_bus *)device_get_softc(dev);
213 usb_suspend(device_t dev)
215 struct usb_bus *bus = (struct usb_bus *)device_get_softc(dev);
241 usb_resume(device_t dev)
243 struct usb_bus *bus = (struct usb_bus *)device_get_softc(dev);
291 usb_shutdown(device_t dev)
293 struct usb_bus *bus = device_get_softc(dev);
391 device_t dev;
395 dev = bus->bdev;
397 device_set_softc(dev, NULL);
402 (void)bus_generic_detach(dev);
612 device_t dev;
617 dev = bus->bdev;
699 device_set_softc(dev, bus);
709 usb_attach_sub(device_t dev, struct usb_bus *bus)
759 device_printf(dev, "WARNING: Creation of USB Giant "
763 device_printf(dev, "WARNING: Creation of USB non-Giant ISOC"
767 device_printf(dev, "WARNING: Creation of USB non-Giant BULK"
771 device_printf(dev, "WARNING: Creation of USB explore "
775 device_printf(dev, "WARNING: Creation of USB control transfer "