Lines Matching defs:endpoint

40  *  - a SuperSpeed endpoint has a companion descriptor
50 * struct usb_host_endpoint - host-side endpoint descriptor and queue
51 * @desc: descriptor for this endpoint, wMaxPacketSize in native byteorder
52 * @ss_ep_comp: SuperSpeed companion descriptor for this endpoint
53 * @ssp_isoc_ep_comp: SuperSpeedPlus isoc companion descriptor for this endpoint
54 * @urb_list: urbs queued to this endpoint; maintained by usbcore
58 * @extra: descriptors following this endpoint in the configuration
60 * @enabled: URBs may be submitted to this endpoint
61 * @streams: number of USB-3 streams allocated on the endpoint
63 * USB requests are always queued to a given endpoint, identified by a
90 struct usb_host_endpoint *endpoint;
182 * endpoint configurations. They will be in no particular order.
195 * @ep_devs_created: endpoint child pseudo-devices exist
221 * or by a product's vendor. The (default) control endpoint is part of
258 unsigned ep_devs_created:1; /* endpoint "devices" exist */
342 * set of endpoint configurations. They will be in no particular order.
587 * @toggle: one bit for each endpoint, with ([0] = IN, [1] = OUT) endpoints
590 * @ep0: endpoint 0 data (default control pipe)
1415 * @ep: Points to the endpoint's data structure. Will eventually
1417 * @pipe: Holds endpoint number, direction, type, and more.
1419 * usb_{snd,rcv}TYPEpipe(dev,endpoint), where the TYPE is "ctrl"
1422 * numbers range from zero to fifteen. Note that "in" endpoint two
1423 * is a different endpoint (and pipe) from "out" endpoint two.
1425 * maximum packet size of any given endpoint.
1426 * @stream_id: the endpoint's stream ID for bulk streams
1447 * the list (except the last) must be divisible by the endpoint's
1453 * size for the endpoint, which is a function of the configuration
1541 * the transfer interval in the endpoint descriptor is logarithmic.
1544 * If an isochronous endpoint queue isn't already running, the host
1607 struct usb_host_endpoint *ep; /* (internal) pointer to endpoint */
1638 * @pipe: the endpoint pipe
1681 * @pipe: the endpoint pipe
1714 * @pipe: the endpoint pipe
1721 * the endpoint descriptor's bInterval value.
1730 * encoding of the endpoint interval, and express polling intervals in
1835 int usb_control_msg_send(struct usb_device *dev, __u8 endpoint, __u8 request,
1839 int usb_control_msg_recv(struct usb_device *dev, __u8 endpoint, __u8 request,
1902 * on the endpoint.
1942 * a struct usb_device to identify an endpoint queue. Queue characteristics
1943 * are defined by the endpoint's descriptor. This cookie is called a "pipe",
1948 * like endpoint bEndpointAddress)
1950 * - endpoint: bits 15-18 ... bit positions known to uhci-hcd
1954 * Given the device address and endpoint descriptor, pipes are redundant.
1977 unsigned int endpoint)
1979 return (dev->devnum << 8) | (endpoint << 15);
1983 #define usb_sndctrlpipe(dev, endpoint) \
1984 ((PIPE_CONTROL << 30) | __create_pipe(dev, endpoint))
1985 #define usb_rcvctrlpipe(dev, endpoint) \
1986 ((PIPE_CONTROL << 30) | __create_pipe(dev, endpoint) | USB_DIR_IN)
1987 #define usb_sndisocpipe(dev, endpoint) \
1988 ((PIPE_ISOCHRONOUS << 30) | __create_pipe(dev, endpoint))
1989 #define usb_rcvisocpipe(dev, endpoint) \
1990 ((PIPE_ISOCHRONOUS << 30) | __create_pipe(dev, endpoint) | USB_DIR_IN)
1991 #define usb_sndbulkpipe(dev, endpoint) \
1992 ((PIPE_BULK << 30) | __create_pipe(dev, endpoint))
1993 #define usb_rcvbulkpipe(dev, endpoint) \
1994 ((PIPE_BULK << 30) | __create_pipe(dev, endpoint) | USB_DIR_IN)
1995 #define usb_sndintpipe(dev, endpoint) \
1996 ((PIPE_INTERRUPT << 30) | __create_pipe(dev, endpoint))
1997 #define usb_rcvintpipe(dev, endpoint) \
1998 ((PIPE_INTERRUPT << 30) | __create_pipe(dev, endpoint) | USB_DIR_IN)