| /linux/drivers/usb/storage/ |
| H A D | usb.c | 437 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 D | realtek_cr.c | 94 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 D | usb.h | 112 u8 max_lun; member
|
| H A D | freecom.c | 557 us->max_lun = 0; in freecom_probe()
|
| H A D | jumpshot.c | 663 us->max_lun = 1; in jumpshot_probe()
|
| H A D | sddr09.c | 1764 us->max_lun = 1; in sddr09_probe() 1769 us->max_lun = 0; in sddr09_probe()
|
| H A D | datafab.c | 737 us->max_lun = 1; in datafab_probe()
|
| H A D | sddr55.c | 1000 us->max_lun = 0; in sddr55_probe()
|
| /linux/drivers/scsi/ |
| H A D | stex.c | 357 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 D | scsi_scan.c | 1349 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 D | storvsc_drv.c | 2008 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 D | dc395x.c | 889 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 D | virtio_scsi.h | 115 __virtio32 max_lun; member
|
| /linux/drivers/infiniband/ulp/iser/ |
| H A D | iscsi_iser.c | 99 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 D | mega_common.h | 171 uint8_t max_lun; member
|
| H A D | megaraid_mbox.c | 643 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 D | mptfc.c | 90 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 D | efct_xport.c | 402 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 D | init.c | 562 shost->max_lun = ~0; in isci_host_alloc()
|
| /linux/drivers/scsi/snic/ |
| H A D | snic_main.c | 501 shost->max_lun = snic->config.luns_per_tgt; in snic_probe()
|
| /linux/drivers/scsi/mvsas/ |
| H A D | mv_init.c | 412 shost->max_lun = ~0; in mvs_prep_sas_ha_init()
|
| /linux/drivers/scsi/qedf/ |
| H A D | qedf_main.c | 80 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 D | ibmvfc.c | 37 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 D | zfcp_scsi.c | 490 adapter->scsi_host->max_lun = 0xFFFFFFFF; in zfcp_scsi_adapter_register()
|
| /linux/drivers/scsi/csiostor/ |
| H A D | csio_init.c | 630 shost->max_lun = CSIO_MAX_LUN; in csio_shost_init()
|