| /linux/drivers/scsi/aacraid/ |
| H A D | comminit.c | 71 (dev->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB) in aac_alloc_comm() 76 host_rrq_size = (dev->scsi_host_ptr->can_queue in aac_alloc_comm() 182 cpu_to_le32(dev->scsi_host_ptr->can_queue + in aac_alloc_comm() 466 dev->scsi_host_ptr->can_queue + in aac_define_int_mode() 502 dev->vector_cap = dev->scsi_host_ptr->can_queue + in aac_define_int_mode() 505 dev->vector_cap = (dev->scsi_host_ptr->can_queue + in aac_define_int_mode() 611 if (host->can_queue > (status[3] >> 16) - in aac_init_adapter() 613 host->can_queue = (status[3] >> 16) - in aac_init_adapter() 615 } else if (host->can_queue > (status[3] & 0xFFFF) - in aac_init_adapter() 617 host->can_queue = (status[3] & 0xFFFF) - in aac_init_adapter() [all …]
|
| H A D | rkt.c | 49 if (dev->scsi_host_ptr->can_queue > AAC_NUM_IO_FIB_RKT) { in aac_rkt_select_comm() 52 dev->scsi_host_ptr->can_queue = AAC_NUM_IO_FIB_RKT; in aac_rkt_select_comm()
|
| H A D | linit.c | 466 depth = (host->can_queue - num_one) / num_lsu; in aac_sdev_configure() 541 if (num >= host->can_queue) in aac_change_queue_depth() 542 num = host->can_queue - 1; in aac_change_queue_depth() 543 if (depth > (host->can_queue - num)) in aac_change_queue_depth() 544 depth = host->can_queue - num; in aac_change_queue_depth() 707 for (count = 0; count < (host->can_queue + AAC_NUM_MGT_FIB); ++count) { in aac_eh_abort() 779 count < (host->can_queue + AAC_NUM_MGT_FIB); in aac_eh_abort() 800 count < (host->can_queue + AAC_NUM_MGT_FIB); in aac_eh_abort() 1044 for (count = 0; count < (host->can_queue + AAC_NUM_MGT_FIB); ++count) { in aac_eh_bus_reset() 1500 .can_queue = AAC_NUM_IO_FIB, [all …]
|
| H A D | commsup.c | 55 &dev->pdev->dev, dev->max_cmd_size, dev->scsi_host_ptr->can_queue, in fib_map_alloc() 59 * (dev->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB) + (ALIGN32 - 1), in fib_map_alloc() 83 num_fibs = dev->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB; in aac_fib_map_free() 101 i < (dev->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB); in aac_fib_vector_assign() 104 (i > ((dev->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB - 1) in aac_fib_vector_assign() 133 && (dev->scsi_host_ptr->can_queue > (64 - AAC_NUM_MGT_FIB))) { in aac_fib_setup() 134 max_cmds = (dev->scsi_host_ptr->can_queue+AAC_NUM_MGT_FIB) >> 1; in aac_fib_setup() 135 dev->scsi_host_ptr->can_queue = max_cmds - AAC_NUM_MGT_FIB; in aac_fib_setup() 144 (dev->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB)); in aac_fib_setup() 160 i < (dev->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB); in aac_fib_setup() [all …]
|
| /linux/drivers/scsi/libfc/ |
| H A D | fc_fcp.c | 359 int can_queue; in fc_fcp_can_queue_ramp_up() local 374 can_queue = lport->host->can_queue << 1; in fc_fcp_can_queue_ramp_up() 375 if (can_queue >= si->max_can_queue) { in fc_fcp_can_queue_ramp_up() 376 can_queue = si->max_can_queue; in fc_fcp_can_queue_ramp_up() 379 lport->host->can_queue = can_queue; in fc_fcp_can_queue_ramp_up() 381 "can_queue to %d.\n", can_queue); in fc_fcp_can_queue_ramp_up() 401 int can_queue; in fc_fcp_can_queue_ramp_down() local 413 can_queue = lport->host->can_queue; in fc_fcp_can_queue_ramp_down() 414 can_queue >>= 1; in fc_fcp_can_queue_ramp_down() 415 if (!can_queue) in fc_fcp_can_queue_ramp_down() [all …]
|
| /linux/drivers/scsi/mvsas/ |
| H A D | mv_init.c | 37 .can_queue = 1, 427 int can_queue, i = 0, j = 0; in mvs_post_sas_ha_init() local 449 can_queue = MVS_SOC_CAN_QUEUE; in mvs_post_sas_ha_init() 451 can_queue = MVS_CHIP_SLOT_SZ; in mvs_post_sas_ha_init() 453 can_queue -= MVS_RSVD_SLOTS; in mvs_post_sas_ha_init() 456 shost->can_queue = can_queue; in mvs_post_sas_ha_init()
|
| /linux/drivers/scsi/esas2r/ |
| H A D | esas2r_main.c | 245 .can_queue = 128, 289 int can_queue = 128; variable 290 module_param(can_queue, int, 0); 291 MODULE_PARM_DESC(can_queue, 406 host->can_queue = can_queue; in esas2r_probe() 536 if (can_queue < 1) { in esas2r_init() 540 can_queue = 1; in esas2r_init() 541 } else if (can_queue > 2048) { in esas2r_init() 545 can_queue = 2048; in esas2r_init()
|
| /linux/drivers/scsi/snic/ |
| H A D | snic_ctl.c | 196 if (snic->shost->can_queue > snic->fwinfo.max_concur_ios) in snic_io_exch_ver_cmpl_handler() 197 snic->shost->can_queue = snic->fwinfo.max_concur_ios; in snic_io_exch_ver_cmpl_handler()
|
| H A D | snic_main.c | 115 .can_queue = SNIC_MAX_IO_REQ, 496 shost->can_queue = min_t(u32, SNIC_MAX_IO_REQ, in snic_probe() 499 snic->max_tag_id = shost->can_queue; in snic_probe()
|
| /linux/drivers/scsi/aic94xx/ |
| H A D | aic94xx_hwi.c | 396 seq->can_queue = 1 + (asd_ha->hw_prof.max_scbs - seq->pending)/2; in asd_init_escbs() 1187 int can_queue; in asd_post_ascb_list() local 1190 can_queue = asd_ha->hw_prof.max_scbs - asd_ha->seq.pending; in asd_post_ascb_list() 1191 if (can_queue >= num) in asd_post_ascb_list() 1194 can_queue = 0; in asd_post_ascb_list() 1196 if (!can_queue) { in asd_post_ascb_list()
|
| H A D | aic94xx_init.c | 45 .can_queue = 1, 773 shost->can_queue = asd_ha->seq.can_queue; in asd_pci_probe()
|
| /linux/include/scsi/ |
| H A D | scsi_host.h | 389 int can_queue; 394 * @can_queue to calculate the maximum number of simultaneous 638 int can_queue; 657 * can_queue. In other words, the total queue depth per host 658 * is nr_hw_queues * can_queue. However, for when host_tagset is set, 659 * the total queue depth is can_queue. 387 int can_queue; global() member 634 int can_queue; global() member
|
| /linux/drivers/scsi/ |
| H A D | dmx3191d.c | 50 .can_queue = 32,
|
| H A D | mvme147.c | 81 .can_queue = CAN_QUEUE,
|
| H A D | stex.c | 572 for (tag = 0; tag < hba->host->can_queue; tag++) { in return_abnormal_state() 697 if (unlikely(tag >= host->can_queue)) in stex_queuecommand_lck() 833 if (unlikely(tag >= hba->host->can_queue)) { in stex_mu_intr() 938 if (unlikely(tag >= hba->host->can_queue)) { in stex_ss_mu_intr() 1054 if (hba->host->can_queue > data) { in stex_common_handshake() 1055 hba->host->can_queue = data; in stex_common_handshake() 1261 if (tag < host->can_queue && in stex_abort() 1785 host->can_queue = ci->rq_count; in stex_probe()
|
| H A D | qlogicfas.c | 197 .can_queue = 1,
|
| H A D | scsi_lib.c | 405 if (starget->can_queue > 0) in scsi_device_unbusy() 469 if (starget->can_queue > 0) { in scsi_target_is_busy() 470 if (atomic_read(&starget->target_busy) >= starget->can_queue) in scsi_target_is_busy() 1420 if (starget->can_queue <= 0) in scsi_target_queue_ready() 1438 if (busy >= starget->can_queue) in scsi_target_queue_ready() 1448 if (starget->can_queue > 0) in scsi_target_queue_ready() 1916 if (scsi_target(sdev)->can_queue > 0) in scsi_queue_rq() 2122 tag_set->queue_depth = shost->can_queue + shost->nr_reserved_cmds; in scsi_mq_setup_tags()
|
| H A D | myrb.c | 1107 shost->can_queue = cb->enquiry->max_tcq; in myrb_get_hba_config() 1108 if (shost->can_queue < 3) in myrb_get_hba_config() 1109 shost->can_queue = enquiry2->max_cmds; in myrb_get_hba_config() 1110 if (shost->can_queue < 3) in myrb_get_hba_config() 1112 shost->can_queue = 1; in myrb_get_hba_config() 1114 if (shost->can_queue > MYRB_CMD_MBOX_COUNT - 2) in myrb_get_hba_config() 1115 shost->can_queue = MYRB_CMD_MBOX_COUNT - 2; in myrb_get_hba_config() 1165 cb->host->can_queue, cb->host->max_sectors); in myrb_get_hba_config() 1168 cb->host->can_queue, cb->host->sg_tablesize, in myrb_get_hba_config()
|
| H A D | a2091.c | 192 .can_queue = CAN_QUEUE,
|
| /linux/drivers/infiniband/ulp/iser/ |
| H A D | iscsi_iser.c | 628 shost->can_queue = min_t(u16, cmds_max, iser_conn->max_cmds); in iscsi_iser_session_create() 658 shost->can_queue = min_t(u16, cmds_max, ISER_DEF_XMIT_CMDS_MAX); in iscsi_iser_session_create() 675 shost->can_queue, 0, in iscsi_iser_session_create()
|
| /linux/drivers/scsi/arm/ |
| H A D | oak.c | 110 .can_queue = 16,
|
| H A D | arxescsi.c | 251 .can_queue = 0,
|
| /linux/drivers/scsi/pcmcia/ |
| H A D | qlogic_stub.c | 75 .can_queue = 1,
|
| /linux/drivers/scsi/fnic/ |
| H A D | fnic_main.c | 126 .can_queue = FNIC_DFLT_IO_REQ, 602 host->can_queue = min_t(u32, FNIC_MAX_IO_REQ, in fnic_scsi_drv_init() 606 fnic->fnic_max_tag_id = host->can_queue; in fnic_scsi_drv_init() 614 host->can_queue, host->max_lun); in fnic_scsi_drv_init()
|
| /linux/drivers/scsi/bnx2i/ |
| H A D | bnx2i_iscsi.c | 767 shost->can_queue = ISCSI_MAX_CMDS_PER_HBA_5708; in bnx2i_setup_host_queue_size() 769 shost->can_queue = ISCSI_MAX_CMDS_PER_HBA_5709; in bnx2i_setup_host_queue_size() 771 shost->can_queue = ISCSI_MAX_CMDS_PER_HBA_57710; in bnx2i_setup_host_queue_size() 773 shost->can_queue = ISCSI_MAX_CMDS_PER_HBA_5708; in bnx2i_setup_host_queue_size() 2264 .can_queue = 2048,
|