Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/infiniband/hw/hns/
Dhns_roce_cmd.c201 hr_dev->cmd.max_cmds = CMD_MAX_NUM; in hns_roce_cmd_init()
221 hr_cmd->context = kmalloc_array(hr_cmd->max_cmds, in hns_roce_cmd_use_events()
227 for (i = 0; i < hr_cmd->max_cmds; ++i) { in hns_roce_cmd_use_events()
232 hr_cmd->context[hr_cmd->max_cmds - 1].next = -1; in hns_roce_cmd_use_events()
235 sema_init(&hr_cmd->event_sem, hr_cmd->max_cmds); in hns_roce_cmd_use_events()
253 for (i = 0; i < hr_cmd->max_cmds; ++i) in hns_roce_cmd_use_polling()
Dhns_roce_device.h484 int max_cmds; member
/Linux-v4.19/drivers/scsi/
Dips.c668 scb = &ha->scbs[ha->max_cmds - 1]; in ips_release()
737 scb = &ha->scbs[ha->max_cmds - 1]; in ips_halt()
892 scb = &ha->scbs[ha->max_cmds - 1]; in __ips_eh_reset()
1199 min = ha->max_cmds / 2; in ips_slave_configure()
1201 min = ha->max_cmds - 1; in ips_slave_configure()
2119 ha->max_cmds); in ips_host_info()
2330 scb = &ha->scbs[ha->max_cmds - 1]; in ips_get_bios_version()
2472 ha->max_cmds = ha->enq->ucConcurrentCmdCount; in ips_hainit()
2477 ha->max_cmds = 32; in ips_hainit()
2481 ha->max_cmds = 16; in ips_hainit()
[all …]
Dmegaraid.c294 adapter->max_cmds = adapter->product_info.max_commands; in mega_query_adapter()
296 if(adapter->max_cmds > MAX_COMMANDS) in mega_query_adapter()
297 adapter->max_cmds = MAX_COMMANDS; in mega_query_adapter()
299 adapter->host->can_queue = adapter->max_cmds - 1; in mega_query_adapter()
1817 for(i = 0; i < adapter->max_cmds; i++) { in mega_free_sgl()
2096 adapter->product_info.max_commands, adapter->max_cmds); in proc_show_config()
2883 for( i = 0; i < adapter->max_cmds; i++ ) { in mega_init_scb()
2893 for( i = 0; i < adapter->max_cmds; i++ ) { in mega_init_scb()
Dipr.h57 #define IPR_NUM_BASE_CMD_BLKS (ioa_cfg->max_cmds)
1413 u16 max_cmds; member
1599 u32 max_cmds; member
Dmegaraid.h795 u8 max_cmds; member
Dips.h1024 uint32_t max_cmds; /* Max concurrent commands */ member
Dipr.c109 .max_cmds = 100,
134 .max_cmds = 100,
159 .max_cmds = 1000,
9981 host->can_queue = ioa_cfg->max_cmds; in ipr_init_ioa_cfg()
10196 ioa_cfg->max_cmds = ioa_cfg->chip_cfg->max_cmds; in ipr_probe_ioa()
/Linux-v4.19/drivers/scsi/megaraid/
Dmega_common.h185 int max_cmds; member
Dmegaraid_mbox.c646 host->can_queue = adapter->max_cmds; in megaraid_io_attach()
3026 adapter->max_cmds = MBOX_MAX_SCSI_CMDS; in megaraid_mbox_product_info()
/Linux-v4.19/drivers/infiniband/hw/mthca/
Dmthca_cmd.c568 dev->cmd.context = kmalloc_array(dev->cmd.max_cmds, in mthca_cmd_use_events()
574 for (i = 0; i < dev->cmd.max_cmds; ++i) { in mthca_cmd_use_events()
579 dev->cmd.context[dev->cmd.max_cmds - 1].next = -1; in mthca_cmd_use_events()
582 sema_init(&dev->cmd.event_sem, dev->cmd.max_cmds); in mthca_cmd_use_events()
586 dev->cmd.token_mask < dev->cmd.max_cmds; in mthca_cmd_use_events()
607 for (i = 0; i < dev->cmd.max_cmds; ++i) in mthca_cmd_use_polling()
832 dev->cmd.max_cmds = 1 << lg; in mthca_QUERY_FW()
835 (unsigned long long) dev->fw_ver, dev->cmd.max_cmds); in mthca_QUERY_FW()
Dmthca_dev.h125 int max_cmds; member
/Linux-v4.19/drivers/scsi/ibmvscsi/
Dibmvfc.h171 __be32 max_cmds; member
216 __be32 max_cmds; member
Dibmvfc.c1189 login_info->max_cmds = cpu_to_be32(max_requests + IBMVFC_NUM_INTERNAL_REQ); in ibmvfc_set_login_info()
4053 if (be32_to_cpu(rsp->max_cmds) <= IBMVFC_NUM_INTERNAL_REQ) { in ibmvfc_npiv_login_done()
4055 rsp->max_cmds); in ibmvfc_npiv_login_done()
4082 vhost->host->can_queue = be32_to_cpu(rsp->max_cmds) - IBMVFC_NUM_INTERNAL_REQ; in ibmvfc_npiv_login_done()
/Linux-v4.19/drivers/infiniband/ulp/iser/
Diser_verbs.c459 iser_conn->max_cmds = in iser_create_ib_conn_res()
464 iser_conn->max_cmds = in iser_create_ib_conn_res()
468 iser_conn->max_cmds = in iser_create_ib_conn_res()
Discsi_iser.h507 u16 max_cmds; member
Discsi_iser.c635 shost->can_queue = min_t(u16, cmds_max, iser_conn->max_cmds); in iscsi_iser_session_create()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c2642 priv->cmd.context = kmalloc_array(priv->cmd.max_cmds, in mlx4_cmd_use_events()
2649 for (i = 0; i < priv->cmd.max_cmds; ++i) { in mlx4_cmd_use_events()
2659 priv->cmd.context[priv->cmd.max_cmds - 1].next = -1; in mlx4_cmd_use_events()
2662 sema_init(&priv->cmd.event_sem, priv->cmd.max_cmds); in mlx4_cmd_use_events()
2665 priv->cmd.token_mask < priv->cmd.max_cmds; in mlx4_cmd_use_events()
2688 for (i = 0; i < priv->cmd.max_cmds; ++i) in mlx4_cmd_use_polling()
2762 for (i = 0; i < priv->cmd.max_cmds; ++i) { in mlx4_cmd_wake_completions()
Dmlx4.h634 int max_cmds; member
Dfw.c1687 cmd->max_cmds = 1 << lg; in mlx4_QUERY_FW()
1693 cmd_if_rev, cmd->max_cmds); in mlx4_QUERY_FW()
Dmain.c2058 priv->cmd.max_cmds = 1; in mlx4_init_slave()
/Linux-v4.19/drivers/scsi/aacraid/
Dcommsup.c153 u32 max_cmds; in aac_fib_setup() local
157 max_cmds = (dev->scsi_host_ptr->can_queue+AAC_NUM_MGT_FIB) >> 1; in aac_fib_setup()
158 dev->scsi_host_ptr->can_queue = max_cmds - AAC_NUM_MGT_FIB; in aac_fib_setup()
160 dev->init->r7.max_io_commands = cpu_to_le32(max_cmds); in aac_fib_setup()