Lines Matching refs:up_endpoint
483 usb_endpoint_descriptor_t *ed = pipe->up_endpoint->ue_edesc; in motg_select_ep()
491 size = UE_GET_SIZE(UGETW(pipe->up_endpoint->ue_edesc->wMaxPacketSize)); in motg_select_ep()
524 usb_endpoint_descriptor_t *ed = pipe->up_endpoint->ue_edesc; in motg_open()
536 otgpipe->nexttoggle = pipe->up_endpoint->ue_toggle; in motg_open()
566 UE_GET_DIR(pipe->up_endpoint->ue_edesc->bEndpointAddress), in motg_open()
567 UGETW(pipe->up_endpoint->ue_edesc->wMaxPacketSize), 0); in motg_open()
572 otgpipe->nexttoggle = pipe->up_endpoint->ue_toggle; in motg_open()
1186 UE_GET_ADDR(xfer->ux_pipe->up_endpoint->ue_edesc->bEndpointAddress) | in motg_setup_endpoint_tx()
1187 motg_type(UE_GET_XFERTYPE(xfer->ux_pipe->up_endpoint->ue_edesc->bmAttributes)) in motg_setup_endpoint_tx()
1197 if ((xfer->ux_pipe->up_endpoint->ue_edesc->bmAttributes & UE_XFERTYPE) in motg_setup_endpoint_tx()
1235 UE_GET_ADDR(xfer->ux_pipe->up_endpoint->ue_edesc->bEndpointAddress) | in motg_setup_endpoint_rx()
1236 motg_type(UE_GET_XFERTYPE(xfer->ux_pipe->up_endpoint->ue_edesc->bmAttributes)) in motg_setup_endpoint_rx()
1246 if ((xfer->ux_pipe->up_endpoint->ue_edesc->bmAttributes & UE_XFERTYPE) in motg_setup_endpoint_rx()
1447 KASSERT(UGETW(xfer->ux_pipe->up_endpoint->ue_edesc->wMaxPacketSize) > 0); in motg_device_ctrl_intr_rx()
1448 max_datalen = uimin(UGETW(xfer->ux_pipe->up_endpoint->ue_edesc->wMaxPacketSize), in motg_device_ctrl_intr_rx()
1615 UGETW(xfer->ux_pipe->up_endpoint->ue_edesc->wMaxPacketSize)); in motg_device_ctrl_intr_tx()
1789 UE_GET_DIR(xfer->ux_pipe->up_endpoint->ue_edesc->bEndpointAddress) == UE_DIR_IN ? in motg_device_data_start1()
1800 if (UE_GET_DIR(xfer->ux_pipe->up_endpoint->ue_edesc->bEndpointAddress) in motg_device_data_start1()
1832 UGETW(xfer->ux_pipe->up_endpoint->ue_edesc->wMaxPacketSize)); in motg_device_data_read()
1866 UGETW(xfer->ux_pipe->up_endpoint->ue_edesc->wMaxPacketSize)); in motg_device_data_write()
1894 UGETW(xfer->ux_pipe->up_endpoint->ue_edesc->wMaxPacketSize)); in motg_device_data_write()
1967 KASSERT(UE_GET_SIZE(UGETW(xfer->ux_pipe->up_endpoint->ue_edesc->wMaxPacketSize)) > 0); in motg_device_intr_rx()
1969 UE_GET_SIZE(UGETW(xfer->ux_pipe->up_endpoint->ue_edesc->wMaxPacketSize)), in motg_device_intr_rx()
2143 pipe->up_endpoint->ue_toggle = otgpipe->nexttoggle; in motg_device_data_close()