max_cmds          214 drivers/infiniband/hw/hns/hns_roce_cmd.c 	hr_dev->cmd.max_cmds = CMD_MAX_NUM;
max_cmds          234 drivers/infiniband/hw/hns/hns_roce_cmd.c 	hr_cmd->context = kmalloc_array(hr_cmd->max_cmds,
max_cmds          240 drivers/infiniband/hw/hns/hns_roce_cmd.c 	for (i = 0; i < hr_cmd->max_cmds; ++i) {
max_cmds          245 drivers/infiniband/hw/hns/hns_roce_cmd.c 	hr_cmd->context[hr_cmd->max_cmds - 1].next = -1;
max_cmds          248 drivers/infiniband/hw/hns/hns_roce_cmd.c 	sema_init(&hr_cmd->event_sem, hr_cmd->max_cmds);
max_cmds          611 drivers/infiniband/hw/hns/hns_roce_device.h 	int			max_cmds;
max_cmds          562 drivers/infiniband/hw/mthca/mthca_cmd.c 	dev->cmd.context = kmalloc_array(dev->cmd.max_cmds,
max_cmds          568 drivers/infiniband/hw/mthca/mthca_cmd.c 	for (i = 0; i < dev->cmd.max_cmds; ++i) {
max_cmds          573 drivers/infiniband/hw/mthca/mthca_cmd.c 	dev->cmd.context[dev->cmd.max_cmds - 1].next = -1;
max_cmds          576 drivers/infiniband/hw/mthca/mthca_cmd.c 	sema_init(&dev->cmd.event_sem, dev->cmd.max_cmds);
max_cmds          580 drivers/infiniband/hw/mthca/mthca_cmd.c 	     dev->cmd.token_mask < dev->cmd.max_cmds;
max_cmds          601 drivers/infiniband/hw/mthca/mthca_cmd.c 	for (i = 0; i < dev->cmd.max_cmds; ++i)
max_cmds          826 drivers/infiniband/hw/mthca/mthca_cmd.c 	dev->cmd.max_cmds = 1 << lg;
max_cmds          829 drivers/infiniband/hw/mthca/mthca_cmd.c 		  (unsigned long long) dev->fw_ver, dev->cmd.max_cmds);
max_cmds          125 drivers/infiniband/hw/mthca/mthca_dev.h 	int              	  max_cmds;
max_cmds          634 drivers/infiniband/ulp/iser/iscsi_iser.c 		shost->can_queue = min_t(u16, cmds_max, iser_conn->max_cmds);
max_cmds          479 drivers/infiniband/ulp/iser/iscsi_iser.h 	u16                          max_cmds;
max_cmds          403 drivers/infiniband/ulp/iser/iser_verbs.c 		iser_conn->max_cmds =
max_cmds          408 drivers/infiniband/ulp/iser/iser_verbs.c 			iser_conn->max_cmds =
max_cmds          412 drivers/infiniband/ulp/iser/iser_verbs.c 			iser_conn->max_cmds =
max_cmds         2629 drivers/net/ethernet/mellanox/mlx4/cmd.c 	priv->cmd.context = kmalloc_array(priv->cmd.max_cmds,
max_cmds         2638 drivers/net/ethernet/mellanox/mlx4/cmd.c 	for (i = 0; i < priv->cmd.max_cmds; ++i) {
max_cmds         2648 drivers/net/ethernet/mellanox/mlx4/cmd.c 	priv->cmd.context[priv->cmd.max_cmds - 1].next = -1;
max_cmds         2651 drivers/net/ethernet/mellanox/mlx4/cmd.c 	sema_init(&priv->cmd.event_sem, priv->cmd.max_cmds);
max_cmds         2654 drivers/net/ethernet/mellanox/mlx4/cmd.c 	     priv->cmd.token_mask < priv->cmd.max_cmds;
max_cmds         2681 drivers/net/ethernet/mellanox/mlx4/cmd.c 	for (i = 0; i < priv->cmd.max_cmds; ++i)
max_cmds         2758 drivers/net/ethernet/mellanox/mlx4/cmd.c 		for (i = 0; i < priv->cmd.max_cmds; ++i) {
max_cmds         1690 drivers/net/ethernet/mellanox/mlx4/fw.c 	cmd->max_cmds = 1 << lg;
max_cmds         1696 drivers/net/ethernet/mellanox/mlx4/fw.c 		 cmd_if_rev, cmd->max_cmds);
max_cmds         2056 drivers/net/ethernet/mellanox/mlx4/main.c 	priv->cmd.max_cmds = 1;
max_cmds          634 drivers/net/ethernet/mellanox/mlx4/mlx4.h 	int			max_cmds;
max_cmds          138 drivers/scsi/aacraid/commsup.c 	u32 max_cmds;
max_cmds          142 drivers/scsi/aacraid/commsup.c 		max_cmds = (dev->scsi_host_ptr->can_queue+AAC_NUM_MGT_FIB) >> 1;
max_cmds          143 drivers/scsi/aacraid/commsup.c 		dev->scsi_host_ptr->can_queue = max_cmds - AAC_NUM_MGT_FIB;
max_cmds          145 drivers/scsi/aacraid/commsup.c 			dev->init->r7.max_io_commands = cpu_to_le32(max_cmds);
max_cmds         1176 drivers/scsi/ibmvscsi/ibmvfc.c 	login_info->max_cmds = cpu_to_be32(max_requests + IBMVFC_NUM_INTERNAL_REQ);
max_cmds         4046 drivers/scsi/ibmvscsi/ibmvfc.c 	if (be32_to_cpu(rsp->max_cmds) <= IBMVFC_NUM_INTERNAL_REQ) {
max_cmds         4048 drivers/scsi/ibmvscsi/ibmvfc.c 			rsp->max_cmds);
max_cmds         4075 drivers/scsi/ibmvscsi/ibmvfc.c 	vhost->host->can_queue = be32_to_cpu(rsp->max_cmds) - IBMVFC_NUM_INTERNAL_REQ;
max_cmds          162 drivers/scsi/ibmvscsi/ibmvfc.h 	__be32 max_cmds;
max_cmds          207 drivers/scsi/ibmvscsi/ibmvfc.h 	__be32 max_cmds;
max_cmds           95 drivers/scsi/ipr.c 		.max_cmds = 100,
max_cmds          120 drivers/scsi/ipr.c 		.max_cmds = 100,
max_cmds          145 drivers/scsi/ipr.c 		.max_cmds = 1000,
max_cmds         9971 drivers/scsi/ipr.c 	host->can_queue = ioa_cfg->max_cmds;
max_cmds         10186 drivers/scsi/ipr.c 	ioa_cfg->max_cmds = ioa_cfg->chip_cfg->max_cmds;
max_cmds           44 drivers/scsi/ipr.h #define IPR_NUM_BASE_CMD_BLKS			(ioa_cfg->max_cmds)
max_cmds         1401 drivers/scsi/ipr.h 	u16 max_cmds;
max_cmds         1587 drivers/scsi/ipr.h 	u32 max_cmds;
max_cmds          667 drivers/scsi/ips.c 	scb = &ha->scbs[ha->max_cmds - 1];
max_cmds          736 drivers/scsi/ips.c 		scb = &ha->scbs[ha->max_cmds - 1];
max_cmds          891 drivers/scsi/ips.c 		scb = &ha->scbs[ha->max_cmds - 1];
max_cmds         1198 drivers/scsi/ips.c 		min = ha->max_cmds / 2;
max_cmds         1200 drivers/scsi/ips.c 			min = ha->max_cmds - 1;
max_cmds         2118 drivers/scsi/ips.c 		  ha->max_cmds);
max_cmds         2329 drivers/scsi/ips.c 		scb = &ha->scbs[ha->max_cmds - 1];
max_cmds         2471 drivers/scsi/ips.c 		ha->max_cmds = ha->enq->ucConcurrentCmdCount;
max_cmds         2476 drivers/scsi/ips.c 			ha->max_cmds = 32;
max_cmds         2480 drivers/scsi/ips.c 			ha->max_cmds = 16;
max_cmds         2484 drivers/scsi/ips.c 			ha->max_cmds = 8;
max_cmds         2489 drivers/scsi/ips.c 			ha->max_cmds = 4;
max_cmds         2498 drivers/scsi/ips.c 		if ((ha->max_cmds > MaxLiteCmds) && (MaxLiteCmds))
max_cmds         2499 drivers/scsi/ips.c 			ha->max_cmds = MaxLiteCmds;
max_cmds         4252 drivers/scsi/ips.c 		ips_deallocatescbs(ha, ha->max_cmds);
max_cmds         4311 drivers/scsi/ips.c 			ha->max_cmds * sizeof (ips_scb_t),
max_cmds         4316 drivers/scsi/ips.c 			IPS_SGLIST_SIZE(ha) * IPS_MAX_SG * ha->max_cmds,
max_cmds         4320 drivers/scsi/ips.c 				    ha->max_cmds * sizeof (ips_scb_t), ha->scbs,
max_cmds         4325 drivers/scsi/ips.c 	memset(ha->scbs, 0, ha->max_cmds * sizeof (ips_scb_t));
max_cmds         4327 drivers/scsi/ips.c 	for (i = 0; i < ha->max_cmds; i++) {
max_cmds         4344 drivers/scsi/ips.c 		if (i < ha->max_cmds - 1) {
max_cmds         4452 drivers/scsi/ips.c 	if (IPS_COMMAND_ID(ha, scb) < (ha->max_cmds - 1)) {
max_cmds         5663 drivers/scsi/ips.c 	scb = &ha->scbs[ha->max_cmds - 1];
max_cmds         5706 drivers/scsi/ips.c 	scb = &ha->scbs[ha->max_cmds - 1];
max_cmds         5755 drivers/scsi/ips.c 	scb = &ha->scbs[ha->max_cmds - 1];
max_cmds         5808 drivers/scsi/ips.c 	scb = &ha->scbs[ha->max_cmds - 1];
max_cmds         5858 drivers/scsi/ips.c 	scb = &ha->scbs[ha->max_cmds - 1];
max_cmds         5920 drivers/scsi/ips.c 	scb = &ha->scbs[ha->max_cmds - 1];
max_cmds         5956 drivers/scsi/ips.c 	scb = &ha->scbs[ha->max_cmds - 1];
max_cmds         6685 drivers/scsi/ips.c 	sh->can_queue = ha->max_cmds - 1;
max_cmds         7074 drivers/scsi/ips.c 	ha->max_cmds = 1;
max_cmds         1015 drivers/scsi/ips.h    uint32_t           max_cmds;           /* Max concurrent commands    */
max_cmds          289 drivers/scsi/megaraid.c 	adapter->max_cmds = adapter->product_info.max_commands;
max_cmds          291 drivers/scsi/megaraid.c 	if(adapter->max_cmds > MAX_COMMANDS)
max_cmds          292 drivers/scsi/megaraid.c 		adapter->max_cmds = MAX_COMMANDS;
max_cmds          294 drivers/scsi/megaraid.c 	adapter->host->can_queue = adapter->max_cmds - 1;
max_cmds         1812 drivers/scsi/megaraid.c 	for(i = 0; i < adapter->max_cmds; i++) {
max_cmds         2091 drivers/scsi/megaraid.c 		   adapter->product_info.max_commands, adapter->max_cmds);
max_cmds         2878 drivers/scsi/megaraid.c 	for( i = 0; i < adapter->max_cmds; i++ ) {
max_cmds         2888 drivers/scsi/megaraid.c 	for( i = 0; i < adapter->max_cmds; i++ ) {
max_cmds          795 drivers/scsi/megaraid.h 	u8		max_cmds;
max_cmds          181 drivers/scsi/megaraid/mega_common.h 	int			max_cmds;
max_cmds          632 drivers/scsi/megaraid/megaraid_mbox.c 	host->can_queue		= adapter->max_cmds;
max_cmds         2970 drivers/scsi/megaraid/megaraid_mbox.c 	adapter->max_cmds	= MBOX_MAX_SCSI_CMDS;
max_cmds         1112 drivers/scsi/myrb.c 		shost->can_queue = enquiry2->max_cmds;
max_cmds          280 drivers/scsi/myrb.h 	unsigned short max_cmds;			/* Bytes 60-61 */