Home
last modified time | relevance | path

Searched refs:can_queue (Results 1 – 25 of 141) sorted by relevance

123456

/drivers/scsi/aacraid/
Dcomminit.c71 (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()
503 dev->vector_cap = dev->scsi_host_ptr->can_queue + in aac_define_int_mode()
506 dev->vector_cap = (dev->scsi_host_ptr->can_queue + in aac_define_int_mode()
613 if (host->can_queue > (status[3] >> 16) - in aac_init_adapter()
615 host->can_queue = (status[3] >> 16) - in aac_init_adapter()
617 } else if (host->can_queue > (status[3] & 0xFFFF) - in aac_init_adapter()
619 host->can_queue = (status[3] & 0xFFFF) - in aac_init_adapter()
[all …]
Drkt.c49 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()
Dlinit.c465 depth = (host->can_queue - num_one) / num_lsu; in aac_slave_configure()
540 if (num >= host->can_queue) in aac_change_queue_depth()
541 num = host->can_queue - 1; in aac_change_queue_depth()
542 if (depth > (host->can_queue - num)) in aac_change_queue_depth()
543 depth = host->can_queue - num; in aac_change_queue_depth()
706 for (count = 0; count < (host->can_queue + AAC_NUM_MGT_FIB); ++count) { in aac_eh_abort()
778 count < (host->can_queue + AAC_NUM_MGT_FIB); in aac_eh_abort()
799 count < (host->can_queue + AAC_NUM_MGT_FIB); in aac_eh_abort()
1043 for (count = 0; count < (host->can_queue + AAC_NUM_MGT_FIB); ++count) { in aac_eh_bus_reset()
1499 .can_queue = AAC_NUM_IO_FIB,
[all …]
Dcommsup.c63 &dev->pdev->dev, dev->max_cmd_size, dev->scsi_host_ptr->can_queue, in fib_map_alloc()
67 * (dev->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB) + (ALIGN32 - 1), in fib_map_alloc()
91 num_fibs = dev->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB; in aac_fib_map_free()
109 i < (dev->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB); in aac_fib_vector_assign()
112 (i > ((dev->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB - 1) in aac_fib_vector_assign()
141 && (dev->scsi_host_ptr->can_queue > (64 - AAC_NUM_MGT_FIB))) { in aac_fib_setup()
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()
152 (dev->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB)); in aac_fib_setup()
168 i < (dev->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB); in aac_fib_setup()
[all …]
/drivers/scsi/libfc/
Dfc_fcp.c359 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 …]
/drivers/scsi/esas2r/
Desas2r_main.c246 .can_queue = 128,
292 int can_queue = 128; variable
293 module_param(can_queue, int, 0);
294 MODULE_PARM_DESC(can_queue,
409 host->can_queue = can_queue; in esas2r_probe()
539 if (can_queue < 1) { in esas2r_init()
543 can_queue = 1; in esas2r_init()
544 } else if (can_queue > 2048) { in esas2r_init()
548 can_queue = 2048; in esas2r_init()
/drivers/scsi/mvsas/
Dmv_init.c43 .can_queue = 1,
447 int can_queue, i = 0, j = 0; in mvs_post_sas_ha_init() local
470 can_queue = MVS_SOC_CAN_QUEUE; in mvs_post_sas_ha_init()
472 can_queue = MVS_CHIP_SLOT_SZ; in mvs_post_sas_ha_init()
475 shost->can_queue = can_queue; in mvs_post_sas_ha_init()
/drivers/scsi/
Dhosts.c228 if (!shost->can_queue) { in scsi_add_host_with_dma()
236 shost->can_queue); in scsi_add_host_with_dma()
438 shost->can_queue = sht->can_queue; in scsi_host_alloc()
Datari_scsi.c737 atari_scsi_template.can_queue = 16; in atari_scsi_probe()
740 atari_scsi_template.can_queue = 1; in atari_scsi_probe()
745 atari_scsi_template.can_queue = setup_can_queue; in atari_scsi_probe()
Dmac_scsi.c433 .can_queue = 16,
465 mac_scsi_template.can_queue = setup_can_queue; in mac_scsi_probe()
Dstex.c573 for (tag = 0; tag < hba->host->can_queue; tag++) { in return_abnormal_state()
698 if (unlikely(tag >= host->can_queue)) in stex_queuecommand_lck()
834 if (unlikely(tag >= hba->host->can_queue)) { in stex_mu_intr()
939 if (unlikely(tag >= hba->host->can_queue)) { in stex_ss_mu_intr()
1055 if (hba->host->can_queue > data) { in stex_common_handshake()
1056 hba->host->can_queue = data; in stex_common_handshake()
1262 if (tag < host->can_queue && in stex_abort()
1786 host->can_queue = ci->rq_count; in stex_probe()
Ddmx3191d.c50 .can_queue = 32,
Dmvme147.c81 .can_queue = CAN_QUEUE,
Dscsi_lib.c299 if (starget->can_queue > 0) in scsi_device_unbusy()
368 if (starget->can_queue > 0) { in scsi_target_is_busy()
369 if (atomic_read(&starget->target_busy) >= starget->can_queue) in scsi_target_is_busy()
1304 if (starget->can_queue <= 0) in scsi_target_queue_ready()
1322 if (busy >= starget->can_queue) in scsi_target_queue_ready()
1332 if (starget->can_queue > 0) in scsi_target_queue_ready()
1777 if (scsi_target(sdev)->can_queue > 0) in scsi_queue_rq()
1986 tag_set->queue_depth = shost->can_queue; in scsi_mq_setup_tags()
Dsun3_scsi.c503 .can_queue = 16,
524 sun3_scsi_template.can_queue = setup_can_queue; in sun3_scsi_probe()
Dqlogicfas.c197 .can_queue = 1,
/drivers/scsi/snic/
Dsnic_ctl.c196 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()
Dsnic_main.c115 .can_queue = SNIC_MAX_IO_REQ,
497 shost->can_queue = min_t(u32, SNIC_MAX_IO_REQ, in snic_probe()
500 snic->max_tag_id = shost->can_queue; in snic_probe()
/drivers/scsi/aic94xx/
Daic94xx_hwi.c400 seq->can_queue = 1 + (asd_ha->hw_prof.max_scbs - seq->pending)/2; in asd_init_escbs()
1191 int can_queue; in asd_post_ascb_list() local
1194 can_queue = asd_ha->hw_prof.max_scbs - asd_ha->seq.pending; in asd_post_ascb_list()
1195 if (can_queue >= num) in asd_post_ascb_list()
1198 can_queue = 0; in asd_post_ascb_list()
1200 if (!can_queue) { in asd_post_ascb_list()
Daic94xx_task.c23 asd_ha->seq.can_queue += num; in asd_can_dequeue()
521 if ((asd_ha->seq.can_queue - num) < 0) in asd_can_queue()
524 asd_ha->seq.can_queue -= num; in asd_can_queue()
/drivers/infiniband/ulp/iser/
Discsi_iser.c632 shost->can_queue = min_t(u16, cmds_max, iser_conn->max_cmds); in iscsi_iser_session_create()
662 shost->can_queue = min_t(u16, cmds_max, ISER_DEF_XMIT_CMDS_MAX); in iscsi_iser_session_create()
679 shost->can_queue, 0, in iscsi_iser_session_create()
/drivers/scsi/fnic/
Dfnic_main.c110 .can_queue = FNIC_DFLT_IO_REQ,
553 host->can_queue = min_t(u32, FNIC_MAX_IO_REQ, in fnic_scsi_drv_init()
557 fnic->fnic_max_tag_id = host->can_queue; in fnic_scsi_drv_init()
571 host->can_queue, host->max_lun); in fnic_scsi_drv_init()
/drivers/scsi/arm/
Doak.c110 .can_queue = 16,
/drivers/scsi/pm8001/
Dpm8001_init.c111 .can_queue = 1,
1197 u32 can_queue; in pm8001_init_ccb_tag() local
1204 can_queue = ccb_count - PM8001_RESERVE_SLOT; in pm8001_init_ccb_tag()
1205 shost->can_queue = can_queue; in pm8001_init_ccb_tag()
/drivers/scsi/pcmcia/
Dqlogic_stub.c75 .can_queue = 1,

123456