Home
last modified time | relevance | path

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

1234

/linux-6.1.9/drivers/usb/storage/
Dusb.c355 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 …]
Drealtek_cr.c94 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()
Dscsiglue.c86 if (us->protocol == USB_PR_BULK && us->max_lun > 0) in slave_alloc()
321 us->max_lun = 0; in slave_configure()
Dusb.h112 u8 max_lun; member
Dfreecom.c558 us->max_lun = 0; in freecom_probe()
Djumpshot.c663 us->max_lun = 1; in jumpshot_probe()
Ddatafab.c737 us->max_lun = 1; in datafab_probe()
Dsddr09.c1764 us->max_lun = 1; in sddr09_probe()
1769 us->max_lun = 0; in sddr09_probe()
/linux-6.1.9/drivers/scsi/
Dstex.c354 unsigned int max_lun; member
650 if (lun >= host->max_lun) { in stex_queuecommand_lck()
1538 .max_lun = 8,
1551 .max_lun = 1,
1564 .max_lun = 256,
1577 .max_lun = 1,
1590 .max_lun = 256,
1603 .max_lun = 256,
1785 host->max_lun = ci->max_lun; in stex_probe()
Dscsi_scan.c1312 max_dev_lun = min(max_scsi_luns, shost->max_lun); in scsi_sequential_lun_scan()
1319 max_dev_lun = shost->max_lun; in scsi_sequential_lun_scan()
1346 max_dev_lun = shost->max_lun; in scsi_sequential_lun_scan()
1420 (!(bflags & BLIST_REPORTLUN2) || shost->max_lun <= 8)) in scsi_report_lun_scan()
1529 if (lun > sdev->host->max_lun) { in scsi_report_lun_scan()
1771 ((lun != SCAN_WILD_CARD) && (lun >= shost->max_lun))) in scsi_scan_host_selected()
Dps3rom.c377 host->max_lun = 1; in ps3rom_probe()
Discsi_tcp.c53 module_param_named(max_lun, iscsi_max_lun, uint, S_IRUGO);
940 shost->max_lun = iscsi_max_lun; in iscsi_sw_tcp_session_create()
Dstorvsc_drv.c1961 host->max_lun = STORVSC_FC_MAX_LUNS_PER_TARGET; in storvsc_probe()
1970 host->max_lun = STORVSC_MAX_LUNS_PER_TARGET; in storvsc_probe()
1976 host->max_lun = STORVSC_IDE_MAX_LUNS_PER_TARGET; in storvsc_probe()
Dvirtio_scsi.c887 shost->max_lun = virtscsi_config_get(vdev, max_lun) + 1 + 0x4000; in virtscsi_probe()
Dhosts.c425 shost->max_lun = 8; in scsi_host_alloc()
/linux-6.1.9/include/uapi/linux/
Dvirtio_scsi.h115 __virtio32 max_lun; member
/linux-6.1.9/drivers/scsi/megaraid/
Dmega_common.h171 uint8_t max_lun; member
/linux-6.1.9/drivers/infiniband/ulp/iser/
Discsi_iser.c99 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()
/linux-6.1.9/drivers/staging/rts5208/
Drtsx.c397 else if (chip->srb->device->lun > chip->max_lun) { in rtsx_control_thread()
896 host->max_lun = dev->chip->max_lun; in rtsx_probe()
Drtsx_chip.c40 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()
/linux-6.1.9/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 ");
1251 sh->max_lun = max_lun; in mptfc_probe()
/linux-6.1.9/include/scsi/
Dscsi_host.h586 u64 max_lun; member
/linux-6.1.9/drivers/scsi/elx/efct/
Defct_xport.c402 shost->max_lun = 0xffffffff; in efct_scsi_new_device()
919 shost->max_lun = 0xffffffff; in efct_scsi_new_vport()
/linux-6.1.9/drivers/scsi/fnic/
Dfnic_main.c558 host->max_lun = fnic->config.luns_per_tgt; in fnic_scsi_drv_init()
571 host->can_queue, host->max_lun); in fnic_scsi_drv_init()
/linux-6.1.9/drivers/scsi/isci/
Dinit.c582 shost->max_lun = ~0; in isci_host_alloc()

1234