lunid             115 drivers/lightnvm/core.c 				int lunid = (ch * dev->geo.num_lun) + lun;
lunid             117 drivers/lightnvm/core.c 				WARN_ON(!test_and_clear_bit(lunid,
lunid             146 drivers/lightnvm/core.c 	int lunid = 0;
lunid             186 drivers/lightnvm/core.c 			luns[lunid].ppa = 0;
lunid             187 drivers/lightnvm/core.c 			luns[lunid].a.ch = i;
lunid             188 drivers/lightnvm/core.c 			luns[lunid++].a.lun = j;
lunid             608 drivers/lightnvm/pblk-init.c 		int lunid = lun_raw + ch * geo->num_lun;
lunid             611 drivers/lightnvm/pblk-init.c 		rlun->bppa = dev->luns[lunid];
lunid             702 drivers/scsi/hpsa.c 	unsigned char lunid[8];
lunid             712 drivers/scsi/hpsa.c 	memcpy(lunid, hdev->scsi3addr, sizeof(lunid));
lunid             714 drivers/scsi/hpsa.c 	return snprintf(buf, 20, "0x%8phN\n", lunid);
lunid             902 drivers/scsi/hpsa.c static DEVICE_ATTR_RO(lunid);
lunid            3444 drivers/scsi/hpsa.c 	bmic_device_index = GET_BMIC_DRIVE_NUMBER(&rle->lunid[0]);
lunid            3451 drivers/scsi/hpsa.c 	if (bmic_device_index == 0xFF00 || MASKED_DEVICE(&rle->lunid[0])) {
lunid            3533 drivers/scsi/hpsa.c 		if (!memcmp(&physdev->LUN[i].lunid[0], scsi3addr, 8)) {
lunid            3584 drivers/scsi/hpsa.c 			&& !is_hba_lunid(physdev->LUN[i].lunid)) {
lunid            3785 drivers/scsi/hpsa.c 			memcpy(buf->LUN[i].lunid, lbuf->LUN[i], 8);
lunid            4035 drivers/scsi/hpsa.c 	u32 lunid = get_unaligned_le32(lunaddrbytes);
lunid            4045 drivers/scsi/hpsa.c 					bus, 0, lunid & 0x3fff);
lunid            4055 drivers/scsi/hpsa.c 			HPSA_EXTERNAL_RAID_VOLUME_BUS, (lunid >> 16) & 0x3fff,
lunid            4056 drivers/scsi/hpsa.c 			lunid & 0x00ff);
lunid            4060 drivers/scsi/hpsa.c 				0, lunid & 0x3fff);
lunid            4145 drivers/scsi/hpsa.c 				(raid_ctlr_position == 0)].lunid[0];
lunid            4169 drivers/scsi/hpsa.c 	rc = hpsa_bmic_id_physical_device(h, &rle->lunid[0],
lunid            4170 drivers/scsi/hpsa.c 			GET_BMIC_DRIVE_NUMBER(&rle->lunid[0]), id_phys,
lunid             259 drivers/scsi/hpsa_cmd.h 	u8 lunid[8];
lunid             261 drivers/scsi/hpsa_cmd.h #define GET_BMIC_BUS(lunid) ((lunid)[7] & 0x3F)
lunid             262 drivers/scsi/hpsa_cmd.h #define GET_BMIC_LEVEL_TWO_TARGET(lunid) ((lunid)[6])
lunid             263 drivers/scsi/hpsa_cmd.h #define GET_BMIC_DRIVE_NUMBER(lunid) (((GET_BMIC_BUS((lunid)) - 1) << 8) + \
lunid             264 drivers/scsi/hpsa_cmd.h 			GET_BMIC_LEVEL_TWO_TARGET((lunid)))
lunid             834 drivers/scsi/smartpqi/smartpqi.h 	u8	lunid[8];
lunid             844 drivers/scsi/smartpqi/smartpqi.h 	u8	lunid[8];
lunid            1216 drivers/scsi/smartpqi/smartpqi.h #define MASKED_DEVICE(lunid)			((lunid)[3] & 0xc0)
lunid            1217 drivers/scsi/smartpqi/smartpqi.h #define CISS_GET_LEVEL_2_BUS(lunid)		((lunid)[7] & 0x3f)
lunid            1218 drivers/scsi/smartpqi/smartpqi.h #define CISS_GET_LEVEL_2_TARGET(lunid)		((lunid)[6])
lunid            1219 drivers/scsi/smartpqi/smartpqi.h #define CISS_GET_DRIVE_NUMBER(lunid)		\
lunid            1220 drivers/scsi/smartpqi/smartpqi.h 	(((CISS_GET_LEVEL_2_BUS((lunid)) - 1) << 8) + \
lunid            1221 drivers/scsi/smartpqi/smartpqi.h 	CISS_GET_LEVEL_2_TARGET((lunid)))
lunid            1047 drivers/scsi/smartpqi/smartpqi_init.c 	u32 lunid;
lunid            1053 drivers/scsi/smartpqi/smartpqi_init.c 	lunid = get_unaligned_le32(scsi3addr);
lunid            1057 drivers/scsi/smartpqi/smartpqi_init.c 		pqi_set_bus_target_lun(device, PQI_HBA_BUS, 0, lunid & 0x3fff);
lunid            1065 drivers/scsi/smartpqi/smartpqi_init.c 			target = (lunid >> 16) & 0x3fff;
lunid            1066 drivers/scsi/smartpqi/smartpqi_init.c 			lun = lunid & 0xff;
lunid            1070 drivers/scsi/smartpqi/smartpqi_init.c 			lun = lunid & 0x3fff;
lunid            2006 drivers/scsi/smartpqi/smartpqi_init.c 					phys_lun_ext_entry->lunid) ==
lunid            2009 drivers/scsi/smartpqi/smartpqi_init.c 						phys_lun_ext_entry->lunid);
lunid            2052 drivers/scsi/smartpqi/smartpqi_init.c 			scsi3addr = phys_lun_ext_entry->lunid;
lunid            2058 drivers/scsi/smartpqi/smartpqi_init.c 			scsi3addr = log_lun_ext_entry->lunid;
lunid            6279 drivers/scsi/smartpqi/smartpqi_init.c 	u8 lunid[8];
lunid            6292 drivers/scsi/smartpqi/smartpqi_init.c 	memcpy(lunid, device->scsi3addr, sizeof(lunid));
lunid            6296 drivers/scsi/smartpqi/smartpqi_init.c 	return snprintf(buffer, PAGE_SIZE, "0x%8phN\n", lunid);
lunid            6460 drivers/scsi/smartpqi/smartpqi_init.c static DEVICE_ATTR(lunid, 0444, pqi_lunid_show, NULL);