Home
last modified time | relevance | path

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

1234

/Linux-v6.6/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-v6.6/drivers/scsi/
Dstex.c358 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()
Dscsi_scan.c1317 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()
1799 ((lun != SCAN_WILD_CARD) && (lun >= shost->max_lun))) in scsi_scan_host_selected()
Dps3rom.c377 host->max_lun = 1; in ps3rom_probe()
Discsi_tcp.c54 module_param_named(max_lun, iscsi_max_lun, uint, S_IRUGO);
942 shost->max_lun = iscsi_max_lun; in iscsi_sw_tcp_session_create()
Dstorvsc_drv.c1985 host->max_lun = STORVSC_FC_MAX_LUNS_PER_TARGET; in storvsc_probe()
1994 host->max_lun = STORVSC_MAX_LUNS_PER_TARGET; in storvsc_probe()
2000 host->max_lun = STORVSC_IDE_MAX_LUNS_PER_TARGET; in storvsc_probe()
Dvirtio_scsi.c895 shost->max_lun = virtscsi_config_get(vdev, max_lun) + 1 + 0x4000; in virtscsi_probe()
Dhosts.c424 shost->max_lun = 8; in scsi_host_alloc()
/Linux-v6.6/include/uapi/linux/
Dvirtio_scsi.h115 __virtio32 max_lun; member
/Linux-v6.6/drivers/scsi/megaraid/
Dmega_common.h171 uint8_t max_lun; member
/Linux-v6.6/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-v6.6/drivers/staging/rts5208/
Drtsx.c393 } else if (chip->srb->device->lun > chip->max_lun) { in rtsx_control_thread()
890 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-v6.6/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-v6.6/include/scsi/
Dscsi_host.h589 u64 max_lun; member
/Linux-v6.6/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-v6.6/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-v6.6/drivers/scsi/isci/
Dinit.c579 shost->max_lun = ~0; in isci_host_alloc()

1234