Home
last modified time | relevance | path

Searched refs:qdepth (Results 1 – 19 of 19) sorted by relevance

/linux/drivers/scsi/aic94xx/
H A Daic94xx_dev.c100 u32 qdepth = 0; in asd_set_dmamode() local
104 qdepth = ata_id_queue_depth(ata_dev->id); in asd_set_dmamode()
106 (1ULL<<qdepth)-1); in asd_set_dmamode()
107 asd_ddbsite_write_byte(asd_ha, ddb, NUM_SATA_TAGS, qdepth); in asd_set_dmamode()
110 if (qdepth > 0) in asd_set_dmamode()
/linux/drivers/scsi/snic/
H A Dsnic_main.c67 u32 qdepth = 0, max_ios = 0; in snic_sdev_configure() local
72 qdepth = min_t(u32, max_ios, SNIC_MAX_QUEUE_DEPTH); in snic_sdev_configure()
73 scsi_change_queue_depth(sdev, qdepth); in snic_sdev_configure()
85 snic_change_queue_depth(struct scsi_device *sdev, int qdepth) in snic_change_queue_depth() argument
90 qsz = min_t(u32, qdepth, SNIC_MAX_QUEUE_DEPTH); in snic_change_queue_depth()
/linux/drivers/s390/crypto/
H A Dzcrypt_api.c1380 static void zcrypt_qdepth_mask(char qdepth[], size_t max_adapters) in zcrypt_qdepth_mask() argument
1386 memset(qdepth, 0, max_adapters); in zcrypt_qdepth_mask()
1396 qdepth[card] = in zcrypt_qdepth_mask()
1644 char qdepth[AP_DEVICES]; in zcrypt_unlocked_ioctl() local
1646 zcrypt_qdepth_mask(qdepth, AP_DEVICES); in zcrypt_unlocked_ioctl()
1647 if (copy_to_user((char __user *)arg, qdepth, sizeof(qdepth))) in zcrypt_unlocked_ioctl()
1703 char qdepth[MAX_ZDEV_CARDIDS]; in zcrypt_unlocked_ioctl() local
1705 zcrypt_qdepth_mask(qdepth, MAX_ZDEV_CARDIDS); in zcrypt_unlocked_ioctl()
1706 if (copy_to_user((char __user *)arg, qdepth, sizeof(qdepth))) in zcrypt_unlocked_ioctl()
/linux/drivers/scsi/be2iscsi/
H A Dbe_iscsi.h38 uint16_t qdepth,
H A Dbe_iscsi.c37 u16 qdepth, in beiscsi_session_create() argument
/linux/drivers/infiniband/ulp/iser/
H A Discsi_iser.c601 uint16_t cmds_max, uint16_t qdepth, in iscsi_iser_session_create() argument
615 shost->cmd_per_lun = qdepth; in iscsi_iser_session_create()
/linux/Documentation/block/
H A Dnull_blk.rst72 hw_queue_depth=[0..qdepth]: Default: 64
/linux/drivers/scsi/
H A Dvmw_pvscsi.c532 static int pvscsi_change_queue_depth(struct scsi_device *sdev, int qdepth) in pvscsi_change_queue_depth() argument
535 qdepth = 1; in pvscsi_change_queue_depth()
536 return scsi_change_queue_depth(sdev, qdepth); in pvscsi_change_queue_depth()
H A Dhpsa.c284 static int hpsa_change_queue_depth(struct scsi_device *sdev, int qdepth);
1709 int qdepth; in hpsa_figure_phys_disk_ptrs() local
1716 qdepth = 0; in hpsa_figure_phys_disk_ptrs()
1734 qdepth = min(h->nr_cmds, qdepth + in hpsa_figure_phys_disk_ptrs()
1761 logical_drive->queue_depth = qdepth; in hpsa_figure_phys_disk_ptrs()
5808 static int hpsa_change_queue_depth(struct scsi_device *sdev, int qdepth) in hpsa_change_queue_depth() argument
5815 if (qdepth < 1) in hpsa_change_queue_depth()
5816 qdepth = 1; in hpsa_change_queue_depth()
5817 else if (qdepth > logical_drive->queue_depth) in hpsa_change_queue_depth()
5818 qdepth = logical_drive->queue_depth; in hpsa_change_queue_depth()
[all …]
H A Dscsi_debug.c7210 int qdepth = cmnd->device->queue_depth; in schedule_resp() local
7212 if ((num_in_q == qdepth) && in schedule_resp()
8973 static int sdebug_change_qdepth(struct scsi_device *sdev, int qdepth) in sdebug_change_qdepth() argument
8983 if (qdepth > SDEBUG_CANQUEUE) { in sdebug_change_qdepth()
8984 qdepth = SDEBUG_CANQUEUE; in sdebug_change_qdepth()
8986 qdepth, SDEBUG_CANQUEUE); in sdebug_change_qdepth()
8988 if (qdepth < 1) in sdebug_change_qdepth()
8989 qdepth = 1; in sdebug_change_qdepth()
8990 if (qdepth != sdev->queue_depth) in sdebug_change_qdepth()
8991 scsi_change_queue_depth(sdev, qdepth); in sdebug_change_qdepth()
[all …]
H A Dipr.c4409 static int ipr_change_queue_depth(struct scsi_device *sdev, int qdepth) in ipr_change_queue_depth() argument
4411 scsi_change_queue_depth(sdev, qdepth); in ipr_change_queue_depth()
/linux/drivers/scsi/mpt3sas/
H A Dmpt3sas_ctl.c4197 int qdepth; in enable_sdev_max_qd_store() local
4223 qdepth = in enable_sdev_max_qd_store()
4226 qdepth = in enable_sdev_max_qd_store()
4234 qdepth = MPT3SAS_RAID_QUEUE_DEPTH; in enable_sdev_max_qd_store()
4238 qdepth = ioc->max_nvme_qd; in enable_sdev_max_qd_store()
4240 qdepth = (sas_target_priv_data->sas_dev->port_type > 1) ? in enable_sdev_max_qd_store()
4243 mpt3sas_scsih_change_queue_depth(sdev, qdepth); in enable_sdev_max_qd_store()
/linux/drivers/scsi/ibmvscsi/
H A Dibmvscsi.c1896 static int ibmvscsi_change_queue_depth(struct scsi_device *sdev, int qdepth) in ibmvscsi_change_queue_depth() argument
1898 if (qdepth > IBMVSCSI_MAX_CMDS_PER_LUN) in ibmvscsi_change_queue_depth()
1899 qdepth = IBMVSCSI_MAX_CMDS_PER_LUN; in ibmvscsi_change_queue_depth()
1900 return scsi_change_queue_depth(sdev, qdepth); in ibmvscsi_change_queue_depth()
H A Dibmvfc.c3478 static int ibmvfc_change_queue_depth(struct scsi_device *sdev, int qdepth) in ibmvfc_change_queue_depth() argument
3480 if (qdepth > IBMVFC_MAX_CMDS_PER_LUN) in ibmvfc_change_queue_depth()
3481 qdepth = IBMVFC_MAX_CMDS_PER_LUN; in ibmvfc_change_queue_depth()
3483 return scsi_change_queue_depth(sdev, qdepth); in ibmvfc_change_queue_depth()
/linux/drivers/infiniband/ulp/srp/
H A Dib_srp.c2708 srp_change_queue_depth(struct scsi_device *sdev, int qdepth) in srp_change_queue_depth() argument
2711 qdepth = 1; in srp_change_queue_depth()
2712 return scsi_change_queue_depth(sdev, qdepth); in srp_change_queue_depth()
/linux/drivers/scsi/qedi/
H A Dqedi_iscsi.c240 u16 qdepth, uint32_t initial_cmdsn) in qedi_session_create() argument
/linux/drivers/scsi/bnx2i/
H A Dbnx2i_iscsi.c1285 uint16_t cmds_max, uint16_t qdepth, in bnx2i_session_create() argument
/linux/Documentation/scsi/
H A DChangeLog.lpfc1249 * LP9802 qdepth is twice the LP9802DC qdepth. Delay
/linux/drivers/scsi/cxgbi/
H A Dlibcxgbi.c2727 u16 cmds_max, u16 qdepth, in cxgbi_create_session() argument