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

1234

/linux-master/drivers/usb/storage/
H A Dusb.c343 else if (srb->device->lun > us->max_lun) {
661 us->max_lun = 7;
668 us->max_lun = 7;
691 us->max_lun = 0;
697 us->max_lun = 0;
703 us->max_lun = 0;
894 us->max_lun = usb_stor_Bulk_max_lun(us);
900 if (us->max_lun >= 8)
901 us_to_host(us)->max_lun = us->max_lun
[all...]
H A Dusb.h112 u8 max_lun; member in struct:us_data
H A Drealtek_cr.c94 char max_lun; member in struct:rts51x_chip
984 us->max_lun = chip->max_lun = rts51x_get_max_lun(us);
987 usb_stor_dbg(us, "chip->max_lun = %d\n", chip->max_lun);
989 size = (chip->max_lun + 1) * sizeof(struct rts51x_status);
994 for (i = 0; i <= (int)(chip->max_lun); i++) {
H A Dscsiglue.c86 if (us->protocol == USB_PR_BULK && us->max_lun > 0)
328 us->max_lun = 0;
H A Dfreecom.c557 us->max_lun = 0;
H A Djumpshot.c663 us->max_lun = 1;
H A Ddatafab.c737 us->max_lun = 1;
H A Dsddr09.c1764 us->max_lun = 1;
1769 us->max_lun = 0;
/linux-master/include/uapi/linux/
H A Dvirtio_scsi.h115 __virtio32 max_lun; member in struct:virtio_scsi_config
/linux-master/drivers/scsi/megaraid/
H A Dmega_common.h116 * @max_lun : max lun supported - inclusive
171 uint8_t max_lun; member in struct:__anon95
/linux-master/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)");
620 shost->max_lun = iscsi_max_lun;
/linux-master/drivers/scsi/
H A Dscsi_scan.c1331 max_dev_lun = min(max_scsi_luns, shost->max_lun);
1338 max_dev_lun = shost->max_lun;
1365 max_dev_lun = shost->max_lun;
1462 (!(bflags & BLIST_REPORTLUN2) || shost->max_lun <= 8))
1561 if (lun > sdev->host->max_lun) {
1856 ((lun != SCAN_WILD_CARD) && (lun >= shost->max_lun)))
H A Dstex.c358 unsigned int max_lun; member in struct:st_card_info
654 if (lun >= host->max_lun) {
1542 .max_lun = 8,
1555 .max_lun = 1,
1568 .max_lun = 256,
1581 .max_lun = 1,
1594 .max_lun = 256,
1607 .max_lun = 256,
1789 host->max_lun = ci->max_lun;
[all...]
H A Dps3rom.c377 host->max_lun = 1;
H A Discsi_tcp.c54 module_param_named(max_lun, iscsi_max_lun, uint, S_IRUGO);
942 shost->max_lun = iscsi_max_lun;
1132 printk(KERN_ERR "iscsi_tcp: Invalid max_lun value of %u\n",
H A Dvirtio_scsi.c961 shost->max_lun = virtscsi_config_get(vdev, max_lun) + 1 + 0x4000;
H A Dstorvsc_drv.c1986 host->max_lun = STORVSC_FC_MAX_LUNS_PER_TARGET;
1995 host->max_lun = STORVSC_MAX_LUNS_PER_TARGET;
2001 host->max_lun = STORVSC_IDE_MAX_LUNS_PER_TARGET;
H A Dhosts.c425 shost->max_lun = 8;
/linux-master/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 ");
1287 sh->max_lun = max_lun;
/linux-master/include/scsi/
H A Dscsi_host.h589 u64 max_lun; member in struct:Scsi_Host
/linux-master/drivers/staging/rts5208/
H A Drtsx.c393 } else if (chip->srb->device->lun > chip->max_lun) {
886 * set the supported max_lun and max_id for the scsi host
890 host->max_lun = dev->chip->max_lun;
H A Drtsx_chip.c40 for (i = 0; i <= chip->max_lun; i++) {
64 for (i = 0; i <= chip->max_lun; i++) {
865 chip->max_lun = 1;
872 chip->max_lun = 0;
878 chip->max_lun = 0;
/linux-master/drivers/scsi/elx/efct/
H A Defct_xport.c402 shost->max_lun = 0xffffffff;
919 shost->max_lun = 0xffffffff;
/linux-master/drivers/scsi/snic/
H A Dsnic_main.c502 shost->max_lun = snic->config.luns_per_tgt;
/linux-master/drivers/scsi/isci/
H A Dinit.c579 shost->max_lun = ~0;

Completed in 276 milliseconds

1234