Searched refs:endpoint (Results 1 - 25 of 93) sorted by relevance

1234

/freebsd-9.3-release/sys/dev/usb/
H A Dusb_compat_linux.h176 /* Whenever Linux references an USB endpoint:
177 * a) to initialize "urb->endpoint"
180 * Then it uses one of the following macros. The "endpoint" argument
181 * is the physical endpoint value masked by 0xF. The "dev" argument
184 #define usb_sndctrlpipe(dev,endpoint) \
185 usb_find_host_endpoint(dev, PIPE_CONTROL, (endpoint) | USB_DIR_OUT)
187 #define usb_rcvctrlpipe(dev,endpoint) \
188 usb_find_host_endpoint(dev, PIPE_CONTROL, (endpoint) | USB_DIR_IN)
190 #define usb_sndisocpipe(dev,endpoint) \
191 usb_find_host_endpoint(dev, PIPE_ISOCHRONOUS, (endpoint) | USB_DIR_OU
234 struct usb_host_endpoint *endpoint; /* (in) pipe pointer */ member in struct:urb
[all...]
H A Dusb_hub.c144 .endpoint = UE_ADDR_ANY,
155 .endpoint = 0x00, /* Control pipe */
266 * This function queues a TT reset for the given USB device and endpoint.
1454 /* Start the interrupt endpoint, if any */
1719 * The best Transaction Translation slot for an interrupt endpoint.
1841 xfer->endpoint->refcount_bw++;
1842 if (xfer->endpoint->refcount_bw != 1)
1847 switch (xfer->endpoint->edesc->bmAttributes & UE_XFERTYPE) {
1855 xfer->endpoint->usb_uframe = slot;
1856 xfer->endpoint
[all...]
H A Dusb_debug.c158 * This function dumps the USB transfer that are queued up on an USB endpoint.
165 printf("usb_dump_queue: endpoint=%p xfer: ", ep);
175 * This function dumps information about an USB endpoint.
181 printf("usb_dump_endpoint: endpoint=%p", ep);
193 printf("usb_dump_endpoint: endpoint=NULL\n");
210 if (xfer->endpoint == NULL) {
211 printf("xfer %p: endpoint=NULL\n",
217 "endpoint=%p ep=0x%02x attr=0x%02x\n",
221 udev->address, xfer->endpoint,
222 xfer->endpoint
[all...]
H A Dusb_transfer.c78 /* This transfer is used for generic control endpoint transfers */
82 .endpoint = 0x00, /* Control endpoint */
94 .endpoint = 0x00, /* Control pipe */
339 edesc = xfer->endpoint->edesc;
340 ecomp = xfer->endpoint->ecomp;
512 * endpoint descriptor!
936 * In device side mode control endpoint
964 /* see if there is a matching endpoint */
1009 /* set transfer endpoint pointe
[all...]
H A Dusb_compat_linux.c410 if (urb->endpoint == NULL) {
426 uhe = urb->endpoint;
504 if (urb->endpoint == NULL) {
508 uhe = urb->endpoint;
549 * an USB endpoint returns a stall message to the USB host controller.
569 cfg[0].endpoint = addr & UE_ADDR;
639 * control, bulk or interrupt endpoint, specified by "uhe". A control
680 * transfers on control endpoint zero:
709 urb->endpoint = uhe;
765 * allows you to set a maximum buffer size for a given USB endpoint
[all...]
H A Dusb_core.h131 struct usb_endpoint *endpoint; /* our USB endpoint */ member in struct:usb_xfer
164 uint8_t endpointno; /* physical USB endpoint */
/freebsd-9.3-release/lib/libusb/
H A Dlibusb10.c330 libusb_get_max_packet_size(libusb_device *dev, uint8_t endpoint) argument
354 pdend = &pdinf->endpoint[k];
355 if (pdend->bEndpointAddress == endpoint) {
369 libusb_get_max_iso_packet_size(libusb_device *dev, uint8_t endpoint) argument
374 ret = libusb_get_max_packet_size(dev, endpoint);
684 uint8_t endpoint, uint8_t xfer_index)
688 xfer_index |= (endpoint & LIBUSB20_ENDPOINT_ADDRESS_MASK) * 4;
690 if (endpoint & LIBUSB20_ENDPOINT_DIR_MASK) {
691 /* this is an IN endpoint */
698 libusb_clear_halt(struct libusb20_device *pdev, uint8_t endpoint) argument
683 libusb10_get_transfer(struct libusb20_device *pdev, uint8_t endpoint, uint8_t xfer_index) argument
1232 libusb10_submit_transfer_sub(struct libusb20_device *pdev, uint8_t endpoint) argument
1358 uint32_t endpoint; local
1421 uint32_t endpoint; local
[all...]
H A Dlibusb10_io.c505 uint8_t endpoint, uint8_t *data, int length,
526 xfer->endpoint = endpoint;
575 uint8_t endpoint, uint8_t *data, int length,
584 ret = libusb10_do_transfer(devh, endpoint, data, length, transferred,
593 uint8_t endpoint, uint8_t *data, int length,
602 ret = libusb10_do_transfer(devh, endpoint, data, length, transferred,
702 transfer->endpoint = 0;
718 libusb_device_handle *devh, uint8_t endpoint, uint8_t *buf,
723 transfer->endpoint
504 libusb10_do_transfer(libusb_device_handle *devh, uint8_t endpoint, uint8_t *data, int length, int *transferred, unsigned int timeout, int type) argument
574 libusb_bulk_transfer(libusb_device_handle *devh, uint8_t endpoint, uint8_t *data, int length, int *transferred, unsigned int timeout) argument
592 libusb_interrupt_transfer(libusb_device_handle *devh, uint8_t endpoint, uint8_t *data, int length, int *transferred, unsigned int timeout) argument
717 libusb_fill_bulk_transfer(struct libusb_transfer *transfer, libusb_device_handle *devh, uint8_t endpoint, uint8_t *buf, int length, libusb_transfer_cb_fn callback, void *user_data, uint32_t timeout) argument
733 libusb_fill_interrupt_transfer(struct libusb_transfer *transfer, libusb_device_handle *devh, uint8_t endpoint, uint8_t *buf, int length, libusb_transfer_cb_fn callback, void *user_data, uint32_t timeout) argument
749 libusb_fill_iso_transfer(struct libusb_transfer *transfer, libusb_device_handle *devh, uint8_t endpoint, uint8_t *buf, int length, int npacket, libusb_transfer_cb_fn callback, void *user_data, uint32_t timeout) argument
[all...]
H A Dlibusb.h267 struct libusb_endpoint_descriptor *endpoint; member in struct:libusb_interface_descriptor
345 uint32_t endpoint; member in struct:libusb_transfer
376 int libusb_clear_halt(libusb_device_handle *devh, uint8_t endpoint);
377 int libusb_get_max_packet_size(libusb_device * dev, uint8_t endpoint);
378 int libusb_get_max_iso_packet_size(libusb_device * dev, uint8_t endpoint);
427 void libusb_fill_bulk_transfer(struct libusb_transfer *transfer, libusb_device_handle *devh, uint8_t endpoint, uint8_t *buf, int length, libusb_transfer_cb_fn callback, void *user_data, uint32_t timeout);
428 void libusb_fill_interrupt_transfer(struct libusb_transfer *transfer, libusb_device_handle *devh, uint8_t endpoint, uint8_t *buf, int length, libusb_transfer_cb_fn callback, void *user_data, uint32_t timeout);
429 void libusb_fill_iso_transfer(struct libusb_transfer *transfer, libusb_device_handle *devh, uint8_t endpoint, uint8_t *buf, int length, int npacket, libusb_transfer_cb_fn callback, void *user_data, uint32_t timeout);
453 int libusb_bulk_transfer(libusb_device_handle * devh, uint8_t endpoint, uint8_t *data, int length, int *transferred, uint32_t timeout);
454 int libusb_interrupt_transfer(libusb_device_handle * devh, uint8_t endpoint, uint8_
[all...]
/freebsd-9.3-release/sys/gnu/fs/xfs/FreeBSD/
H A Dxfs_stats.c49 int endpoint; member in struct:xstats_entry
70 while (j < xstats[i].endpoint) {
/freebsd-9.3-release/include/rpcsvc/
H A Dnis_object.x146 struct endpoint {
159 endpoint ep<>; /* Universal addr(s) for server */
/freebsd-9.3-release/sys/contrib/octeon-sdk/
H A Dcvmx-usbd.c126 cvmx_dprintf("%s: Calling callback reason=%d endpoint=%d bytes=%d func=%p data=%p\n",
133 cvmx_dprintf("%s: No callback for reason=%d endpoint=%d bytes=%d\n",
190 /* Unmask the common endpoint interrupts */
564 * Poll a device mode endpoint for status
578 cvmx_dprintf("%s: endpoint=%d\n", __FUNCTION__, endpoint_num);
586 This bit indicates that the endpoint is disabled per the
596 as well as on the USB, for this endpoint. */
598 bytes_transferred = usb->endpoint[endpoint_num].buffer_length - usbc_dieptsiz.s.xfersize;
607 * Poll a device mode endpoint for status
621 cvmx_dprintf("%s: endpoint
709 int endpoint; local
722 int endpoint; local
[all...]
H A Dcvmx-usbd.h110 } endpoint[16]; member in struct:__anon6668
230 * Enable an endpoint to respond to an OUT transaction
237 * Transfer type for the endpoint
239 * Maximum packet size for the endpoint
251 * Disable an OUT endpoint
263 * Enable an endpoint to respond to an IN transaction
270 * Transfer type for the endpoint
272 * Maximum packet size for the endpoint
284 * Disable an IN endpoint
/freebsd-9.3-release/lib/libc/rpc/
H A Dauth_time.c88 endpoint *endpt;
122 endpoint eps[];
151 endpoint eps[]; /* array of endpoints */
159 endpoint *ep;
249 endpoint *ep, /* useful endpoints */
250 *useep = NULL; /* endpoint of xp */
261 endpoint teps[32];
437 msg("failed to connect to tcp endpoint.");
/freebsd-9.3-release/usr.sbin/usbdump/
H A Dusbdump.c74 int endpoint; member in struct:usb_filt
180 puf->endpoint = usb_filt_ep;
219 if (puf->endpoint != -1) {
230 BPF_JMP | BPF_JEQ | BPF_K, htobe32(puf->endpoint), 0, 1);
241 if (puf->endpoint != -1) {
246 BPF_JMP | BPF_JEQ | BPF_K, htobe32(puf->endpoint), 0, 1);
264 match_filter(int unit, int endpoint) argument
273 (puf->endpoint == -1 || puf->endpoint == endpoint))
[all...]
/freebsd-9.3-release/sys/dev/usb/controller/
H A Dehci.c1109 xfer->endpoint->toggle_next ^= dt;
1218 DPRINTFN(13, "xfer=%p endpoint=%p transfer done\n",
1219 xfer, xfer->endpoint);
1282 struct usb_pipe_methods *methods = xfer->endpoint->methods;
1805 if (xfer->endpoint->toggle_next) {
1826 xfer->endpoint->toggle_next = 0;
1893 /* set endpoint direction */
1911 * Send a DATA1 message and invert the current endpoint
1949 xfer->endpoint->toggle_next);
1955 methods = xfer->endpoint
[all...]
H A Dohci.c895 DPRINTFN(13, "xfer=%p endpoint=%p transfer done\n",
896 xfer, xfer->endpoint);
1007 } else if (xfer->endpoint->methods == &ohci_device_bulk_methods) {
1011 } else if (xfer->endpoint->methods == &ohci_device_ctrl_methods) {
1043 if (xfer->endpoint->methods == &ohci_device_isoc_methods) {
1056 xfer->endpoint->toggle_next = 1;
1058 xfer->endpoint->toggle_next = 0;
1420 methods = xfer->endpoint->methods;
1447 xfer->endpoint->toggle_next = 1;
1457 if (xfer->endpoint
[all...]
H A Datmegadci.c252 /* select endpoint number */
255 /* check endpoint status */
342 /* select endpoint number */
347 /* check endpoint status */
454 /* select endpoint number */
459 /* check endpoint status */
535 /* select endpoint number */
538 /* check endpoint status */
549 * The control endpoint has only got one bank, so if that bank
636 /* complete root HUB interrupt endpoint */
[all...]
H A Davr32dci.c282 /* check endpoint status */
364 /* check endpoint status */
461 /* check endpoint status */
529 /* check endpoint status */
540 * The control endpoint has only got one bank, so if that bank
623 /* complete root HUB interrupt endpoint */
635 /* complete root HUB interrupt endpoint */
672 /* complete root HUB interrupt endpoint */
693 /* complete root HUB interrupt endpoint */
709 /* complete root HUB interrupt endpoint */
[all...]
H A Duhci.c1015 DPRINTFN(13, "xfer=%p endpoint=%p transfer done\n",
1016 xfer, xfer->endpoint);
1159 xfer->endpoint->toggle_next = (token & UHCI_TD_SET_DT(1)) ? 0 : 1;
1193 DPRINTFN(13, "xfer=%p endpoint=%p transfer done\n",
1194 xfer, xfer->endpoint);
1315 if (xfer->endpoint->methods == &uhci_device_isoc_methods) {
1701 if (xfer->endpoint->toggle_next) {
1757 * device address and endpoint number:
1777 /* set endpoint direction */
1793 * send a DATA1 message and reverse the current endpoint
[all...]
/freebsd-9.3-release/contrib/nvi/vi/
H A Dvs_refresh.c781 size_t cols, curcol, curlen, endpoint, len, midpoint; local
872 endpoint = cols;
875 --endpoint;
877 endpoint -= len;
880 if (endpoint > curlen + 2) {
881 (void)gp->scr_move(sp, LASTLINE(sp), endpoint);
/freebsd-9.3-release/sys/dev/usb/serial/
H A Duvisor.c103 * are available to be transfered to the host for the specified endpoint.
211 .endpoint = UE_ADDR_ANY,
221 .endpoint = UE_ADDR_ANY,
481 config[0].endpoint = (port & 0xF); /* output */
482 config[1].endpoint = (port >> 4); /* input */
485 config[0].endpoint = (port & 0xF); /* output */
486 config[1].endpoint = (port & 0xF); /* input */
/freebsd-9.3-release/sys/dev/usb/storage/
H A Durio.c144 .endpoint = UE_ADDR_ANY,
153 .endpoint = UE_ADDR_ANY,
162 .endpoint = 0x00, /* Control pipe */
172 .endpoint = 0x00, /* Control pipe */
H A Dumass.c498 .endpoint = 0x00, /* Control pipe */
508 .endpoint = 0x00, /* Control pipe */
518 .endpoint = 0x00, /* Control pipe */
528 .endpoint = UE_ADDR_ANY,
537 .endpoint = UE_ADDR_ANY,
547 .endpoint = 0x00, /* Control pipe */
556 .endpoint = UE_ADDR_ANY,
566 .endpoint = 0x00, /* Control pipe */
575 .endpoint = UE_ADDR_ANY,
588 .endpoint
[all...]
/freebsd-9.3-release/sys/mips/cavium/usb/
H A Doctusb.c257 /* allocate endpoint and check pending */
327 /* allocate endpoint and check pending */
357 /* allocate endpoint and check pending */
386 /* allocate endpoint and check pending */
439 /* allocate endpoint and check pending */
537 /* allocate endpoint and check pending */
762 DPRINTFN(12, "xfer=%p endpoint=%p transfer done\n",
763 xfer, xfer->endpoint);
799 xfer->endpoint->toggle_next =
1121 td->qh->ep_toggle_next = xfer->endpoint
[all...]

Completed in 285 milliseconds

1234