Lines Matching refs:request
246 struct musb_request *request; in service_zero_data_request() local
289 request = next_request(musb_ep); in service_zero_data_request()
290 if (!musb_ep->busy && request) { in service_zero_data_request()
292 musb_ep_restart(musb, request); in service_zero_data_request()
473 struct musb_request *request; in ep0_rxstate() local
477 request = next_ep0_request(musb); in ep0_rxstate()
478 req = &request->request; in ep0_rxstate()
529 struct usb_request *request; in ep0_txstate() local
540 request = &req->request; in ep0_txstate()
543 fifo_src = (u8 *) request->buf + request->actual; in ep0_txstate()
545 request->length - request->actual); in ep0_txstate()
547 request->actual += fifo_count; in ep0_txstate()
551 || (request->actual == request->length in ep0_txstate()
552 && !request->zero)) { in ep0_txstate()
556 request = NULL; in ep0_txstate()
567 if (request) { in ep0_txstate()
569 musb_g_ep0_giveback(musb, request); in ep0_txstate()
603 musb_g_ep0_giveback(musb, &r->request); in musb_read_setup()
757 musb_g_ep0_giveback(musb, &req->request); in musb_g_ep0_irq()
931 req->request.actual = 0; in musb_g_ep0_queue()
932 req->request.status = -EINPROGRESS; in musb_g_ep0_queue()
960 req->request.length); in musb_g_ep0_queue()
970 if (req->request.length) in musb_g_ep0_queue()