Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/macintosh/
Dvia-macii.c113 static struct adb_request *current_req; /* first request struct in the queue */ variable
226 req.next = current_req; in macii_queue_poll()
228 if (WARN_ON(current_req)) { in macii_queue_poll()
229 current_req = &req; in macii_queue_poll()
231 current_req = &req; in macii_queue_poll()
269 if (current_req != NULL) { in macii_write()
273 current_req = req; in macii_write()
294 if (!current_req) { in macii_autopoll()
296 if (current_req && macii_state == idle) in macii_autopoll()
331 req = current_req; in macii_start()
[all …]
Dmacio-adb.c63 static struct adb_request *current_req, *last_req; variable
190 if (current_req != 0) { in macio_send_request()
194 current_req = last_req = req; in macio_send_request()
220 if ((req = current_req) != 0) { in macio_adb_interrupt()
230 current_req = req->next; in macio_adb_interrupt()
232 if (current_req) in macio_adb_interrupt()
242 if (current_req && current_req->sent) { in macio_adb_interrupt()
244 req = current_req; in macio_adb_interrupt()
250 current_req = req->next; in macio_adb_interrupt()
252 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.c166 static struct adb_request *current_req; variable
523 if (current_req) { in cuda_write()
527 current_req = req; in cuda_write()
541 if (current_req == NULL) in cuda_start()
549 out_8(&via[SR], current_req->data[data_index++]); in cuda_start()
615 reply_ptr = current_req->reply; in cuda_interrupt()
630 out_8(&via[SR], current_req->data[data_index++]); in cuda_interrupt()
639 req = current_req; in cuda_interrupt()
648 current_req = req->next; in cuda_interrupt()
663 full = reading_reply ? ARRAY_FULL(current_req->reply, reply_ptr) in cuda_interrupt()
[all …]
Dvia-pmu.c139 static struct adb_request *current_req; variable
1169 if (current_req) { in pmu_queue_request()
1173 current_req = req; in pmu_queue_request()
1239 req = current_req; in pmu_start()
1493 req = current_req; in pmu_sr_intr()
1507 current_req = req->next; in pmu_sr_intr()
1551 req = current_req; in pmu_sr_intr()
1557 current_req = req->next; in pmu_sr_intr()
1648 } else if (current_req) in via_pmu_interrupt()
/linux-6.1.9/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()
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 …]
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-6.1.9/drivers/block/
Dfloppy.c260 static struct request *current_req; variable
1865 pr_info("current_req=%p\n", current_req); in show_floppy()
2271 current_req = NULL; in floppy_end_request()
2278 struct request *req = current_req; in request_done()
2437 blk_rq_sectors(current_req)); in copy_buffer()
2440 buffer_max > fsector_t + blk_rq_sectors(current_req)) in copy_buffer()
2442 blk_rq_sectors(current_req)); in copy_buffer()
2445 if (remaining > blk_rq_bytes(current_req) && CT(raw_cmd->cmd[COMMAND]) == FD_WRITE) { in copy_buffer()
2450 blk_rq_sectors(current_req)); in copy_buffer()
2452 blk_rq_cur_sectors(current_req)); in copy_buffer()
[all …]
/linux-6.1.9/drivers/mmc/host/
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()
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
/linux-6.1.9/include/linux/
Dmemstick.h107 unsigned char current_req; member