Lines Matching refs:ep0_endpoint
100 struct usb_endpoint_instance *ep0_endpoint; variable
191 if (ep0_endpoint) in musb_peri_reset()
192 ep0_endpoint->endpoint_address = 0xff; in musb_peri_reset()
340 ep0_endpoint->rcv_urb = ep0_urb; in musb_peri_ep0_rx_data_request()
353 ep0_endpoint->tx_urb = ep0_urb; in musb_peri_ep0_tx_data_request()
354 ep0_endpoint->sent = 0; in musb_peri_ep0_tx_data_request()
483 endpoint = ep0_endpoint; in musb_peri_ep0_rx()
543 if (ep0_endpoint->sent >= ep0_urb->actual_length) { in musb_peri_ep0_tx()
548 transfer_size = ep0_urb->actual_length - ep0_endpoint->sent; in musb_peri_ep0_tx()
561 if (transfer_size > ep0_endpoint->tx_packetSize) in musb_peri_ep0_tx()
562 transfer_size = ep0_endpoint->tx_packetSize; in musb_peri_ep0_tx()
564 write_fifo(0, transfer_size, &ep0_urb->buffer[ep0_endpoint->sent]); in musb_peri_ep0_tx()
565 ep0_endpoint->sent += transfer_size; in musb_peri_ep0_tx()
568 if (ep0_endpoint->sent >= ep0_urb->actual_length) in musb_peri_ep0_tx()
584 if ((ep0_endpoint->sent >= ep0_urb->actual_length) && (p < pm)) in musb_peri_ep0_tx()
866 ep0_endpoint = endpoint; in udc_setup_ep()
867 ep0_endpoint->endpoint_address = 0xff; in udc_setup_ep()