Lines Matching refs:uaa
441 struct usb_attach_arg *uaa = (struct usb_attach_arg *)device_get_ivars(dev); in cdce_probe() local
444 error = usbd_lookup_id_by_uaa(cdce_host_devs, sizeof(cdce_host_devs), uaa); in cdce_probe()
447 error = usbd_lookup_id_by_uaa(cdce_dual_devs, sizeof(cdce_dual_devs), uaa); in cdce_probe()
463 struct usb_attach_arg *uaa = (struct usb_attach_arg *)device_get_ivars(dev); in cdce_attach() local
477 sc->sc_flags = USB_GET_DRIVER_INFO(uaa); in cdce_attach()
478 sc->sc_ue.ue_udev = uaa->device; in cdce_attach()
485 (uaa->device, NULL, uaa->info.bIfaceIndex, UDESC_CS_INTERFACE, in cdce_attach()
491 sc->sc_ifaces_index[0] = uaa->info.bIfaceIndex; in cdce_attach()
492 sc->sc_ifaces_index[1] = uaa->info.bIfaceIndex; in cdce_attach()
499 iface = usbd_get_iface(uaa->device, i); in cdce_attach()
506 sc->sc_ifaces_index[1] = uaa->info.bIfaceIndex; in cdce_attach()
507 DPRINTFN(1, "index 0 = %d, index 1 = %d!\n", i, uaa->info.bIfaceIndex); in cdce_attach()
508 usbd_set_parent_iface(uaa->device, i, uaa->info.bIfaceIndex); in cdce_attach()
545 error = usbd_set_alt_interface_index(uaa->device, in cdce_attach()
555 error = usbd_transfer_setup(uaa->device, in cdce_attach()
571 (uaa->device, NULL, uaa->info.bIfaceIndex, UDESC_CS_INTERFACE, in cdce_attach()
577 error = usbd_req_get_string_any(uaa->device, NULL, in cdce_attach()
610 if (uaa->usb_mode == USB_MODE_DEVICE) { in cdce_attach()
620 ue->ue_udev = uaa->device; in cdce_attach()