Searched refs:ept (Results 1 – 2 of 2) sorted by relevance
58 struct usb_endpoint *ept; in usb_endpoint_alloc() local61 ept = alloc(sizeof(*ept)); in usb_endpoint_alloc()63 ept->num = num; in usb_endpoint_alloc()64 ept->in = !!in; in usb_endpoint_alloc()65 ept->req = 0; in usb_endpoint_alloc()69 if(ept->in) { in usb_endpoint_alloc()70 ept->bit = EPT_TX(ept->num); in usb_endpoint_alloc()72 ept->bit = EPT_RX(ept->num); in usb_endpoint_alloc()77 ept->head = epts + (num * 2) + (ept->in); in usb_endpoint_alloc()78 ept->head->config = cfg; in usb_endpoint_alloc()[all …]
80 int usb_queue_req(struct usb_endpoint *ept, struct usb_request *req);