Home
last modified time | relevance | path

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

123456

/linux-6.1.9/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 …]
/linux-6.1.9/drivers/scsi/libfc/
Dfc_fcp.c354 int can_queue; in fc_fcp_can_queue_ramp_up() local
369 can_queue = lport->host->can_queue << 1; in fc_fcp_can_queue_ramp_up()
370 if (can_queue >= si->max_can_queue) { in fc_fcp_can_queue_ramp_up()
371 can_queue = si->max_can_queue; in fc_fcp_can_queue_ramp_up()
374 lport->host->can_queue = can_queue; in fc_fcp_can_queue_ramp_up()
376 "can_queue to %d.\n", can_queue); in fc_fcp_can_queue_ramp_up()
396 int can_queue; in fc_fcp_can_queue_ramp_down() local
408 can_queue = lport->host->can_queue; in fc_fcp_can_queue_ramp_down()
409 can_queue >>= 1; in fc_fcp_can_queue_ramp_down()
410 if (!can_queue) in fc_fcp_can_queue_ramp_down()
[all …]
/linux-6.1.9/drivers/scsi/
Dhosts.c227 if (!shost->can_queue) { in scsi_add_host_with_dma()
235 shost->can_queue); in scsi_add_host_with_dma()
439 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()
Ddmx3191d.c50 .can_queue = 32,
Dmvme147.c81 .can_queue = CAN_QUEUE,
Dmac_scsi.c433 .can_queue = 16,
465 mac_scsi_template.can_queue = setup_can_queue; in mac_scsi_probe()
Dstex.c569 for (tag = 0; tag < hba->host->can_queue; tag++) { in return_abnormal_state()
694 if (unlikely(tag >= host->can_queue)) in stex_queuecommand_lck()
830 if (unlikely(tag >= hba->host->can_queue)) { in stex_mu_intr()
935 if (unlikely(tag >= hba->host->can_queue)) { in stex_ss_mu_intr()
1051 if (hba->host->can_queue > data) { in stex_common_handshake()
1052 hba->host->can_queue = data; in stex_common_handshake()
1258 if (tag < host->can_queue && in stex_abort()
1782 host->can_queue = ci->rq_count; in stex_probe()
Dqlogicfas.c197 .can_queue = 1,
Dscsi_lib.c298 if (starget->can_queue > 0) in scsi_device_unbusy()
367 if (starget->can_queue > 0) { in scsi_target_is_busy()
368 if (atomic_read(&starget->target_busy) >= starget->can_queue) in scsi_target_is_busy()
1303 if (starget->can_queue <= 0) in scsi_target_queue_ready()
1321 if (busy >= starget->can_queue) in scsi_target_queue_ready()
1331 if (starget->can_queue > 0) in scsi_target_queue_ready()
1772 if (scsi_target(sdev)->can_queue > 0) in scsi_queue_rq()
1981 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()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/include/scsi/
Dscsi_host.h371 int can_queue; member
607 int can_queue; member
/linux-6.1.9/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()
518 if ((asd_ha->seq.can_queue - num) < 0) in asd_can_queue()
521 asd_ha->seq.can_queue -= num; in asd_can_queue()
/linux-6.1.9/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()
/linux-6.1.9/drivers/scsi/arm/
Doak.c110 .can_queue = 16,
/linux-6.1.9/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()
/linux-6.1.9/drivers/scsi/pm8001/
Dpm8001_init.c111 .can_queue = 1,
1214 u32 can_queue; in pm8001_init_ccb_tag() local
1221 can_queue = ccb_count - PM8001_RESERVE_SLOT; in pm8001_init_ccb_tag()
1222 shost->can_queue = can_queue; in pm8001_init_ccb_tag()

123456