Home
last modified time | relevance | path

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

1234

/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()
896 us->max_lun = usb_stor_Bulk_max_lun(us); in usb_stor_scan_dwork()
995 us->max_lun = 0; in usb_stor_probe2()
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()
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.c540 us->max_lun = 0; in freecom_probe()
Djumpshot.c664 us->max_lun = 1; in jumpshot_probe()
Dsddr09.c1756 us->max_lun = 1; in sddr09_probe()
1761 us->max_lun = 0; in sddr09_probe()
Ddatafab.c738 us->max_lun = 1; in datafab_probe()
/drivers/message/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()
/drivers/scsi/
Dstex.c337 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()
Dscsi_scan.c1210 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()
Deata.c668 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()
Dstorvsc_drv.c1823 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()
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.c399 host->max_lun = 1; in ps3rom_probe()
Dvirtio_scsi.c982 shost->max_lun = virtscsi_config_get(vdev, max_lun) + 1 + 0x4000; in virtscsi_probe()
Dhosts.c401 shost->max_lun = 8; in scsi_host_alloc()
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()
/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()
/drivers/scsi/megaraid/
Dmega_common.h175 uint8_t max_lun; member
/drivers/staging/rts5208/
Drtsx.c468 else if (chip->srb->device->lun > chip->max_lun) { in rtsx_control_thread()
965 host->max_lun = dev->chip->max_lun; in rtsx_probe()
Drtsx_chip.c66 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/
Discsi_iser.c82 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/
Dvirthba.c507 (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/
Dvirtpci.c340 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()

1234