Lines Matching defs:cnt
358 int cnt = hw->num_sqsets + k;
372 for (i = k; i < cnt; i++, entryp++) {
457 csio_reduce_sqsets(struct csio_hw *hw, int cnt)
462 while (cnt < hw->num_sqsets) {
468 if (hw->num_sqsets <= cnt)
499 int i, j, k, n, min, cnt;
512 cnt = hw->num_sqsets + extra;
516 cnt = min_t(uint8_t, hw->cfg_niq, cnt);
518 csio_dbg(hw, "FW supp #niq:%d, trying %d msix's\n", hw->cfg_niq, cnt);
520 cnt = pci_alloc_irq_vectors_affinity(hw->pdev, min, cnt,
522 if (cnt < 0)
523 return cnt;
525 if (cnt < (hw->num_sqsets + extra)) {
526 csio_dbg(hw, "Reducing sqsets to %d\n", cnt - extra);
527 csio_reduce_sqsets(hw, cnt - extra);