Searched refs:in_ptr (Results 1 – 3 of 3) sorted by relevance
/linux-2.4.37.9/drivers/scsi/ |
D | qlogicpti.c | 1031 struct qlogicpti *qpti, u_int in_ptr, u_int out_ptr) in load_cmd() argument 1059 cont = (struct Continuation_Entry *) &qpti->req_cpu[in_ptr]; in load_cmd() 1060 in_ptr = NEXT_REQ_PTR(in_ptr); in load_cmd() 1061 if (in_ptr == out_ptr) in load_cmd() 1096 cmd->handle = in_ptr; in load_cmd() 1097 qpti->cmd_slots[in_ptr] = Cmnd; in load_cmd() 1100 sbus_writew(in_ptr, qpti->qregs + MBOX4); in load_cmd() 1101 qpti->req_in_ptr = in_ptr; in load_cmd() 1103 return in_ptr; in load_cmd() 1106 static inline void update_can_queue(struct Scsi_Host *host, u_int in_ptr, u_int out_ptr) in update_can_queue() argument [all …]
|
D | qlogicisp.c | 797 u_int in_ptr, out_ptr; in isp1020_queuecommand() local 815 in_ptr = hostdata->req_in_ptr; in isp1020_queuecommand() 818 REQ_QUEUE_DEPTH(in_ptr, out_ptr))); in isp1020_queuecommand() 820 cmd = (struct Command_Entry *) &hostdata->req_cpu[in_ptr]; in isp1020_queuecommand() 821 in_ptr = (in_ptr + 1) & QLOGICISP_REQ_QUEUE_LEN; in isp1020_queuecommand() 822 if (in_ptr == out_ptr) { in isp1020_queuecommand() 830 TRACE("queue marker", in_ptr, 0); in isp1020_queuecommand() 842 if (((in_ptr + 1) & QLOGICISP_REQ_QUEUE_LEN) == out_ptr) { in isp1020_queuecommand() 843 isp_outw(in_ptr, host, MBOX4); in isp1020_queuecommand() 844 hostdata->req_in_ptr = in_ptr; in isp1020_queuecommand() [all …]
|
D | qlogicfc.c | 1142 u_int in_ptr, out_ptr; in isp2x00_queuecommand() local 1178 in_ptr = hostdata->req_in_ptr; in isp2x00_queuecommand() 1181 REQ_QUEUE_DEPTH(in_ptr, out_ptr))); in isp2x00_queuecommand() 1183 cmd = (struct Command_Entry *) &hostdata->req[in_ptr*QUEUE_ENTRY_LEN]; in isp2x00_queuecommand() 1184 in_ptr = (in_ptr + 1) & QLOGICFC_REQ_QUEUE_LEN; in isp2x00_queuecommand() 1185 if (in_ptr == out_ptr) { in isp2x00_queuecommand() 1192 TRACE("queue marker", in_ptr, 0); in isp2x00_queuecommand() 1204 if (((in_ptr + 1) & QLOGICFC_REQ_QUEUE_LEN) == out_ptr) { in isp2x00_queuecommand() 1205 outw(in_ptr, host->io_port + MBOX4); in isp2x00_queuecommand() 1206 hostdata->req_in_ptr = in_ptr; in isp2x00_queuecommand() [all …]
|