Home
last modified time | relevance | path

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

1234567

/drivers/scsi/aacraid/
Dcomminit.c62 host_rrq_size = (dev->scsi_host_ptr->can_queue in aac_alloc_comm()
130 init->MaxIoCommands = cpu_to_le32(dev->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB); in aac_alloc_comm()
397 host->can_queue = (status[3] & 0xFFFF) - AAC_NUM_MGT_FIB; in aac_init_adapter()
412 host->can_queue = AAC_NUM_IO_FIB; in aac_init_adapter()
418 host->can_queue = 512 - AAC_NUM_MGT_FIB; in aac_init_adapter()
424 host->can_queue = 256 - AAC_NUM_MGT_FIB; in aac_init_adapter()
430 host->can_queue = 128 - AAC_NUM_MGT_FIB; in aac_init_adapter()
438 if (numacb < host->can_queue) in aac_init_adapter()
439 host->can_queue = numacb; in aac_init_adapter()
Drkt.c62 if (dev->scsi_host_ptr->can_queue > AAC_NUM_IO_FIB_RKT) { in aac_rkt_select_comm()
65 dev->scsi_host_ptr->can_queue = AAC_NUM_IO_FIB_RKT; in aac_rkt_select_comm()
Dlinit.c266 for (; count < (host->can_queue + AAC_NUM_MGT_FIB); ++count) { in aac_queuecommand_lck()
466 depth = (host->can_queue - num_one) / num_lsu; in aac_slave_configure()
505 if (num >= host->can_queue) in aac_change_queue_depth()
506 num = host->can_queue - 1; in aac_change_queue_depth()
507 if (depth > (host->can_queue - num)) in aac_change_queue_depth()
508 depth = host->can_queue - num; in aac_change_queue_depth()
572 for (count = 0; count < (host->can_queue + AAC_NUM_MGT_FIB); ++count) { in aac_eh_abort()
585 for (count = 0; count < (host->can_queue + AAC_NUM_MGT_FIB); ++count) { in aac_eh_abort()
617 for (count = 0; count < (host->can_queue + AAC_NUM_MGT_FIB); ++count) { in aac_eh_reset()
1077 .can_queue = AAC_NUM_IO_FIB,
[all …]
Dcommsup.c65 dev->pdev, dev->max_fib_size, dev->scsi_host_ptr->can_queue, in fib_map_alloc()
69 * (dev->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB) + (ALIGN32 - 1), in fib_map_alloc()
87 dev->max_fib_size * (dev->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB), in aac_fib_map_free()
109 && (dev->scsi_host_ptr->can_queue > (64 - AAC_NUM_MGT_FIB))) { in aac_fib_setup()
110 dev->init->MaxIoCommands = cpu_to_le32((dev->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB) >> 1); in aac_fib_setup()
111 dev->scsi_host_ptr->can_queue = le32_to_cpu(dev->init->MaxIoCommands) - AAC_NUM_MGT_FIB; in aac_fib_setup()
123 (dev->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB)); in aac_fib_setup()
136 i < (dev->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB); in aac_fib_setup()
156 dev->fibs[dev->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB - 1].next = NULL; in aac_fib_setup()
1281 for (retval = 1, index = 0; index < (aac->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB); index++) { in _aac_reset_adapter()
/drivers/scsi/libfc/
Dfc_fcp.c341 int can_queue; in fc_fcp_can_queue_ramp_up() local
356 can_queue = lport->host->can_queue << 1; in fc_fcp_can_queue_ramp_up()
357 if (can_queue >= si->max_can_queue) { in fc_fcp_can_queue_ramp_up()
358 can_queue = si->max_can_queue; in fc_fcp_can_queue_ramp_up()
361 lport->host->can_queue = can_queue; in fc_fcp_can_queue_ramp_up()
363 "can_queue to %d.\n", can_queue); in fc_fcp_can_queue_ramp_up()
383 int can_queue; in fc_fcp_can_queue_ramp_down() local
394 can_queue = lport->host->can_queue; in fc_fcp_can_queue_ramp_down()
395 can_queue >>= 1; in fc_fcp_can_queue_ramp_down()
396 if (!can_queue) in fc_fcp_can_queue_ramp_down()
[all …]
/drivers/scsi/
Deata.c1284 shost->can_queue = (ushort) info.queue_size; in port_detect()
1321 if (shost->can_queue > MAX_MAILBOXES || shost->can_queue < 2) { in port_detect()
1323 ha->board_name, shost->can_queue); in port_detect()
1324 shost->can_queue = MAX_MAILBOXES; in port_detect()
1350 for (i = 0; i < shost->can_queue; i++) in port_detect()
1356 for (i = 0; i < shost->can_queue; i++) { in port_detect()
1398 shost->sg_tablesize, shost->can_queue); in port_detect()
1776 for (k = 0; k < shost->can_queue; k++, i++) { in eata2x_queuecommand_lck()
1777 if (i >= shost->can_queue) in eata2x_queuecommand_lck()
1785 if (k == shost->can_queue) { in eata2x_queuecommand_lck()
[all …]
Du14-34f.c906 sh[j]->can_queue = MAX_MAILBOXES; in port_detect()
977 for (i = 0; i < sh[j]->can_queue; i++) in port_detect()
981 for (i = 0; i < sh[j]->can_queue; i++) in port_detect()
1006 sh[j]->irq, dma_name, sh[j]->sg_tablesize, sh[j]->can_queue); in port_detect()
1265 for (k = 0; k < sh[j]->can_queue; k++, i++) { in u14_34f_queuecommand_lck()
1267 if (i >= sh[j]->can_queue) i = 0; in u14_34f_queuecommand_lck()
1275 if (k == sh[j]->can_queue) { in u14_34f_queuecommand_lck()
1346 if (i >= sh[j]->can_queue) in DEF_SCSI_QCMD()
1429 for (i = 0; i < sh[j]->can_queue; i++) { in u14_34f_eh_host_reset()
1486 for (i = 0; i < sh[j]->can_queue; i++) { in u14_34f_eh_host_reset()
[all …]
Dmac_scsi.c241 tpnt->can_queue = in macscsi_detect()
305 instance->can_queue, instance->cmd_per_lun, MACSCSI_PUBLIC_RELEASE); in macscsi_detect()
572 .can_queue = CAN_QUEUE,
Dsun3_scsi_vme.c171 tpnt->can_queue = in sun3scsi_detect()
254 instance->can_queue, instance->cmd_per_lun, in sun3scsi_detect()
579 .can_queue = CAN_QUEUE,
Dsun3_scsi.c223 tpnt->can_queue = in sun3scsi_detect()
292 instance->can_queue, instance->cmd_per_lun, in sun3scsi_detect()
636 .can_queue = CAN_QUEUE,
Dhosts.c209 if (!shost->can_queue) { in scsi_add_host_with_dma()
384 shost->can_queue = sht->can_queue; in scsi_host_alloc()
Dstex.c552 scsi_activate_tcq(sdev, sdev->host->can_queue); in stex_slave_alloc()
670 if (unlikely(tag >= host->can_queue)) in stex_queuecommand_lck()
806 if (unlikely(tag >= hba->host->can_queue)) { in stex_mu_intr()
911 if (unlikely(tag >= hba->host->can_queue)) { in stex_ss_mu_intr()
1011 if (hba->host->can_queue > data) { in stex_common_handshake()
1012 hba->host->can_queue = data; in stex_common_handshake()
1171 if (tag < host->can_queue && in stex_abort()
1327 for (tag = 0; tag < hba->host->can_queue; tag++) { in stex_do_reset()
1651 host->can_queue = ci->rq_count; in stex_probe()
1685 err = scsi_init_shared_tag_map(host, host->can_queue); in stex_probe()
Datari_scsi.c593 host->can_queue = in atari_scsi_detect()
713 instance->host_no, instance->hostt->can_queue, in atari_scsi_detect()
1101 .can_queue = 0, /* initialized at run-time */
Deata_pio.c360 DBG(DBG_QUEUE, printk(KERN_EMERG "can_queue %d, x %d, y %d\n", sh->can_queue, x, y)); in eata_pio_queue_lck()
494 for (x = 0; x < cmd->device->host->can_queue; x++) { in eata_pio_host_reset()
519 for (x = 0; x < cmd->device->host->can_queue; x++) { in eata_pio_host_reset()
800 sh->can_queue = 1; in register_pio_HBA()
977 SD(HBA_ptr)->primary ? 'Y' : 'N', HBA_ptr->can_queue, in eata_pio_detect()
Ddmx3191d.c64 .can_queue = 32,
DNCR53c406a.c540 tpnt->can_queue = 1; in NCR53c406a_detect()
543 tpnt->can_queue = 0; in NCR53c406a_detect()
1064 .can_queue = 1 /* can_queue */,
Dmvme147.c147 .can_queue = CAN_QUEUE,
/drivers/scsi/libsas/
Dsas_scsi_host.c873 int can_queue; in sas_queue() local
883 can_queue = sas_ha->lldd_queue_size - core->task_queue_size; in sas_queue()
884 if (can_queue >= 0) { in sas_queue()
885 can_queue = core->task_queue_size; in sas_queue()
890 can_queue = sas_ha->lldd_queue_size; in sas_queue()
893 if (--can_queue == 0) in sas_queue()
896 can_queue = sas_ha->lldd_queue_size; in sas_queue()
898 core->task_queue_size -= can_queue; in sas_queue()
905 res = i->dft->lldd_execute_task(task, can_queue, in sas_queue()
913 core->task_queue_size += can_queue; in sas_queue()
/drivers/scsi/mvsas/
Dmv_init.c68 .can_queue = 1,
492 int can_queue, i = 0, j = 0; in mvs_post_sas_ha_init() local
517 can_queue = MVS_SOC_CAN_QUEUE; in mvs_post_sas_ha_init()
519 can_queue = MVS_CHIP_SLOT_SZ; in mvs_post_sas_ha_init()
521 sha->lldd_queue_size = can_queue; in mvs_post_sas_ha_init()
523 shost->can_queue = can_queue; in mvs_post_sas_ha_init()
/drivers/scsi/arm/
Doak.c123 .can_queue = 16,
162 host->can_queue, host->cmd_per_lun, OAKSCSI_PUBLIC_RELEASE); in oakscsi_probe()
Dcumana_1.c220 .can_queue = 16,
277 host->can_queue, host->cmd_per_lun, CUMANASCSI_PUBLIC_RELEASE); in cumanascsi1_probe()
/drivers/scsi/aic94xx/
Daic94xx_hwi.c413 seq->can_queue = 1 + (asd_ha->hw_prof.max_scbs - seq->pending)/2; in asd_init_escbs()
1211 int can_queue; in asd_post_ascb_list() local
1214 can_queue = asd_ha->hw_prof.max_scbs - asd_ha->seq.pending; in asd_post_ascb_list()
1215 if (can_queue >= num) in asd_post_ascb_list()
1218 can_queue = 0; in asd_post_ascb_list()
1220 if (!can_queue) { in asd_post_ascb_list()
Daic94xx_task.c41 asd_ha->seq.can_queue += num; in asd_can_dequeue()
536 if ((asd_ha->seq.can_queue - num) < 0) in asd_can_queue()
539 asd_ha->seq.can_queue -= num; in asd_can_queue()
Daic94xx_init.c76 .can_queue = 1,
712 asd_ha->sas_ha.lldd_queue_size = asd_ha->seq.can_queue; in asd_register_sas_ha()
826 shost->can_queue = asd_ha->seq.can_queue; in asd_pci_probe()
/drivers/net/xen-netback/
Dcommon.h77 u8 can_queue:1; /* can queue packets for receiver? */ member

1234567