Searched refs:lunid (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/scsi/ |
D | hpsa_cmd.h | 260 u8 lunid[8]; member 262 #define GET_BMIC_BUS(lunid) ((lunid)[7] & 0x3F) argument 263 #define GET_BMIC_LEVEL_TWO_TARGET(lunid) ((lunid)[6]) argument 264 #define GET_BMIC_DRIVE_NUMBER(lunid) (((GET_BMIC_BUS((lunid)) - 1) << 8) + \ argument 265 GET_BMIC_LEVEL_TWO_TARGET((lunid)))
|
D | hpsa.c | 713 unsigned char lunid[8]; in lunid_show() local 723 memcpy(lunid, hdev->scsi3addr, sizeof(lunid)); in lunid_show() 725 return snprintf(buf, 20, "0x%8phN\n", lunid); in lunid_show() 913 static DEVICE_ATTR_RO(lunid); 3463 bmic_device_index = GET_BMIC_DRIVE_NUMBER(&rle->lunid[0]); in hpsa_get_enclosure_info() 3470 if (bmic_device_index == 0xFF00 || MASKED_DEVICE(&rle->lunid[0])) { in hpsa_get_enclosure_info() 3552 if (!memcmp(&physdev->LUN[i].lunid[0], scsi3addr, 8)) { in hpsa_get_sas_address_from_report_physical() 3603 && !is_hba_lunid(physdev->LUN[i].lunid)) { in hpsa_ext_ctrl_present() 3811 memcpy(buf->LUN[i].lunid, lbuf->LUN[i], 8); in hpsa_scsi_do_report_phys_luns() 4060 u32 lunid = get_unaligned_le32(lunaddrbytes); in figure_bus_target_lun() local [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/smartpqi/ |
D | smartpqi.h | 846 u8 lunid[8]; member 856 u8 lunid[8]; member 1224 #define MASKED_DEVICE(lunid) ((lunid)[3] & 0xc0) argument 1225 #define CISS_GET_LEVEL_2_BUS(lunid) ((lunid)[7] & 0x3f) argument 1226 #define CISS_GET_LEVEL_2_TARGET(lunid) ((lunid)[6]) argument 1227 #define CISS_GET_DRIVE_NUMBER(lunid) \ argument 1228 (((CISS_GET_LEVEL_2_BUS((lunid)) - 1) << 8) + \ 1229 CISS_GET_LEVEL_2_TARGET((lunid)))
|
D | smartpqi_init.c | 1061 u32 lunid; in pqi_assign_bus_target_lun() local 1067 lunid = get_unaligned_le32(scsi3addr); in pqi_assign_bus_target_lun() 1071 pqi_set_bus_target_lun(device, PQI_HBA_BUS, 0, lunid & 0x3fff); in pqi_assign_bus_target_lun() 1079 target = (lunid >> 16) & 0x3fff; in pqi_assign_bus_target_lun() 1080 lun = lunid & 0xff; in pqi_assign_bus_target_lun() 1084 lun = lunid & 0x3fff; in pqi_assign_bus_target_lun() 2015 phys_lun_ext_entry->lunid) == in pqi_update_scsi_devices() 2018 phys_lun_ext_entry->lunid); in pqi_update_scsi_devices() 2061 scsi3addr = phys_lun_ext_entry->lunid; in pqi_update_scsi_devices() 2067 scsi3addr = log_lun_ext_entry->lunid; in pqi_update_scsi_devices() [all …]
|
/kernel/linux/linux-5.10/drivers/lightnvm/ |
D | core.c | 115 int lunid = (ch * dev->geo.num_lun) + lun; in nvm_remove_tgt_dev() local 117 WARN_ON(!test_and_clear_bit(lunid, in nvm_remove_tgt_dev() 146 int lunid = 0; in nvm_create_tgt_dev() local 186 luns[lunid].ppa = 0; in nvm_create_tgt_dev() 187 luns[lunid].a.ch = i; in nvm_create_tgt_dev() 188 luns[lunid++].a.lun = j; in nvm_create_tgt_dev()
|
D | pblk-init.c | 613 int lunid = lun_raw + ch * geo->num_lun; in pblk_luns_init() local 616 rlun->bppa = dev->luns[lunid]; in pblk_luns_init()
|
/kernel/linux/linux-5.10/Documentation/scsi/ |
D | hpsa.rst | 92 /sys/class/scsi_disk/c:b:t:l/device/lunid 100 root@host:/sys/class/scsi_disk/4:0:0:0/device# cat lunid
|
/kernel/linux/linux-5.10/Documentation/ABI/testing/ |
D | sysfs-bus-pci-devices-cciss | 42 What: /sys/bus/pci/devices/<dev>/ccissX/cXdY/lunid
|