endpoint_alloc
out_ep = endpoint_alloc(xdev,
xdev->msg_ep = endpoint_alloc(xdev, MSG_EP_NUM | USB_DIR_OUT,
xdev->in_ep = endpoint_alloc(xdev, IN_EP_NUM | USB_DIR_IN,