Home
last modified time | relevance | path

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

1234

/drivers/usb/storage/
Dusb.c360 else if (us->srb->device->lun > us->max_lun) { in usb_stor_control_thread()
644 us->max_lun = 7; in get_transport()
651 us->max_lun = 7; in get_transport()
674 us->max_lun = 0; in get_protocol()
680 us->max_lun = 0; in get_protocol()
686 us->max_lun = 0; in get_protocol()
886 us->max_lun = usb_stor_Bulk_max_lun(us); in usb_stor_scan_dwork()
987 us->max_lun = 0; in usb_stor_probe2()
Drealtek_cr.c102 char max_lun; member
1031 us->max_lun = chip->max_lun = rts51x_get_max_lun(us); in init_realtek_cr()
1033 US_DEBUGP("chip->max_lun = %d\n", chip->max_lun); in init_realtek_cr()
1035 size = (chip->max_lun + 1) * sizeof(struct rts51x_status); in init_realtek_cr()
1040 for (i = 0; i <= (int)(chip->max_lun); i++) { in init_realtek_cr()
Dusb.h125 u8 max_lun; member
Dscsiglue.c259 us->max_lun = 0; in slave_configure()
Dfreecom.c539 us->max_lun = 0; in freecom_probe()
Djumpshot.c663 us->max_lun = 1; in jumpshot_probe()
Dsddr09.c1767 us->max_lun = 1; in sddr09_probe()
1772 us->max_lun = 0; in sddr09_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()
292 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,
1654 host->max_lun = ci->max_lun; in stex_probe()
Dscsi_scan.c1171 max_dev_lun = min(max_scsi_luns, shost->max_lun); in scsi_sequential_lun_scan()
1178 max_dev_lun = shost->max_lun; in scsi_sequential_lun_scan()
1205 max_dev_lun = shost->max_lun; in scsi_sequential_lun_scan()
1343 (!(bflags & BLIST_REPORTLUN2) || shost->max_lun <= 8)) in scsi_report_lun_scan()
1480 } else if (lun > sdev->host->max_lun) { in scsi_report_lun_scan()
1701 ((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
1339 if (info.max_lun > 7 && info.max_lun < MAX_LUN) in port_detect()
1340 shost->max_lun = info.max_lun + 1; in port_detect()
1400 if (shost->max_id > 8 || shost->max_lun > 8) in port_detect()
1403 ha->board_name, shost->max_id, shost->max_lun); in port_detect()
1423 "raidnum %u.\n", name, info.max_lun, info.m1, in port_detect()
Dvirtio_scsi.c477 shost->max_lun = virtscsi_config_get(vdev, max_lun) + 1; in virtscsi_probe()
Discsi_tcp.c59 module_param_named(max_lun, iscsi_max_lun, uint, S_IRUGO);
821 shost->max_lun = iscsi_max_lun; in iscsi_sw_tcp_session_create()
Dhosts.c370 shost->max_lun = 8; in scsi_host_alloc()
Dps3rom.c399 host->max_lun = 1; in ps3rom_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()
/drivers/staging/keucr/
Dusb.c217 else if (us->srb->device->lun > us->max_lun) in usb_stor_control_thread()
356 us->max_lun = 0; in get_transport()
569 us->max_lun = usb_stor_Bulk_max_lun(us); in usb_stor_scan_thread()
Dusb.h143 u8 max_lun; member
Dscsiglue.c86 us->max_lun = 0; in slave_configure()
/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 ");
1263 sh->max_lun = max_lun; in mptfc_probe()
/drivers/scsi/megaraid/
Dmega_common.h175 uint8_t max_lun; member
/drivers/staging/rts_pstor/
Drtsx.c512 else if (chip->srb->device->lun > chip->max_lun) { in rtsx_control_thread()
1006 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()
1054 chip->max_lun = 1; in rtsx_init_chip()
1061 chip->max_lun = 0; in rtsx_init_chip()
1067 chip->max_lun = 0; in rtsx_init_chip()
/drivers/infiniband/ulp/iser/
Discsi_iser.c81 module_param_named(max_lun, iscsi_max_lun, uint, S_IRUGO);
427 shost->max_lun = iscsi_max_lun; in iscsi_iser_session_create()
/drivers/scsi/isci/
Dinit.c435 shost->max_lun = ~0; in isci_host_alloc()

1234