/drivers/infiniband/hw/hns/ |
D | hns_roce_cmd.c | 97 &hr_dev->cmd.context[token % hr_dev->cmd.max_cmds]; in hns_roce_cmd_event() 214 hr_dev->cmd.max_cmds = CMD_MAX_NUM; in hns_roce_cmd_init() 235 kcalloc(hr_cmd->max_cmds, sizeof(*hr_cmd->context), GFP_KERNEL); in hns_roce_cmd_use_events() 239 for (i = 0; i < hr_cmd->max_cmds; ++i) { in hns_roce_cmd_use_events() 244 hr_cmd->context[hr_cmd->max_cmds - 1].next = -1; in hns_roce_cmd_use_events() 247 sema_init(&hr_cmd->event_sem, hr_cmd->max_cmds); in hns_roce_cmd_use_events()
|
D | hns_roce_device.h | 573 int max_cmds; member
|
/drivers/scsi/ |
D | ips.c | 667 scb = &ha->scbs[ha->max_cmds - 1]; in ips_release() 736 scb = &ha->scbs[ha->max_cmds - 1]; in ips_halt() 891 scb = &ha->scbs[ha->max_cmds - 1]; in __ips_eh_reset() 1198 min = ha->max_cmds / 2; in ips_slave_configure() 1200 min = ha->max_cmds - 1; in ips_slave_configure() 2118 ha->max_cmds); in ips_host_info() 2329 scb = &ha->scbs[ha->max_cmds - 1]; in ips_get_bios_version() 2471 ha->max_cmds = ha->enq->ucConcurrentCmdCount; in ips_hainit() 2476 ha->max_cmds = 32; in ips_hainit() 2480 ha->max_cmds = 16; in ips_hainit() [all …]
|
D | megaraid.c | 294 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() 2098 adapter->product_info.max_commands, adapter->max_cmds); in proc_show_config() 2877 for( i = 0; i < adapter->max_cmds; i++ ) { in mega_init_scb() 2887 for( i = 0; i < adapter->max_cmds; i++ ) { in mega_init_scb()
|
D | ipr.h | 44 #define IPR_NUM_BASE_CMD_BLKS (ioa_cfg->max_cmds) 1401 u16 max_cmds; member 1587 u32 max_cmds; member
|
D | myrb.h | 280 unsigned short max_cmds; /* Bytes 60-61 */ member
|
D | megaraid.h | 795 u8 max_cmds; member
|
D | ips.h | 1015 uint32_t max_cmds; /* Max concurrent commands */ member
|
D | ipr.c | 95 .max_cmds = 100, 120 .max_cmds = 100, 145 .max_cmds = 1000, 9992 host->can_queue = ioa_cfg->max_cmds; in ipr_init_ioa_cfg() 10208 ioa_cfg->max_cmds = ioa_cfg->chip_cfg->max_cmds; in ipr_probe_ioa()
|
D | myrb.c | 1112 shost->can_queue = enquiry2->max_cmds; in myrb_get_hba_config()
|
/drivers/infiniband/hw/mthca/ |
D | mthca_cmd.c | 562 dev->cmd.context = kmalloc_array(dev->cmd.max_cmds, in mthca_cmd_use_events() 568 for (i = 0; i < dev->cmd.max_cmds; ++i) { in mthca_cmd_use_events() 573 dev->cmd.context[dev->cmd.max_cmds - 1].next = -1; in mthca_cmd_use_events() 576 sema_init(&dev->cmd.event_sem, dev->cmd.max_cmds); in mthca_cmd_use_events() 580 dev->cmd.token_mask < dev->cmd.max_cmds; in mthca_cmd_use_events() 601 for (i = 0; i < dev->cmd.max_cmds; ++i) in mthca_cmd_use_polling() 826 dev->cmd.max_cmds = 1 << lg; in mthca_QUERY_FW() 829 (unsigned long long) dev->fw_ver, dev->cmd.max_cmds); in mthca_QUERY_FW()
|
D | mthca_dev.h | 124 int max_cmds; member
|
/drivers/vhost/ |
D | scsi.c | 194 int max_cmds; member 1491 for (i = 0; i < svq->max_cmds; i++) { in vhost_scsi_destroy_vq_cmds() 1504 static int vhost_scsi_setup_vq_cmds(struct vhost_virtqueue *vq, int max_cmds) in vhost_scsi_setup_vq_cmds() argument 1514 if (sbitmap_init_node(&svq->scsi_tags, max_cmds, -1, GFP_KERNEL, in vhost_scsi_setup_vq_cmds() 1517 svq->max_cmds = max_cmds; in vhost_scsi_setup_vq_cmds() 1519 svq->scsi_cmds = kcalloc(max_cmds, sizeof(*tv_cmd), GFP_KERNEL); in vhost_scsi_setup_vq_cmds() 1525 for (i = 0; i < max_cmds; i++) { in vhost_scsi_setup_vq_cmds()
|
/drivers/scsi/megaraid/ |
D | mega_common.h | 181 int max_cmds; member
|
D | megaraid_mbox.c | 632 host->can_queue = adapter->max_cmds; in megaraid_io_attach() 2970 adapter->max_cmds = MBOX_MAX_SCSI_CMDS; in megaraid_mbox_product_info()
|
/drivers/scsi/ibmvscsi/ |
D | ibmvfc.h | 166 __be32 max_cmds; member 215 __be32 max_cmds; member
|
D | ibmvfc.c | 1234 login_info->max_cmds = cpu_to_be32(max_requests + IBMVFC_NUM_INTERNAL_REQ); in ibmvfc_set_login_info() 4340 if (be32_to_cpu(rsp->max_cmds) <= IBMVFC_NUM_INTERNAL_REQ) { in ibmvfc_npiv_login_done() 4342 rsp->max_cmds); in ibmvfc_npiv_login_done() 4369 vhost->host->can_queue = be32_to_cpu(rsp->max_cmds) - IBMVFC_NUM_INTERNAL_REQ; in ibmvfc_npiv_login_done()
|
/drivers/infiniband/ulp/iser/ |
D | iscsi_iser.h | 426 u16 max_cmds; member
|
D | iscsi_iser.c | 635 shost->can_queue = min_t(u16, cmds_max, iser_conn->max_cmds); in iscsi_iser_session_create()
|
D | iser_verbs.c | 278 iser_conn->max_cmds = ISER_GET_MAX_XMIT_CMDS(max_send_wr - 1); in iser_create_ib_conn_res()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | cmd.c | 2629 priv->cmd.context = kmalloc_array(priv->cmd.max_cmds, in mlx4_cmd_use_events() 2638 for (i = 0; i < priv->cmd.max_cmds; ++i) { in mlx4_cmd_use_events() 2648 priv->cmd.context[priv->cmd.max_cmds - 1].next = -1; in mlx4_cmd_use_events() 2651 sema_init(&priv->cmd.event_sem, priv->cmd.max_cmds); in mlx4_cmd_use_events() 2654 priv->cmd.token_mask < priv->cmd.max_cmds; in mlx4_cmd_use_events() 2681 for (i = 0; i < priv->cmd.max_cmds; ++i) in mlx4_cmd_use_polling() 2758 for (i = 0; i < priv->cmd.max_cmds; ++i) { in mlx4_cmd_wake_completions()
|
D | mlx4.h | 634 int max_cmds; member
|
D | fw.c | 1693 cmd->max_cmds = 1 << lg; in mlx4_QUERY_FW() 1699 cmd_if_rev, cmd->max_cmds); in mlx4_QUERY_FW()
|
/drivers/scsi/aacraid/ |
D | commsup.c | 138 u32 max_cmds; in aac_fib_setup() local 142 max_cmds = (dev->scsi_host_ptr->can_queue+AAC_NUM_MGT_FIB) >> 1; in aac_fib_setup() 143 dev->scsi_host_ptr->can_queue = max_cmds - AAC_NUM_MGT_FIB; in aac_fib_setup() 145 dev->init->r7.max_io_commands = cpu_to_le32(max_cmds); in aac_fib_setup()
|
/drivers/scsi/cxgbi/cxgb4i/ |
D | cxgb4i.c | 2217 u32 max_cmds = CXGB4I_SCSI_HOST_QDEPTH; in t4_uld_add() local 2268 max_cmds = CXGB4I_SCSI_HOST_QDEPTH >> 2; in t4_uld_add() 2289 cxgb4i_host_template.can_queue = max_cmds; in t4_uld_add()
|