Searched refs:ep (Results 1 – 5 of 5) sorted by relevance
110 int readDataHeader(struct usb_request *ep);112 int writeDataHeader(struct usb_request *ep, uint32_t length);113 int write(struct usb_request *ep);114 int write(struct usb_request *ep, void* buffer, uint32_t length);
130 struct usb_endpoint_descriptor *ep; in open() local135 ep = (struct usb_endpoint_descriptor *)usb_descriptor_iter_next(&iter); in open()136 if (!ep || ep->bDescriptorType != USB_DT_ENDPOINT) { in open()141 if (ep->bmAttributes == USB_ENDPOINT_XFER_BULK) { in open()142 if (ep->bEndpointAddress & USB_ENDPOINT_DIR_MASK) in open()143 ep_in_desc = ep; in open()145 ep_out_desc = ep; in open()146 } else if (ep->bmAttributes == USB_ENDPOINT_XFER_INT && in open()147 ep->bEndpointAddress & USB_ENDPOINT_DIR_MASK) { in open()148 ep_intr_desc = ep; in open()
161 public int setMasterElectionEndpoint(InetSocketAddress ep) { in setMasterElectionEndpoint() argument164 return mUtils.transactSetSockaddr(METHOD_SET_MASTER_ELECTION_ENDPOINT, ep); in setMasterElectionEndpoint()
602 EP_RECORD *ep;616 ep = inEp;618 ep = outEp;620 ep = NULL;622 if (ep) {623 ep->epAddr = epDesc->bEndpointAddress & 0x7f;624 ep->Attr = epDesc->bmAttributes;625 ep->MaxPktSize = epDesc->wMaxPacketSize;626 ep->sndToggle = bmSNDTOG0;627 ep->rcvToggle = bmRCVTOG0;
307 const Endpoint& ep = mEndpointMap.keyAt(i); in sendHeartbeats() local316 doSendPacket_l(packet, ep); in sendHeartbeats()