Home
last modified time | relevance | path

Searched refs:cur_max_fw_cmds (Results 1 – 1 of 1) sorted by relevance

/linux-5.19.10/drivers/scsi/megaraid/
Dmegaraid_sas_fusion.c344 u16 cur_max_fw_cmds = 0; in megasas_fusion_update_can_queue() local
349 cur_max_fw_cmds = in megasas_fusion_update_can_queue()
353 if (dual_qdepth_disable || !cur_max_fw_cmds) in megasas_fusion_update_can_queue()
354 cur_max_fw_cmds = instance->instancet->read_fw_status_reg(instance) & 0x00FFFF; in megasas_fusion_update_can_queue()
361 cur_max_fw_cmds, ldio_threshold); in megasas_fusion_update_can_queue()
364 cur_max_fw_cmds = cur_max_fw_cmds - 1; in megasas_fusion_update_can_queue()
365 if (cur_max_fw_cmds < instance->max_fw_cmds) { in megasas_fusion_update_can_queue()
367 cur_max_fw_cmds - (MEGASAS_FUSION_INTERNAL_CMDS + in megasas_fusion_update_can_queue()
373 instance->max_fw_cmds = cur_max_fw_cmds; in megasas_fusion_update_can_queue()