/openbmc/linux/drivers/usb/storage/ |
H A D | usb.c | 355 else if (srb->device->lun > us->max_lun) { in usb_stor_control_thread() 673 us->max_lun = 7; in get_transport() 680 us->max_lun = 7; in get_transport() 703 us->max_lun = 0; in get_protocol() 709 us->max_lun = 0; in get_protocol() 715 us->max_lun = 0; in get_protocol() 906 us->max_lun = usb_stor_Bulk_max_lun(us); in usb_stor_scan_dwork() 912 if (us->max_lun >= 8) in usb_stor_scan_dwork() 913 us_to_host(us)->max_lun = us->max_lun+1; in usb_stor_scan_dwork() 1017 us->max_lun = 7; in usb_stor_probe2() [all …]
|
H A D | realtek_cr.c | 94 char max_lun; member 984 us->max_lun = chip->max_lun = rts51x_get_max_lun(us); in init_realtek_cr() 987 usb_stor_dbg(us, "chip->max_lun = %d\n", chip->max_lun); in init_realtek_cr() 989 size = (chip->max_lun + 1) * sizeof(struct rts51x_status); in init_realtek_cr() 994 for (i = 0; i <= (int)(chip->max_lun); i++) { in init_realtek_cr()
|
H A D | scsiglue.c | 86 if (us->protocol == USB_PR_BULK && us->max_lun > 0) in slave_alloc() 328 us->max_lun = 0; in slave_configure()
|
H A D | usb.h | 112 u8 max_lun; member
|
H A D | freecom.c | 558 us->max_lun = 0; in freecom_probe()
|
/openbmc/qemu/hw/usb/ |
H A D | dev-storage-bot.c | 19 .max_lun = 15,
|
H A D | dev-storage-classic.c | 22 .max_lun = 0,
|
/openbmc/linux/drivers/scsi/ |
H A D | stex.c | 358 unsigned int max_lun; member 654 if (lun >= host->max_lun) { in stex_queuecommand_lck() 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; in stex_probe()
|
H A D | scsi_scan.c | 1317 max_dev_lun = min(max_scsi_luns, shost->max_lun); in scsi_sequential_lun_scan() 1324 max_dev_lun = shost->max_lun; in scsi_sequential_lun_scan() 1351 max_dev_lun = shost->max_lun; in scsi_sequential_lun_scan() 1428 (!(bflags & BLIST_REPORTLUN2) || shost->max_lun <= 8)) in scsi_report_lun_scan() 1538 if (lun > sdev->host->max_lun) { in scsi_report_lun_scan() 1833 ((lun != SCAN_WILD_CARD) && (lun >= shost->max_lun))) in scsi_scan_host_selected()
|
H A D | ps3rom.c | 377 host->max_lun = 1; in ps3rom_probe()
|
H A D | iscsi_tcp.c | 54 module_param_named(max_lun, iscsi_max_lun, uint, S_IRUGO); 942 shost->max_lun = iscsi_max_lun; in iscsi_sw_tcp_session_create()
|
/openbmc/linux/include/uapi/linux/ |
H A D | virtio_scsi.h | 115 __virtio32 max_lun; member
|
/openbmc/qemu/include/standard-headers/linux/ |
H A D | virtio_scsi.h | 115 __virtio32 max_lun; member
|
/openbmc/u-boot/include/ |
H A D | scsi.h | 169 unsigned long max_lun; member
|
/openbmc/qemu/pc-bios/s390-ccw/ |
H A D | virtio-scsi.c | 229 debug_print_int("config.scsi.max_lun ", vdev->config.scsi.max_lun); in virtio_scsi_locate_device() 239 IPL_check(sdev->lun <= vdev->config.scsi.max_lun, "LUN# high"); in virtio_scsi_locate_device()
|
H A D | virtio.h | 215 uint32_t max_lun; member
|
/openbmc/u-boot/common/ |
H A D | usb_storage.c | 187 int lun, max_lun; in usb_stor_probe_device() local 209 max_lun = usb_get_max_lun(data); in usb_stor_probe_device() 210 for (lun = 0; lun <= max_lun; lun++) { in usb_stor_probe_device() 256 max_lun = usb_get_max_lun(&usb_stor[usb_max_devs]); in usb_stor_probe_device() 257 for (lun = 0; lun <= max_lun && usb_max_devs < USB_MAX_STOR_DEV; in usb_stor_probe_device()
|
/openbmc/linux/drivers/scsi/megaraid/ |
H A D | mega_common.h | 171 uint8_t max_lun; member
|
/openbmc/linux/drivers/infiniband/ulp/iser/ |
H A D | iscsi_iser.c | 99 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; in iscsi_iser_session_create()
|
/openbmc/linux/drivers/message/fusion/ |
H A 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 "); 1251 sh->max_lun = max_lun; in mptfc_probe()
|
/openbmc/linux/drivers/staging/rts5208/ |
H A D | rtsx.c | 393 } else if (chip->srb->device->lun > chip->max_lun) { in rtsx_control_thread() 890 host->max_lun = dev->chip->max_lun; in rtsx_probe()
|
H A D | rtsx_chip.c | 40 for (i = 0; i <= chip->max_lun; i++) { in rtsx_enable_card_int() 64 for (i = 0; i <= chip->max_lun; i++) { in rtsx_enable_bus_int() 865 chip->max_lun = 1; in rtsx_init_chip() 872 chip->max_lun = 0; in rtsx_init_chip() 878 chip->max_lun = 0; in rtsx_init_chip()
|
/openbmc/qemu/include/hw/scsi/ |
H A D | scsi.h | 129 int max_channel, max_target, max_lun; member
|
/openbmc/linux/include/scsi/ |
H A D | scsi_host.h | 589 u64 max_lun; member
|
/openbmc/linux/drivers/scsi/elx/efct/ |
H A D | efct_xport.c | 402 shost->max_lun = 0xffffffff; in efct_scsi_new_device() 919 shost->max_lun = 0xffffffff; in efct_scsi_new_vport()
|