Searched refs:lunid (Results 1 – 4 of 4) sorted by relevance
/drivers/scsi/ |
D | hpsa_cmd.h | 263 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)))
|
D | hpsa.c | 712 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 …]
|
/drivers/scsi/smartpqi/ |
D | smartpqi.h | 951 u8 lunid[8]; member 961 u8 lunid[8]; member 971 u8 lunid[8]; member 1445 #define MASKED_DEVICE(lunid) ((lunid)[3] & 0xc0) argument 1446 #define CISS_GET_LEVEL_2_BUS(lunid) ((lunid)[7] & 0x3f) argument 1447 #define CISS_GET_LEVEL_2_TARGET(lunid) ((lunid)[6]) argument 1448 #define CISS_GET_DRIVE_NUMBER(lunid) \ argument 1449 (((CISS_GET_LEVEL_2_BUS((lunid)) - 1) << 8) + \ 1450 CISS_GET_LEVEL_2_TARGET((lunid))) 1452 #define LV_GET_DRIVE_TYPE_MIX(lunid) ((lunid)[6]) argument
|
D | smartpqi_init.c | 1263 …_wwid_list->lun_entries[i].lunid, &rpl_8byte_wwid_list->lun_entries[i].lunid, sizeof(rpl_8byte_wwi… in pqi_report_phys_luns() 1357 u32 lunid; in pqi_assign_bus_target_lun() local 1363 lunid = get_unaligned_le32(scsi3addr); in pqi_assign_bus_target_lun() 1367 pqi_set_bus_target_lun(device, PQI_HBA_BUS, 0, lunid & 0x3fff); in pqi_assign_bus_target_lun() 1375 target = (lunid >> 16) & 0x3fff; in pqi_assign_bus_target_lun() 1376 lun = lunid & 0xff; in pqi_assign_bus_target_lun() 1380 lun = lunid & 0x3fff; in pqi_assign_bus_target_lun() 2431 if (CISS_GET_DRIVE_NUMBER(phys_lun->lunid) == PQI_VSEP_CISS_BTL) { in pqi_update_scsi_devices() 2432 pqi_mask_device(phys_lun->lunid); in pqi_update_scsi_devices() 2478 scsi3addr = phys_lun->lunid; in pqi_update_scsi_devices() [all …]
|