Home
last modified time | relevance | path

Searched refs:scsi (Results 1 – 25 of 258) sorted by relevance

1234567891011

/openbmc/linux/drivers/scsi/arm/
H A Dfas216.c146 unsigned int off = reg << info->scsi.io_shift; in fas216_readb()
147 return readb(info->scsi.io_base + off); in fas216_readb()
152 unsigned int off = reg << info->scsi.io_shift; in fas216_writeb()
153 writeb(val, info->scsi.io_base + off); in fas216_writeb()
198 info->scsi.io_shift, info->scsi.irq, in fas216_dumpinfo()
199 info->scsi.cfg[0], info->scsi.cfg[1], info->scsi.cfg[2], in fas216_dumpinfo()
200 info->scsi.cfg[3]); in fas216_dumpinfo()
202 info->scsi.type, info->scsi.phase); in fas216_dumpinfo()
203 print_SCp(&info->scsi.SCp, " SCp={ ", " }\n"); in fas216_dumpinfo()
205 info->scsi.async_stp, in fas216_dumpinfo()
[all …]
H A Dacornscsi.c238 printk("BH @%p +%04x, ", host->scsi.SCp.ptr, in acornscsi_dumpdma()
239 host->scsi.SCp.this_residual); in acornscsi_dumpdma()
241 host->scsi.SCp.scsi_xferred); in acornscsi_dumpdma()
376 host->scsi.phase = PHASE_IDLE; in acornscsi_resetcard()
377 host->scsi.disconnectable = 0; in acornscsi_resetcard()
707 if (host->scsi.disconnectable && host->SCpnt) { in acornscsi_kick()
709 host->scsi.disconnectable = 0; in acornscsi_kick()
730 host->scsi.phase = PHASE_CONNECTING; in acornscsi_kick()
732 host->scsi.SCp = *arm_scsi_pointer(SCpnt); in acornscsi_kick()
788 scsi_msg_to_host_byte(SCpnt, host->scsi.SCp.Message); in acornscsi_done()
[all …]
H A Dpowertec.c137 int dmach = info->info.scsi.dma; in powertecscsi_dma_setup()
178 if (info->info.scsi.dma != NO_DMA) in powertecscsi_dma_stop()
179 disable_dma(info->info.scsi.dma); in powertecscsi_dma_stop()
193 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in powertecscsi_info()
334 info->info.scsi.io_base = base + POWERTEC_FAS216_OFFSET; in powertecscsi_probe()
335 info->info.scsi.io_shift = POWERTEC_FAS216_SHIFT; in powertecscsi_probe()
336 info->info.scsi.irq = ec->irq; in powertecscsi_probe()
337 info->info.scsi.dma = ec->dma; in powertecscsi_probe()
369 if (info->info.scsi.dma != NO_DMA) { in powertecscsi_probe()
370 if (request_dma(info->info.scsi.dma, "powertec")) { in powertecscsi_probe()
[all …]
H A Dcumana_2.c163 int dmach = info->info.scsi.dma; in cumanascsi_2_dma_setup()
288 if (info->info.scsi.dma != NO_DMA) { in cumanascsi_2_dma_stop()
290 disable_dma(info->info.scsi.dma); in cumanascsi_2_dma_stop()
305 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in cumanascsi_2_info()
411 info->info.scsi.io_base = base + CUMANASCSI2_FAS216_OFFSET; in cumanascsi2_probe()
412 info->info.scsi.io_shift = CUMANASCSI2_FAS216_SHIFT; in cumanascsi2_probe()
413 info->info.scsi.irq = ec->irq; in cumanascsi2_probe()
414 info->info.scsi.dma = ec->dma; in cumanascsi2_probe()
444 if (info->info.scsi.dma != NO_DMA) { in cumanascsi2_probe()
445 if (request_dma(info->info.scsi.dma, "cumanascsi2")) { in cumanascsi2_probe()
[all …]
H A Deesox.c164 int dmach = info->info.scsi.dma; in eesoxscsi_dma_setup()
375 if (info->info.scsi.dma != NO_DMA) in eesoxscsi_dma_stop()
376 disable_dma(info->info.scsi.dma); in eesoxscsi_dma_stop()
390 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in eesoxscsi_info()
528 info->info.scsi.io_base = base + EESOX_FAS216_OFFSET; in eesoxscsi_probe()
529 info->info.scsi.io_shift = EESOX_FAS216_SHIFT; in eesoxscsi_probe()
530 info->info.scsi.irq = ec->irq; in eesoxscsi_probe()
531 info->info.scsi.dma = ec->dma; in eesoxscsi_probe()
562 if (info->info.scsi.dma != NO_DMA) { in eesoxscsi_probe()
563 if (request_dma(info->info.scsi.dma, "eesox")) { in eesoxscsi_probe()
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D240.out6 {"execute": "device_add", "arguments": {"driver": "virtio-scsi", "id": "scsi0", "iothread": "iothre…
8 {"execute": "device_add", "arguments": {"drive": "hd0", "driver": "scsi-hd", "id": "scsi-hd0"}}
10 {"execute": "device_del", "arguments": {"id": "scsi-hd0"}}
12 {"execute": "device_add", "arguments": {"drive": "hd0", "driver": "scsi-hd", "id": "scsi-hd0"}}
14 {"execute": "device_del", "arguments": {"id": "scsi-hd0"}}
23 {"execute": "device_add", "arguments": {"driver": "virtio-scsi", "id": "scsi0", "iothread": "iothre…
25 {"execute": "device_add", "arguments": {"drive": "hd0", "driver": "scsi-hd", "id": "scsi-hd0"}}
27 {"execute": "device_add", "arguments": {"drive": "hd0", "driver": "scsi-hd", "id": "scsi-hd1"}}
29 {"execute": "device_del", "arguments": {"id": "scsi-hd0"}}
31 {"execute": "device_del", "arguments": {"id": "scsi-hd1"}}
[all …]
H A D12747 _require_devices scsi-hd
48 _require_one_device_of virtio-scsi-pci virtio-scsi-ccw
66 -device virtio-scsi,id=scsi-bus,iothread=iothr \
67 -device scsi-hd,bus=scsi-bus.0,drive=source
H A D08146 _require_devices virtio-scsi
197 -device virtio-scsi,id=scsi \
198 -device scsi-hd,id=quorum-drive,bus=scsi.0,drive=quorum \
/openbmc/linux/drivers/s390/scsi/
H A Dzfcp_fc.h229 void zfcp_fc_scsi_to_fcp(struct fcp_cmnd *fcp, struct scsi_cmnd *scsi) in zfcp_fc_scsi_to_fcp() argument
233 int_to_scsilun(scsi->device->lun, (struct scsi_lun *) &fcp->fc_lun); in zfcp_fc_scsi_to_fcp()
237 if (scsi->sc_data_direction == DMA_FROM_DEVICE) in zfcp_fc_scsi_to_fcp()
239 if (scsi->sc_data_direction == DMA_TO_DEVICE) in zfcp_fc_scsi_to_fcp()
242 memcpy(fcp->fc_cdb, scsi->cmnd, scsi->cmd_len); in zfcp_fc_scsi_to_fcp()
244 datalen = scsi_bufflen(scsi); in zfcp_fc_scsi_to_fcp()
247 if (scsi_get_prot_type(scsi) == SCSI_PROT_DIF_TYPE1) { in zfcp_fc_scsi_to_fcp()
248 datalen += datalen / scsi->device->sector_size * 8; in zfcp_fc_scsi_to_fcp()
273 struct scsi_cmnd *scsi) in zfcp_fc_eval_fcp_rsp() argument
280 scsi->result |= fcp_rsp->resp.fr_status; in zfcp_fc_eval_fcp_rsp()
[all …]
/openbmc/linux/Documentation/scsi/
H A Dscsi-parameters.rst20 See header of drivers/scsi/advansys.c.
23 See Documentation/scsi/aha152x.rst.
29 See Documentation/scsi/aic7xxx.rst.
32 See Documentation/scsi/aic79xx.rst.
35 See drivers/scsi/atari_scsi.c.
38 See drivers/scsi/BusLogic.c, comment before function
44 See header of drivers/scsi/ips.c.
47 See drivers/scsi/mac_scsi.c.
58 See header of drivers/scsi/NCR_D700.c.
61 See Documentation/scsi/g_NCR5380.rst.
[all …]
H A DChangeLog.megaraid3 Current Version : 2.20.5.1 (scsi module), 2.20.2.6 (cmm module)
4 Older Version : 2.20.4.9 (scsi module), 2.20.2.6 (cmm module)
18 Current Version : 2.20.4.9 (scsi module), 2.20.2.6 (cmm module)
19 Older Version : 2.20.4.8 (scsi module), 2.20.2.6 (cmm module)
31 > To: linux-scsi@vger.kernel.org; Kolli, Neela; Mukker, Atul;
50 > echo 0xffffffff >/proc/sys/dev/scsi/logging_level ;
52 > echo 0 >/proc/sys/dev/scsi/logging
68 > scsi host busy 1 failed 0
94 > From: linux-scsi-owner@vger.kernel.org
95 > [mailto:linux-scsi-owner@vger.kernel.org] On Behalf Of Sakurai Hiroomi
[all …]
H A Dindex.rst16 scsi
33 scsi-parameters
66 scsi-changer
68 scsi-generic
H A Dscsi_mid_low_api.rst45 typically Documentation/scsi . Most documents are in plain
48 at http://web.archive.org/web/20070107183357rn_1/sg.torque.net/scsi/.
50 briefly described in scsi.txt which contains a url to a document
53 scsi-generic.txt (for the sg driver).
63 the drivers/scsi directory. For example, a driver called "xyz" has a header
69 their own directory under the drivers/scsi directory.
72 drivers/scsi directory) will need some attention: Makefile and Kconfig .
143 scsi devices of which only the first 2 respond::
162 *** For scsi devices that the mid level tries to scan but do not
257 towards the end of include/scsi/scsi_device.h . If an LLD wants to keep
[all …]
/openbmc/linux/Documentation/driver-api/
H A Dscsi.rst23 The `SCSI protocol <http://www.t10.org/scsi-3.htm>`__ is a big-endian
91 include/scsi/scsi_device.h
94 .. kernel-doc:: include/scsi/scsi_device.h
97 drivers/scsi/scsi.c
102 .. kernel-doc:: drivers/scsi/scsi.c
105 drivers/scsi/scsicam.c
112 .. kernel-doc:: drivers/scsi/scsicam.c
115 drivers/scsi/scsi_error.c
120 .. kernel-doc:: drivers/scsi/scsi_error.c
123 drivers/scsi/scsi_devinfo.c
[all …]
H A Dtarget.rst34 .. kernel-doc:: drivers/scsi/libiscsi.c
41 .. kernel-doc:: drivers/scsi/iscsi_boot_sysfs.c
47 .. kernel-doc:: drivers/scsi/iscsi_tcp.c
50 .. kernel-doc:: drivers/scsi/libiscsi_tcp.c
/openbmc/qemu/hw/scsi/
H A Dmeson.build8 'scsi-bus.c',
9 'scsi-disk.c',
10 'scsi-generic.c',
19 virtio_scsi_ss.add(files('virtio-scsi-dataplane.c'))
20 virtio_scsi_ss.add(when: 'CONFIG_VHOST_SCSI', if_true: files('vhost-scsi.c'))
21 virtio_scsi_ss.add(when: 'CONFIG_VHOST_USER_SCSI', if_true: files('vhost-user-scsi.c'))
23 specific_virtio_scsi_ss.add(files('virtio-scsi.c'))
24 specific_virtio_scsi_ss.add(when: 'CONFIG_VHOST_SCSI_COMMON', if_true: files('vhost-scsi-common.c'))
/openbmc/linux/fs/nfs/blocklayout/
H A Ddev.c144 b->scsi.code_set = be32_to_cpup(p++); in nfs4_block_decode_volume()
145 b->scsi.designator_type = be32_to_cpup(p++); in nfs4_block_decode_volume()
146 b->scsi.designator_len = be32_to_cpup(p++); in nfs4_block_decode_volume()
147 p = xdr_inline_decode(xdr, b->scsi.designator_len); in nfs4_block_decode_volume()
150 if (b->scsi.designator_len > 256) in nfs4_block_decode_volume()
152 memcpy(&b->scsi.designator, p, b->scsi.designator_len); in nfs4_block_decode_volume()
156 p = xdr_decode_hyper(p, &b->scsi.pr_key); in nfs4_block_decode_volume()
267 switch (v->scsi.designator_type) { in bl_validate_designator()
269 if (v->scsi.code_set != PS_CODE_SET_BINARY) in bl_validate_designator()
272 if (v->scsi.designator_len != 8 && in bl_validate_designator()
[all …]
/openbmc/linux/drivers/scsi/esas2r/
H A Desas2r_io.c54 if (rq->vrq->scsi.function == VDA_FUNC_SCSI) in esas2r_start_request()
58 } else if (likely(rq->vrq->scsi.function == VDA_FUNC_SCSI)) { in esas2r_start_request()
66 rq->vrq->scsi.target_id = cpu_to_le16(t->virt_targ_id); in esas2r_start_request()
85 esas2r_trace("rq->vrq->scsi.handle=%x", rq->vrq->scsi.handle); in esas2r_start_request()
87 if (rq->vrq->scsi.function == VDA_FUNC_SCSI) { in esas2r_start_request()
89 esas2r_trace("rq->vrq->scsi.flags=%x", rq->vrq->scsi.flags); in esas2r_start_request()
127 if (unlikely(rq->vrq->scsi.function == VDA_FUNC_FLASH in esas2r_local_start_request()
176 esas2r_trace("rq->vrq->scsi.handle:%x", rq->vrq->scsi.handle); in esas2r_start_vda_request()
278 vrq->scsi.chain_offset = (u8) in esas2r_build_sg_list_sge()
289 (vrq->scsi.chain_offset + in esas2r_build_sg_list_sge()
[all …]
/openbmc/u-boot/drivers/scsi/
H A DMakefile7 obj-$(CONFIG_DM_SCSI) += scsi-uclass.o
8 obj-$(CONFIG_SCSI) += scsi.o
13 obj-$(CONFIG_DM_SCSI) += scsi-uclass.o
14 obj-$(CONFIG_SCSI) += scsi.o
/openbmc/linux/Documentation/ABI/stable/
H A Dsysfs-transport-srp4 Contact: linux-scsi@vger.kernel.org, linux-rdma@vger.kernel.org
11 Contact: linux-scsi@vger.kernel.org, linux-rdma@vger.kernel.org
20 Contact: linux-scsi@vger.kernel.org, linux-rdma@vger.kernel.org
29 Contact: linux-scsi@vger.kernel.org
36 Contact: linux-scsi@vger.kernel.org, linux-rdma@vger.kernel.org
44 Contact: linux-scsi@vger.kernel.org
50 Contact: linux-scsi@vger.kernel.org, linux-rdma@vger.kernel.org
/openbmc/qemu/tests/qtest/
H A Dvirtio-scsi-test.c171 QVirtioSCSI *scsi = obj; in test_unaligned_write_same() local
186 vs = qvirtio_scsi_init(scsi->vdev); in test_unaligned_write_same()
207 QVirtioSCSI *scsi = obj; in test_unmap_large_lba() local
229 vs = qvirtio_scsi_init(scsi->vdev); in test_unmap_large_lba()
242 QVirtioSCSI *scsi = obj; in test_write_to_cdrom() local
252 vs = qvirtio_scsi_init(scsi->vdev); in test_write_to_cdrom()
269 QVirtioSCSI *scsi = &scsi_pci->scsi; in test_iothread_attach_node() local
282 vs = qvirtio_scsi_init(scsi->vdev); in test_iothread_attach_node()
/openbmc/qemu/pc-bios/s390-ccw/
H A Dvirtio-scsi.c227 debug_print_int("config.scsi.max_channel", vdev->config.scsi.max_channel); in virtio_scsi_locate_device()
228 debug_print_int("config.scsi.max_target ", vdev->config.scsi.max_target); in virtio_scsi_locate_device()
229 debug_print_int("config.scsi.max_lun ", vdev->config.scsi.max_lun); in virtio_scsi_locate_device()
230 debug_print_int("config.scsi.max_sectors", vdev->config.scsi.max_sectors); in virtio_scsi_locate_device()
238 IPL_check(sdev->target <= vdev->config.scsi.max_target, "target# high"); in virtio_scsi_locate_device()
239 IPL_check(sdev->lun <= vdev->config.scsi.max_lun, "LUN# high"); in virtio_scsi_locate_device()
243 for (target = 0; target <= vdev->config.scsi.max_target; target++) { in virtio_scsi_locate_device()
297 unsigned int max_transfer = MIN_NON_ZERO(vdev->config.scsi.max_sectors, in virtio_scsi_read_many()
486 if (vdev->config.scsi.sense_size != VIRTIO_SCSI_SENSE_SIZE) { in virtio_scsi_setup_device()
491 if (vdev->config.scsi.cdb_size != VIRTIO_SCSI_CDB_SIZE) { in virtio_scsi_setup_device()
/openbmc/qemu/tests/qtest/libqos/
H A Dvirtio-scsi.c45 return qvirtio_scsi_get_driver(&v_scsi->scsi, interface); in qvirtio_scsi_device_get_driver()
53 QVirtioSCSI *interface = &virtio_bdevice->scsi; in virtio_scsi_device_create()
70 return qvirtio_scsi_get_driver(&v_scsi->scsi, interface); in qvirtio_scsi_pci_get_driver()
78 QVirtioSCSI *interface = &virtio_spci->scsi; in virtio_scsi_pci_create()
/openbmc/qemu/docs/config/
H A Dq35-virtio-serial.cfg140 # We use virtio-scsi here so that we can (hot)plug a large
152 [device "scsi"]
153 driver = "virtio-scsi-pci"
157 [device "scsi-disk"]
158 driver = "scsi-hd"
159 bus = "scsi.0"
168 [device "scsi-optical-disk"]
169 driver = "scsi-cd"
170 bus = "scsi.0"
/openbmc/qemu/tests/qemu-iotests/tests/
H A Diothreads-resize44 _require_devices virtio-scsi-pci
61 -device virtio-scsi-pci,iothread=t0 \
62 -device scsi-hd,drive=none0 \

1234567891011