/openbmc/u-boot/drivers/usb/gadget/ |
H A D | f_mass_storage.c | 308 struct fsg_lun luns[FSG_MAX_LUNS]; member 356 } luns[FSG_MAX_LUNS]; member 685 struct fsg_lun *curlun = &common->luns[common->lun]; in do_read() 812 struct fsg_lun *curlun = &common->luns[common->lun]; in do_write() 994 struct fsg_lun *curlun = &common->luns[common->lun]; in do_verify() 1082 struct fsg_lun *curlun = &common->luns[common->lun]; in do_inquiry() 1110 struct fsg_lun *curlun = &common->luns[common->lun]; in do_request_sense() 1161 struct fsg_lun *curlun = &common->luns[common->lun]; in do_read_capacity() 1180 struct fsg_lun *curlun = &common->luns[common->lun]; in do_read_header() 1203 struct fsg_lun *curlun = &common->luns[common->lun]; in do_read_toc() [all …]
|
/openbmc/linux/drivers/usb/gadget/function/ |
H A D | f_mass_storage.h | 17 unsigned int luns; /* nluns */ member 43 _FSG_MODULE_PARAM(prefix, params, luns, uint, \ 98 struct fsg_lun_config luns[FSG_MAX_LUNS]; member
|
H A D | f_mass_storage.c | 260 struct fsg_lun *luns[FSG_MAX_LUNS]; member 449 int i = ARRAY_SIZE(common->luns) - 1; in _fsg_common_get_max_lun() 451 while (i >= 0 && !common->luns[i]) in _fsg_common_get_max_lun() 2217 if (cbw->Lun >= ARRAY_SIZE(common->luns) || in received_cbw() 2246 if (common->lun < ARRAY_SIZE(common->luns)) in received_cbw() 2247 common->curlun = common->luns[common->lun]; in received_cbw() 2388 for (i = 0; i < ARRAY_SIZE(common->luns); ++i) in do_set_interface() 2389 if (common->luns[i]) in do_set_interface() 2390 common->luns[i]->unit_attention_data = in do_set_interface() 2492 for (i = 0; i < ARRAY_SIZE(common->luns); ++i) { in handle_exception() [all …]
|
H A D | f_tcm.c | 409 int luns; in usbg_bot_setup() local 422 luns = atomic_read(&fu->tpg->tpg_port_count); in usbg_bot_setup() 423 if (!luns) { in usbg_bot_setup() 431 luns--; in usbg_bot_setup() 432 if (luns > 0xf) { in usbg_bot_setup() 434 luns = 0xf; in usbg_bot_setup() 437 *ret_lun = luns; in usbg_bot_setup()
|
/openbmc/qemu/pc-bios/s390-ccw/ |
H A D | virtio-scsi.c | 221 int i, ret, luns; in virtio_scsi_locate_device() local 266 luns = r->lun_list_len / 8; in virtio_scsi_locate_device() 267 debug_print_int("LUNs reported", luns); in virtio_scsi_locate_device() 268 if (luns == 1) { in virtio_scsi_locate_device() 277 for (i = 0; i < luns; i++) { in virtio_scsi_locate_device()
|
/openbmc/linux/drivers/scsi/cxlflash/ |
H A D | superpipe.c | 219 list_for_each_entry(lun_access, &ctxi->luns, list) in get_context() 757 WARN_ON(!list_empty(&ctxi->luns)); in destroy_context() 843 INIT_LIST_HEAD(&ctxi->luns); in init_context() 936 list_for_each_entry_safe(lun_access, t, &ctxi->luns, list) in _cxlflash_disk_detach() 1028 list_for_each_entry_safe(lun_access, t, &ctxi->luns, list) in cxlflash_cxl_release() 1370 list_for_each_entry(lun_access, &ctxi->luns, list) in cxlflash_disk_attach() 1400 list_add(&lun_access->list, &ctxi->luns); in cxlflash_disk_attach() 1459 list_add(&lun_access->list, &ctxi->luns); in cxlflash_disk_attach()
|
H A D | superpipe.h | 105 struct list_head luns; /* LUNs attached to this context */ member
|
H A D | vlun.c | 1247 list_for_each_entry(lun_access_src, &ctxi_src->luns, list) { in cxlflash_disk_clone() 1249 list_for_each_entry(lun_access_dst, &ctxi_dst->luns, list) in cxlflash_disk_clone() 1322 list_splice(&sidecar, &ctxi_dst->luns); in cxlflash_disk_clone()
|
/openbmc/linux/Documentation/usb/ |
H A D | mass-storage.rst | 43 be silently ignored. See also “luns” parameter. 123 - luns=N 130 in “file” argument is greater then the value of “luns”, all excess
|
H A D | gadget-testing.rst | 317 created by default. A maximum of 8 luns can be specified and they all must be 319 Probably a good convention is to name the luns "lun.<number>",
|
/openbmc/linux/drivers/scsi/lpfc/ |
H A D | lpfc_mem.c | 262 while (!list_empty(&phba->luns)) { in lpfc_mem_free() 263 device_data = list_first_entry(&phba->luns, in lpfc_mem_free()
|
H A D | lpfc_scsi.c | 6259 &phba->luns, in lpfc_slave_alloc() 6274 list_add_tail(&device_data->listentry, &phba->luns); in lpfc_slave_alloc() 6566 list_for_each_entry(lun_info, &phba->luns, listentry) { in lpfc_find_next_oas_lun() 6648 lun_info = __lpfc_get_device_data(phba, &phba->luns, vport_wwpn, in lpfc_enable_oas_lun() 6665 list_add_tail(&lun_info->listentry, &phba->luns); in lpfc_enable_oas_lun() 6709 &phba->luns, vport_wwpn, in lpfc_disable_oas_lun()
|
H A D | lpfc.h | 1440 struct list_head luns; member
|
H A D | lpfc_init.c | 7721 INIT_LIST_HEAD(&phba->luns); in lpfc_setup_driver_resource_phase1()
|
/openbmc/linux/drivers/usb/gadget/legacy/ |
H A D | nokia.c | 36 .luns = 2,
|
/openbmc/linux/Documentation/scsi/ |
H A D | sym53c8xx_2.rst | 294 - target 2 all luns on controller 0 --> 15 295 - target 3 all luns on controller 0 --> 15 296 - target 4 all luns on controller 0 --> 7 1061 0x00000100 - scan luns 1161 | | ---------------------------------- scan luns 0 - off
|
H A D | aic79xx.rst | 88 - Correct non-zero luns on Rev B. hardware. 500 manually probing non-contiguous luns.
|
H A D | ncr53c8xx.rst | 314 - target 2 all luns on controller 0 --> 15 315 - target 3 all luns on controller 0 --> 15 316 - target 4 all luns on controller 0 --> 7 1988 0x00000100 - scan luns 2094 | | ---------------------------------- scan luns 0 - off
|
H A D | ChangeLog.lpfc | 15 * Fix for issue where not all luns are seen. Search all lists 17 to luns on nodes in NPR or other relevant states (PLOGI, 477 midlayer to mark report luns as failing even though it 575 * Fix array discovery with multiple luns. The max_luns was 0 at
|
/openbmc/linux/drivers/scsi/aacraid/ |
H A D | aachba.c | 1908 int luns; in aac_free_safw_all_identify_resp() local 1913 luns = aac_get_safw_phys_lun_count(dev); in aac_free_safw_all_identify_resp() 1915 if (luns < lun_count) in aac_free_safw_all_identify_resp() 1916 lun_count = luns; in aac_free_safw_all_identify_resp() 1918 lun_count = luns; in aac_free_safw_all_identify_resp()
|
/openbmc/qemu/docs/system/devices/ |
H A D | usb.rst | 260 #. optionally add more devices (luns 1 ... 15)
|
/openbmc/ipmitool/ |
H A D | ChangeLog | 154 * Added code to support sensors on other luns (On behalf of Kontron Germany)
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-driver-ufs | 1275 Description: This entry shows the maximum number of luns that can support
|
/openbmc/linux/Documentation/admin-guide/ |
H A D | kernel-parameters.txt | 6914 j = NO_REPORT_LUNS (don't use report luns
|