/drivers/usb/storage/ |
D | usb.c | 356 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() 896 us->max_lun = usb_stor_Bulk_max_lun(us); in usb_stor_scan_dwork() 995 us->max_lun = 0; in usb_stor_probe2()
|
D | realtek_cr.c | 102 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()
|
D | scsiglue.c | 108 if (us->protocol == USB_PR_BULK && us->max_lun > 0) in slave_alloc() 283 us->max_lun = 0; in slave_configure()
|
D | usb.h | 125 u8 max_lun; member
|
D | freecom.c | 540 us->max_lun = 0; in freecom_probe()
|
D | jumpshot.c | 664 us->max_lun = 1; in jumpshot_probe()
|
D | sddr09.c | 1756 us->max_lun = 1; in sddr09_probe() 1761 us->max_lun = 0; in sddr09_probe()
|
D | datafab.c | 738 us->max_lun = 1; in datafab_probe()
|
/drivers/message/i2o/ |
D | i2o_scsi.c | 134 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()
|
/drivers/scsi/ |
D | stex.c | 337 unsigned int max_lun; member 627 if (lun >= host->max_lun) { in stex_queuecommand_lck() 1432 .max_lun = 8, 1445 .max_lun = 1, 1458 .max_lun = 256, 1471 .max_lun = 1, 1484 .max_lun = 256, 1653 host->max_lun = ci->max_lun; in stex_probe()
|
D | scsi_scan.c | 1210 max_dev_lun = min(max_scsi_luns, shost->max_lun); in scsi_sequential_lun_scan() 1217 max_dev_lun = shost->max_lun; in scsi_sequential_lun_scan() 1244 max_dev_lun = shost->max_lun; in scsi_sequential_lun_scan() 1386 (!(bflags & BLIST_REPORTLUN2) || shost->max_lun <= 8)) in scsi_report_lun_scan() 1509 if (lun > sdev->host->max_lun) { in scsi_report_lun_scan() 1736 ((lun != SCAN_WILD_CARD) && (lun > shost->max_lun))) in scsi_scan_host_selected()
|
D | eata.c | 668 unchar max_lun; member 691 unchar max_lun; /* Max SCSI LUN number */ member 1332 if (info.max_lun > 7 && info.max_lun < MAX_LUN) in port_detect() 1333 shost->max_lun = info.max_lun + 1; in port_detect() 1391 if (shost->max_id > 8 || shost->max_lun > 8) in port_detect() 1394 ha->board_name, shost->max_id, shost->max_lun); in port_detect() 1414 "raidnum %u.\n", name, info.max_lun, info.m1, in port_detect()
|
D | storvsc_drv.c | 1823 host->max_lun = STORVSC_FC_MAX_LUNS_PER_TARGET; in storvsc_probe() 1829 host->max_lun = STORVSC_MAX_LUNS_PER_TARGET; in storvsc_probe() 1835 host->max_lun = STORVSC_IDE_MAX_LUNS_PER_TARGET; in storvsc_probe()
|
D | iscsi_tcp.c | 59 module_param_named(max_lun, iscsi_max_lun, uint, S_IRUGO); 838 shost->max_lun = iscsi_max_lun; in iscsi_sw_tcp_session_create()
|
D | ps3rom.c | 399 host->max_lun = 1; in ps3rom_probe()
|
D | virtio_scsi.c | 982 shost->max_lun = virtscsi_config_get(vdev, max_lun) + 1 + 0x4000; in virtscsi_probe()
|
D | hosts.c | 401 shost->max_lun = 8; in scsi_host_alloc()
|
D | u14-34f.c | 958 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()
|
/drivers/message/fusion/ |
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 "); 1260 sh->max_lun = max_lun; in mptfc_probe()
|
/drivers/scsi/megaraid/ |
D | mega_common.h | 175 uint8_t max_lun; member
|
/drivers/staging/rts5208/ |
D | rtsx.c | 468 else if (chip->srb->device->lun > chip->max_lun) { in rtsx_control_thread() 965 host->max_lun = dev->chip->max_lun; in rtsx_probe()
|
D | rtsx_chip.c | 66 for (i = 0; i <= chip->max_lun; i++) { in rtsx_enable_card_int() 90 for (i = 0; i <= chip->max_lun; i++) { in rtsx_enable_bus_int() 773 chip->max_lun = 1; in rtsx_init_chip() 780 chip->max_lun = 0; in rtsx_init_chip() 786 chip->max_lun = 0; in rtsx_init_chip()
|
/drivers/infiniband/ulp/iser/ |
D | iscsi_iser.c | 82 module_param_named(max_lun, iscsi_max_lun, uint, S_IRUGO); 578 shost->max_lun = iscsi_max_lun; in iscsi_iser_session_create()
|
/drivers/staging/unisys/virthba/ |
D | virthba.c | 507 (unsigned) virtpcidev->scsi.max.max_lun, in virthba_probe() 512 scsihost->max_lun = (unsigned) virtpcidev->scsi.max.max_lun; in virthba_probe() 521 scsihost->max_channel, scsihost->max_id, scsihost->max_lun, in virthba_probe()
|
/drivers/staging/unisys/virtpci/ |
D | virtpci.c | 340 scsi.max.max_channel, scsi.max.max_id, scsi.max.max_lun, in add_vhba() 1465 tmpvpcidev->scsi.max.max_lun, in info_debugfs_read()
|