Searched defs:endpoint (Results 1 - 24 of 24) sorted by relevance

/freebsd-head/sys/dev/ofw/
H A Dofw_graph.c92 if (strcmp(name, "endpoint") == 0)
94 else if (strncmp(name, "endpoint@", 9) == 0)
105 phandle_t endpoint, child; local
108 /* First test if we have only one endpoint */
109 endpoint = ofw_bus_find_child(port, "endpoint");
110 if (endpoint != 0)
111 return (endpoint);
126 ofw_graph_get_remote_endpoint(phandle_t endpoint) argument
130 if (OF_getencprop(endpoint, "remot
170 phandle_t outport, port, endpoint, remote; local
[all...]
/freebsd-head/sys/contrib/octeon-sdk/
H A Dcvmx-usbd.h110 } endpoint[16]; member in struct:__anon6741
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
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...]
/freebsd-head/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-head/lib/libusb/
H A Dlibusb10_desc.c198 /* setup all interface and endpoint pointers */
203 ifd->endpoint = endd;
208 ifd->endpoint = endd;
214 /* fill in all interface and endpoint data */
240 endd = &ifd->endpoint[k];
416 const struct libusb_endpoint_descriptor *endpoint,
419 if (endpoint == NULL)
421 return (libusb_parse_ss_endpoint_comp(endpoint->extra, endpoint->extra_length, ep_comp));
415 libusb_get_ss_endpoint_companion_descriptor(struct libusb_context *ctx, const struct libusb_endpoint_descriptor *endpoint, struct libusb_ss_endpoint_companion_descriptor **ep_comp) argument
H A Dlibusb10_io.c531 uint8_t endpoint, uint8_t *data, int length,
552 xfer->endpoint = endpoint;
601 uint8_t endpoint, uint8_t *data, int length,
611 ret = libusb10_do_transfer(devh, endpoint, data, length, transferred,
620 uint8_t endpoint, uint8_t *data, int length,
630 ret = libusb10_do_transfer(devh, endpoint, data, length, transferred,
730 transfer->endpoint = 0;
746 libusb_device_handle *devh, uint8_t endpoint, uint8_t *buf,
751 transfer->endpoint
530 libusb10_do_transfer(libusb_device_handle *devh, uint8_t endpoint, uint8_t *data, int length, int *transferred, unsigned int timeout, int type) argument
600 libusb_bulk_transfer(libusb_device_handle *devh, uint8_t endpoint, uint8_t *data, int length, int *transferred, unsigned int timeout) argument
619 libusb_interrupt_transfer(libusb_device_handle *devh, uint8_t endpoint, uint8_t *data, int length, int *transferred, unsigned int timeout) argument
745 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
761 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
777 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 Dusb.h98 /* USB endpoint descriptor */
134 struct usb_endpoint_descriptor *endpoint; member in struct:usb_interface_descriptor
H A Dlibusb10.c419 libusb_get_max_packet_size(libusb_device *dev, uint8_t endpoint) argument
443 pdend = &pdinf->endpoint[k];
444 if (pdend->bEndpointAddress == endpoint) {
458 libusb_get_max_iso_packet_size(libusb_device *dev, uint8_t endpoint) argument
463 ret = libusb_get_max_packet_size(dev, endpoint);
774 uint8_t endpoint, uint8_t xfer_index)
778 xfer_index |= (endpoint & LIBUSB20_ENDPOINT_ADDRESS_MASK) * 4;
780 if (endpoint & LIBUSB20_ENDPOINT_DIR_MASK) {
781 /* this is an IN endpoint */
788 libusb_clear_halt(struct libusb20_device *pdev, uint8_t endpoint) argument
773 libusb10_get_transfer(struct libusb20_device *pdev, uint8_t endpoint, uint8_t xfer_index) argument
1322 libusb10_submit_transfer_sub(struct libusb20_device *pdev, uint8_t endpoint) argument
1446 uint8_t endpoint; local
1509 uint8_t endpoint; local
[all...]
H A Dlibusb.h347 struct libusb_endpoint_descriptor *endpoint; member in struct:libusb_interface_descriptor
448 uint8_t endpoint; member in struct:libusb_transfer
481 int libusb_clear_halt(libusb_device_handle *devh, uint8_t endpoint);
482 int libusb_get_max_packet_size(libusb_device * dev, uint8_t endpoint);
483 int libusb_get_max_iso_packet_size(libusb_device * dev, uint8_t endpoint);
512 int libusb_get_ss_endpoint_companion_descriptor(struct libusb_context *ctx, const struct libusb_endpoint_descriptor *endpoint, struct libusb_ss_endpoint_companion_descriptor **ep_comp);
542 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);
543 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);
544 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);
568 int libusb_bulk_transfer(libusb_device_handle * devh, uint8_t endpoint, uint8_
[all...]
/freebsd-head/sys/arm64/coresight/
H A Dcoresight.h80 struct endpoint { struct
81 TAILQ_ENTRY(endpoint) link;
94 LIST_ENTRY(endpoint) endplink;
102 TAILQ_HEAD(endpoint_list, endpoint) endpoints;
133 LIST_HEAD(, endpoint) endplist;
155 struct endpoint * coresight_get_output_endpoint(struct coresight_platform_data *pdata);
156 struct coresight_device * coresight_get_output_device(struct endpoint *endp, struct endpoint **);
/freebsd-head/sys/dev/usb/
H A Dusb_core.h140 struct usb_endpoint *endpoint; /* our USB endpoint */ member in struct:usb_xfer
174 uint8_t endpointno; /* physical USB endpoint */
H A Dusb_device.h56 #define USB_UNCFG_FLAG_FREE_EP0 0x02 /* endpoint zero is freed */
83 struct usb_host_endpoint *endpoint; member in struct:usb_host_interface
224 struct usb_endpoint *ep_curr; /* current clear stall endpoint */
268 struct usb_endpoint_descriptor ctrl_ep_desc; /* for endpoint 0 */
269 struct usb_endpoint_ss_comp_descriptor ctrl_ep_comp_desc; /* for endpoint 0 */
H A Dusb_request.c240 /* round robin endpoint clear stall */
274 ep = ep_first; /* endpoint wrapped around */
333 /* store current endpoint */
702 * Make sure that the control endpoint is no longer
1960 * contains the maximum packet size to use on control endpoint
2074 /* only reset a particular device and endpoint */
2227 uint8_t port, uint8_t addr, uint8_t type, uint8_t endpoint)
2238 wValue = (endpoint & 0xF) | ((addr & 0x7F) << 4) |
2239 ((endpoint & 0x80) << 8) | ((type & 3) << 12);
2226 usbd_req_clear_tt_buffer(struct usb_device *udev, struct mtx *mtx, uint8_t port, uint8_t addr, uint8_t type, uint8_t endpoint) argument
H A Dusbdi.h137 * The following structure defines an USB endpoint
138 * USB endpoint.
151 uint8_t is_stalled:1; /* set if endpoint is stalled */
154 uint8_t iface_index; /* not used by "default endpoint" */
166 /* USB endpoint mode, see USB_EP_MODE_XXX */
206 uint8_t stall_pipe:1; /* set if the endpoint belonging to
236 uint8_t endpoint; /* pipe number */ member in struct:usb_config
/freebsd-head/contrib/ntp/sntp/libevent/test/
H A Dregress_util.c881 int endpoint = 32 - (evutil_weakrand_(&seed) % 4); local
891 endpoint-startpoint);
892 n += endpoint - startpoint;
894 if (j >= startpoint && j < endpoint) {
907 for (j=startpoint;j<endpoint;++j) {
/freebsd-head/sys/compat/linuxkpi/common/include/linux/
H A Dusb.h184 /* Whenever Linux references an USB endpoint:
185 * a) to initialize "urb->endpoint"
188 * Then it uses one of the following macros. The "endpoint" argument
189 * is the physical endpoint value masked by 0xF. The "dev" argument
192 #define usb_sndctrlpipe(dev,endpoint) \
193 usb_find_host_endpoint(dev, PIPE_CONTROL, (endpoint) | USB_DIR_OUT)
195 #define usb_rcvctrlpipe(dev,endpoint) \
196 usb_find_host_endpoint(dev, PIPE_CONTROL, (endpoint) | USB_DIR_IN)
198 #define usb_sndisocpipe(dev,endpoint) \
199 usb_find_host_endpoint(dev, PIPE_ISOCHRONOUS, (endpoint) | USB_DIR_OU
242 struct usb_host_endpoint *endpoint; /* (in) pipe pointer */ member in struct:urb
[all...]
/freebsd-head/contrib/libevent/test/
H A Dregress_util.c881 int endpoint = 32 - (evutil_weakrand_(&seed) % 4); local
891 endpoint-startpoint);
892 n += endpoint - startpoint;
894 if (j >= startpoint && j < endpoint) {
907 for (j=startpoint;j<endpoint;++j) {
/freebsd-head/usr.sbin/usbdump/
H A Dusbdump.c76 int endpoint; member in struct:usb_filt
182 puf->endpoint = usb_filt_ep;
221 if (puf->endpoint != -1) {
232 BPF_JMP | BPF_JEQ | BPF_K, htobe32(puf->endpoint), 0, 1);
243 if (puf->endpoint != -1) {
248 BPF_JMP | BPF_JEQ | BPF_K, htobe32(puf->endpoint), 0, 1);
266 match_filter(int unit, int endpoint) argument
275 (puf->endpoint == -1 || puf->endpoint == endpoint))
[all...]
/freebsd-head/sys/arm/ti/am335x/
H A Dam335x_lcd.c354 phandle_t endpoint; local
373 * We assume that the only endpoint in LCDC node
382 for (endpoint = OF_child(node); endpoint != 0; endpoint = OF_peer(endpoint)) {
383 if (OF_getencprop(endpoint, "remote-endpoint", &xref, sizeof(xref)) != -1) {
384 /* port/port@0/endpoint@0 */
/freebsd-head/contrib/ntp/ntpd/
H A Dntp_proto.c1522 * if a non-NULL endpoint is supplied. multicastclient
3447 struct endpoint endp;
3458 static struct endpoint *endpoint = NULL; local
3467 * Initialize and create endpoint, index and peer lists big
3485 endpoint_size = ALIGNED_SIZE(nlist * 2 * sizeof(*endpoint));
3489 endpoint = erealloc(endpoint, octets);
3490 peers = INC_ALIGNED_PTR(endpoint, endpoint_size);
3607 * Insert each interval endpoint o
[all...]
/freebsd-head/lib/libomp/
H A Domp-tools.h704 ompt_scope_endpoint_t endpoint,
713 ompt_scope_endpoint_t endpoint; member in struct:ompt_record_work_t
786 ompt_scope_endpoint_t endpoint,
795 ompt_scope_endpoint_t endpoint; member in struct:ompt_record_implicit_task_t
804 ompt_scope_endpoint_t endpoint,
811 ompt_scope_endpoint_t endpoint; member in struct:ompt_record_master_t
819 ompt_scope_endpoint_t endpoint,
827 ompt_scope_endpoint_t endpoint; member in struct:ompt_record_sync_region_t
862 ompt_scope_endpoint_t endpoint,
868 ompt_scope_endpoint_t endpoint; member in struct:ompt_record_nest_lock_t
957 ompt_scope_endpoint_t endpoint; member in struct:ompt_record_target_t
[all...]
/freebsd-head/contrib/ofed/opensm/opensm/
H A Dosm_torus.c69 * An endpoint terminates a link, and is one of three types:
70 * UNKNOWN - Uninitialized endpoint.
79 * Here is an endpoint taxonomy:
83 * ==> This endpoint is a CA or router port connected via a link to
87 * port ==> identifies the port on the CA/router this endpoint uses
92 * ==> This endpoint is the switch port used for in-band communication
95 * containing this endpoint
96 * sw ==> pointer to valid struct switch containing this endpoint
97 * port ==> identifies the port on the switch this endpoint uses
103 * ==> This endpoint i
124 struct endpoint { struct
[all...]
/freebsd-head/contrib/ntp/include/
H A Dntp.h172 * endpt is unrelated to the select algorithm's struct endpoint.
923 struct endpoint { struct
924 double val; /* offset of endpoint */
/freebsd-head/contrib/sqlite3/
H A Dsqlite3.c97149 FilePoint endpoint; /* Pointer to the end of the file */ member in struct:MemJournal
[all...]

Completed in 460 milliseconds