Lines Matching refs:endp
457 usb_endpoint_descriptor_t* endp = usb_desc_iter_next_endpoint(&iter);
458 while (endp) {
459 if (usb_ep_direction(endp) == USB_ENDPOINT_IN &&
460 usb_ep_type(endp) == USB_ENDPOINT_INTERRUPT) {
461 intr_addr = endp->bEndpointAddress;
463 endp = usb_desc_iter_next_endpoint(&iter);
470 usb_endpoint_descriptor_t* endp = usb_desc_iter_next_endpoint(&iter);
471 while (endp) {
472 if (usb_ep_direction(endp) == USB_ENDPOINT_OUT) {
473 if (usb_ep_type(endp) == USB_ENDPOINT_BULK) {
474 bulk_out_addr = endp->bEndpointAddress;
476 } else if (usb_ep_direction(endp) == USB_ENDPOINT_IN) {
477 if (usb_ep_type(endp) == USB_ENDPOINT_BULK) {
478 bulk_in_addr = endp->bEndpointAddress;
481 endp = usb_desc_iter_next_endpoint(&iter);