Home
last modified time | relevance | path

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

1234

/Linux-v4.19/drivers/usb/storage/
Dusb.c355 else if (srb->device->lun > us->max_lun) { in usb_stor_control_thread()
670 us->max_lun = 7; in get_transport()
677 us->max_lun = 7; in get_transport()
700 us->max_lun = 0; in get_protocol()
706 us->max_lun = 0; in get_protocol()
712 us->max_lun = 0; in get_protocol()
903 us->max_lun = usb_stor_Bulk_max_lun(us); in usb_stor_scan_dwork()
909 if (us->max_lun >= 8) in usb_stor_scan_dwork()
910 us_to_host(us)->max_lun = us->max_lun+1; in usb_stor_scan_dwork()
1014 us->max_lun = 7; in usb_stor_probe2()
[all …]
Drealtek_cr.c93 char max_lun; member
986 us->max_lun = chip->max_lun = rts51x_get_max_lun(us); in init_realtek_cr()
989 usb_stor_dbg(us, "chip->max_lun = %d\n", chip->max_lun); in init_realtek_cr()
991 size = (chip->max_lun + 1) * sizeof(struct rts51x_status); in init_realtek_cr()
996 for (i = 0; i <= (int)(chip->max_lun); i++) { in init_realtek_cr()
Dscsiglue.c95 if (us->protocol == USB_PR_BULK && us->max_lun > 0) in slave_alloc()
314 us->max_lun = 0; in slave_configure()
Dusb.h111 u8 max_lun; member
Dfreecom.c558 us->max_lun = 0; in freecom_probe()
Djumpshot.c662 us->max_lun = 1; in jumpshot_probe()
Ddatafab.c737 us->max_lun = 1; in datafab_probe()
Dsddr09.c1763 us->max_lun = 1; in sddr09_probe()
1768 us->max_lun = 0; in sddr09_probe()
/Linux-v4.19/drivers/scsi/
Dstex.c359 unsigned int max_lun; member
658 if (lun >= host->max_lun) { in stex_queuecommand_lck()
1544 .max_lun = 8,
1557 .max_lun = 1,
1570 .max_lun = 256,
1583 .max_lun = 1,
1596 .max_lun = 256,
1609 .max_lun = 256,
1802 host->max_lun = ci->max_lun; in stex_probe()
Dscsi_scan.c1215 max_dev_lun = min(max_scsi_luns, shost->max_lun); in scsi_sequential_lun_scan()
1222 max_dev_lun = shost->max_lun; in scsi_sequential_lun_scan()
1249 max_dev_lun = shost->max_lun; in scsi_sequential_lun_scan()
1323 (!(bflags & BLIST_REPORTLUN2) || shost->max_lun <= 8)) in scsi_report_lun_scan()
1433 if (lun > sdev->host->max_lun) { in scsi_report_lun_scan()
1675 ((lun != SCAN_WILD_CARD) && (lun >= shost->max_lun))) in scsi_scan_host_selected()
Dstorvsc_drv.c1813 host->max_lun = STORVSC_FC_MAX_LUNS_PER_TARGET; in storvsc_probe()
1822 host->max_lun = max_luns_per_target; in storvsc_probe()
1828 host->max_lun = STORVSC_IDE_MAX_LUNS_PER_TARGET; in storvsc_probe()
Discsi_tcp.c61 module_param_named(max_lun, iscsi_max_lun, uint, S_IRUGO);
850 shost->max_lun = iscsi_max_lun; in iscsi_sw_tcp_session_create()
Dps3rom.c395 host->max_lun = 1; in ps3rom_probe()
Dvirtio_scsi.c886 shost->max_lun = virtscsi_config_get(vdev, max_lun) + 1 + 0x4000; in virtscsi_probe()
Dhosts.c415 shost->max_lun = 8; in scsi_host_alloc()
/Linux-v4.19/include/uapi/linux/
Dvirtio_scsi.h115 __u32 max_lun; member
/Linux-v4.19/drivers/scsi/megaraid/
Dmega_common.h175 uint8_t max_lun; member
/Linux-v4.19/drivers/infiniband/ulp/iser/
Discsi_iser.c93 module_param_named(max_lun, iscsi_max_lun, uint, S_IRUGO);
94 MODULE_PARM_DESC(max_lun, "Max LUNs to allow per session (default:512");
623 shost->max_lun = iscsi_max_lun; in iscsi_iser_session_create()
/Linux-v4.19/drivers/staging/rts5208/
Drtsx.c434 else if (chip->srb->device->lun > chip->max_lun) { in rtsx_control_thread()
931 host->max_lun = dev->chip->max_lun; in rtsx_probe()
Drtsx_chip.c51 for (i = 0; i <= chip->max_lun; i++) { in rtsx_enable_card_int()
75 for (i = 0; i <= chip->max_lun; i++) { in rtsx_enable_bus_int()
959 chip->max_lun = 1; in rtsx_init_chip()
966 chip->max_lun = 0; in rtsx_init_chip()
972 chip->max_lun = 0; in rtsx_init_chip()
/Linux-v4.19/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 ");
1253 sh->max_lun = max_lun; in mptfc_probe()
/Linux-v4.19/drivers/staging/unisys/include/
Diochannel.h180 u32 max_lun; member
/Linux-v4.19/include/scsi/
Dscsi_host.h581 u64 max_lun; member
/Linux-v4.19/drivers/staging/unisys/visorhba/
Dvisorhba_main.c1081 scsihost->max_lun = (unsigned int)max.max_lun; in visorhba_probe()
/Linux-v4.19/drivers/scsi/isci/
Dinit.c588 shost->max_lun = ~0; in isci_host_alloc()

1234