/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 | 171 usbd_get_endpoint(struct usb_device *udev, uint8_t iface_index, in usbd_get_endpoint() argument 184 udev, iface_index, setup->endpoint, in usbd_get_endpoint() 249 (ep->iface_index != iface_index)) { in usbd_get_endpoint() 310 usb_init_endpoint(struct usb_device *udev, uint8_t iface_index, in usb_init_endpoint() argument 325 ep->iface_index = iface_index; in usb_init_endpoint() 629 usb_config_parse(struct usb_device *udev, uint8_t iface_index, uint8_t cmd) in usb_config_parse() argument 643 if (iface_index != USB_IFACE_INDEX_ANY) { in usb_config_parse() 655 iface_index, cmd); in usb_config_parse() 669 if ((iface_index == USB_IFACE_INDEX_ANY) || in usb_config_parse() 670 (iface_index == ep->iface_index)) { in usb_config_parse() [all …]
|
D | usbdi.h | 149 uint8_t iface_index; /* not used by "default endpoint" */ member 499 uint8_t iface_index, uint8_t type, uint8_t type_mask, 506 uint8_t iface_index); 509 struct usb_endpoint *usbd_get_endpoint(struct usb_device *udev, uint8_t iface_index, 518 uint8_t iface_index, const char *pnpinfo); 542 uint8_t iface_index, uint8_t alt_index); 556 void usbd_set_parent_iface(struct usb_device *udev, uint8_t iface_index, 623 uint8_t iface_index, uid_t uid, gid_t gid, int mode);
|
D | usb_handle_request.c | 187 uint8_t iface_index; in usb_handle_iface_request() local 192 iface_index = req.wIndex[0]; /* unicast */ in usb_handle_iface_request() 194 iface_index = 0; /* broadcast */ in usb_handle_iface_request() 209 iface = usbd_get_iface(udev, iface_index); in usb_handle_iface_request() 262 iface_index++; /* iterate */ in usb_handle_iface_request() 287 error = usb_reset_iface_endpoints(udev, iface_index); in usb_handle_iface_request()
|
D | usb_request.c | 1362 uint8_t *alt_iface_no, uint8_t iface_index) in usbd_req_get_alt_interface_no() argument 1364 struct usb_interface *iface = usbd_get_iface(udev, iface_index); in usbd_req_get_alt_interface_no() 1388 uint8_t iface_index, uint8_t alt_no) in usbd_req_set_alt_interface_no() argument 1390 struct usb_interface *iface = usbd_get_iface(udev, iface_index); in usbd_req_set_alt_interface_no() 1719 uint8_t iface_index, uint16_t report) in usbd_req_set_protocol() argument 1721 struct usb_interface *iface = usbd_get_iface(udev, iface_index); in usbd_req_set_protocol() 1748 uint8_t iface_index, uint8_t type, uint8_t id) in usbd_req_set_report() argument 1750 struct usb_interface *iface = usbd_get_iface(udev, iface_index); in usbd_req_set_report() 1776 uint16_t len, uint8_t iface_index, uint8_t type, uint8_t id) in usbd_req_get_report() argument 1778 struct usb_interface *iface = usbd_get_iface(udev, iface_index); in usbd_req_get_report() [all …]
|
D | usb_parse.c | 125 ps->iface_index ++; in usb_idesc_foreach() 135 if (ps->iface_index >= USB_IFACE_MAX) { in usb_idesc_foreach()
|
D | usb_dev.c | 455 f->iface_index = ep->iface_index; in usb_fifo_create() 481 f->iface_index = ep->iface_index; in usb_fifo_create() 1491 uint8_t iface_index, uid_t uid, gid_t gid, int mode) in usb_fifo_attach() argument 1542 f_tx->iface_index = iface_index; in usb_fifo_attach() 1549 f_rx->iface_index = iface_index; in usb_fifo_attach()
|
D | usb_generic.c | 94 uint8_t iface_index = ep->iface_index; in ugen_transfer_setup() local 103 error = usbd_transfer_setup(udev, &iface_index, f->xfer, in ugen_transfer_setup() 582 uint8_t iface_index, uint8_t alt_index) in ugen_set_interface() argument 584 DPRINTFN(2, "%u, %u\n", iface_index, alt_index); in ugen_set_interface() 597 if (usbd_set_alt_interface_index(f->udev, iface_index, alt_index)) { in ugen_set_interface() 601 if (usb_probe_and_attach(f->udev, iface_index)) { in ugen_set_interface() 1396 uint8_t iface_index; in ugen_ioctl() local 1518 iface_index = ep->iface_index; in ugen_ioctl() 1569 error = usbd_transfer_setup(f->udev, &iface_index, in ugen_ioctl() 1746 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 | 1274 uint8_t iface_index; in uhub_attach() local 1459 iface_index = 0; in uhub_attach() 1465 err = usbd_transfer_setup(udev, &iface_index, sc->sc_xfer, in uhub_attach() 1706 uint8_t iface_index; member 1730 res->iface_index = i; in uhub_find_iface_index() 1737 res->iface_index = 0; in uhub_find_iface_index() 1775 res.udev->device_index, res.iface_index); in uhub_child_location_string() 1812 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 | 3066 uint8_t iface_index; in usbd_ctrl_transfer_setup() local 3122 iface_index = 0; in usbd_ctrl_transfer_setup() 3123 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 | 892 uint16_t iface_index; in usb_linux_create_usb_device() local 904 iface_index = 0; in usb_linux_create_usb_device() 924 (iface_index == 0)) in usb_linux_create_usb_device() 928 p_uhe->bsd_iface_index = iface_index - 1; in usb_linux_create_usb_device() 947 p_uhi->bsd_iface_index = iface_index; in usb_linux_create_usb_device() 957 p_ui->bsd_iface_index = iface_index; in usb_linux_create_usb_device() 962 iface_index++; in usb_linux_create_usb_device() 977 (sizeof(*p_ui) * iface_index) + in usb_linux_create_usb_device() 985 p_uhi = (void *)(p_ui + iface_index); in usb_linux_create_usb_device() 988 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 | 364 uint8_t iface_index; in ucom_set_pnpinfo_usb() local 372 iface_index = uaa->info.bIfaceIndex; in ucom_set_pnpinfo_usb() 374 if (usbd_set_pnpinfo(uaa->device, iface_index, buf) != 0) in ucom_set_pnpinfo_usb()
|
/third_party/glib/gio/ |
D | gsocket.c | 2635 guint iface_index = 0; in g_socket_multicast_group_operation_ssm() local 2640 iface_index = if_nametoindex (iface); in g_socket_multicast_group_operation_ssm() 2641 if (iface_index == 0) in g_socket_multicast_group_operation_ssm() 2651 mc_req_src.gsr_interface = iface_index; in g_socket_multicast_group_operation_ssm()
|