Home
last modified time | relevance | path

Searched refs:lunid (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/scsi/
Dhpsa_cmd.h263 u8 lunid[8]; member
265 #define GET_BMIC_BUS(lunid) ((lunid)[7] & 0x3F) argument
266 #define GET_BMIC_LEVEL_TWO_TARGET(lunid) ((lunid)[6]) argument
267 #define GET_BMIC_DRIVE_NUMBER(lunid) (((GET_BMIC_BUS((lunid)) - 1) << 8) + \ argument
268 GET_BMIC_LEVEL_TWO_TARGET((lunid)))
Dhpsa.c712 unsigned char lunid[8]; in lunid_show() local
722 memcpy(lunid, hdev->scsi3addr, sizeof(lunid)); in lunid_show()
724 return snprintf(buf, 20, "0x%8phN\n", lunid); in lunid_show()
912 static DEVICE_ATTR_RO(lunid);
3467 bmic_device_index = GET_BMIC_DRIVE_NUMBER(&rle->lunid[0]); in hpsa_get_enclosure_info()
3474 if (bmic_device_index == 0xFF00 || MASKED_DEVICE(&rle->lunid[0])) { in hpsa_get_enclosure_info()
3556 if (!memcmp(&physdev->LUN[i].lunid[0], scsi3addr, 8)) { in hpsa_get_sas_address_from_report_physical()
3607 && !is_hba_lunid(physdev->LUN[i].lunid)) { in hpsa_ext_ctrl_present()
3815 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 …]
/linux-6.1.9/drivers/scsi/smartpqi/
Dsmartpqi.h951 u8 lunid[8]; member
961 u8 lunid[8]; member
971 u8 lunid[8]; member
1435 #define MASKED_DEVICE(lunid) ((lunid)[3] & 0xc0) argument
1436 #define CISS_GET_LEVEL_2_BUS(lunid) ((lunid)[7] & 0x3f) argument
1437 #define CISS_GET_LEVEL_2_TARGET(lunid) ((lunid)[6]) argument
1438 #define CISS_GET_DRIVE_NUMBER(lunid) \ argument
1439 (((CISS_GET_LEVEL_2_BUS((lunid)) - 1) << 8) + \
1440 CISS_GET_LEVEL_2_TARGET((lunid)))
1442 #define LV_GET_DRIVE_TYPE_MIX(lunid) ((lunid)[6]) argument
Dsmartpqi_init.c1206 …_wwid_list->lun_entries[i].lunid, &rpl_8byte_wwid_list->lun_entries[i].lunid, sizeof(rpl_8byte_wwi… in pqi_report_phys_luns()
1299 u32 lunid; in pqi_assign_bus_target_lun() local
1305 lunid = get_unaligned_le32(scsi3addr); in pqi_assign_bus_target_lun()
1309 pqi_set_bus_target_lun(device, PQI_HBA_BUS, 0, lunid & 0x3fff); in pqi_assign_bus_target_lun()
1317 target = (lunid >> 16) & 0x3fff; in pqi_assign_bus_target_lun()
1318 lun = lunid & 0xff; in pqi_assign_bus_target_lun()
1322 lun = lunid & 0x3fff; in pqi_assign_bus_target_lun()
2410 if (CISS_GET_DRIVE_NUMBER(phys_lun->lunid) == PQI_VSEP_CISS_BTL) { in pqi_update_scsi_devices()
2411 pqi_mask_device(phys_lun->lunid); in pqi_update_scsi_devices()
2457 scsi3addr = phys_lun->lunid; in pqi_update_scsi_devices()
[all …]
/linux-6.1.9/Documentation/scsi/
Dhpsa.rst92 /sys/class/scsi_disk/c:b:t:l/device/lunid
100 root@host:/sys/class/scsi_disk/4:0:0:0/device# cat lunid
/linux-6.1.9/Documentation/ABI/testing/
Dsysfs-bus-pci-devices-cciss42 What: /sys/bus/pci/devices/<dev>/ccissX/cXdY/lunid