Home
last modified time | relevance | path

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

1234

/linux-6.3-rc2/drivers/usb/storage/
A 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 …]
A 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()
A Dscsiglue.c86 if (us->protocol == USB_PR_BULK && us->max_lun > 0) in slave_alloc()
321 us->max_lun = 0; in slave_configure()
A Dusb.h112 u8 max_lun; member
A Dfreecom.c558 us->max_lun = 0; in freecom_probe()
A Djumpshot.c663 us->max_lun = 1; in jumpshot_probe()
A Ddatafab.c737 us->max_lun = 1; in datafab_probe()
A Dsddr09.c1764 us->max_lun = 1; in sddr09_probe()
1769 us->max_lun = 0; in sddr09_probe()
/linux-6.3-rc2/drivers/scsi/
A 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()
A 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()
1423 (!(bflags & BLIST_REPORTLUN2) || shost->max_lun <= 8)) in scsi_report_lun_scan()
1533 if (lun > sdev->host->max_lun) { in scsi_report_lun_scan()
1776 ((lun != SCAN_WILD_CARD) && (lun >= shost->max_lun))) in scsi_scan_host_selected()
A Dps3rom.c377 host->max_lun = 1; in ps3rom_probe()
A Discsi_tcp.c54 module_param_named(max_lun, iscsi_max_lun, uint, S_IRUGO);
945 shost->max_lun = iscsi_max_lun; in iscsi_sw_tcp_session_create()
A Dstorvsc_drv.c1977 host->max_lun = STORVSC_FC_MAX_LUNS_PER_TARGET; in storvsc_probe()
1986 host->max_lun = STORVSC_MAX_LUNS_PER_TARGET; in storvsc_probe()
1992 host->max_lun = STORVSC_IDE_MAX_LUNS_PER_TARGET; in storvsc_probe()
A Dvirtio_scsi.c897 shost->max_lun = virtscsi_config_get(vdev, max_lun) + 1 + 0x4000; in virtscsi_probe()
A Dhosts.c427 shost->max_lun = 8; in scsi_host_alloc()
/linux-6.3-rc2/include/uapi/linux/
A Dvirtio_scsi.h115 __virtio32 max_lun; member
/linux-6.3-rc2/drivers/scsi/megaraid/
A Dmega_common.h171 uint8_t max_lun; member
/linux-6.3-rc2/drivers/infiniband/ulp/iser/
A 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.3-rc2/drivers/staging/rts5208/
A 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()
A 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.3-rc2/drivers/message/fusion/
A 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.3-rc2/include/scsi/
A Dscsi_host.h586 u64 max_lun; member
/linux-6.3-rc2/drivers/scsi/elx/efct/
A Defct_xport.c402 shost->max_lun = 0xffffffff; in efct_scsi_new_device()
919 shost->max_lun = 0xffffffff; in efct_scsi_new_vport()
/linux-6.3-rc2/drivers/scsi/fnic/
A 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.3-rc2/drivers/scsi/isci/
A Dinit.c582 shost->max_lun = ~0; in isci_host_alloc()

Completed in 70 milliseconds

1234