Home
last modified time | relevance | path

Searched refs:lun (Results 26 – 46 of 46) sorted by relevance

12

/qemu/tests/qtest/
H A Dvirtio-scsi-test.c79 req.lun[0] = 1; /* Select LUN */ in virtio_scsi_do_command()
80 req.lun[1] = 1; /* Select target 1 */ in virtio_scsi_do_command()
H A Dufs-test.c159 static void ufs_send_scsi_command(QUfs *ufs, uint8_t slot, uint8_t lun, in ufs_send_scsi_command() argument
228 req_upiu.header.lun = lun; in ufs_send_scsi_command()
H A Dhd-geo-test.c659 int channel, int scsi_id, int lun, in add_scsi_disk() argument
670 args->n_scsi_disks, drive_idx, bus, channel, scsi_id, lun, in add_scsi_disk()
/qemu/include/hw/scsi/
H A Desp.h41 uint8_t lun; member
/qemu/hw/scsi/
H A Dvhost-scsi-common.c158 qdev_fw_name(dev), vsc->target, vsc->lun); in vhost_scsi_common_get_fw_dev_path()
H A Dmptsas.c272 uint8_t *lun, SCSIDevice **sdev) in mptsas_scsi_device_find() argument
282 *sdev = scsi_device_find(&s->bus, bus, target, lun[1]); in mptsas_scsi_device_find()
436 if (sdev->lun != req->LUN[1]) { in mptsas_process_scsi_task_mgmt()
483 if (sdev->lun != req->LUN[1]) { in mptsas_process_scsi_task_mgmt()
521 if (sdev->lun != req->LUN[1]) { in mptsas_process_scsi_task_mgmt()
H A Desp.c333 trace_esp_do_command_phase(s->lun); in do_command_phase()
340 current_lun = scsi_device_find(&s->bus, 0, s->current_dev->id, s->lun); in do_command_phase()
350 s->current_req = scsi_req_new(current_lun, 0, s->lun, buf, cmdlen, s); in do_command_phase()
377 s->lun = message & 7; in do_message_phase()
1428 VMSTATE_UINT8_TEST(lun, ESPState, esp_is_version_6),
H A Dscsi-disk.c2649 static void scsi_disk_new_request_dump(uint32_t lun, uint32_t tag, uint8_t *buf) in scsi_disk_new_request_dump() argument
2661 trace_scsi_disk_new_request(lun, tag, line_buffer); in scsi_disk_new_request_dump()
2666 static SCSIRequest *scsi_new_request(SCSIDevice *d, uint32_t tag, uint32_t lun, in scsi_new_request() argument
2679 req = scsi_req_alloc(ops, &s->qdev, tag, lun, hba_private); in scsi_new_request()
2682 scsi_disk_new_request_dump(lun, tag, buf); in scsi_new_request()
3026 uint32_t lun, uint8_t *buf, in scsi_block_new_request() argument
3032 return scsi_req_alloc(&scsi_generic_req_ops, &s->qdev, tag, lun, in scsi_block_new_request()
3035 return scsi_req_alloc(&scsi_block_dma_reqops, &s->qdev, tag, lun, in scsi_block_new_request()
H A Dvhost-scsi.c298 vsc->lun = 0; in vhost_scsi_realize()
H A Dscsi-generic.c769 static SCSIRequest *scsi_new_request(SCSIDevice *d, uint32_t tag, uint32_t lun, in scsi_new_request() argument
772 return scsi_req_alloc(&scsi_generic_req_ops, d, tag, lun, hba_private); in scsi_new_request()
H A Dvhost-user-scsi.c302 vsc->lun = 0; in vhost_user_scsi_realize()
/qemu/pc-bios/s390-ccw/
H A Dvirtio.h222 uint32_t lun; /* will be reported */ member
/qemu/docs/system/devices/
H A Dusb.rst143 -device scsi-hd,bus=uas.0,scsi-id=0,lun=0,drive=uas-disk1 \\
144 -device scsi-hd,bus=uas.0,scsi-id=0,lun=1,drive=uas-disk2 \\
145 -device scsi-cd,bus=uas.0,scsi-id=0,lun=5,drive=uas-cdrom
259 #. ``device-add scsi-{hd,cd},bus=foo.0,lun=0``
/qemu/hw/usb/
H A Dtrace-events267 usb_msd_cmd_submit(unsigned lun, unsigned tag, unsigned flags, unsigned len, unsigned data_len) "lu…
274 usb_uas_command(int addr, uint16_t tag, int lun, uint32_t lun64_1, uint32_t lun64_2) "dev %d, tag 0…
283 usb_uas_tmf_logical_unit_reset(int addr, uint16_t tag, int lun) "dev %d, tag 0x%x, lun %d"
/qemu/docs/system/ppc/
H A Dpowernv.rst107 …-device scsi-hd,bus=scsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0-0-0-0,id=scsi0-0-0-0,booti…
119 …-device scsi-hd,bus=scsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0-0-0-0,id=scsi0-0-0-0,booti…
/qemu/hw/s390x/
H A Dipl.c416 ipl->iplb.scsi.lun = cpu_to_be32(sd->lun); in s390_gen_initial_iplb()
/qemu/docs/system/
H A Dqemu-block-drivers.rst.inc577 iscsi://[<username>[%<password>]@]<host>[:<port>]/<target-iqn-name>/<lun>
588 iscsi://<host>/<target-iqn-name>/<lun>
658 tgtadm --lld iscsi --mode logicalunit --op new --tid 1 --lun 1 \\
660 tgtadm --lld iscsi --mode logicalunit --op new --tid 1 --lun 2 \\
H A Ddevice-url-syntax.rst.inc12 "iscsi://<target-ip>[:<port>]/<target-iqn>/<lun>"
/qemu/include/block/
H A Dufs.h394 uint8_t lun; member
/qemu/hw/ppc/
H A Dspapr.c3203 unsigned id = 0x8000 | (d->id << 8) | (d->channel << 5) | d->lun; in spapr_get_fw_dev_path()
3214 unsigned id = 0x1000000 | (d->id << 16) | d->lun; in spapr_get_fw_dev_path()
3215 if (d->lun >= 256) { in spapr_get_fw_dev_path()
3227 unsigned id = 0x1000000 | (usb_port << 16) | d->lun; in spapr_get_fw_dev_path()
3253 unsigned id = 0x1000000 | (vsc->target << 16) | vsc->lun; in spapr_get_fw_dev_path()
/qemu/qapi/
H A Dblock-core.json4096 # @lun: LUN to connect to. Defaults to 0.
4120 '*lun': 'int',

12