Lines Matching defs:cnt
374 uint16_t cnt, i;
402 if (req->cnt < (req_cnt + 2)) {
404 cnt = *req->out_ptr;
406 cnt = rd_reg_dword_relaxed(req->req_q_out);
407 if (qla2x00_check_reg16_for_disconnect(vha, cnt))
411 if (req->ring_index < cnt)
412 req->cnt = cnt - req->ring_index;
414 req->cnt = req->length - (req->ring_index - cnt);
416 if (req->cnt < (req_cnt + 2)){
433 req->cnt -= req_cnt;