Searched refs:ep0_urb (Results 1 – 3 of 3) sorted by relevance
24 static struct urb *ep0_urb; variable167 u32 *data32 = (u32 *) ep0_urb->buffer; in udc_read_urb_ep0()168 u8 *data8 = (u8 *) ep0_urb->buffer; in udc_read_urb_ep0()174 ep0_urb->buffer, ep0_urb->buffer_length, ep0_urb->actual_length); in udc_read_urb_ep0()182 data32[ep0_urb->actual_length / 4 + i] = readl(UDCDN(0)); in udc_read_urb_ep0()187 data8[ep0_urb->actual_length + w * 4 + i] = readb(UDCDN(0)); in udc_read_urb_ep0()191 ep0_urb->actual_length += n; in udc_read_urb_ep0()193 udc_dump_buffer("urb read", (u8 *) data32, ep0_urb->actual_length); in udc_read_urb_ep0()196 if (ep0_urb->actual_length == ep0_urb->device_request.wLength) in udc_read_urb_ep0()205 u32 *data = (u32 *) &ep0_urb->device_request; in udc_handle_ep0()[all …]
32 static struct urb *ep0_urb; variable307 u8 *datap = (u8 *)&ep0_urb->device_request; in dw_udc_setup()314 if (ep0_recv_setup(ep0_urb)) { in dw_udc_setup()322 if ((ep0_urb->device_request.bmRequestType & USB_REQ_DIRECTION_MASK) in dw_udc_setup()325 if (le16_to_cpu(ep0_urb->device_request.wLength)) { in dw_udc_setup()339 endpoint->tx_urb = ep0_urb; in dw_udc_setup()366 if ((ep0_urb->device_request.bmRequestType in dw_udc_ep0_rx()395 struct usb_device_request *request = &ep0_urb->device_request; in dw_udc_ep0_tx()430 if ((endpoint->sent == ep0_urb->actual_length) && in dw_udc_ep0_tx()431 ((ep0_urb->actual_length == wLength) || in dw_udc_ep0_tx()[all …]
100 static struct urb *ep0_urb; variable305 switch (ep0_urb->device_request.bRequest) { in musb_peri_ep0_zero_data_request()321 if (USB_REQ_SET_ADDRESS == ep0_urb->device_request.bRequest) { in musb_peri_ep0_zero_data_request()341 ep0_endpoint->rcv_urb = ep0_urb; in musb_peri_ep0_rx_data_request()342 ep0_urb->actual_length = 0; in musb_peri_ep0_rx_data_request()354 ep0_endpoint->tx_urb = ep0_urb; in musb_peri_ep0_tx_data_request()408 read_fifo(0, count0, &ep0_urb->device_request); in musb_peri_ep0_idle()411 print_usb_device_request(&ep0_urb->device_request); in musb_peri_ep0_idle()413 if (ep0_urb->device_request.wLength == 0) { in musb_peri_ep0_idle()414 err = ep0_recv_setup(ep0_urb); in musb_peri_ep0_idle()[all …]