/u-boot/drivers/usb/gadget/ |
H A D | core.c | 218 * Return the specified endpoint descriptor for the specified device. 243 * Return the specified endpoint transfer size; 266 * @endpoint: which endpoint 268 * Return the specified endpoint descriptor for the specified device. 270 struct usb_endpoint_descriptor *usbd_device_endpoint_descriptor (struct usb_device_instance *device, int port, int configuration, int interface, int alternate, int endpoint) argument 276 if (endpoint_descriptor->bEndpointAddress == endpoint) { 286 * @endpoint: endpoint to check 288 * Return non-zero if endpoint i 290 usbd_endpoint_halted(struct usb_device_instance *device, int endpoint) argument 304 usbd_rcv_complete(struct usb_endpoint_instance *endpoint, int len, int urb_bad) argument 347 usbd_tx_complete(struct usb_endpoint_instance *endpoint) argument 499 usbd_alloc_urb(struct usb_device_instance *device, struct usb_endpoint_instance *endpoint) argument [all...] |
/u-boot/include/usb/ |
H A D | udc.h | 38 int udc_endpoint_write(struct usb_endpoint_instance *endpoint); 40 struct usb_endpoint_instance *endpoint);
|
/u-boot/arch/arm/mach-apple/ |
H A D | rtkit.c | 22 /* Messages for management endpoint. */ 99 static int rtkit_handle_buf_req(struct apple_rtkit *rtk, int endpoint, struct apple_mbox_msg *msg) argument 112 switch (endpoint) { 123 printf("%s: unexpected endpoint %d\n", __func__, endpoint); 134 printf("%s: shmen_setup failed for endpoint %d\n", __func__, 135 endpoint); 144 msg->msg1 = endpoint; 157 int endpoint; local 177 endpoint [all...] |
/u-boot/drivers/usb/musb/ |
H A D | musb_udc.c | 484 struct usb_endpoint_instance *endpoint; local 488 endpoint = ep0_endpoint; 489 if (endpoint && endpoint->rcv_urb) { 490 struct urb *urb = endpoint->rcv_urb; 514 usbd_rcv_complete(endpoint, length, urb_bad); 525 "endpoint\n", 645 struct usb_endpoint_instance *endpoint; local 649 endpoint = GET_ENDPOINT(udc_device, ep); 650 if (endpoint 813 udc_endpoint_write(struct usb_endpoint_instance *endpoint) argument 869 udc_setup_ep(struct usb_device_instance *device, unsigned int id, struct usb_endpoint_instance *endpoint) argument [all...] |
/u-boot/drivers/serial/ |
H A D | usbtty.c | 68 /* one extra for control endpoint */ 381 struct usb_endpoint_instance *endpoint = local 386 udc_unset_nak(endpoint->endpoint_address&0x03); 402 struct usb_endpoint_instance *endpoint = local 406 udc_unset_nak(endpoint->endpoint_address&0x03); 411 udc_set_nak(endpoint->endpoint_address&0x03); 662 /* endpoint instances */ 727 /* Assign endpoint descriptors */ 741 /* Assign endpoint indices */ 757 /* Assign endpoint descriptor 786 next_urb(struct usb_device_instance *device, struct usb_endpoint_instance *endpoint) argument 824 struct usb_endpoint_instance *endpoint = local 886 struct usb_endpoint_instance *endpoint = local [all...] |
/u-boot/include/ |
H A D | usb.h | 122 /* one bit for each endpoint ([0] = IN, [1] = OUT) */ 124 /* endpoint halts; one bit per endpoint # & direction; 128 int epmaxpacketin[16]; /* INput endpoint specific maximums */ 129 int epmaxpacketout[16]; /* OUTput endpoint specific maximums */ 334 * - endpoint number (4 bits) 352 * - endpoint: bits 15-18 363 #define create_pipe(dev,endpoint) \ 364 (((dev)->devnum << 8) | ((endpoint) << 15) | \ 368 #define usb_sndctrlpipe(dev, endpoint) ((PIPE_CONTRO [all...] |
H A D | usbdevice.h | 442 * allocated for receiving data for an endpoint and used to call the 451 struct usb_endpoint_instance *endpoint; member in struct:urb 470 * Per endpoint configuration data. Used to track which function driver owns 471 * an endpoint. 475 int endpoint_address; /* logical endpoint address */ 485 int rcv_attributes; /* copy of bmAttributes from endpoint descriptor */ 486 int rcv_packetSize; /* maximum packet size from endpoint descriptor */ 494 int tx_attributes; /* copy of bmAttributes from endpoint descriptor */ 495 int tx_packetSize; /* maximum packet size from endpoint descriptor */ 534 * the default endpoint [all...] |
H A D | usbdescriptors.h | 31 * endpoint 32 * endpoint 35 * endpoint 36 * endpoint 40 * endpoint 41 * endpoint 153 /* endpoint modifiers 457 struct usb_endpoint_descriptor endpoint; member in union:usb_descriptor::__anon191
|
/u-boot/arch/x86/include/asm/ |
H A D | acpi_nhlt.h | 27 * supporting stream formats. Each endpoint may contain a device specific 56 /* NHLT endpoint types. */ 62 /* Optional endpoint specific configuration data. */ 65 /* Formats supported for endpoint. */ 81 * Each endpoint described in the endpoint descriptor array uses the provided 89 * Add endpoint to NHLT object. Returns NULL on error. 100 * Append blob of configuration to the endpoint proper. Returns 0 on 104 int nhlt_endpoint_append_config(struct nhlt_endpoint *endpoint, 107 /* Add a format type to the provided endpoint [all...] |
/u-boot/drivers/usb/cdns3/ |
H A D | ep0.c | 35 * cdns3_ep0_run_transfer - Do transfer on default endpoint hardware 280 /* check if endpoint is stalled */ 544 request->complete(&priv_dev->eps[0]->endpoint, request); 649 * cdns3_check_ep0_interrupt_proceed - Processes interrupt related to endpoint 0 687 * endpoint 0 is allways active 698 * endpoint 0 is allways active 707 * @ep: pointer to endpoint zero object 719 * cdns3_gadget_ep0_queue Transfer data on endpoint zero 720 * @ep: pointer to endpoint zero object 805 * cdns3_gadget_ep_set_wedge Set wedge on selected endpoint [all...] |
H A D | gadget.c | 37 * Additionally the packets directed to one endpoint can block entire on-chip 43 * The problematic situation was observed in case when endpoint has been enabled 45 * use this workaround only for these endpoint. 101 * cdns3_ep_addr_to_index - Macro converts endpoint address to 102 * index of endpoint object in cdns3_device.eps[] container 103 * @ep_addr: endpoint address for which endpoint object is required 155 * select_ep - selects endpoint 157 * @ep: endpoint address 189 * cdns3_allocate_trb_pool - Allocates TRB's pool for selected endpoint [all...] |
H A D | gadget.h | 651 /* OUT queue endpoint number. */ 963 #define ep_to_cdns3_ep(ep) (container_of(ep, struct cdns3_endpoint, endpoint)) 1094 * struct cdns3_endpoint - extended device side representation of USB endpoint. 1095 * @endpoint: usb endpoint 1101 * @cdns3_dev: device associated with this endpoint 1103 * @flags: specify the current state of endpoint 1107 * @dir: endpoint direction 1108 * @num: endpoint number (1 - 15) 1110 * @interval: interval between packets used for ISOC endpoint 1120 struct usb_ep endpoint; member in struct:cdns3_endpoint [all...] |
/u-boot/drivers/net/fsl-mc/ |
H A D | dprc.c | 223 * dprc_disconnect() - Disconnect one endpoint to remove its network connection 227 * @endpoint: Endpoint configuration parameters 232 const struct dprc_endpoint *endpoint) 243 cmd_params->id = cpu_to_le32(endpoint->id); 244 cmd_params->interface_id = cpu_to_le32(endpoint->if_id); 246 cmd_params->type[i] = endpoint->type[i]; 253 * dprc_get_connection() - Get connected endpoint and link status if connection 259 * @endpoint2: Returned endpoint 2 configuration parameters 231 dprc_disconnect(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, const struct dprc_endpoint *endpoint) argument
|
H A D | mc.c | 224 const char *dpl_get_connection_endpoint(void *blob, char *endpoint) argument 238 if (strcmp(endpoint, s1) == 0) 241 if (strcmp(endpoint, s2) == 0) 253 const char *endpoint; local 274 endpoint = dpl_get_connection_endpoint(blob, mac_name); 275 if (!is_dpni(endpoint)) 279 dpnioff = fdt_subnode_offset(blob, objoff, endpoint);
|
/u-boot/drivers/usb/dwc3/ |
H A D | gadget.c | 185 * for each enabled endpoint, later patches will come to 198 if (usb_endpoint_xfer_bulk(dep->endpoint.desc) 199 || usb_endpoint_xfer_isoc(dep->endpoint.desc)) 213 tmp = mult * (dep->endpoint.maxpacket + mdwidth); 245 usb_endpoint_xfer_isoc(dep->endpoint.desc)) 269 usb_gadget_giveback_request(&dep->endpoint, &req->request); 312 * endpoint command. 445 u32 burst = dep->endpoint.maxburst - 1; 474 * endpoint number. So USB endpoint [all...] |
H A D | gadget.h | 26 #define to_dwc3_ep(ep) (container_of(ep, struct dwc3_ep, endpoint)) 94 * @number: DWC endpoint number
|
H A D | ep0.c | 126 * before we get a Transfer Not Ready event on this endpoint. 228 if (!dep->endpoint.desc) { 665 dwc->ep0_usb_req.request.length = dep->endpoint.maxpacket; 813 maxp = ep0->endpoint.maxpacket; 852 if (IS_ALIGNED(ur->length, ep0->endpoint.maxpacket) && 943 } else if (!IS_ALIGNED(req->request.length, dep->endpoint.maxpacket) && 955 maxpacket = dep->endpoint.maxpacket; 1059 * control endpoint.
|
H A D | core.h | 36 #define DWC3_EVENT_MAX_NUM 64 /* 2 events/endpoint */ 456 * struct dwc3_ep - device side endpoint representation 457 * @endpoint: usb endpoint 458 * @request_list: list of requests for this endpoint 467 * @flags: endpoint flags (wedged, stalled, ...) 469 * @number: endpoint number (1 - 15) 478 struct usb_ep endpoint; member in struct:dwc3_ep 703 * @ep0state: state of endpoint zero 931 * @one_bit: indicates this is an endpoint even [all...] |
/u-boot/include/fsl-mc/ |
H A D | fsl_dprc.h | 213 const struct dprc_endpoint *endpoint);
|
/u-boot/scripts/dtc/ |
H A D | checks.c | 1422 if (!(strprefixeq(child->name, child->basenamelen, "endpoint") || 1423 get_property(child, "remote-endpoint"))) 1509 struct node *endpoint) 1515 prop = get_property(endpoint, "remote-endpoint"); 1526 FAIL_PROP(c, dti, endpoint, prop, "graph phandle is not valid"); 1539 if (!strprefixeq(node->name, node->basenamelen, "endpoint")) 1540 FAIL(c, dti, node, "graph endpont node name should be 'endpoint'"); 1508 get_remote_endpoint(struct check *c, struct dt_info *dti, struct node *endpoint) argument
|
/u-boot/drivers/usb/host/ |
H A D | ehci-hcd.c | 46 struct usb_endpoint_descriptor endpoint; member in struct:descriptor 769 descriptor.endpoint.bLength; 1513 printf("Timeout destroying interrupt endpoint queue\n"); 1552 printf("Timeout poll on interrupt endpoint\n");
|
H A D | xhci.c | 45 struct usb_endpoint_descriptor endpoint; member in struct:descriptor 77 cpu_to_le16(0x1f), /* includes SS endpoint descriptor */ 98 0x81, /* bEndpointAddress: IN endpoint 1 */ 225 * Used for passing endpoint bitmasks between the core and HCDs. 226 * Find the index for an endpoint given its descriptor. 316 * is set to N, it will service the endpoint every 2^(Interval)*125us. 352 * Fall through for interrupt endpoint interval decoding 372 * The "Mult" field in the endpoint context is only set for SuperSpeed isoc eps. 373 * High speed endpoint descriptors can define "the number of additional 375 * endpoint contex [all...] |
/u-boot/drivers/usb/isp1760/ |
H A D | isp1760-hcd.c | 169 /* Queue head, one for each active endpoint */ 201 struct usb_endpoint_descriptor endpoint; member in struct:descriptor 249 /* one endpoint (status change endpoint) */ 1194 /* Make sure this endpoint's TT buffer is clean before queueing ptds */ 1233 /* Start xfer for this endpoint if not already done */
|