Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/macintosh/
Dvia-macii.c114 static struct adb_request *current_req; variable
202 req.next = current_req; in macii_queue_poll()
203 current_req = &req; in macii_queue_poll()
227 if (current_req != NULL) { in macii_retransmit()
231 current_req = &rt; in macii_retransmit()
272 if (current_req != NULL) { in macii_write()
276 current_req = req; in macii_write()
289 if (!(current_req || retry_req)) in macii_autopoll()
321 req = current_req; in macii_start()
459 current_req->reply[0] = first_byte; in macii_interrupt()
[all …]
Dmacio-adb.c60 static struct adb_request *current_req, *last_req; variable
183 if (current_req != 0) { in macio_send_request()
187 current_req = last_req = req; in macio_send_request()
211 if ((req = current_req) != 0) { in macio_adb_interrupt()
221 current_req = req->next; in macio_adb_interrupt()
223 if (current_req) in macio_adb_interrupt()
232 if (current_req && current_req->sent) { in macio_adb_interrupt()
234 req = current_req; in macio_adb_interrupt()
240 current_req = req->next; in macio_adb_interrupt()
242 if (current_req) in macio_adb_interrupt()
Dadb-iop.c35 static struct adb_request *current_req; variable
70 current_req = req->next; in adb_iop_end_req()
89 req = current_req; in adb_iop_complete()
116 req = current_req; in adb_iop_listen()
174 req = current_req; in adb_iop_start()
251 if (current_req != 0) { in adb_iop_write()
255 current_req = req; in adb_iop_write()
Dvia-maciisi.c65 static struct adb_request* current_req = NULL; variable
318 if (current_req) { in maciisi_write()
322 current_req = req; in maciisi_write()
366 req = current_req; in maciisi_start()
468 reply_ptr = current_req->reply; in maciisi_interrupt()
478 req = current_req; in maciisi_interrupt()
512 current_req = req->next; in maciisi_interrupt()
519 maciisi_sync(current_req); in maciisi_interrupt()
547 maciisi_sync(current_req); in maciisi_interrupt()
570 req = current_req; in maciisi_interrupt()
[all …]
Dvia-cuda.c87 static struct adb_request *current_req; variable
392 if (current_req != 0) { in cuda_write()
396 current_req = req; in cuda_write()
413 req = current_req; in cuda_start()
481 reply_ptr = current_req->reply; in cuda_interrupt()
496 out_8(&via[SR], current_req->data[1]); in cuda_interrupt()
504 req = current_req; in cuda_interrupt()
513 current_req = req->next; in cuda_interrupt()
542 req = current_req; in cuda_interrupt()
555 current_req = req->next; in cuda_interrupt()
Dvia-pmu68k.c89 static struct adb_request *current_req; variable
500 if (current_req != 0) { in pmu_queue_request()
504 current_req = req; in pmu_queue_request()
541 req = current_req; in pmu_start()
609 req = current_req; in pmu_interrupt()
623 current_req = req->next; in pmu_interrupt()
662 req = current_req; in pmu_interrupt()
663 current_req = req->next; in pmu_interrupt()
682 } else if (current_req) { in pmu_interrupt()
Dvia-pmu.c119 static struct adb_request *current_req; variable
1036 if (current_req != 0) { in pmu_queue_request()
1040 current_req = req; in pmu_queue_request()
1110 req = current_req; in pmu_start()
1316 req = current_req; in pmu_sr_intr()
1330 current_req = req->next; in pmu_sr_intr()
1370 req = current_req; in pmu_sr_intr()
1371 current_req = req->next; in pmu_sr_intr()
1437 } else if (current_req) in via_pmu_interrupt()
/linux-2.4.37.9/drivers/s390/block/
Dxpram.c764 struct request * current_req; /* working request */ in xpram_request() local
766 # define current_req CURRENT in xpram_request() macro
774 current_req = blkdev_entry_next_request (&queue->queue_head); in xpram_request()
776 dev_no = DEVICE_NR(current_req->rq_dev); in xpram_request()
788 sects_to_copy = current_req->current_nr_sectors; in xpram_request()
798 …%lx, buf addr %lx\n", (unsigned long) current_req, current_req->sector, sects_to_copy, (unsigned l… in xpram_request()
800 buffer = current_req->buffer; in xpram_request()
803 if ( current_req->sector & (XPRAM_SEC_IN_PG - 1) ) { in xpram_request()
805 PRINT_WARN(" referenced sector: %ld\n",current_req->sector); in xpram_request()
825 + (current_req->sector >> XPRAM_SEC_IN_PG_ORDER); in xpram_request()
[all …]
/linux-2.4.37.9/drivers/scsi/
Dmesh.c135 Scsi_Cmnd *current_req; member
156 Scsi_Cmnd *current_req; /* req we're currently working on */ member
336 ms->current_req = 0; in mesh_detect()
340 ms->tgts[tgt].current_req = 0; in mesh_detect()
535 if (tp->current_req == NULL) in mesh_dump_regs()
538 t, tp->current_req, tp->data_goes_out, tp->saved_ptr); in mesh_dump_regs()
661 if (ms->phase != idle || ms->current_req != NULL) { in mesh_start()
672 if (ms->tgts[cmd->target].current_req == NULL) in mesh_start()
694 ms->current_req = cmd; in mesh_start_cmd()
696 ms->tgts[cmd->target].current_req = cmd; in mesh_start_cmd()
[all …]
Dmac53c94.c47 Scsi_Cmnd *current_req; /* req we're currently working on */ member
254 if (state->phase != idle || state->current_req != NULL) in mac53c94_start()
258 state->current_req = cmd = state->request_q; in mac53c94_start()
307 Scsi_Cmnd *cmd = state->current_req; in mac53c94_interrupt()
463 cmd = state->current_req; in cmd_done()
467 state->current_req = NULL; in cmd_done()
/linux-2.4.37.9/drivers/block/
Dswim_iop.c79 static struct swim_iop_req *current_req; variable
140 current_req = NULL; in swimiop_init()
215 if (current_req != NULL) { in swimiop_send_request()
220 current_req = req; in swimiop_send_request()
233 current_req = NULL; in swimiop_send_request()
255 req = current_req; in swimiop_receive()
262 current_req = NULL; in swimiop_receive()