Searched refs:lunid (Results 1 – 5 of 5) sorted by relevance
263 u8 lunid[8]; member265 #define GET_BMIC_BUS(lunid) ((lunid)[7] & 0x3F) argument266 #define GET_BMIC_LEVEL_TWO_TARGET(lunid) ((lunid)[6]) argument267 #define GET_BMIC_DRIVE_NUMBER(lunid) (((GET_BMIC_BUS((lunid)) - 1) << 8) + \ argument268 GET_BMIC_LEVEL_TWO_TARGET((lunid)))
706 unsigned char lunid[8]; in lunid_show() local716 memcpy(lunid, hdev->scsi3addr, sizeof(lunid)); in lunid_show()718 return snprintf(buf, 20, "0x%8phN\n", lunid); in lunid_show()906 static DEVICE_ATTR_RO(lunid);3456 bmic_device_index = GET_BMIC_DRIVE_NUMBER(&rle->lunid[0]); in hpsa_get_enclosure_info()3463 if (bmic_device_index == 0xFF00 || MASKED_DEVICE(&rle->lunid[0])) { in hpsa_get_enclosure_info()3545 if (!memcmp(&physdev->LUN[i].lunid[0], scsi3addr, 8)) { in hpsa_get_sas_address_from_report_physical()3596 && !is_hba_lunid(physdev->LUN[i].lunid)) { in hpsa_ext_ctrl_present()3801 memcpy(buf->LUN[i].lunid, lbuf->LUN[i], 8); in hpsa_scsi_do_report_phys_luns()4046 u32 lunid = get_unaligned_le32(lunaddrbytes); in figure_bus_target_lun() local[all …]
961 u8 lunid[8]; member971 u8 lunid[8]; member981 u8 lunid[8]; member1460 #define MASKED_DEVICE(lunid) ((lunid)[3] & 0xc0) argument1461 #define CISS_GET_LEVEL_2_BUS(lunid) ((lunid)[7] & 0x3f) argument1462 #define CISS_GET_LEVEL_2_TARGET(lunid) ((lunid)[6]) argument1463 #define CISS_GET_DRIVE_NUMBER(lunid) \ argument1464 (((CISS_GET_LEVEL_2_BUS((lunid)) - 1) << 8) + \1465 CISS_GET_LEVEL_2_TARGET((lunid)))1467 #define LV_GET_DRIVE_TYPE_MIX(lunid) ((lunid)[6]) argument
92 /sys/class/scsi_disk/c:b:t:l/device/lunid100 root@host:/sys/class/scsi_disk/4:0:0:0/device# cat lunid
42 What: /sys/bus/pci/devices/<dev>/ccissX/cXdY/lunid