Home
last modified time | relevance | path

Searched refs:max_lun (Results 1 – 25 of 72) sorted by relevance

123

/linux/drivers/usb/storage/
H A Dusb.c437 else if (srb->device->lun > us->max_lun) { in usb_stor_control_thread()
755 us->max_lun = 7; in get_transport()
762 us->max_lun = 7; in get_transport()
785 us->max_lun = 0; in get_protocol()
791 us->max_lun = 0; in get_protocol()
797 us->max_lun = 0; in get_protocol()
988 us->max_lun = usb_stor_Bulk_max_lun(us); in usb_stor_scan_dwork()
994 if (us->max_lun >= 8) in usb_stor_scan_dwork()
995 us_to_host(us)->max_lun = us->max_lun+1; in usb_stor_scan_dwork()
1116 us->max_lun = 7; in usb_stor_probe2()
[all …]
H A Drealtek_cr.c94 char max_lun; member
985 us->max_lun = chip->max_lun = rts51x_get_max_lun(us); in init_realtek_cr()
988 usb_stor_dbg(us, "chip->max_lun = %d\n", chip->max_lun); in init_realtek_cr()
990 size = (chip->max_lun + 1) * sizeof(struct rts51x_status); in init_realtek_cr()
995 for (i = 0; i <= (int)(chip->max_lun); i++) { in init_realtek_cr()
H A Dusb.h112 u8 max_lun; member
H A Dfreecom.c557 us->max_lun = 0; in freecom_probe()
H A Djumpshot.c663 us->max_lun = 1; in jumpshot_probe()
H A Dsddr09.c1764 us->max_lun = 1; in sddr09_probe()
1769 us->max_lun = 0; in sddr09_probe()
H A Ddatafab.c737 us->max_lun = 1; in datafab_probe()
H A Dsddr55.c1000 us->max_lun = 0; in sddr55_probe()
/linux/drivers/scsi/
H A Dstex.c357 unsigned int max_lun; member
653 if (lun >= host->max_lun) { in stex_queuecommand_lck()
1541 .max_lun = 8,
1554 .max_lun = 1,
1567 .max_lun = 256,
1580 .max_lun = 1,
1593 .max_lun = 256,
1606 .max_lun = 256,
1788 host->max_lun = ci->max_lun; in stex_probe()
H A Dscsi_scan.c1349 max_dev_lun = min(max_scsi_luns, shost->max_lun); in scsi_sequential_lun_scan()
1356 max_dev_lun = shost->max_lun; in scsi_sequential_lun_scan()
1383 max_dev_lun = shost->max_lun; in scsi_sequential_lun_scan()
1480 (!(bflags & BLIST_REPORTLUN2) || shost->max_lun <= 8)) in scsi_report_lun_scan()
1579 if (lun > sdev->host->max_lun) { in scsi_report_lun_scan()
1892 ((lun != SCAN_WILD_CARD) && (lun >= shost->max_lun))) in scsi_scan_host_selected()
H A Dstorvsc_drv.c2008 host->max_lun = STORVSC_FC_MAX_LUNS_PER_TARGET; in storvsc_probe()
2017 host->max_lun = STORVSC_MAX_LUNS_PER_TARGET; in storvsc_probe()
2023 host->max_lun = STORVSC_IDE_MAX_LUNS_PER_TARGET; in storvsc_probe()
H A Ddc395x.c889 cmd->device->lun >= acb->scsi_host->max_lun || in dc395x_queue_command_lck()
3669 host->max_lun = 8; in adapter_init_scsi_host()
3671 host->max_lun = 1; in adapter_init_scsi_host()
3863 seq_printf(m, "MaxID %i, MaxLUN %llu, ", host->max_id, host->max_lun); in dc395x_show_info()
/linux/include/uapi/linux/
H A Dvirtio_scsi.h115 __virtio32 max_lun; member
/linux/drivers/infiniband/ulp/iser/
H A Discsi_iser.c99 module_param_cb(max_lun, &iscsi_iser_size_ops, &iscsi_max_lun, S_IRUGO);
100 MODULE_PARM_DESC(max_lun, "Max LUNs to allow per session, should > 0 (default:512)");
616 shost->max_lun = iscsi_max_lun; in iscsi_iser_session_create()
/linux/drivers/scsi/megaraid/
H A Dmega_common.h171 uint8_t max_lun; member
H A Dmegaraid_mbox.c643 host->max_lun = adapter->max_lun; in megaraid_io_attach()
2961 adapter->max_lun = 8; // up to 8 LUNs for non-disk devices in megaraid_mbox_product_info()
/linux/drivers/message/fusion/
H A Dmptfc.c90 static int max_lun = MPTFC_MAX_LUN; variable
91 module_param(max_lun, int, 0);
92 MODULE_PARM_DESC(max_lun, " max lun, default=16895 ");
1289 sh->max_lun = max_lun; in mptfc_probe()
/linux/drivers/scsi/elx/efct/
H A Defct_xport.c402 shost->max_lun = 0xffffffff; in efct_scsi_new_device()
919 shost->max_lun = 0xffffffff; in efct_scsi_new_vport()
/linux/drivers/scsi/isci/
H A Dinit.c562 shost->max_lun = ~0; in isci_host_alloc()
/linux/drivers/scsi/snic/
H A Dsnic_main.c501 shost->max_lun = snic->config.luns_per_tgt; in snic_probe()
/linux/drivers/scsi/mvsas/
H A Dmv_init.c412 shost->max_lun = ~0; in mvs_prep_sas_ha_init()
/linux/drivers/scsi/qedf/
H A Dqedf_main.c80 module_param_named(max_lun, qedf_max_lun, int, S_IRUGO);
81 MODULE_PARM_DESC(max_lun, " Sets the maximum luns per target that the driver "
1894 vn_port->host->max_lun = qedf_max_lun; in qedf_vport_create()
3570 host->max_lun = qedf_max_lun; in __qedf_probe()
/linux/drivers/scsi/ibmvscsi/
H A Dibmvfc.c37 static u64 max_lun = IBMVFC_MAX_LUN; variable
93 module_param_named(max_lun, max_lun, ullong, S_IRUGO);
94 MODULE_PARM_DESC(max_lun, "Maximum allowed LUN. "
6336 shost->max_lun = max_lun; in ibmvfc_probe()
/linux/drivers/s390/scsi/
H A Dzfcp_scsi.c490 adapter->scsi_host->max_lun = 0xFFFFFFFF; in zfcp_scsi_adapter_register()
/linux/drivers/scsi/csiostor/
H A Dcsio_init.c630 shost->max_lun = CSIO_MAX_LUN; in csio_shost_init()

123