Home
last modified time | relevance | path

Searched refs:uaa (Results 1 – 17 of 17) sorted by relevance

/third_party/FreeBSD/sys/dev/usb/
Dusb_device.c1123 struct usb_attach_arg *uaa) in usb_probe_and_attach_sub() argument
1129 iface = uaa->iface; in usb_probe_and_attach_sub()
1155 if (uaa->temp_dev == NULL) { in usb_probe_and_attach_sub()
1157 uaa->temp_dev = device_add_child(udev->parent_dev, NULL, -1); in usb_probe_and_attach_sub()
1158 if (uaa->temp_dev == NULL) { in usb_probe_and_attach_sub()
1163 device_set_ivars(uaa->temp_dev, uaa); in usb_probe_and_attach_sub()
1164 device_quiet(uaa->temp_dev); in usb_probe_and_attach_sub()
1170 iface->subdev = uaa->temp_dev; in usb_probe_and_attach_sub()
1177 uaa->temp_dev = NULL; in usb_probe_and_attach_sub()
1220 struct usb_attach_arg *uaa) in usb_init_attach_arg() argument
[all …]
Dusb_util.c40 struct usb_attach_arg *uaa; in device_set_usb_desc() local
51 uaa = device_get_ivars(dev); in device_set_usb_desc()
52 if (uaa == NULL) { in device_set_usb_desc()
56 udev = uaa->device; in device_set_usb_desc()
57 iface = uaa->iface; in device_set_usb_desc()
Dusb_lookup.c118 struct usb_attach_arg *uaa) in usbd_lookup_id_by_uaa() argument
120 id = usbd_lookup_id_by_info(id, sizeof_id, &uaa->info); in usbd_lookup_id_by_uaa()
123 uaa->driver_info = id->driver_info; in usbd_lookup_id_by_uaa()
Dusb_hub.c1171 struct usb_attach_arg *uaa = device_get_ivars(dev); in uhub_probe() local
1173 if (uaa == NULL) in uhub_probe()
1176 if (uaa->usb_mode != USB_MODE_HOST) in uhub_probe()
1183 if ((uaa->info.bConfigIndex == 0) && in uhub_probe()
1184 (uaa->info.bDeviceClass == UDCLASS_HUB)) in uhub_probe()
1259 struct usb_attach_arg *uaa = device_get_ivars(dev); in uhub_attach() local
1274 if (!sc || !uaa || !uaa->device) in uhub_attach()
1277 udev = uaa->device; in uhub_attach()
Dusbdi.h529 usb_size_t sizeof_id, struct usb_attach_arg *uaa);
/third_party/FreeBSD/sys/dev/usb/input/
Duhid.c716 struct usb_attach_arg *uaa = device_get_ivars(dev); in uhid_probe() local
721 if (uaa->usb_mode != USB_MODE_HOST) in uhid_probe()
724 error = usbd_lookup_id_by_uaa(uhid_devs, sizeof(uhid_devs), uaa); in uhid_probe()
728 if (usb_test_quirk(uaa, UQ_HID_IGNORE)) in uhid_probe()
737 struct usb_attach_arg *uaa = device_get_ivars(dev); in uhid_attach() local
749 sc->sc_udev = uaa->device; in uhid_attach()
751 sc->sc_iface_no = uaa->info.bIfaceNum; in uhid_attach()
752 sc->sc_iface_index = uaa->info.bIfaceIndex; in uhid_attach()
754 error = usbd_transfer_setup(uaa->device, in uhid_attach()
755 &uaa->info.bIfaceIndex, sc->sc_xfer, uhid_config, in uhid_attach()
[all …]
/third_party/FreeBSD/sys/dev/usb/net/
Dif_cdce.c441 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()
[all …]
Dif_axge.c331 struct usb_attach_arg *uaa = device_get_ivars(dev); in axge_probe() local
333 if (uaa->usb_mode != USB_MODE_HOST) in axge_probe()
335 if (uaa->info.bConfigIndex != AXGE_CONFIG_IDX) in axge_probe()
337 if (uaa->info.bIfaceIndex != AXGE_IFACE_IDX) in axge_probe()
340 return (usbd_lookup_id_by_uaa(axge_devs, sizeof(axge_devs), uaa)); in axge_probe()
350 struct usb_attach_arg *uaa = device_get_ivars(dev); in axge_attach() local
355 sc->sc_flags = USB_GET_DRIVER_INFO(uaa); in axge_attach()
362 error = usbd_transfer_setup(uaa->device, &iface_index, sc->sc_xfer, in axge_attach()
370 ue->ue_udev = uaa->device; in axge_attach()
Dif_urndis.c164 struct usb_attach_arg *uaa = device_get_ivars(dev); in urndis_probe() local
166 return (usbd_lookup_id_by_uaa(urndis_host_devs, sizeof(urndis_host_devs), uaa)); in urndis_probe()
190 struct usb_attach_arg *uaa = device_get_ivars(dev); in urndis_attach() local
200 sc->sc_ue.ue_udev = uaa->device; in urndis_attach()
201 sc->sc_ifaceno_ctl = uaa->info.bIfaceNum; in urndis_attach()
202 iface_index[0] = uaa->info.bIfaceIndex + 1; in urndis_attach()
203 iface_index[1] = uaa->info.bIfaceIndex; in urndis_attach()
205 cmd = usbd_find_descriptor(uaa->device, NULL, uaa->info.bIfaceIndex, in urndis_attach()
218 error = usbd_set_alt_interface_index(uaa->device, in urndis_attach()
224 error = usbd_transfer_setup(uaa->device, in urndis_attach()
[all …]
Dif_axe.c645 struct usb_attach_arg *uaa = device_get_ivars(dev); in axe_probe() local
647 if (uaa->usb_mode != USB_MODE_HOST) in axe_probe()
649 if (uaa->info.bConfigIndex != AXE_CONFIG_IDX) in axe_probe()
651 if (uaa->info.bIfaceIndex != AXE_IFACE_IDX) in axe_probe()
653 return (usbd_lookup_id_by_uaa(axe_devs, sizeof(axe_devs), uaa)); in axe_probe()
695 struct usb_attach_arg *uaa = device_get_ivars(dev); in axe_attach() local
700 sc->sc_flags = USB_GET_DRIVER_INFO(uaa); in axe_attach()
708 error = usbd_transfer_setup(uaa->device, &iface_index, sc->sc_xfer, in axe_attach()
717 ue->ue_udev = uaa->device; in axe_attach()
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/
Dlinux_usb.c124 usb_linux_lookup_id(const struct usb_device_id *id, struct usb_attach_arg *uaa) in usb_linux_lookup_id() argument
126 if ((id == NULL) || (uaa == NULL)) { in usb_linux_lookup_id()
136 (id->idVendor != uaa->info.idVendor)) { in usb_linux_lookup_id()
140 (id->idProduct != uaa->info.idProduct)) { in usb_linux_lookup_id()
144 (id->bcdDevice_lo > uaa->info.bcdDevice)) { in usb_linux_lookup_id()
148 (id->bcdDevice_hi < uaa->info.bcdDevice)) { in usb_linux_lookup_id()
152 (id->bDeviceClass != uaa->info.bDeviceClass)) { in usb_linux_lookup_id()
156 (id->bDeviceSubClass != uaa->info.bDeviceSubClass)) { in usb_linux_lookup_id()
160 (id->bDeviceProtocol != uaa->info.bDeviceProtocol)) { in usb_linux_lookup_id()
163 if ((uaa->info.bDeviceClass == 0xFF) && in usb_linux_lookup_id()
[all …]
/third_party/FreeBSD/sys/dev/usb/storage/
Dumass.c810 umass_probe_proto(device_t dev, struct usb_attach_arg *uaa) in umass_probe_proto() argument
814 uint32_t proto = umass_get_proto(uaa->iface); in umass_probe_proto()
821 if (usb_test_quirk(uaa, UQ_MSC_FORCE_WIRE_BBB)) { in umass_probe_proto()
824 } else if (usb_test_quirk(uaa, UQ_MSC_FORCE_WIRE_CBI)) { in umass_probe_proto()
827 } else if (usb_test_quirk(uaa, UQ_MSC_FORCE_WIRE_CBI_I)) { in umass_probe_proto()
832 if (usb_test_quirk(uaa, UQ_MSC_FORCE_PROTO_SCSI)) { in umass_probe_proto()
835 } else if (usb_test_quirk(uaa, UQ_MSC_FORCE_PROTO_ATAPI)) { in umass_probe_proto()
838 } else if (usb_test_quirk(uaa, UQ_MSC_FORCE_PROTO_UFI)) { in umass_probe_proto()
841 } else if (usb_test_quirk(uaa, UQ_MSC_FORCE_PROTO_RBC)) { in umass_probe_proto()
860 if (usb_test_quirk(uaa, UQ_MSC_NO_TEST_UNIT_READY)) in umass_probe_proto()
[all …]
/third_party/FreeBSD/sys/dev/usb/serial/
Du3g.c656 struct usb_attach_arg *uaa = (struct usb_attach_arg *)device_get_ivars(self); in u3g_probe() local
658 if (uaa->usb_mode != USB_MODE_HOST) { in u3g_probe()
662 if (uaa->info.bInterfaceClass != UICLASS_VENDOR) { in u3g_probe()
665 return (usbd_lookup_id_by_uaa(u3g_devs, sizeof(u3g_devs), uaa)); in u3g_probe()
672 struct usb_attach_arg *uaa = (struct usb_attach_arg *)device_get_ivars(dev); in u3g_attach() local
683 type = USB_GET_DRIVER_INFO(uaa); in u3g_attach()
685 || usb_test_quirk(uaa, UQ_MSC_EJECT_SAEL_M460)) { in u3g_attach()
686 u3g_sael_m460_init(uaa->device); in u3g_attach()
697 sc->sc_udev = uaa->device; in u3g_attach()
701 for (i = uaa->info.bIfaceIndex; i < USB_IFACE_MAX; i++) { in u3g_attach()
[all …]
Dusb_serial.c364 struct usb_attach_arg *uaa; in ucom_set_pnpinfo_usb() local
370 uaa = (struct usb_attach_arg *)device_get_ivars(dev); in ucom_set_pnpinfo_usb()
371 iface_index = uaa->info.bIfaceIndex; in ucom_set_pnpinfo_usb()
373 if (usbd_set_pnpinfo(uaa->device, iface_index, buf) != 0) in ucom_set_pnpinfo_usb()
/third_party/FreeBSD/sys/dev/usb/quirk/
Dusb_quirk.h125 uint8_t usb_test_quirk(const struct usb_attach_arg *uaa, uint16_t quirk);
/third_party/rust/crates/regex/bench/src/data/
D1MB.txt44472 uaa
/third_party/openh264/res/
DCisco_Absolute_Power_1280x720_30fps.yuv2311 …���������������������������������������ɥ���ypbc`a`affeilu����������������Щuaa`^[[_YGSa|���������ߛ…