Home
last modified time | relevance | path

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

/linux/drivers/macintosh/
H A Dvia-macii.c113 static struct adb_request *current_req; /* first request struct in the queue */ variable
221 req.next = current_req; in macii_queue_poll()
223 if (WARN_ON(current_req)) { in macii_queue_poll()
224 current_req = &req; in macii_queue_poll()
226 current_req = &req; in macii_queue_poll()
264 if (current_req != NULL) { in macii_write()
268 current_req = req; in macii_write()
289 if (!current_req) { in macii_autopoll()
291 if (current_req && macii_state == idle) in macii_autopoll()
326 req = current_req; in macii_start()
[all …]
H A Dmacio-adb.c63 static struct adb_request *current_req, *last_req; variable
187 if (current_req) { in macio_send_request()
191 current_req = last_req = req; in macio_send_request()
217 req = current_req; 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()
H A 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()
H A Dvia-cuda.c166 static struct adb_request *current_req; variable
517 if (current_req) { in cuda_write()
521 current_req = req; in cuda_write()
535 if (current_req == NULL) in cuda_start()
543 out_8(&via[SR], current_req->data[data_index++]); in cuda_start()
609 reply_ptr = current_req->reply; in cuda_interrupt()
624 out_8(&via[SR], current_req->data[data_index++]); in cuda_interrupt()
633 req = current_req; in cuda_interrupt()
642 current_req = req->next; in cuda_interrupt()
657 full = reading_reply ? ARRAY_FULL(current_req->reply, reply_ptr) in cuda_interrupt()
[all …]
H A Dvia-pmu.c139 static struct adb_request *current_req; variable
1166 if (current_req) { in pmu_queue_request()
1170 current_req = req; in pmu_queue_request()
1236 req = current_req; in pmu_start()
1490 req = current_req; in pmu_sr_intr()
1504 current_req = req->next; in pmu_sr_intr()
1548 req = current_req; in pmu_sr_intr()
1554 current_req = req->next; in pmu_sr_intr()
1645 } else if (current_req) in via_pmu_interrupt()
/linux/drivers/scsi/
H A 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()
402 ms->current_req = cmd; in mesh_start_cmd()
404 ms->tgts[id].current_req = cmd; in mesh_start_cmd()
553 if (ms->phase != idle || ms->current_req != NULL) { in mesh_start()
564 if (ms->tgts[cmd->device->id].current_req == NULL) in mesh_start()
585 cmd = ms->current_req; in mesh_done()
586 ms->current_req = NULL; in mesh_done()
[all …]
H A Dmac53c94.c53 struct scsi_cmnd *current_req; /* req we're currently working on */ member
150 if (state->phase != idle || state->current_req != NULL) in mac53c94_start()
154 state->current_req = cmd = state->request_q; in mac53c94_start()
183 struct Scsi_Host *dev = ((struct fsc_state *) dev_id)->current_req->device->host; in do_mac53c94_interrupt()
196 struct scsi_cmnd *const cmd = state->current_req; in mac53c94_interrupt()
345 cmd = state->current_req; in cmd_done()
349 state->current_req = NULL; in cmd_done()
/linux/drivers/block/
H A Dfloppy.c260 static struct request *current_req; variable
1868 pr_info("current_req=%p\n", current_req); in show_floppy()
2274 current_req = NULL; in floppy_end_request()
2281 struct request *req = current_req; in request_done()
2440 blk_rq_sectors(current_req)); in copy_buffer()
2443 buffer_max > fsector_t + blk_rq_sectors(current_req)) in copy_buffer()
2445 blk_rq_sectors(current_req)); in copy_buffer()
2448 if (remaining > blk_rq_bytes(current_req) && CT(raw_cmd->cmd[COMMAND]) == FD_WRITE) { in copy_buffer()
2453 blk_rq_sectors(current_req)); in copy_buffer()
2455 blk_rq_cur_sectors(current_req)); in copy_buffer()
[all …]
/linux/drivers/mmc/host/
H A Dcavium.c454 req = host->current_req; in cvm_mmc_interrupt()
496 host->current_req = NULL; in cvm_mmc_interrupt()
671 WARN_ON(host->current_req); in cvm_mmc_dma_request()
672 host->current_req = mrq; in cvm_mmc_dma_request()
778 WARN_ON(host->current_req); in cvm_mmc_request()
779 host->current_req = mrq; in cvm_mmc_request()
H A 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()
H A Dcavium.h67 struct mmc_request *current_req; member
/linux/include/linux/
H A Dmemstick.h107 unsigned char current_req; member