Home
last modified time | relevance | path

Searched refs:ep_index (Results 1 – 8 of 8) sorted by relevance

/third_party/FreeBSD/sys/dev/usb/
Dusb_ioctl.h159 uint8_t ep_index; member
163 uint8_t ep_index; member
167 uint8_t ep_index; member
226 uint8_t ep_index; member
236 uint8_t ep_index; member
240 uint8_t ep_index; member
Dusb_generic.c992 ugen_fs_copy_in(struct usb_fifo *f, uint8_t ep_index) in ugen_fs_copy_in() argument
1006 if (ep_index >= f->fs_ep_max) { in ugen_fs_copy_in()
1009 xfer = f->fs_xfer[ep_index]; in ugen_fs_copy_in()
1021 ep_index, &fs_ep, sizeof(fs_ep)); in ugen_fs_copy_in()
1160 ugen_fs_set_complete(f, ep_index); in ugen_fs_copy_in()
1200 ugen_fs_copy_out(struct usb_fifo *f, uint8_t ep_index) in ugen_fs_copy_out() argument
1216 if (ep_index >= f->fs_ep_max) in ugen_fs_copy_out()
1219 xfer = f->fs_xfer[ep_index]; in ugen_fs_copy_out()
1228 return (ugen_fs_copy_out_cancelled(f->fs_ep_ptr + ep_index)); in ugen_fs_copy_out()
1235 fs_ep_uptr = f->fs_ep_ptr + ep_index; in ugen_fs_copy_out()
[all …]
Dusb_dev.c567 usb_dev_get_ep(struct usb_device *udev, uint8_t ep_index, uint8_t dir) in usb_dev_get_ep() argument
572 if (ep_index == 0) { in usb_dev_get_ep()
588 ep = usbd_get_ep_by_addr(udev, ep_index | ep_dir); in usb_dev_get_ep()
Dusbdi.h233 uint8_t ep_index; /* pipe index match to use */ member
Dusb_device.c176 uint8_t index = setup->ep_index; in usbd_get_endpoint()
185 setup->type, setup->direction, setup->ep_index); in usbd_get_endpoint()
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
Dusbd_generic_epfile.c488 int ep_index = 0; in generic_epfile_handle_ioctl() local
502 ep_index = atoi(epfile->name + 2); in generic_epfile_handle_ioctl()
503 if (ep_index < 1 || ep_index > dev->eps_count) in generic_epfile_handle_ioctl()
505 usb_err("invail ep_index = %d\n", ep_index); in generic_epfile_handle_ioctl()
508 desc = dev->eps_descs[ep_index - 1][desc_idx]; in generic_epfile_handle_ioctl()
/third_party/libusb/libusb/os/
Dsunos_usb.c836 uint8_t ep_index; in sunos_check_device_and_status_open() local
841 ep_index = sunos_usb_ep_index(ep_addr); in sunos_check_device_and_status_open()
843 if ((hpriv->eps[ep_index].datafd > 0) && in sunos_check_device_and_status_open()
844 (hpriv->eps[ep_index].statfd > 0)) { in sunos_check_device_and_status_open()
953 hpriv->eps[ep_index].datafd = fd; in sunos_check_device_and_status_open()
954 hpriv->eps[ep_index].statfd = fdstat; in sunos_check_device_and_status_open()
/third_party/FreeBSD/sys/dev/usb/serial/
Du3g.c725 u3g_config_tmp[n].ep_index = ep; in u3g_attach()