Searched refs:LUN (Results 1 - 25 of 32) sorted by relevance

12

/drivers/scsi/isci/
H A Dsas.h85 u8 LUN[8]; member in struct:ssp_cmd_iu
104 u8 LUN[8]; member in struct:ssp_task_iu
H A Drequest.c178 memcpy(cmd_iu->LUN, task->ssp_task.LUN, 8);
201 memcpy(task_iu->LUN, task->ssp_task.LUN, 8);
/drivers/scsi/
H A Dhpsa_cmd.h144 u8 LUN[HPSA_MAX_LUN][8]; member in struct:ReportLUNdata
151 u8 LUN[HPSA_MAX_LUN][24]; member in struct:ReportExtendedLUNdata
212 union LUNAddr LUN; member in struct:CommandListHeader
H A Dhpsa.c210 dev_warn(&h->pdev->dev, HPSA "%d: LUN failure "
214 dev_warn(&h->pdev->dev, HPSA "%d: report LUN data "
634 * byte 4 of the 8-byte LUN addr will contain the logical
647 * has the same 8 byte LUN address, excepting byte 4.
648 * Assign the same bus and target for this new LUN.
666 dev_warn(&h->pdev->dev, "physical device with no LUN=0,"
1810 /* Helper function, figure out where the LUN ID info is coming from
1822 return &physdev_list->LUN[i - (raid_ctlr_position == 0)][0];
1825 return &logdev_list->LUN[i - nphysicals -
1904 /* Figure out where the LUN I
[all...]
/drivers/block/
H A Dcciss_scsi.c310 printk("LUN:0x%02x%02x%02x%02x%02x%02x%02x%02x\n",
311 cp->Header.LUN.LunAddrBytes[0],
312 cp->Header.LUN.LunAddrBytes[1],
313 cp->Header.LUN.LunAddrBytes[2],
314 cp->Header.LUN.LunAddrBytes[3],
315 cp->Header.LUN.LunAddrBytes[4],
316 cp->Header.LUN.LunAddrBytes[5],
317 cp->Header.LUN.LunAddrBytes[6],
318 cp->Header.LUN.LunAddrBytes[7]);
397 /* byte 4 of the 8-byte LUN add
[all...]
H A Dcciss_cmd.h101 BYTE LUN[CISS_MAX_LUN][8]; member in struct:_ReportLUNdata_struct
162 LUNAddr_struct LUN; member in struct:_CommandListHeader_struct
H A Dcciss.c1090 * volume that has a LUN ID, so it can issue IOCTL to reread the
1100 /* if it is, make sure we have a LUN ID */
1511 c->Header.LUN = iocommand.LUN_info;
1643 c->Header.LUN = ioc->LUN_info;
2343 memcpy(lunid, &ld_buff->LUN[j][0], sizeof(lunid));
2371 memcpy(lunid, &ld_buff->LUN[i][0], sizeof(lunid));
2372 /* Find if the LUN is already in the drive array
2542 memcpy(c->Header.LUN.LunAddrBytes, scsi3addr, 8);
3326 memcpy(&c->Header.LUN, drv->LunID, sizeof(drv->LunID));
3771 dev_warn(&h->pdev->dev, "LUN failur
[all...]
/drivers/message/fusion/lsi/
H A Dmpi_init.h87 U8 LUN[8]; /* 0Ch */ member in struct:_MSG_SCSI_IO_REQUEST
109 /* SCSI IO LUN fields */
274 U8 LUN[8]; /* 0Ch */ member in struct:_MSG_SCSI_IO32_REQUEST
317 /* SCSI IO 32 LUN fields */
419 U8 LUN[8]; /* 0Ch */ member in struct:_MSG_SCSI_TASK_MGMT
H A Dmpi_targ.h342 U8 LUN[8]; /* 10h */ member in struct:_MSG_TARGET_ASSIST_REQUEST
390 U8 LUN[8]; /* 10h */ member in struct:_MSG_TARGET_ASSIST_EXT_REQUEST
461 U8 LUN[8]; /* 10h */ member in struct:_MSG_TARGET_STATUS_SEND_REQUEST
H A Dmpi_raid.h185 U8 LUN[8]; /* 0Ch */ member in struct:_MSG_SCSI_IO_RAID_PT_REQUEST
H A Dmpi_cnfg.h1300 U8 LUN[8]; /* 10h */ member in struct:_MPI_BOOT_DEVICE_ADAPTER_NUMBER
1322 U8 LUN[8]; /* 10h */ member in struct:_MPI_BOOT_DEVICE_PCI_ADDRESS
1345 U8 LUN[8]; /* 10h */ member in struct:_MPI_BOOT_DEVICE_SLOT_NUMBER
1364 U8 LUN[8]; /* 10h */ member in struct:_MPI_BOOT_DEVICE_FC_WWN
1383 U8 LUN[8]; /* 10h */ member in struct:_MPI_BOOT_DEVICE_SAS_WWN
1402 U8 LUN[8]; /* 10h */ member in struct:_MPI_BOOT_DEVICE_ENCLOSURE_SLOT
H A Dmpi_ioc.h575 U8 LUN; /* 03h */ member in struct:_EVENT_DATA_SCSI_DEVICE_STATUS_CHANGE
605 U8 LUN[8]; /* 18h */ member in struct:_EVENT_DATA_SAS_DEVICE_STATUS_CHANGE
/drivers/scsi/mpt2sas/mpi/
H A Dmpi2_init.h24 * Moved LUN field defines to mpi2.h because they are
100 U8 LUN[8]; /* 0x34 */ member in struct:_MPI2_SCSI_IO_REQUEST
183 /* SCSI IO LUN fields: use MPI2_LUN_ from mpi2.h */
284 U8 LUN[8]; /* 0x0C */ member in struct:_MPI2_SCSI_TASK_MANAGE_REQUEST
H A Dmpi2_cnfg.h1269 U8 LUN[8]; /* 0x08 */ member in struct:_MPI2_BOOT_DEVICE_SAS_WWID
1290 U8 LUN[8]; /* 0x08 */ member in struct:_MPI2_BOOT_DEVICE_DEVICE_NAME
H A Dmpi2_ioc.h594 U8 LUN[8]; /* 0x14 */ member in struct:_MPI2_EVENT_DATA_SAS_DEVICE_STATUS_CHANGE
/drivers/scsi/aic94xx/
H A Daic94xx_tmf.c240 memcpy(scb->clear_nexus.ssp_task.lun, task->ssp_task.LUN, 8);
462 memcpy(scb->abort_task.ssp_task.lun, task->ssp_task.LUN, 8);
563 * @lun: pointer to u8[8] which is the LUN
710 return asd_initiate_ssp_tmf(task->dev, task->ssp_task.LUN,
H A Daic94xx_task.c503 memcpy(scb->ssp_task.ssp_cmd.lun, task->ssp_task.LUN, 8);
/drivers/scsi/arcmsr/
H A Darcmsr.h347 uint8_t LUN; member in struct:ARCMSR_CDB
/drivers/scsi/megaraid/
H A Dmegaraid_sas_fusion.h288 u8 LUN[8]; /* 0x34 */ member in struct:MPI2_RAID_SCSI_IO_REQUEST
H A Dmegaraid_sas_fusion.c1540 io_request->LUN[1] = scmd->device->lun;
1564 io_request->LUN[1] = 0;
/drivers/message/fusion/
H A Dmptscsih.c1103 memcmp(lun.scsi_lun, mf->LUN, 8))
1482 int_to_scsilun(SCpnt->device->lun, (struct scsi_lun *)pScsiReq->LUN);
1681 int_to_scsilun(lun, (struct scsi_lun *)pScsiTm->LUN);
2118 desc = "The LUN request is invalid.";
2542 ioc->events[idx].data[0] = (pReq->LUN[1] << 24) |
3038 int_to_scsilun(io->lun, (struct scsi_lun *)pScsiReq->LUN);
/drivers/usb/storage/
H A Dsddr09.c284 * On my Combo CF/SM reader, the SM reader has LUN 1.
285 * (and things fail with LUN 0).
286 * It seems LUN is irrelevant for others.
288 #define LUN 1 macro
289 #define LUNBITS (LUN << 5)
385 * It turns out we need values 20, 21, 22, 23 here (LUN 1).
1453 * unusual devices list but called from here then LUN 0 of the combo reader
1510 US_DEBUGP("dpcm_transport: LUN=%d\n", srb->device->lun);
1516 * LUN 0 corresponds to the CompactFlash card reader.
1524 * LUN
[all...]
/drivers/scsi/libsas/
H A Dsas_scsi_host.c168 memcpy(task->ssp_task.LUN, &lun.scsi_lun, 8);
407 SAS_DPRINTK("eh: device %llx LUN %x has the task\n",
463 /* Attempt to send a LUN reset message to a device */
649 SAS_DPRINTK("error from device %llx, LUN %x "
798 SAS_DPRINTK("device %llx, LUN %x doesn't support "
/drivers/scsi/pm8001/
H A Dpm8001_sas.c879 strncpy((u8 *)&ssp_task.LUN, lun, 8);
997 /* mandatory SAM-3, the task reset the specified LUN*/
/drivers/scsi/mvsas/
H A Dmv_sas.c678 memcpy(buf_cmd, &task->ssp_task.LUN, 8);
1465 memcpy(ssp_task.LUN, lun, 8);

Completed in 324 milliseconds

12