Home
last modified time | relevance | path

Searched refs:curr_req (Results 1 – 5 of 5) sorted by relevance

/drivers/usb/gadget/udc/
Dmv_u3d_core.c119 struct mv_u3d_req *curr_req) in mv_u3d_process_ep_req() argument
134 actual = curr_req->req.length; in mv_u3d_process_ep_req()
136 while (!list_empty(&curr_req->trb_list)) { in mv_u3d_process_ep_req()
137 curr_trb = list_entry(curr_req->trb_list.next, in mv_u3d_process_ep_req()
177 curr_req->req.actual = actual; in mv_u3d_process_ep_req()
916 struct mv_u3d_req *curr_req; in mv_u3d_ep_dequeue() local
917 curr_req = list_entry(ep->req_list.next, in mv_u3d_ep_dequeue()
919 if (curr_req == req) { in mv_u3d_ep_dequeue()
1628 struct mv_u3d_req *curr_req, *temp_req; in mv_u3d_irq_process_tr_complete() local
1665 list_for_each_entry_safe(curr_req, temp_req, in mv_u3d_irq_process_tr_complete()
[all …]
Dmv_udc_core.c128 struct mv_req *curr_req) in process_ep_req() argument
141 curr_dtd = curr_req->head; in process_ep_req()
143 actual = curr_req->req.length; in process_ep_req()
145 for (i = 0; i < curr_req->dtd_count; i++) { in process_ep_req()
183 if (i != curr_req->dtd_count - 1) in process_ep_req()
190 bit_pos = 1 << curr_req->ep->ep_num; in process_ep_req()
192 bit_pos = 1 << (16 + curr_req->ep->ep_num); in process_ep_req()
203 curr_req->req.actual = actual; in process_ep_req()
1797 struct mv_req *curr_req, *temp_req; in irq_process_tr_complete() local
1845 list_for_each_entry_safe(curr_req, temp_req, in irq_process_tr_complete()
[all …]
Dfsl_udc_core.c1599 struct fsl_req *curr_req) in process_ep_req() argument
1608 curr_td = curr_req->head; in process_ep_req()
1610 actual = curr_req->req.length; in process_ep_req()
1612 for (j = 0; j < curr_req->dtd_count; j++) { in process_ep_req()
1662 if (j != curr_req->dtd_count - 1) in process_ep_req()
1669 curr_req->req.actual = actual; in process_ep_req()
1680 struct fsl_req *curr_req, *temp_req; in dtd_complete_irq() local
1707 list_for_each_entry_safe(curr_req, temp_req, &curr_ep->queue, in dtd_complete_irq()
1709 status = process_ep_req(udc, i, curr_req); in dtd_complete_irq()
1716 curr_req->req.status = status; in dtd_complete_irq()
[all …]
/drivers/scsi/
Datp870u.h59 struct scsi_cmnd *curr_req; member
Datp870u.c299 workreq = dev->id[c][target_id].curr_req; in atp870u_intr_handle()
443 workreq = dev->id[c][target_id].curr_req; in atp870u_intr_handle()
484 dev->id[c][target_id].curr_req = NULL; in atp870u_intr_handle()
731 workreq = dev->id[c][dev->last_cmd[c]].curr_req; in DEF_SCSI_QCMD()
752 if (dev->id[c][scmd_id(workreq)].curr_req == NULL) { in DEF_SCSI_QCMD()
753 dev->id[c][scmd_id(workreq)].curr_req = workreq; in DEF_SCSI_QCMD()
2540 atp_dev->id[c][k].curr_req = NULL; in atp870u_init_tables()
2556 atp_dev->id[c][k].curr_req = NULL; in atp870u_init_tables()
3081 if (dev->id[c][j].curr_req != NULL) { in atp870u_abort()
3082 workrequ = dev->id[c][j].curr_req; in atp870u_abort()