Lines Matching refs:cnt
1939 uint16_t cnt;
1949 for (cnt = 1; cnt < ha->mbx_count; cnt++) {
1950 ha->mailbox_out[cnt] = RD_REG_WORD(wptr);
2583 uint16_t cnt;
2675 if (req->cnt < (req_cnt + 2)) {
2676 cnt = (uint16_t)RD_REG_DWORD_RELAXED(
2678 if (req->ring_index < cnt)
2679 req->cnt = cnt - req->ring_index;
2681 req->cnt = req->length -
2682 (req->ring_index - cnt);
2685 if (req->cnt < (req_cnt + 2))
2778 if (req->cnt < (req_cnt + 2)) {
2779 cnt = (uint16_t)RD_REG_DWORD_RELAXED(
2781 if (req->ring_index < cnt)
2782 req->cnt = cnt - req->ring_index;
2784 req->cnt = req->length -
2785 (req->ring_index - cnt);
2787 if (req->cnt < (req_cnt + 2))
2832 req->cnt -= req_cnt;