Lines Matching refs:cnt
679 uint16_t cnt;
690 for (cnt = 1; cnt < MAX_MBOX_COUNT && index != 0; cnt++) {
693 ha->mcp->mb[cnt] = RD16_IO_REG(ha,
694 mailbox_out[cnt]);
744 uint16_t cnt;
1226 cnt = (uint16_t)(CFG_IST(ha, CFG_CTRL_24258081) ?
1233 tq->ub_total_seg_cnt = (uint8_t)(mb[3] / cnt);
1234 if (mb[3] % cnt) {
1237 cnt = (uint16_t)(tq->ub_total_seg_cnt + 10);
1239 for (index = 10; index < ha->reg_off->mbox_cnt && index < cnt;
1252 for (cnt = 10; cnt < ha->reg_off->mbox_cnt &&
1253 tq->ub_seq_cnt < tq->ub_total_seg_cnt; cnt++) {
1254 if (ql_ub_frame_hdr(ha, tq, mb[cnt], done_q) !=
2120 uint32_t cnt;
2218 for (cnt = 0; cnt < sts.rsp_info_length; cnt += 4) {
2219 ql_chg_endian(sts.rsp_info + cnt, 4);
2237 for (cnt = 0; cnt < sense_sz; cnt += 4) {
2238 ql_chg_endian(sts.req_sense_data + cnt, 4);
2430 "cnt=%d\n", tq->d_id.b24, sp->lun_queue->lun_no,
2808 uint8_t cnt;
2831 for (cnt = 0; cnt < IP_RCVBUF_HANDLES && tq->ub_seq_cnt <
2832 tq->ub_total_seg_cnt; cnt++) {
2835 &pkt->buffer_handle[cnt]);
2867 uint8_t cnt;
2877 for (cnt = 0; cnt < IP_RCVBUF_CONT_HANDLES &&
2878 tq->ub_seq_cnt < tq->ub_total_seg_cnt; cnt++) {
2881 &pkt->buffer_handle[cnt]);
2914 uint8_t cnt;
2939 for (cnt = 0; cnt < IP_24XX_RCVBUF_HANDLES && tq->ub_seq_cnt <
2940 tq->ub_total_seg_cnt; cnt++) {
2943 &pkt->buffer_handle[cnt]);
2975 uint32_t index, cnt, resp_identifier;
3090 cnt = ddi_get32(ha->hba_buf.acc_handle,
3092 if (cnt < sizeof (fc_ct_header_t)) {