Lines Matching refs:next_qp
1559 u_int8_t next_qp; in AscIsrQDone() local
1582 next_qp = AscReadLramByte(iot, ioh, (q_addr + ASC_SCSIQ_B_FWD)); in AscIsrQDone()
1584 if (next_qp != ASC_QLINK_END) { in AscIsrQDone()
1585 ASC_PUT_VAR_DONE_QTAIL(iot, ioh, next_qp); in AscIsrQDone()
1586 q_addr = ASC_QNO_TO_QADDR(next_qp); in AscIsrQDone()
1595 sg_list_qp = next_qp; in AscIsrQDone()
2424 u_int8_t next_qp; in AscSendScsiQueue() local
2434 if ((next_qp = AscAllocMultipleFreeQueue(iot, ioh, free_q_head, n_q_required)) in AscSendScsiQueue()
2443 ASC_PUT_VAR_FREE_QHEAD(iot, ioh, next_qp); in AscSendScsiQueue()
2467 u_int8_t next_qp; in AscPutReadySgListQueue() local
2509 next_qp = AscReadLramByte(iot, ioh, q_addr + ASC_SCSIQ_B_FWD); in AscPutReadySgListQueue()
2510 scsi_sg_q.q_no = next_qp; in AscPutReadySgListQueue()
2511 q_addr = ASC_QNO_TO_QADDR(next_qp); in AscPutReadySgListQueue()
2663 u_int8_t next_qp; in AscAllocFreeQueue() local
2668 next_qp = AscReadLramByte(iot, ioh, q_addr + ASC_SCSIQ_B_FWD); in AscAllocFreeQueue()
2669 if (((q_status & ASC_QS_READY) == 0) && (next_qp != ASC_QLINK_END)) in AscAllocFreeQueue()
2670 return (next_qp); in AscAllocFreeQueue()