Home
last modified time | relevance | path

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

/openbmc/linux/drivers/scsi/
H A Datp870u.h56 struct scsi_cmnd *curr_req; member
H A Datp870u.c346 workreq = dev->id[c][target_id].curr_req; in atp870u_intr_handle()
490 workreq = dev->id[c][target_id].curr_req; in atp870u_intr_handle()
522 dev->id[c][target_id].curr_req = NULL; in atp870u_intr_handle()
732 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()
758 dev->id[c][scmd_id(workreq)].curr_req = workreq; in DEF_SCSI_QCMD()
1270 atp_dev->id[c][k].curr_req = NULL; in atp870u_init_tables()
1286 atp_dev->id[c][k].curr_req = NULL; in atp870u_init_tables()
1664 if (dev->id[c][j].curr_req != NULL) { in atp870u_abort()
1665 workrequ = dev->id[c][j].curr_req; in atp870u_abort()
/openbmc/linux/drivers/usb/gadget/udc/
H A Dmv_u3d_core.c115 struct mv_u3d_req *curr_req) in mv_u3d_process_ep_req() argument
126 actual = curr_req->req.length; in mv_u3d_process_ep_req()
128 while (!list_empty(&curr_req->trb_list)) { in mv_u3d_process_ep_req()
164 curr_req->req.actual = actual; in mv_u3d_process_ep_req()
905 struct mv_u3d_req *curr_req; in mv_u3d_ep_dequeue() local
906 curr_req = list_entry(ep->req_list.next, in mv_u3d_ep_dequeue()
908 if (curr_req == req) { in mv_u3d_ep_dequeue()
1616 struct mv_u3d_req *curr_req, *temp_req; in mv_u3d_irq_process_tr_complete() local
1659 curr_req->req.status = status; in mv_u3d_irq_process_tr_complete()
1663 mv_u3d_done(curr_ep, curr_req, 0); in mv_u3d_irq_process_tr_complete()
[all …]
H A Dmv_udc_core.c122 struct mv_req *curr_req) in process_ep_req() argument
135 curr_dtd = curr_req->head; in process_ep_req()
136 actual = curr_req->req.length; in process_ep_req()
138 for (i = 0; i < curr_req->dtd_count; i++) { in process_ep_req()
176 if (i != curr_req->dtd_count - 1) in process_ep_req()
183 bit_pos = 1 << curr_req->ep->ep_num; in process_ep_req()
185 bit_pos = 1 << (16 + curr_req->ep->ep_num); in process_ep_req()
196 curr_req->req.actual = actual; in process_ep_req()
1788 struct mv_req *curr_req, *temp_req; in irq_process_tr_complete() local
1843 curr_req->req.status = status; in irq_process_tr_complete()
[all …]
H A Dfsl_udc_core.c1594 struct fsl_req *curr_req) in process_ep_req() argument
1603 curr_td = curr_req->head; in process_ep_req()
1604 actual = curr_req->req.length; in process_ep_req()
1606 for (j = 0; j < curr_req->dtd_count; j++) { in process_ep_req()
1654 if (j != curr_req->dtd_count - 1) in process_ep_req()
1661 curr_req->req.actual = actual; in process_ep_req()
1672 struct fsl_req *curr_req, *temp_req; in dtd_complete_irq() local
1701 status = process_ep_req(udc, i, curr_req); in dtd_complete_irq()
1708 curr_req->req.status = status; in dtd_complete_irq()
1711 ep0_req_complete(udc, curr_ep, curr_req); in dtd_complete_irq()
[all …]