Lines Matching refs:max_cmds
705 scb = &ha->scbs[ha->max_cmds - 1]; in ips_release()
779 scb = &ha->scbs[ha->max_cmds - 1]; in ips_halt()
937 scb = &ha->scbs[ha->max_cmds - 1]; in ips_eh_reset()
1264 min = ha->max_cmds / 4;
1277 (ha->max_cmds - 1) / count;
1308 min = ha->max_cmds / 2;
1310 min = ha->max_cmds - 1;
2239 ha->max_cmds);
2515 scb = &ha->scbs[ha->max_cmds - 1];
2659 ha->max_cmds = ha->enq->ucConcurrentCmdCount;
2664 ha->max_cmds = 32;
2668 ha->max_cmds = 16;
2672 ha->max_cmds = 8;
2677 ha->max_cmds = 4;
2686 if ((ha->max_cmds > MaxLiteCmds) && (MaxLiteCmds))
2687 ha->max_cmds = MaxLiteCmds;
4522 ips_deallocatescbs(ha, ha->max_cmds);
4583 pci_alloc_consistent(ha->pcidev, ha->max_cmds * sizeof (ips_scb_t),
4590 ha->max_cmds, &sg_dma);
4593 ha->max_cmds * sizeof (ips_scb_t), ha->scbs,
4598 memset(ha->scbs, 0, ha->max_cmds * sizeof (ips_scb_t));
4600 for (i = 0; i < ha->max_cmds; i++) {
4617 if (i < ha->max_cmds - 1) {
4726 if (IPS_COMMAND_ID(ha, scb) < (ha->max_cmds - 1)) {
5845 scb = &ha->scbs[ha->max_cmds - 1];
5888 scb = &ha->scbs[ha->max_cmds - 1];
5937 scb = &ha->scbs[ha->max_cmds - 1];
5990 scb = &ha->scbs[ha->max_cmds - 1];
6040 scb = &ha->scbs[ha->max_cmds - 1];
6102 scb = &ha->scbs[ha->max_cmds - 1];
6138 scb = &ha->scbs[ha->max_cmds - 1];
6837 scb = &ha->scbs[ha->max_cmds - 1];
7046 sh->can_queue = ha->max_cmds - 1;
7437 ha->max_cmds = 1;