Searched refs:max_lun (Results 1 - 25 of 95) sorted by relevance

1234

/drivers/usb/storage/
H A Dusb.h125 u8 max_lun; member in struct:us_data
H A Dusb.c348 else if (us->srb->device->lun > us->max_lun) {
632 us->max_lun = 7;
639 us->max_lun = 7;
662 us->max_lun = 0;
668 us->max_lun = 0;
674 us->max_lun = 0;
874 us->max_lun = usb_stor_Bulk_max_lun(us);
975 us->max_lun = 0;
H A Drealtek_cr.c102 char max_lun; member in struct:rts51x_chip
1031 us->max_lun = chip->max_lun = rts51x_get_max_lun(us);
1033 US_DEBUGP("chip->max_lun = %d\n", chip->max_lun);
1035 size = (chip->max_lun + 1) * sizeof(struct rts51x_status);
1040 for (i = 0; i <= (int)(chip->max_lun); i++) {
H A Dscsiglue.c259 us->max_lun = 0;
H A Dfreecom.c539 us->max_lun = 0;
/drivers/message/i2o/
H A Di2o_scsi.c134 scsi_host->max_lun = i2o_scsi_max_lun;
289 if (le64_to_cpu(lun) >= scsi_host->max_lun) {
290 osm_warn("SCSI device lun (%lu) >= max_lun of I2O host (%d)",
292 scsi_host->max_lun);
/drivers/scsi/megaraid/
H A Dmega_common.h120 * @max_lun : max lun supported - inclusive
175 uint8_t max_lun; member in struct:__anon4706
/drivers/staging/keucr/
H A Dusb.h143 u8 max_lun; member in struct:us_data
H A Dusb.c217 else if (us->srb->device->lun > us->max_lun)
356 us->max_lun = 0;
569 us->max_lun = usb_stor_Bulk_max_lun(us);
H A Dscsiglue.c86 us->max_lun = 0;
/drivers/scsi/
H A Deata.c668 unchar max_lun; member in struct:eata_info
691 unchar max_lun; /* Max SCSI LUN number */ member in struct:eata_info
1339 if (info.max_lun > 7 && info.max_lun < MAX_LUN)
1340 shost->max_lun = info.max_lun + 1;
1400 if (shost->max_id > 8 || shost->max_lun > 8)
1402 ("%s: wide SCSI support enabled, max_id %u, max_lun %u.\n",
1403 ha->board_name, shost->max_id, shost->max_lun);
1422 printk("%s: max_lun
[all...]
H A Dstex.c337 unsigned int max_lun; member in struct:st_card_info
627 if (lun >= host->max_lun) {
1432 .max_lun = 8,
1445 .max_lun = 1,
1458 .max_lun = 256,
1471 .max_lun = 1,
1484 .max_lun = 256,
1654 host->max_lun = ci->max_lun;
H A Dscsi_scan.c1161 max_dev_lun = min(max_scsi_luns, shost->max_lun);
1168 max_dev_lun = shost->max_lun;
1195 max_dev_lun = shost->max_lun;
1333 (!(bflags & BLIST_REPORTLUN2) || shost->max_lun <= 8))
1470 } else if (lun > sdev->host->max_lun) {
1691 ((lun != SCAN_WILD_CARD) && (lun > shost->max_lun)))
H A Dvirtio_scsi.c477 shost->max_lun = virtscsi_config_get(vdev, max_lun) + 1;
H A Dhosts.c369 shost->max_lun = 8;
H A Dps3rom.c399 host->max_lun = 1;
H A Discsi_tcp.c59 module_param_named(max_lun, iscsi_max_lun, uint, S_IRUGO);
821 shost->max_lun = iscsi_max_lun;
992 printk(KERN_ERR "iscsi_tcp: Invalid max_lun value of %u\n",
H A Du14-34f.c958 sh[j]->max_lun = MAX_LUN;
1008 if (sh[j]->max_id > 8 || sh[j]->max_lun > 8)
1009 printk("%s: wide SCSI support enabled, max_id %u, max_lun %u.\n",
1010 BN(j), sh[j]->max_id, sh[j]->max_lun);
/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 ");
1263 sh->max_lun = max_lun;
/drivers/infiniband/ulp/iser/
H A Discsi_iser.c81 module_param_named(max_lun, iscsi_max_lun, uint, S_IRUGO);
427 shost->max_lun = iscsi_max_lun;
744 printk(KERN_ERR "Invalid max_lun value of %u\n", iscsi_max_lun);
/drivers/staging/rts_pstor/
H A Drtsx.c512 else if (chip->srb->device->lun > chip->max_lun) {
1003 /* set the supported max_lun and max_id for the scsi host
1006 host->max_lun = dev->chip->max_lun;
H A Drtsx_chip.c66 for (i = 0; i <= chip->max_lun; i++) {
90 for (i = 0; i <= chip->max_lun; i++) {
1054 chip->max_lun = 1;
1061 chip->max_lun = 0;
1067 chip->max_lun = 0;
/drivers/scsi/isci/
H A Dinit.c435 shost->max_lun = ~0;
/drivers/s390/scsi/
H A Dzfcp_scsi.c347 adapter->scsi_host->max_lun = 0xFFFFFFFF;
/drivers/staging/rts5139/
H A Drts51x.c306 else if (chip->srb->device->lun > chip->max_lun) {

Completed in 373 milliseconds

1234