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

1234

/freebsd-10.0-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.c141 .endpoint = UE_ADDR_ANY,
1217 /* Start the interrupt endpoint, if any */
1478 * The best Transaction Translation slot for an interrupt endpoint.
1600 xfer->endpoint->refcount_bw++;
1601 if (xfer->endpoint->refcount_bw != 1)
1606 switch (xfer->endpoint->edesc->bmAttributes & UE_XFERTYPE) {
1614 xfer->endpoint->usb_uframe = slot;
1615 xfer->endpoint->usb_smask = mask << slot;
1619 xfer->endpoint->usb_cmask = 0x00 ;
1621 xfer->endpoint
[all...]
H A Dusb_debug.c162 * This function dumps the USB transfer that are queued up on an USB endpoint.
170 printf("usb_dump_queue: endpoint=%p xfer: ", ep);
181 * This function dumps information about an USB endpoint.
187 printf("usb_dump_endpoint: endpoint=%p", ep);
199 printf("usb_dump_endpoint: endpoint=NULL\n");
216 if (xfer->endpoint == NULL) {
217 printf("xfer %p: endpoint=NULL\n",
223 "endpoint=%p ep=0x%02x attr=0x%02x\n",
227 udev->address, xfer->endpoint,
228 xfer->endpoint
[all...]
H A Dusb_transfer.c82 /* This transfer is used for generic control endpoint transfers */
86 .endpoint = 0x00, /* Control endpoint */
98 .endpoint = 0x00, /* Control pipe */
362 edesc = xfer->endpoint->edesc;
363 ecomp = xfer->endpoint->ecomp;
525 * endpoint descriptor!
968 * In device side mode control endpoint
996 /* see if there is a matching endpoint */
1002 * the endpoint mod
[all...]
H A Dusb_compat_linux.c414 if (urb->endpoint == NULL) {
430 uhe = urb->endpoint;
508 if (urb->endpoint == NULL) {
512 uhe = urb->endpoint;
553 * an USB endpoint returns a stall message to the USB host controller.
573 cfg[0].endpoint = addr & UE_ADDR;
643 * control, bulk or interrupt endpoint, specified by "uhe". A control
684 * transfers on control endpoint zero:
713 urb->endpoint = uhe;
769 * allows you to set a maximum buffer size for a given USB endpoint
[all...]
H A Dusb_core.h130 struct usb_endpoint *endpoint; /* our USB endpoint */ member in struct:usb_xfer
164 uint8_t endpointno; /* physical USB endpoint */
/freebsd-10.0-release/lib/libusb/
H A Dlibusb10.c336 libusb_get_max_packet_size(libusb_device *dev, uint8_t endpoint) argument
360 pdend = &pdinf->endpoint[k];
361 if (pdend->bEndpointAddress == endpoint) {
375 libusb_get_max_iso_packet_size(libusb_device *dev, uint8_t endpoint) argument
380 ret = libusb_get_max_packet_size(dev, endpoint);
694 uint8_t endpoint, uint8_t xfer_index)
698 xfer_index |= (endpoint & LIBUSB20_ENDPOINT_ADDRESS_MASK) * 4;
700 if (endpoint & LIBUSB20_ENDPOINT_DIR_MASK) {
701 /* this is an IN endpoint */
708 libusb_clear_halt(struct libusb20_device *pdev, uint8_t endpoint) argument
693 libusb10_get_transfer(struct libusb20_device *pdev, uint8_t endpoint, uint8_t xfer_index) argument
1239 libusb10_submit_transfer_sub(struct libusb20_device *pdev, uint8_t endpoint) argument
1365 uint8_t endpoint; local
1425 uint8_t endpoint; local
[all...]
H A Dlibusb10_io.c488 uint8_t endpoint, uint8_t *data, int length,
509 xfer->endpoint = endpoint;
558 uint8_t endpoint, uint8_t *data, int length,
567 ret = libusb10_do_transfer(devh, endpoint, data, length, transferred,
576 uint8_t endpoint, uint8_t *data, int length,
585 ret = libusb10_do_transfer(devh, endpoint, data, length, transferred,
685 transfer->endpoint = 0;
701 libusb_device_handle *devh, uint8_t endpoint, uint8_t *buf,
706 transfer->endpoint
487 libusb10_do_transfer(libusb_device_handle *devh, uint8_t endpoint, uint8_t *data, int length, int *transferred, unsigned int timeout, int type) argument
557 libusb_bulk_transfer(libusb_device_handle *devh, uint8_t endpoint, uint8_t *data, int length, int *transferred, unsigned int timeout) argument
575 libusb_interrupt_transfer(libusb_device_handle *devh, uint8_t endpoint, uint8_t *data, int length, int *transferred, unsigned int timeout) argument
700 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
716 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
732 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.h268 struct libusb_endpoint_descriptor *endpoint; member in struct:libusb_interface_descriptor
346 uint8_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);
451 int libusb_bulk_transfer(libusb_device_handle * devh, uint8_t endpoint, uint8_t *data, int length, int *transferred, uint32_t timeout);
452 int libusb_interrupt_transfer(libusb_device_handle * devh, uint8_t endpoint, uint8_
[all...]
/freebsd-10.0-release/include/rpcsvc/
H A Dnis_object.x146 struct endpoint {
159 endpoint ep<>; /* Universal addr(s) for server */
/freebsd-10.0-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:__anon7157
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-10.0-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-10.0-release/usr.sbin/usbdump/
H A Dusbdump.c73 int endpoint; member in struct:usb_filt
179 puf->endpoint = usb_filt_ep;
218 if (puf->endpoint != -1) {
229 BPF_JMP | BPF_JEQ | BPF_K, htobe32(puf->endpoint), 0, 1);
240 if (puf->endpoint != -1) {
245 BPF_JMP | BPF_JEQ | BPF_K, htobe32(puf->endpoint), 0, 1);
263 match_filter(int unit, int endpoint) argument
272 (puf->endpoint == -1 || puf->endpoint == endpoint))
[all...]
/freebsd-10.0-release/sys/dev/usb/controller/
H A Dehci.c1112 xfer->endpoint->toggle_next ^= dt;
1214 DPRINTFN(13, "xfer=%p endpoint=%p transfer done\n",
1215 xfer, xfer->endpoint);
1278 struct usb_pipe_methods *methods = xfer->endpoint->methods;
1790 if (xfer->endpoint->toggle_next) {
1811 xfer->endpoint->toggle_next = 0;
1878 /* set endpoint direction */
1896 * Send a DATA1 message and invert the current endpoint
1934 xfer->endpoint->toggle_next);
1940 methods = xfer->endpoint
[all...]
H A Dohci.c898 DPRINTFN(13, "xfer=%p endpoint=%p transfer done\n",
899 xfer, xfer->endpoint);
1010 } else if (xfer->endpoint->methods == &ohci_device_bulk_methods) {
1014 } else if (xfer->endpoint->methods == &ohci_device_ctrl_methods) {
1046 if (xfer->endpoint->methods == &ohci_device_isoc_methods) {
1059 xfer->endpoint->toggle_next = 1;
1061 xfer->endpoint->toggle_next = 0;
1423 methods = xfer->endpoint->methods;
1450 xfer->endpoint->toggle_next = 1;
1460 if (xfer->endpoint
[all...]
H A Datmegadci.c255 /* select endpoint number */
258 /* check endpoint status */
345 /* select endpoint number */
350 /* check endpoint status */
457 /* select endpoint number */
462 /* check endpoint status */
538 /* select endpoint number */
541 /* check endpoint status */
552 * The control endpoint has only got one bank, so if that bank
639 /* complete root HUB interrupt endpoint */
[all...]
H A Davr32dci.c284 /* check endpoint status */
366 /* check endpoint status */
463 /* check endpoint status */
531 /* check endpoint status */
542 * The control endpoint has only got one bank, so if that bank
625 /* complete root HUB interrupt endpoint */
637 /* complete root HUB interrupt endpoint */
674 /* complete root HUB interrupt endpoint */
695 /* complete root HUB interrupt endpoint */
711 /* complete root HUB interrupt endpoint */
[all...]
H A Duhci.c1018 DPRINTFN(13, "xfer=%p endpoint=%p transfer done\n",
1019 xfer, xfer->endpoint);
1162 xfer->endpoint->toggle_next = (token & UHCI_TD_SET_DT(1)) ? 0 : 1;
1191 DPRINTFN(13, "xfer=%p endpoint=%p transfer done\n",
1192 xfer, xfer->endpoint);
1313 if (xfer->endpoint->methods == &uhci_device_isoc_methods) {
1699 if (xfer->endpoint->toggle_next) {
1755 * device address and endpoint number:
1775 /* set endpoint direction */
1791 * send a DATA1 message and reverse the current endpoint
[all...]
/freebsd-10.0-release/contrib/nvi/vi/
H A Dvs_refresh.c774 size_t cols, curcol, curlen, endpoint, len, midpoint; local
869 endpoint = cols;
872 --endpoint;
874 endpoint -= len;
877 if (endpoint > curlen + 2) {
878 (void)gp->scr_move(sp, LASTLINE(sp), endpoint);
/freebsd-10.0-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-10.0-release/contrib/llvm/tools/lldb/tools/driver/
H A DIOChannel.cpp158 int endpoint = cur_pos + page_size; local
159 if (endpoint > num_elements)
160 endpoint = num_elements;
161 for (; cur_pos < endpoint; cur_pos++)
/freebsd-10.0-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 */
/freebsd-10.0-release/contrib/ntp/ntpd/
H A Dntp_proto.c1810 static struct endpoint *endpoint = NULL; local
1818 * Initialize and create endpoint, index and peer lists big
1837 free(endpoint);
1843 endpoint_size += 5 * 3 * sizeof(*endpoint);
1847 endpoint = (struct endpoint *)emalloc(endpoint_size);
1913 * Insert each interval endpoint on the sorted
1920 if (e >= endpoint[indx[i]].val)
1926 endpoint[nl
[all...]
/freebsd-10.0-release/sys/mips/cavium/usb/
H A Doctusb.c259 /* allocate endpoint and check pending */
329 /* allocate endpoint and check pending */
359 /* allocate endpoint and check pending */
388 /* allocate endpoint and check pending */
441 /* allocate endpoint and check pending */
539 /* allocate endpoint and check pending */
764 DPRINTFN(12, "xfer=%p endpoint=%p transfer done\n",
765 xfer, xfer->endpoint);
801 xfer->endpoint->toggle_next =
1123 td->qh->ep_toggle_next = xfer->endpoint
[all...]

Completed in 168 milliseconds

1234