Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/usb/storage/
Dusb.c358 else if (us->srb->device->lun > us->max_lun) { in usb_stor_control_thread()
660 us->max_lun = 7; in get_transport()
667 us->max_lun = 7; in get_transport()
690 us->max_lun = 0; in get_protocol()
696 us->max_lun = 0; in get_protocol()
702 us->max_lun = 0; in get_protocol()
900 us->max_lun = usb_stor_Bulk_max_lun(us); in usb_stor_scan_dwork()
905 if (us->max_lun >= 8) in usb_stor_scan_dwork()
906 us_to_host(us)->max_lun = us->max_lun+1; in usb_stor_scan_dwork()
1009 us->max_lun = 7; in usb_stor_probe2()
[all …]
Drealtek_cr.c105 char max_lun; member
996 us->max_lun = chip->max_lun = rts51x_get_max_lun(us); in init_realtek_cr()
999 usb_stor_dbg(us, "chip->max_lun = %d\n", chip->max_lun); in init_realtek_cr()
1001 size = (chip->max_lun + 1) * sizeof(struct rts51x_status); in init_realtek_cr()
1006 for (i = 0; i <= (int)(chip->max_lun); i++) { in init_realtek_cr()
Dscsiglue.c108 if (us->protocol == USB_PR_BULK && us->max_lun > 0) in slave_alloc()
283 us->max_lun = 0; in slave_configure()
Dusb.h125 u8 max_lun; member
Dfreecom.c546 us->max_lun = 0; in freecom_probe()
Djumpshot.c669 us->max_lun = 1; in jumpshot_probe()
Ddatafab.c744 us->max_lun = 1; in datafab_probe()
Dsddr09.c1762 us->max_lun = 1; in sddr09_probe()
1767 us->max_lun = 0; in sddr09_probe()
Dsddr55.c991 us->max_lun = 0; in sddr55_probe()
Dalauda.c1255 us->max_lun = 1; in alauda_probe()
Duas.c926 shost->max_lun = 256; in uas_probe()
Dshuttle_usbat.c1860 us->max_lun = 0; in usbat_probe()
Dene_ub6250.c2338 us->max_lun = 0; in ene_ub6250_probe()
/linux-4.4.14/include/uapi/linux/
Dvirtio_scsi.h115 __u32 max_lun; member
/linux-4.4.14/drivers/scsi/
Dstex.c338 unsigned int max_lun; member
602 if (lun >= host->max_lun) { in stex_queuecommand_lck()
1402 .max_lun = 8,
1415 .max_lun = 1,
1428 .max_lun = 256,
1441 .max_lun = 1,
1454 .max_lun = 256,
1623 host->max_lun = ci->max_lun; in stex_probe()
Dscsi_scan.c1211 max_dev_lun = min(max_scsi_luns, shost->max_lun); in scsi_sequential_lun_scan()
1218 max_dev_lun = shost->max_lun; in scsi_sequential_lun_scan()
1245 max_dev_lun = shost->max_lun; in scsi_sequential_lun_scan()
1324 (!(bflags & BLIST_REPORTLUN2) || shost->max_lun <= 8)) in scsi_report_lun_scan()
1437 if (lun > sdev->host->max_lun) { in scsi_report_lun_scan()
1662 ((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.c1612 host->max_lun = STORVSC_FC_MAX_LUNS_PER_TARGET; in storvsc_probe()
1618 host->max_lun = max_luns_per_target; in storvsc_probe()
1624 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.c395 host->max_lun = 1; in ps3rom_probe()
Dhosts.c419 shost->max_lun = 8; in scsi_host_alloc()
Dvirtio_scsi.c1004 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.c1154 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()
1861 (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.c1348 host->max_lun = 128; in hptiop_probe()
D53c700.c370 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.c704 hpnt->max_lun = SCSI_W_LUN_REPORT_LUNS + 1; in sdebug_max_tgts_luns()
5344 hpnt->max_lun = SCSI_W_LUN_REPORT_LUNS + 1; in sdebug_driver_probe()
Desp_scsi.c2400 esp->host->max_lun = ESP_MAX_LUN; in scsi_esp_register()
Dinitio.c2927 shost->max_lun = 32; /* 10/21/97 */ in initio_probe_one()
Dadvansys.c3187 shost->max_lun, shost->max_channel); in asc_prt_driver_conf()
11186 shost->max_lun = ASC_MAX_LUN + 1; in advansys_board_found()
11197 shost->max_lun = ADV_MAX_LUN + 1; in advansys_board_found()
DBusLogic.c2300 host->max_lun = adapter->maxlun; in blogic_inithoststruct()
Ddpt_i2o.c2361 host->max_lun = 256; in adpt_scsi_host_alloc()
Dqla1280.c4308 host->max_lun = MAX_LUNS - 1; in qla1280_probe_one()
Datp870u.c2909 shpnt->max_lun = (p->global_map[0] & 0x07) + 1; in atp870u_probe()
Dscsi_transport_fc.c2135 ((lun != SCAN_WILD_CARD) && (lun > shost->max_lun))) in fc_user_scan()
Dpmcraid.c5869 host->max_lun = PMCRAID_MAX_NUM_LUNS_PER_TARGET; in pmcraid_probe()
Dipr.c9726 host->max_lun = IPR_MAX_SIS64_LUNS_PER_TARGET; in ipr_init_ioa_cfg()
9734 host->max_lun = IPR_MAX_NUM_LUNS_PER_TARGET; in ipr_init_ioa_cfg()
Dncr53c8xx.c8402 instance->max_lun = SCSI_NCR_MAX_LUN;
Dips.c6737 sh->max_lun = ha->nlun; in ips_register_scsi()
Dhpsa.c5275 sh->max_lun = HPSA_MAX_LUN; in hpsa_scsi_host_alloc()
/linux-4.4.14/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.c5258 host->max_lun = MEGASAS_MAX_LUN; in megasas_io_attach()
/linux-4.4.14/drivers/infiniband/ulp/iser/
Discsi_iser.c93 module_param_named(max_lun, iscsi_max_lun, uint, S_IRUGO);
94 MODULE_PARM_DESC(max_lun, "Max LUNs to allow per session (default:512");
622 shost->max_lun = iscsi_max_lun; in iscsi_iser_session_create()
/linux-4.4.14/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 ");
5211 sh->max_lun = max_lun; in mptsas_probe()
Dmptspi.c1452 sh->max_lun = MPT_LAST_LUN + 1; in mptspi_probe()
/linux-4.4.14/drivers/staging/rts5208/
Drtsx.c461 else if (chip->srb->device->lun > chip->max_lun) { in rtsx_control_thread()
956 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()
1052 chip->max_lun = 1; in rtsx_init_chip()
1059 chip->max_lun = 0; in rtsx_init_chip()
1065 chip->max_lun = 0; in rtsx_init_chip()
Drtsx_chip.h695 char max_lun; member
Dsd.c4294 buf[15] = chip->max_lun;
/linux-4.4.14/include/scsi/
Dscsi_host.h598 u64 max_lun; member
/linux-4.4.14/drivers/staging/unisys/include/
Diochannel.h179 u32 max_lun; /* maximum SCSI LUN for devices attached to this member
/linux-4.4.14/drivers/staging/unisys/visorhba/
Dvisorhba_main.c1112 scsihost->max_lun = (unsigned)max.max_lun; in visorhba_probe()
/linux-4.4.14/drivers/scsi/isci/
Dinit.c595 shost->max_lun = ~0; in isci_host_alloc()
/linux-4.4.14/drivers/s390/scsi/
Dzfcp_scsi.c330 adapter->scsi_host->max_lun = 0xFFFFFFFF; in zfcp_scsi_adapter_register()
/linux-4.4.14/drivers/scsi/snic/
Dsnic_main.c535 shost->max_lun = snic->config.luns_per_tgt; in snic_probe()
/linux-4.4.14/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. "
4763 shost->max_lun = max_lun; in ibmvfc_probe()
Dibmvscsi.c2292 host->max_lun = IBMVSCSI_MAX_LUN; in ibmvscsi_probe()
2299 host->max_id, host->max_lun, host->max_channel); in ibmvscsi_probe()
/linux-4.4.14/drivers/scsi/qla2xxx/
Dqla_mid.c493 host->max_lun = ql2xmaxlun; in qla24xx_create_vhost()
Dqla_os.c2618 host->max_lun = 0xffff; in qla2x00_probe_one()
2620 host->max_lun = ql2xmaxlun; in qla2x00_probe_one()
2629 host->max_cmd_len, host->max_channel, host->max_lun, in qla2x00_probe_one()
/linux-4.4.14/drivers/scsi/mvsas/
Dmv_init.c463 shost->max_lun = ~0; in mvs_prep_sas_ha_init()
/linux-4.4.14/drivers/scsi/csiostor/
Dcsio_init.c637 shost->max_lun = CSIO_MAX_LUN; in csio_shost_init()
/linux-4.4.14/drivers/target/loopback/
Dtcm_loop.c406 sh->max_lun = 0; in tcm_loop_driver_probe()
/linux-4.4.14/drivers/scsi/cxgbi/
Dlibcxgbi.c337 int cxgbi_hbas_add(struct cxgbi_device *cdev, u64 max_lun, in cxgbi_hbas_add() argument
357 shost->max_lun = max_lun; in cxgbi_hbas_add()
/linux-4.4.14/drivers/scsi/aic94xx/
Daic94xx_init.c763 shost->max_lun = ~0; in asd_pci_probe()
/linux-4.4.14/drivers/scsi/fnic/
Dfnic_main.c699 host->max_lun = fnic->config.luns_per_tgt; in fnic_probe()
/linux-4.4.14/drivers/scsi/bfa/
Dbfad_im.c550 im_port->shost->max_lun = MAX_FCP_LUN; in bfad_im_scsi_host_alloc()
/linux-4.4.14/drivers/scsi/aacraid/
Dlinit.c1290 shost->max_lun = AAC_MAX_LUN; in aac_probe_one()
/linux-4.4.14/drivers/scsi/mpt3sas/
Dmpt3sas_scsih.c118 static u64 max_lun = MPT3SAS_MAX_LUN; variable
119 module_param(max_lun, ullong, 0);
120 MODULE_PARM_DESC(max_lun, " max lun, default=16895 ");
8543 shost->max_lun = max_lun; in _scsih_probe()
/linux-4.4.14/drivers/scsi/pm8001/
Dpm8001_init.c567 shost->max_lun = 8; in pm8001_prep_sas_ha_init()
/linux-4.4.14/drivers/scsi/esas2r/
Desas2r_main.c407 host->max_lun = 255; in esas2r_probe()
/linux-4.4.14/drivers/scsi/sym53c8xx_2/
Dsym_glue.c1367 shost->max_lun = SYM_CONF_MAX_LUN; in sym_attach()
/linux-4.4.14/drivers/scsi/bnx2i/
Dbnx2i_iscsi.c798 shost->max_lun = 512; in bnx2i_alloc_hba()
/linux-4.4.14/drivers/scsi/aic7xxx/
Daic7xxx_osm.c1109 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.c1245 host->max_lun = AHD_NUM_LUNS; in ahd_linux_register_host()
/linux-4.4.14/drivers/scsi/fcoe/
Dfcoe.c735 lport->host->max_lun = FCOE_MAX_LUN; in fcoe_shost_config()
/linux-4.4.14/drivers/scsi/cxlflash/
Dmain.c2375 host->max_lun = CXLFLASH_MAX_NUM_LUNS_PER_TARGET; in cxlflash_probe()
/linux-4.4.14/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c686 shost->max_lun = BNX2FC_MAX_LUN; in bnx2fc_shost_config()
/linux-4.4.14/drivers/ata/
Dlibata-scsi.c3686 shost->max_lun = 1; in ata_scsi_add_hosts()
/linux-4.4.14/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.4.14/drivers/infiniband/ulp/srp/
Dib_srp.c3207 target_host->max_lun = -1LL; in srp_create_target()
/linux-4.4.14/drivers/scsi/arcmsr/
Darcmsr_hba.c713 host->max_lun = ARCMSR_MAX_TARGETLUN; in arcmsr_probe()
/linux-4.4.14/drivers/scsi/ufs/
Dufshcd.c5579 host->max_lun = UFS_MAX_LUNS; in ufshcd_init()
/linux-4.4.14/drivers/scsi/be2iscsi/
Dbe_main.c591 shost->max_lun = BEISCSI_NUM_MAX_LUN; in beiscsi_hba_alloc()
/linux-4.4.14/drivers/scsi/qla4xxx/
Dql4_os.c8693 host->max_lun = MAX_LUNS - 1; in qla4xxx_probe_adapter()
/linux-4.4.14/drivers/scsi/lpfc/
Dlpfc_init.c3311 shost->max_lun = vport->cfg_max_luns; in lpfc_create_port()