Lines Matching refs:in_ptr

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()
1210 cmd = (struct Command_Entry *) &hostdata->req[in_ptr*QUEUE_ENTRY_LEN]; in isp2x00_queuecommand()
1211 in_ptr = (in_ptr + 1) & QLOGICFC_REQ_QUEUE_LEN; in isp2x00_queuecommand()
1213 TRACE("queue command", in_ptr, Cmnd); in isp2x00_queuecommand()
1218 …for (i = in_ptr; i != (in_ptr - 1) && hostdata->handle_ptrs[i]; i = ((i + 1) % (QLOGICFC_REQ_QUEUE… in isp2x00_queuecommand()
1226 printk("hostdata->queued is %x, in_ptr: %x\n", hostdata->queued, in_ptr); in isp2x00_queuecommand()
1269 &hostdata->req[in_ptr*QUEUE_ENTRY_LEN]; in isp2x00_queuecommand()
1271 in_ptr = (in_ptr + 1) & QLOGICFC_REQ_QUEUE_LEN; in isp2x00_queuecommand()
1272 if (in_ptr == out_ptr) { in isp2x00_queuecommand()
1276 TRACE("queue continuation", in_ptr, 0); in isp2x00_queuecommand()
1339 outw(in_ptr, host->io_port + MBOX4); in isp2x00_queuecommand()
1340 hostdata->req_in_ptr = in_ptr; in isp2x00_queuecommand()
1344 num_free = QLOGICFC_REQ_QUEUE_LEN - REQ_QUEUE_DEPTH(in_ptr, out_ptr); in isp2x00_queuecommand()
1440 u_int in_ptr, out_ptr, handle, num_free; in isp2x00_intr_handler() local
1454 in_ptr = inw(host->io_port + MBOX5); in isp2x00_intr_handler()
1539 …tk("qlogicfc%d : response queue depth %d\n", hostdata->host_id, RES_QUEUE_DEPTH(in_ptr, out_ptr))); in isp2x00_intr_handler()
1541 while (out_ptr != in_ptr) { in isp2x00_intr_handler()
1615 in_ptr = hostdata->req_in_ptr; in isp2x00_intr_handler()
1617 num_free = QLOGICFC_REQ_QUEUE_LEN - REQ_QUEUE_DEPTH(in_ptr, out_ptr); in isp2x00_intr_handler()