/third_party/FreeBSD/sys/dev/usb/ |
D | usbdi_util.h | 35 uint8_t iface_index; /* current interface index */ member 63 void *data, uint16_t len, uint8_t iface_index, uint8_t type, 67 uint8_t iface_index); 76 struct mtx *mtx, uint8_t iface_index, uint8_t alt_no); 78 uint8_t iface_index, uint8_t duration, uint8_t id); 80 uint8_t iface_index, uint16_t report); 82 void *data, uint16_t len, uint8_t iface_index,
|
D | usb_device.c | 170 usbd_get_endpoint(struct usb_device *udev, uint8_t iface_index, in usbd_get_endpoint() argument 183 udev, iface_index, setup->endpoint, in usbd_get_endpoint() 247 (ep->iface_index != iface_index)) { in usbd_get_endpoint() 308 usb_init_endpoint(struct usb_device *udev, uint8_t iface_index, in usb_init_endpoint() argument 323 ep->iface_index = iface_index; in usb_init_endpoint() 627 usb_config_parse(struct usb_device *udev, uint8_t iface_index, uint8_t cmd) in usb_config_parse() argument 641 if (iface_index != USB_IFACE_INDEX_ANY) { in usb_config_parse() 653 iface_index, cmd); in usb_config_parse() 667 if ((iface_index == USB_IFACE_INDEX_ANY) || in usb_config_parse() 668 (iface_index == ep->iface_index)) { in usb_config_parse() [all …]
|
D | usbdi.h | 148 uint8_t iface_index; /* not used by "default endpoint" */ member 498 uint8_t iface_index, uint8_t type, uint8_t type_mask, 505 uint8_t iface_index); 508 struct usb_endpoint *usbd_get_endpoint(struct usb_device *udev, uint8_t iface_index, 517 uint8_t iface_index, const char *pnpinfo); 541 uint8_t iface_index, uint8_t alt_index); 555 void usbd_set_parent_iface(struct usb_device *udev, uint8_t iface_index, 622 uint8_t iface_index, uid_t uid, gid_t gid, int mode);
|
D | usb_handle_request.c | 186 uint8_t iface_index; in usb_handle_iface_request() local 191 iface_index = req.wIndex[0]; /* unicast */ in usb_handle_iface_request() 193 iface_index = 0; /* broadcast */ in usb_handle_iface_request() 208 iface = usbd_get_iface(udev, iface_index); in usb_handle_iface_request() 261 iface_index++; /* iterate */ in usb_handle_iface_request() 286 error = usb_reset_iface_endpoints(udev, iface_index); in usb_handle_iface_request()
|
D | usb_request.c | 1369 uint8_t *alt_iface_no, uint8_t iface_index) in usbd_req_get_alt_interface_no() argument 1371 struct usb_interface *iface = usbd_get_iface(udev, iface_index); in usbd_req_get_alt_interface_no() 1395 uint8_t iface_index, uint8_t alt_no) in usbd_req_set_alt_interface_no() argument 1397 struct usb_interface *iface = usbd_get_iface(udev, iface_index); in usbd_req_set_alt_interface_no() 1737 uint8_t iface_index, uint16_t report) in usbd_req_set_protocol() argument 1739 struct usb_interface *iface = usbd_get_iface(udev, iface_index); in usbd_req_set_protocol() 1766 uint8_t iface_index, uint8_t type, uint8_t id) in usbd_req_set_report() argument 1768 struct usb_interface *iface = usbd_get_iface(udev, iface_index); in usbd_req_set_report() 1794 uint16_t len, uint8_t iface_index, uint8_t type, uint8_t id) in usbd_req_get_report() argument 1796 struct usb_interface *iface = usbd_get_iface(udev, iface_index); in usbd_req_get_report() [all …]
|
D | usb_parse.c | 137 ps->iface_index ++; in usb_idesc_foreach() 147 if (ps->iface_index >= USB_IFACE_MAX) { in usb_idesc_foreach()
|
D | usb_dev.c | 454 f->iface_index = ep->iface_index; in usb_fifo_create() 479 f->iface_index = ep->iface_index; in usb_fifo_create() 1480 uint8_t iface_index, uid_t uid, gid_t gid, int mode) in usb_fifo_attach() argument 1530 f_tx->iface_index = iface_index; in usb_fifo_attach() 1537 f_rx->iface_index = iface_index; in usb_fifo_attach()
|
D | usb_generic.c | 92 uint8_t iface_index = ep->iface_index; in ugen_transfer_setup() local 101 error = usbd_transfer_setup(udev, &iface_index, f->xfer, in ugen_transfer_setup() 579 uint8_t iface_index, uint8_t alt_index) in ugen_set_interface() argument 581 DPRINTFN(2, "%u, %u\n", iface_index, alt_index); in ugen_set_interface() 594 if (usbd_set_alt_interface_index(f->udev, iface_index, alt_index)) { in ugen_set_interface() 598 if (usb_probe_and_attach(f->udev, iface_index)) { in ugen_set_interface() 1336 uint8_t iface_index; in ugen_ioctl() local 1458 iface_index = ep->iface_index; in ugen_ioctl() 1508 error = usbd_transfer_setup(f->udev, &iface_index, in ugen_ioctl() 1685 iface = usbd_get_iface(f->udev, f->iface_index); in ugen_get_iface_desc()
|
D | usb_device.h | 307 uint8_t iface_index); 310 uint8_t iface_index);
|
D | usb_dev.h | 134 uint8_t iface_index; /* set to the interface we belong to */ member
|
D | usb_hid.c | 789 struct malloc_type *mem, uint8_t iface_index) in usbd_req_get_hid_desc() argument 791 struct usb_interface *iface = usbd_get_iface(udev, iface_index); in usbd_req_get_hid_desc() 820 (udev, mtx, *descp, *sizep, iface_index); in usbd_req_get_hid_desc()
|
D | usb_hub.c | 1270 uint8_t iface_index; in uhub_attach() local 1455 iface_index = 0; in uhub_attach() 1461 err = usbd_transfer_setup(udev, &iface_index, sc->sc_xfer, in uhub_attach() 1701 uint8_t iface_index; member 1725 res->iface_index = i; in uhub_find_iface_index() 1732 res->iface_index = 0; in uhub_find_iface_index() 1770 res.udev->device_index, res.iface_index); in uhub_child_location_string() 1807 iface = usbd_get_iface(res.udev, res.iface_index); in uhub_child_pnpinfo_string()
|
D | usb_request.h | 40 uint8_t iface_index);
|
D | usbhid.h | 266 uint8_t iface_index);
|
D | usb_transfer.c | 3032 uint8_t iface_index; in usbd_ctrl_transfer_setup() local 3088 iface_index = 0; in usbd_ctrl_transfer_setup() 3089 if (usbd_transfer_setup(udev, &iface_index, in usbd_ctrl_transfer_setup()
|
/third_party/libuv/test/ |
D | test-ip6-addr.c | 43 unsigned int iface_index; in TEST_IMPL() local 71 iface_index = address->address.address6.sin6_scope_id; in TEST_IMPL() 75 ASSERT(0 == uv_if_indextoname(iface_index, scoped_addr, &scoped_addr_len)); in TEST_IMPL() 82 r = uv_if_indextoiid(iface_index, interface_id, &interface_id_len); in TEST_IMPL() 86 ASSERT(strtoul(interface_id, NULL, 10) == iface_index); in TEST_IMPL() 101 iface_index, in TEST_IMPL() 108 ASSERT(iface_index == addr.sin6_scope_id); in TEST_IMPL()
|
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/ |
D | linux_usb.c | 888 uint16_t iface_index; in usb_linux_create_usb_device() local 899 iface_index = 0; in usb_linux_create_usb_device() 919 (iface_index == 0)) in usb_linux_create_usb_device() 923 p_uhe->bsd_iface_index = iface_index - 1; in usb_linux_create_usb_device() 942 p_uhi->bsd_iface_index = iface_index; in usb_linux_create_usb_device() 952 p_ui->bsd_iface_index = iface_index; in usb_linux_create_usb_device() 957 iface_index++; in usb_linux_create_usb_device() 972 (sizeof(*p_ui) * iface_index) + in usb_linux_create_usb_device() 980 p_uhi = (void *)(p_ui + iface_index); in usb_linux_create_usb_device() 983 udev->linux_iface_end = p_ui + iface_index; in usb_linux_create_usb_device() [all …]
|
/third_party/FreeBSD/sys/dev/usb/net/ |
D | if_urndis.c | 196 uint8_t iface_index[2] = {0}; in urndis_attach() local 202 iface_index[0] = uaa->info.bIfaceIndex + 1; in urndis_attach() 203 iface_index[1] = uaa->info.bIfaceIndex; in urndis_attach() 209 iface_index[0] = cmd->bDataInterface; in urndis_attach() 219 iface_index[0], i); in urndis_attach() 225 iface_index, sc->sc_xfer, urndis_config, in urndis_attach()
|
D | if_axge.c | 353 uint8_t iface_index; in axge_attach() local 361 iface_index = AXGE_IFACE_IDX; in axge_attach() 362 error = usbd_transfer_setup(uaa->device, &iface_index, sc->sc_xfer, in axge_attach()
|
D | if_axe.c | 698 uint8_t iface_index; in axe_attach() local 707 iface_index = AXE_IFACE_IDX; in axe_attach() 708 error = usbd_transfer_setup(uaa->device, &iface_index, sc->sc_xfer, in axe_attach()
|
/third_party/FreeBSD/sys/dev/usb/serial/ |
D | usb_serial.c | 363 uint8_t iface_index; in ucom_set_pnpinfo_usb() local 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()
|