Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/scsi/megaraid/
Dmegaraid_sas_fusion.c259 u16 cur_max_fw_cmds = 0; in megasas_fusion_update_can_queue() local
267 cur_max_fw_cmds = in megasas_fusion_update_can_queue()
270 if (dual_qdepth_disable || !cur_max_fw_cmds) in megasas_fusion_update_can_queue()
271 cur_max_fw_cmds = instance->instancet->read_fw_status_reg(reg_set) & 0x00FFFF; in megasas_fusion_update_can_queue()
278 cur_max_fw_cmds, ldio_threshold); in megasas_fusion_update_can_queue()
281 cur_max_fw_cmds = cur_max_fw_cmds - 1; in megasas_fusion_update_can_queue()
282 if (cur_max_fw_cmds < instance->max_fw_cmds) { in megasas_fusion_update_can_queue()
284 cur_max_fw_cmds - (MEGASAS_FUSION_INTERNAL_CMDS + in megasas_fusion_update_can_queue()
290 instance->max_fw_cmds = cur_max_fw_cmds; in megasas_fusion_update_can_queue()