Home
last modified time | relevance | path

Searched refs:current_req (Results 1 – 11 of 11) sorted by relevance

/drivers/macintosh/
Dvia-macii.c115 static struct adb_request *current_req; /* first request struct in the queue */ variable
228 req.next = current_req; in macii_queue_poll()
230 if (WARN_ON(current_req)) { in macii_queue_poll()
231 current_req = &req; in macii_queue_poll()
233 current_req = &req; in macii_queue_poll()
271 if (current_req != NULL) { in macii_write()
275 current_req = req; in macii_write()
296 if (!current_req) { in macii_autopoll()
298 if (current_req && macii_state == idle) in macii_autopoll()
333 req = current_req; in macii_start()
[all …]
Dmacio-adb.c61 static struct adb_request *current_req, *last_req; variable
188 if (current_req != 0) { in macio_send_request()
192 current_req = last_req = req; in macio_send_request()
218 if ((req = current_req) != 0) { in macio_adb_interrupt()
228 current_req = req->next; in macio_adb_interrupt()
230 if (current_req) in macio_adb_interrupt()
240 if (current_req && current_req->sent) { in macio_adb_interrupt()
242 req = current_req; in macio_adb_interrupt()
248 current_req = req->next; in macio_adb_interrupt()
250 if (current_req) in macio_adb_interrupt()
Dadb-iop.c26 static struct adb_request *current_req; variable
63 struct adb_request *req = current_req; in adb_iop_done()
68 current_req = req->next; in adb_iop_done()
123 struct adb_request *req = current_req; in adb_iop_listen()
163 req = current_req; in adb_iop_start()
233 if (current_req) { in adb_iop_write()
237 current_req = req; in adb_iop_write()
Dvia-cuda.c163 static struct adb_request *current_req; variable
520 if (current_req != 0) { in cuda_write()
524 current_req = req; in cuda_write()
538 if (current_req == NULL) in cuda_start()
546 out_8(&via[SR], current_req->data[data_index++]); in cuda_start()
612 reply_ptr = current_req->reply; in cuda_interrupt()
627 out_8(&via[SR], current_req->data[data_index++]); in cuda_interrupt()
636 req = current_req; in cuda_interrupt()
645 current_req = req->next; in cuda_interrupt()
660 full = reading_reply ? ARRAY_FULL(current_req->reply, reply_ptr) in cuda_interrupt()
[all …]
Dvia-pmu.c140 static struct adb_request *current_req; variable
1175 if (current_req) { in pmu_queue_request()
1179 current_req = req; in pmu_queue_request()
1245 req = current_req; in pmu_start()
1499 req = current_req; in pmu_sr_intr()
1513 current_req = req->next; in pmu_sr_intr()
1557 req = current_req; in pmu_sr_intr()
1563 current_req = req->next; in pmu_sr_intr()
1654 } else if (current_req) in via_pmu_interrupt()
/drivers/scsi/
Dmesh.c135 struct scsi_cmnd *current_req; member
156 struct scsi_cmnd *current_req; /* req we're currently working on */ member
328 if (tp->current_req == NULL) in mesh_dump_regs()
331 t, tp->current_req, tp->data_goes_out, tp->saved_ptr); in mesh_dump_regs()
411 ms->current_req = cmd; in mesh_start_cmd()
413 ms->tgts[id].current_req = cmd; in mesh_start_cmd()
562 if (ms->phase != idle || ms->current_req != NULL) { in mesh_start()
573 if (ms->tgts[cmd->device->id].current_req == NULL) in mesh_start()
594 cmd = ms->current_req; in mesh_done()
595 ms->current_req = NULL; in mesh_done()
[all …]
Dmac53c94.c53 struct scsi_cmnd *current_req; /* req we're currently working on */ member
153 if (state->phase != idle || state->current_req != NULL) in mac53c94_start()
157 state->current_req = cmd = state->request_q; in mac53c94_start()
186 struct Scsi_Host *dev = ((struct fsc_state *) dev_id)->current_req->device->host; in do_mac53c94_interrupt()
199 struct scsi_cmnd *cmd = state->current_req; in mac53c94_interrupt()
349 cmd = state->current_req; in cmd_done()
353 state->current_req = NULL; in cmd_done()
/drivers/block/
Dfloppy.c261 static struct request *current_req; variable
1865 pr_info("current_req=%p\n", current_req); in show_floppy()
2270 current_req = NULL; in floppy_end_request()
2277 struct request *req = current_req; in request_done()
2400 raw_cmd->kernel_data == bio_data(current_req->bio)) { in rw_interrupt()
2419 base = bio_data(current_req->bio); in buffer_chain_size()
2422 rq_for_each_segment(bv, current_req, iter) { in buffer_chain_size()
2460 blk_rq_sectors(current_req)); in copy_buffer()
2463 buffer_max > fsector_t + blk_rq_sectors(current_req)) in copy_buffer()
2465 blk_rq_sectors(current_req)); in copy_buffer()
[all …]
/drivers/mmc/host/
Dcavium.c455 req = host->current_req; in cvm_mmc_interrupt()
497 host->current_req = NULL; in cvm_mmc_interrupt()
673 WARN_ON(host->current_req); in cvm_mmc_dma_request()
674 host->current_req = mrq; in cvm_mmc_dma_request()
780 WARN_ON(host->current_req); in cvm_mmc_request()
781 host->current_req = mrq; in cvm_mmc_request()
Dushc.c105 struct mmc_request *current_req; member
218 struct mmc_request *req = ushc->current_req; in csw_callback()
274 ushc->current_req = req; in ushc_request()
Dcavium.h67 struct mmc_request *current_req; member