Lines Matching refs:max_fw_cmds

365 		if (cur_max_fw_cmds < instance->max_fw_cmds) {  in megasas_fusion_update_can_queue()
373 instance->max_fw_cmds = cur_max_fw_cmds; in megasas_fusion_update_can_queue()
377 instance->max_fw_cmds = min(instance->max_fw_cmds, in megasas_fusion_update_can_queue()
384 instance->max_fw_cmds = instance->max_fw_cmds-1; in megasas_fusion_update_can_queue()
491 max_cmd = instance->max_fw_cmds; in megasas_create_sg_sense_fusion()
648 if (instance->max_fw_cmds >= (MEGASAS_REDUCE_QD_COUNT * 2)) { in megasas_alloc_request_fusion()
649 instance->max_fw_cmds -= MEGASAS_REDUCE_QD_COUNT; in megasas_alloc_request_fusion()
1011 (i >= instance->max_scsi_cmds && i < instance->max_fw_cmds) ? in megasas_alloc_cmds_fusion()
1715 max_cmd = instance->max_fw_cmds; in megasas_configure_queue_sizes()
1718 instance->max_mpt_cmds = instance->max_fw_cmds * RAID_1_PEER_CMDS; in megasas_configure_queue_sizes()
1720 instance->max_mpt_cmds = instance->max_fw_cmds; in megasas_configure_queue_sizes()
1722 instance->max_scsi_cmds = instance->max_fw_cmds - instance->max_mfi_cmds; in megasas_configure_queue_sizes()
1866 instance->max_scsi_cmds = instance->max_fw_cmds - in megasas_init_adapter_fusion()
1912 instance->threshold_reply_count = instance->max_fw_cmds / 4; in megasas_init_adapter_fusion()
3422 scsi_cmd_to_rq(scmd)->tag + instance->max_fw_cmds); in megasas_build_and_issue_cmd_fusion()
4312 for (j = instance->max_scsi_cmds ; j < instance->max_fw_cmds; j++) { in megasas_refire_mgmt_cmd()
4403 for (i = instance->max_scsi_cmds; i < instance->max_fw_cmds; i++) { in megasas_return_polled_cmds()
4990 r1_cmd = fusion->cmd_list[i + instance->max_fw_cmds]; in megasas_reset_fusion()