Home
last modified time | relevance | path

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

123456

/kernel/linux/linux-5.10/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.c466 depth = (host->can_queue - num_one) / num_lsu; in aac_slave_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()
704 for (count = 0; count < (host->can_queue + AAC_NUM_MGT_FIB); ++count) { in aac_eh_abort()
776 count < (host->can_queue + AAC_NUM_MGT_FIB); in aac_eh_abort()
797 count < (host->can_queue + AAC_NUM_MGT_FIB); in aac_eh_abort()
1041 for (count = 0; count < (host->can_queue + AAC_NUM_MGT_FIB); ++count) { in aac_eh_bus_reset()
1495 .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 …]
/kernel/linux/linux-5.10/drivers/scsi/libfc/
Dfc_fcp.c360 int can_queue; in fc_fcp_can_queue_ramp_up() local
375 can_queue = lport->host->can_queue << 1; in fc_fcp_can_queue_ramp_up()
376 if (can_queue >= si->max_can_queue) { in fc_fcp_can_queue_ramp_up()
377 can_queue = si->max_can_queue; in fc_fcp_can_queue_ramp_up()
380 lport->host->can_queue = can_queue; in fc_fcp_can_queue_ramp_up()
382 "can_queue to %d.\n", can_queue); in fc_fcp_can_queue_ramp_up()
402 int can_queue; in fc_fcp_can_queue_ramp_down() local
414 can_queue = lport->host->can_queue; in fc_fcp_can_queue_ramp_down()
415 can_queue >>= 1; in fc_fcp_can_queue_ramp_down()
416 if (!can_queue) in fc_fcp_can_queue_ramp_down()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/
Datari_scsi.c380 instance->hostt->can_queue > 1) in falcon_get_lock()
741 atari_scsi_template.can_queue = 16; in atari_scsi_probe()
744 atari_scsi_template.can_queue = 1; in atari_scsi_probe()
749 atari_scsi_template.can_queue = setup_can_queue; in atari_scsi_probe()
Dhosts.c217 if (!shost->can_queue) { in scsi_add_host_with_dma()
225 shost->can_queue); in scsi_add_host_with_dma()
426 shost->can_queue = sht->can_queue; in scsi_host_alloc()
Ddmx3191d.c50 .can_queue = 32,
Dmvme147.c76 .can_queue = CAN_QUEUE,
Dmac_scsi.c432 .can_queue = 16,
464 mac_scsi_template.can_queue = setup_can_queue; in mac_scsi_probe()
Dstex.c572 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()
Dqlogicfas.c193 .can_queue = 1,
Dscsi_lib.c328 if (starget->can_queue > 0) in scsi_device_unbusy()
396 if (starget->can_queue > 0) { in scsi_target_is_busy()
397 if (atomic_read(&starget->target_busy) >= starget->can_queue) in scsi_target_is_busy()
1306 if (starget->can_queue <= 0) in scsi_target_queue_ready()
1324 if (busy >= starget->can_queue) in scsi_target_queue_ready()
1334 if (starget->can_queue > 0) in scsi_target_queue_ready()
1699 if (scsi_target(sdev)->can_queue > 0) in scsi_queue_rq()
1909 tag_set->queue_depth = shost->can_queue; in scsi_mq_setup_tags()
Dsun3_scsi.c502 .can_queue = 16,
523 sun3_scsi_template.can_queue = setup_can_queue; in sun3_scsi_probe()
/kernel/linux/linux-5.10/drivers/scsi/mvsas/
Dmv_init.c43 .can_queue = 1,
448 int can_queue, i = 0, j = 0; in mvs_post_sas_ha_init() local
471 can_queue = MVS_SOC_CAN_QUEUE; in mvs_post_sas_ha_init()
473 can_queue = MVS_CHIP_SLOT_SZ; in mvs_post_sas_ha_init()
476 shost->can_queue = can_queue; in mvs_post_sas_ha_init()
/kernel/linux/linux-5.10/drivers/scsi/esas2r/
Desas2r_main.c246 .can_queue = 128,
293 int can_queue = 128; variable
294 module_param(can_queue, int, 0);
295 MODULE_PARM_DESC(can_queue,
411 host->can_queue = can_queue; in esas2r_probe()
541 if (can_queue < 1) { in esas2r_init()
545 can_queue = 1; in esas2r_init()
546 } else if (can_queue > 2048) { in esas2r_init()
550 can_queue = 2048; in esas2r_init()
/kernel/linux/linux-5.10/drivers/scsi/snic/
Dsnic_ctl.c213 if (snic->shost->can_queue > snic->fwinfo.max_concur_ios) in snic_io_exch_ver_cmpl_handler()
214 snic->shost->can_queue = snic->fwinfo.max_concur_ios; in snic_io_exch_ver_cmpl_handler()
Dsnic_main.c129 .can_queue = SNIC_MAX_IO_REQ,
511 shost->can_queue = min_t(u32, SNIC_MAX_IO_REQ, in snic_probe()
514 snic->max_tag_id = shost->can_queue; in snic_probe()
/kernel/linux/linux-5.10/include/scsi/
Dscsi_host.h347 int can_queue; member
596 int can_queue; member
/kernel/linux/linux-5.10/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()
519 if ((asd_ha->seq.can_queue - num) < 0) in asd_can_queue()
522 asd_ha->seq.can_queue -= num; in asd_can_queue()
/kernel/linux/linux-5.10/drivers/scsi/pm8001/
Dpm8001_init.c98 .can_queue = 1,
602 shost->can_queue = PM8001_CAN_QUEUE; in pm8001_prep_sas_ha_init()
1172 u32 can_queue; in pm8001_init_ccb_tag() local
1178 can_queue = ccb_count - PM8001_RESERVE_SLOT; in pm8001_init_ccb_tag()
1179 shost->can_queue = can_queue; in pm8001_init_ccb_tag()
/kernel/linux/linux-5.10/drivers/scsi/arm/
Doak.c110 .can_queue = 16,
/kernel/linux/linux-5.10/drivers/infiniband/ulp/iser/
Discsi_iser.c635 shost->can_queue = min_t(u16, cmds_max, iser_conn->max_cmds); in iscsi_iser_session_create()
665 shost->can_queue = min_t(u16, cmds_max, ISER_DEF_XMIT_CMDS_MAX); in iscsi_iser_session_create()
682 shost->can_queue, 0, in iscsi_iser_session_create()
/kernel/linux/linux-5.10/drivers/scsi/pcmcia/
Dqlogic_stub.c72 .can_queue = 1,

123456