Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/usb/storage/
Dusb.c356 else if (us->srb->device->lun > us->max_lun) { in usb_stor_control_thread()
658 us->max_lun = 7; in get_transport()
665 us->max_lun = 7; in get_transport()
688 us->max_lun = 0; in get_protocol()
694 us->max_lun = 0; in get_protocol()
700 us->max_lun = 0; in get_protocol()
898 us->max_lun = usb_stor_Bulk_max_lun(us); in usb_stor_scan_dwork()
903 if (us->max_lun >= 8) in usb_stor_scan_dwork()
904 us_to_host(us)->max_lun = us->max_lun+1; in usb_stor_scan_dwork()
1006 us->max_lun = 7; in usb_stor_probe2()
[all …]
Drealtek_cr.c102 char max_lun; member
993 us->max_lun = chip->max_lun = rts51x_get_max_lun(us); in init_realtek_cr()
996 usb_stor_dbg(us, "chip->max_lun = %d\n", chip->max_lun); in init_realtek_cr()
998 size = (chip->max_lun + 1) * sizeof(struct rts51x_status); in init_realtek_cr()
1003 for (i = 0; i <= (int)(chip->max_lun); i++) { in init_realtek_cr()
Dusb.h125 u8 max_lun; member
Dscsiglue.c108 if (us->protocol == USB_PR_BULK && us->max_lun > 0) in slave_alloc()
283 us->max_lun = 0; in slave_configure()
Dfreecom.c540 us->max_lun = 0; in freecom_probe()
Djumpshot.c664 us->max_lun = 1; in jumpshot_probe()
Ddatafab.c738 us->max_lun = 1; in datafab_probe()
Dsddr09.c1756 us->max_lun = 1; in sddr09_probe()
1761 us->max_lun = 0; in sddr09_probe()
Dsddr55.c986 us->max_lun = 0; in sddr55_probe()
Dalauda.c1249 us->max_lun = 1; in alauda_probe()
Duas.c929 shost->max_lun = 256; in uas_probe()
Dshuttle_usbat.c1854 us->max_lun = 0; in usbat_probe()
Dene_ub6250.c2333 us->max_lun = 0; in ene_ub6250_probe()
/linux-4.1.27/drivers/staging/i2o/
Di2o_scsi.c134 scsi_host->max_lun = i2o_scsi_max_lun; in i2o_scsi_host_alloc()
289 if (le64_to_cpu(lun) >= scsi_host->max_lun) { in i2o_scsi_probe()
291 le64_to_cpu(lun), scsi_host->max_lun); in i2o_scsi_probe()
/linux-4.1.27/include/uapi/linux/
Dvirtio_scsi.h115 __u32 max_lun; member
/linux-4.1.27/drivers/scsi/
Dstex.c337 unsigned int max_lun; member
609 if (lun >= host->max_lun) { in stex_queuecommand_lck()
1410 .max_lun = 8,
1423 .max_lun = 1,
1436 .max_lun = 256,
1449 .max_lun = 1,
1462 .max_lun = 256,
1631 host->max_lun = ci->max_lun; in stex_probe()
Dscsi_scan.c1206 max_dev_lun = min(max_scsi_luns, shost->max_lun); in scsi_sequential_lun_scan()
1213 max_dev_lun = shost->max_lun; in scsi_sequential_lun_scan()
1240 max_dev_lun = shost->max_lun; in scsi_sequential_lun_scan()
1381 (!(bflags & BLIST_REPORTLUN2) || shost->max_lun <= 8)) in scsi_report_lun_scan()
1494 if (lun > sdev->host->max_lun) { in scsi_report_lun_scan()
1719 ((lun != SCAN_WILD_CARD) && (lun >= shost->max_lun))) in scsi_scan_host_selected()
Deata.c668 unchar max_lun; member
691 unchar max_lun; /* Max SCSI LUN number */ member
1330 if (info.max_lun > 7 && info.max_lun < MAX_LUN) in port_detect()
1331 shost->max_lun = info.max_lun + 1; in port_detect()
1389 if (shost->max_id > 8 || shost->max_lun > 8) in port_detect()
1392 ha->board_name, shost->max_id, shost->max_lun); in port_detect()
1412 "raidnum %u.\n", name, info.max_lun, info.m1, in port_detect()
Dstorvsc_drv.c1827 host->max_lun = STORVSC_FC_MAX_LUNS_PER_TARGET; in storvsc_probe()
1833 host->max_lun = max_luns_per_target; in storvsc_probe()
1839 host->max_lun = STORVSC_IDE_MAX_LUNS_PER_TARGET; in storvsc_probe()
Discsi_tcp.c59 module_param_named(max_lun, iscsi_max_lun, uint, S_IRUGO);
838 shost->max_lun = iscsi_max_lun; in iscsi_sw_tcp_session_create()
Dps3rom.c396 host->max_lun = 1; in ps3rom_probe()
Dhosts.c401 shost->max_lun = 8; in scsi_host_alloc()
Dvirtio_scsi.c999 shost->max_lun = virtscsi_config_get(vdev, max_lun) + 1 + 0x4000; in virtscsi_probe()
Du14-34f.c958 sh[j]->max_lun = MAX_LUN; in port_detect()
1008 if (sh[j]->max_id > 8 || sh[j]->max_lun > 8) in port_detect()
1010 BN(j), sh[j]->max_id, sh[j]->max_lun); in port_detect()
Deata_pio.c773 sh->max_lun = 8; in register_pio_HBA()
Da100u2w.c1155 shost->max_lun = 16; in inia100_probe_one()
Ddc395x.c1097 cmd->device->lun >= acb->scsi_host->max_lun || in dc395x_queue_command_lck()
4436 host->max_lun = 8; in adapter_init_scsi_host()
4438 host->max_lun = 1; in adapter_init_scsi_host()
4638 seq_printf(m, "MaxID %i, MaxLUN %llu, ", host->max_id, host->max_lun); in dc395x_show_info()
Dxen-scsifront.c865 host->max_lun = VSCSIIF_MAX_LUN; in scsifront_probe()
Dvmw_pvscsi.c1439 host->max_lun = 1; in pvscsi_probe()
Dmegaraid.c288 adapter->host->max_lun = 7; /* Up to 7 luns for non disk devices */ in mega_query_adapter()
1863 (u32)adapter->host->max_lun); in megaraid_info()
D3w-sas.c1632 host->max_lun = TW_MAX_LUNS; in twl_probe()
Dgdth.c4784 shp->max_lun = MAXLUN; in gdth_isa_probe_one()
4915 shp->max_lun = MAXLUN; in gdth_eisa_probe_one()
5059 shp->max_lun = MAXLUN; in gdth_pci_probe_one()
D3w-xxxx.c2307 host->max_lun = 0; in tw_probe()
Dhptiop.c1339 host->max_lun = 1; in hptiop_probe()
D53c700.c371 host->max_lun = NCR_700_MAX_LUNS; in NCR_700_detect()
D3w-9xxx.c2085 host->max_lun = TW_MAX_LUNS(tw_dev->tw_compat_info.working_srl); in twa_probe()
Dscsi_debug.c701 hpnt->max_lun = SAM2_WLUN_REPORT_LUNS; in sdebug_max_tgts_luns()
5356 hpnt->max_lun = SAM2_WLUN_REPORT_LUNS; /* = scsi_debug_max_luns; */ in sdebug_driver_probe()
Desp_scsi.c2400 esp->host->max_lun = ESP_MAX_LUN; in scsi_esp_register()
Dinitio.c2928 shost->max_lun = 32; /* 10/21/97 */ in initio_probe_one()
Ddpt_i2o.c2358 host->max_lun = 256; in adpt_scsi_host_alloc()
DBusLogic.c2300 host->max_lun = adapter->maxlun; in blogic_inithoststruct()
Dadvansys.c3340 shost->max_lun, shost->max_channel); in asc_prt_driver_conf()
11632 shost->max_lun = ASC_MAX_LUN + 1; in advansys_board_found()
11643 shost->max_lun = ADV_MAX_LUN + 1; in advansys_board_found()
Datp870u.c2909 shpnt->max_lun = (p->global_map[0] & 0x07) + 1; in atp870u_probe()
Dqla1280.c4309 host->max_lun = MAX_LUNS - 1; in qla1280_probe_one()
Dscsi_transport_fc.c2135 ((lun != SCAN_WILD_CARD) && (lun > shost->max_lun))) in fc_user_scan()
Dpmcraid.c5871 host->max_lun = PMCRAID_MAX_NUM_LUNS_PER_TARGET; in pmcraid_probe()
Dipr.c9597 host->max_lun = IPR_MAX_SIS64_LUNS_PER_TARGET; in ipr_init_ioa_cfg()
9605 host->max_lun = IPR_MAX_NUM_LUNS_PER_TARGET; in ipr_init_ioa_cfg()
Dncr53c8xx.c8402 instance->max_lun = SCSI_NCR_MAX_LUN;
Dips.c6741 sh->max_lun = ha->nlun; in ips_register_scsi()
Dhpsa.c4253 sh->max_lun = HPSA_MAX_LUN; in hpsa_register_scsi()
/linux-4.1.27/drivers/scsi/megaraid/
Dmega_common.h175 uint8_t max_lun; member
Dmegaraid_mbox.c655 host->max_lun = adapter->max_lun; in megaraid_io_attach()
3023 adapter->max_lun = 8; // up to 8 LUNs for non-disk devices in megaraid_mbox_product_info()
Dmegaraid_sas_base.c5042 host->max_lun = MEGASAS_MAX_LUN; in megasas_io_attach()
/linux-4.1.27/drivers/message/fusion/
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 ");
1260 sh->max_lun = max_lun; in mptfc_probe()
Dmptsas.c91 static int max_lun = MPTSAS_MAX_LUN; variable
92 module_param(max_lun, int, 0);
93 MODULE_PARM_DESC(max_lun, " max lun, default=16895 ");
5212 sh->max_lun = max_lun; in mptsas_probe()
Dmptspi.c1452 sh->max_lun = MPT_LAST_LUN + 1; in mptspi_probe()
/linux-4.1.27/drivers/staging/rts5208/
Drtsx.c462 else if (chip->srb->device->lun > chip->max_lun) { in rtsx_control_thread()
959 host->max_lun = dev->chip->max_lun; in rtsx_probe()
Drtsx_chip.c59 for (i = 0; i <= chip->max_lun; i++) { in rtsx_enable_card_int()
83 for (i = 0; i <= chip->max_lun; i++) { in rtsx_enable_bus_int()
1051 chip->max_lun = 1; in rtsx_init_chip()
1058 chip->max_lun = 0; in rtsx_init_chip()
1064 chip->max_lun = 0; in rtsx_init_chip()
Drtsx_chip.h695 char max_lun; member
Dsd.c4297 buf[15] = chip->max_lun; in sd_pass_thru_mode()
/linux-4.1.27/include/scsi/
Dscsi_host.h603 u64 max_lun; member
/linux-4.1.27/drivers/infiniband/ulp/iser/
Discsi_iser.c82 module_param_named(max_lun, iscsi_max_lun, uint, S_IRUGO);
617 shost->max_lun = iscsi_max_lun; in iscsi_iser_session_create()
/linux-4.1.27/drivers/staging/unisys/common-spar/include/channels/
Diochannel.h259 u32 max_lun; /* maximum SCSI LUN for devices attached to this member
/linux-4.1.27/drivers/scsi/isci/
Dinit.c597 shost->max_lun = ~0; in isci_host_alloc()
/linux-4.1.27/drivers/staging/unisys/virthba/
Dvirthba.c473 scsihost->max_lun = (unsigned)virtpcidev->scsi.max.max_lun; in virthba_probe()
/linux-4.1.27/drivers/s390/scsi/
Dzfcp_scsi.c331 adapter->scsi_host->max_lun = 0xFFFFFFFF; in zfcp_scsi_adapter_register()
/linux-4.1.27/drivers/scsi/ibmvscsi/
Dibmvfc.c49 static u64 max_lun = IBMVFC_MAX_LUN; variable
74 module_param_named(max_lun, max_lun, ullong, S_IRUGO);
75 MODULE_PARM_DESC(max_lun, "Maximum allowed LUN. "
4764 shost->max_lun = max_lun; in ibmvfc_probe()
Dibmvscsi.c2292 host->max_lun = 8; in ibmvscsi_probe()
/linux-4.1.27/drivers/scsi/qla2xxx/
Dqla_mid.c494 host->max_lun = ql2xmaxlun; in qla24xx_create_vhost()
Dqla_os.c2621 host->max_lun = 0xffff; in qla2x00_probe_one()
2623 host->max_lun = ql2xmaxlun; in qla2x00_probe_one()
2632 host->max_cmd_len, host->max_channel, host->max_lun, in qla2x00_probe_one()
/linux-4.1.27/drivers/scsi/mvsas/
Dmv_init.c469 shost->max_lun = ~0; in mvs_prep_sas_ha_init()
/linux-4.1.27/drivers/scsi/csiostor/
Dcsio_init.c637 shost->max_lun = CSIO_MAX_LUN; in csio_shost_init()
/linux-4.1.27/drivers/scsi/cxgbi/
Dlibcxgbi.c333 int cxgbi_hbas_add(struct cxgbi_device *cdev, u64 max_lun, in cxgbi_hbas_add() argument
353 shost->max_lun = max_lun; in cxgbi_hbas_add()
/linux-4.1.27/drivers/staging/unisys/virtpci/
Dvirtpci.c1307 tmpvpcidev->scsi.max.max_lun, in info_debugfs_read()
/linux-4.1.27/drivers/scsi/aic94xx/
Daic94xx_init.c769 shost->max_lun = ~0; in asd_pci_probe()
/linux-4.1.27/drivers/target/loopback/
Dtcm_loop.c410 sh->max_lun = 0; in tcm_loop_driver_probe()
/linux-4.1.27/drivers/scsi/fnic/
Dfnic_main.c707 host->max_lun = fnic->config.luns_per_tgt; in fnic_probe()
/linux-4.1.27/drivers/scsi/aacraid/
Dlinit.c1290 shost->max_lun = AAC_MAX_LUN; in aac_probe_one()
/linux-4.1.27/drivers/scsi/pm8001/
Dpm8001_init.c565 shost->max_lun = 8; in pm8001_prep_sas_ha_init()
/linux-4.1.27/drivers/scsi/bfa/
Dbfad_im.c550 im_port->shost->max_lun = MAX_FCP_LUN; in bfad_im_scsi_host_alloc()
/linux-4.1.27/drivers/scsi/mpt2sas/
Dmpt2sas_scsih.c113 static int max_lun = MPT2SAS_MAX_LUN; variable
114 module_param(max_lun, int, 0);
115 MODULE_PARM_DESC(max_lun, " max lun, default=16895 ");
8189 shost->max_lun = max_lun; in _scsih_probe()
/linux-4.1.27/drivers/scsi/mpt3sas/
Dmpt3sas_scsih.c116 static u64 max_lun = MPT3SAS_MAX_LUN; variable
117 module_param(max_lun, ullong, 0);
118 MODULE_PARM_DESC(max_lun, " max lun, default=16895 ");
7820 shost->max_lun = max_lun; in _scsih_probe()
/linux-4.1.27/drivers/scsi/esas2r/
Desas2r_main.c408 host->max_lun = 255; in esas2r_probe()
/linux-4.1.27/drivers/scsi/sym53c8xx_2/
Dsym_glue.c1367 shost->max_lun = SYM_CONF_MAX_LUN; in sym_attach()
/linux-4.1.27/drivers/scsi/aic7xxx/
Daic7xxx_osm.c1110 host->max_lun = AHC_NUM_LUNS; in ahc_linux_register_host()
Daic79xx_core.c5944 u_int max_lun; in ahd_handle_devreset() local
5948 max_lun = AHD_NUM_LUNS - 1; in ahd_handle_devreset()
5951 max_lun = lun; in ahd_handle_devreset()
5953 for (;cur_lun <= max_lun; cur_lun++) { in ahd_handle_devreset()
Daic79xx_osm.c1246 host->max_lun = AHD_NUM_LUNS; in ahd_linux_register_host()
/linux-4.1.27/drivers/scsi/bnx2i/
Dbnx2i_iscsi.c798 shost->max_lun = 512; in bnx2i_alloc_hba()
/linux-4.1.27/drivers/scsi/fcoe/
Dfcoe.c736 lport->host->max_lun = FCOE_MAX_LUN; in fcoe_shost_config()
/linux-4.1.27/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c686 shost->max_lun = BNX2FC_MAX_LUN; in bnx2fc_shost_config()
/linux-4.1.27/drivers/ata/
Dlibata-scsi.c3679 shost->max_lun = 1; in ata_scsi_add_hosts()
/linux-4.1.27/Documentation/scsi/
DChangeLog.lpfc499 * Reduced max_lun to 256 (due to issues reported to some arrays).
1073 max_lun has been removed. max_target is replaced with a #define,
/linux-4.1.27/drivers/infiniband/ulp/srp/
Dib_srp.c3152 target_host->max_lun = SRP_MAX_LUN; in srp_create_target()
/linux-4.1.27/drivers/scsi/ufs/
Dufshcd.c5486 host->max_lun = UFS_MAX_LUNS; in ufshcd_init()
/linux-4.1.27/drivers/scsi/arcmsr/
Darcmsr_hba.c716 host->max_lun = ARCMSR_MAX_TARGETLUN; in arcmsr_probe()
/linux-4.1.27/drivers/scsi/be2iscsi/
Dbe_main.c591 shost->max_lun = BEISCSI_NUM_MAX_LUN; in beiscsi_hba_alloc()
/linux-4.1.27/drivers/scsi/lpfc/
Dlpfc_init.c3303 shost->max_lun = vport->cfg_max_luns; in lpfc_create_port()
/linux-4.1.27/drivers/scsi/qla4xxx/
Dql4_os.c8694 host->max_lun = MAX_LUNS - 1; in qla4xxx_probe_adapter()