Home
last modified time | relevance | path

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

123456

/kernel/linux/linux-5.10/drivers/scsi/arm/
Dfas216.c143 unsigned int off = reg << info->scsi.io_shift; in fas216_readb()
144 return readb(info->scsi.io_base + off); in fas216_readb()
149 unsigned int off = reg << info->scsi.io_shift; in fas216_writeb()
150 writeb(val, info->scsi.io_base + off); in fas216_writeb()
195 info->scsi.io_shift, info->scsi.irq, in fas216_dumpinfo()
196 info->scsi.cfg[0], info->scsi.cfg[1], info->scsi.cfg[2], in fas216_dumpinfo()
197 info->scsi.cfg[3]); in fas216_dumpinfo()
199 info->scsi.type, info->scsi.phase); in fas216_dumpinfo()
200 print_SCp(&info->scsi.SCp, " SCp={ ", " }\n"); in fas216_dumpinfo()
202 info->scsi.async_stp, in fas216_dumpinfo()
[all …]
Dacornscsi.c244 printk("BH @%p +%04x, ", host->scsi.SCp.ptr, in acornscsi_dumpdma()
245 host->scsi.SCp.this_residual); in acornscsi_dumpdma()
247 host->scsi.SCp.scsi_xferred); in acornscsi_dumpdma()
382 host->scsi.phase = PHASE_IDLE; in acornscsi_resetcard()
383 host->scsi.disconnectable = 0; in acornscsi_resetcard()
713 if (host->scsi.disconnectable && host->SCpnt) { in acornscsi_kick()
715 host->scsi.disconnectable = 0; in acornscsi_kick()
736 host->scsi.phase = PHASE_CONNECTING; in acornscsi_kick()
738 host->scsi.SCp = SCpnt->SCp; in acornscsi_kick()
803 SCpnt->result = result << 16 | host->scsi.SCp.Message << 8 | host->scsi.SCp.Status; in acornscsi_done()
[all …]
Dpowertec.c133 int dmach = info->info.scsi.dma; in powertecscsi_dma_setup()
174 if (info->info.scsi.dma != NO_DMA) in powertecscsi_dma_stop()
175 disable_dma(info->info.scsi.dma); in powertecscsi_dma_stop()
189 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in powertecscsi_info()
330 info->info.scsi.io_base = base + POWERTEC_FAS216_OFFSET; in powertecscsi_probe()
331 info->info.scsi.io_shift = POWERTEC_FAS216_SHIFT; in powertecscsi_probe()
332 info->info.scsi.irq = ec->irq; in powertecscsi_probe()
333 info->info.scsi.dma = ec->dma; in powertecscsi_probe()
365 if (info->info.scsi.dma != NO_DMA) { in powertecscsi_probe()
366 if (request_dma(info->info.scsi.dma, "powertec")) { in powertecscsi_probe()
[all …]
Dcumana_2.c159 int dmach = info->info.scsi.dma; in cumanascsi_2_dma_setup()
284 if (info->info.scsi.dma != NO_DMA) { in cumanascsi_2_dma_stop()
286 disable_dma(info->info.scsi.dma); in cumanascsi_2_dma_stop()
301 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in cumanascsi_2_info()
406 info->info.scsi.io_base = base + CUMANASCSI2_FAS216_OFFSET; in cumanascsi2_probe()
407 info->info.scsi.io_shift = CUMANASCSI2_FAS216_SHIFT; in cumanascsi2_probe()
408 info->info.scsi.irq = ec->irq; in cumanascsi2_probe()
409 info->info.scsi.dma = ec->dma; in cumanascsi2_probe()
439 if (info->info.scsi.dma != NO_DMA) { in cumanascsi2_probe()
440 if (request_dma(info->info.scsi.dma, "cumanascsi2")) { in cumanascsi2_probe()
[all …]
Deesox.c160 int dmach = info->info.scsi.dma; in eesoxscsi_dma_setup()
371 if (info->info.scsi.dma != NO_DMA) in eesoxscsi_dma_stop()
372 disable_dma(info->info.scsi.dma); in eesoxscsi_dma_stop()
386 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in eesoxscsi_info()
523 info->info.scsi.io_base = base + EESOX_FAS216_OFFSET; in eesoxscsi_probe()
524 info->info.scsi.io_shift = EESOX_FAS216_SHIFT; in eesoxscsi_probe()
525 info->info.scsi.irq = ec->irq; in eesoxscsi_probe()
526 info->info.scsi.dma = ec->dma; in eesoxscsi_probe()
557 if (info->info.scsi.dma != NO_DMA) { in eesoxscsi_probe()
558 if (request_dma(info->info.scsi.dma, "eesox")) { in eesoxscsi_probe()
[all …]
Darxescsi.c118 void __iomem *base = info->info.scsi.io_base; in arxescsi_dma_pseudo()
218 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in arxescsi_info()
280 info->info.scsi.io_base = base + 0x2000; in arxescsi_probe()
281 info->info.scsi.irq = 0; in arxescsi_probe()
282 info->info.scsi.dma = NO_DMA; in arxescsi_probe()
283 info->info.scsi.io_shift = 5; in arxescsi_probe()
/kernel/linux/linux-5.10/drivers/s390/scsi/
Dzfcp_fc.h227 void zfcp_fc_scsi_to_fcp(struct fcp_cmnd *fcp, struct scsi_cmnd *scsi) in zfcp_fc_scsi_to_fcp() argument
231 int_to_scsilun(scsi->device->lun, (struct scsi_lun *) &fcp->fc_lun); in zfcp_fc_scsi_to_fcp()
235 if (scsi->sc_data_direction == DMA_FROM_DEVICE) in zfcp_fc_scsi_to_fcp()
237 if (scsi->sc_data_direction == DMA_TO_DEVICE) in zfcp_fc_scsi_to_fcp()
240 memcpy(fcp->fc_cdb, scsi->cmnd, scsi->cmd_len); in zfcp_fc_scsi_to_fcp()
242 datalen = scsi_bufflen(scsi); in zfcp_fc_scsi_to_fcp()
245 if (scsi_get_prot_type(scsi) == SCSI_PROT_DIF_TYPE1) { in zfcp_fc_scsi_to_fcp()
246 datalen += datalen / scsi->device->sector_size * 8; in zfcp_fc_scsi_to_fcp()
271 struct scsi_cmnd *scsi) in zfcp_fc_eval_fcp_rsp() argument
278 set_msg_byte(scsi, COMMAND_COMPLETE); in zfcp_fc_eval_fcp_rsp()
[all …]
/kernel/linux/linux-5.10/Documentation/scsi/
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
42 See header of drivers/scsi/gdth.c.
47 See header of drivers/scsi/ips.c.
50 See drivers/scsi/mac_scsi.c.
61 See header of drivers/scsi/NCR_D700.c.
[all …]
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 …]
Dscsi.rst12 http://web.archive.org/web/%2E/http://www.torque.net/scsi/SCSI-2.4-HOWTO
16 The scsi support in the linux kernel can be modularized in a number of
20 The scsi-core (also known as the "mid level") contains the core of scsi
21 support. Without it you can do nothing with any of the other scsi drivers.
22 The scsi core support can be a module (scsi_mod.o), or it can be built into
23 the kernel. If the core is a module, it must be the first scsi module
30 once the scsi core is present in the kernel (either compiled in or loaded
32 tape driver [1]_ (st.o) and scsi generics driver (sg.o) represent the upper
Dindex.rst35 scsi-changer
38 scsi-generic
40 scsi-parameters
41 scsi
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 …]
Dwd719x.rst19 lha xi pciscsi.exe pci-scsi.exe
20 lha xi pci-scsi.exe nt/wd7296a.sys
21 rm pci-scsi.exe
/kernel/linux/linux-5.10/Documentation/driver-api/
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 …]
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
/kernel/linux/linux-5.10/fs/nfs/blocklayout/
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()
266 switch (v->scsi.designator_type) { in bl_validate_designator()
268 if (v->scsi.code_set != PS_CODE_SET_BINARY) in bl_validate_designator()
271 if (v->scsi.designator_len != 8 && in bl_validate_designator()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/esas2r/
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 …]
Desas2r_vda.c95 rq->vrq->scsi.function = vi->function; in esas2r_process_vda_ioctl()
357 rq->vrq->scsi.function = VDA_FUNC_FLASH; in esas2r_build_flash_req()
384 rq->vrq->scsi.function = VDA_FUNC_MGT; in esas2r_build_mgt_req()
426 rq->vrq->scsi.function = VDA_FUNC_AE; in esas2r_build_ae_req()
457 rq->vrq->scsi.function = VDA_FUNC_CLI; in esas2r_build_cli_req()
474 rq->vrq->scsi.function = VDA_FUNC_IOCTL; in esas2r_build_ioctl_req()
492 rq->vrq->scsi.function = VDA_FUNC_CFG; in esas2r_build_cfg_req()
506 u32 handle = rq->vrq->scsi.handle; in clear_vda_request()
510 rq->vrq->scsi.handle = handle; in clear_vda_request()
Desas2r_main.c847 rq->vrq->scsi.flags |= cpu_to_le32(FCP_CMND_WRD); in esas2r_queuecommand()
849 rq->vrq->scsi.flags |= cpu_to_le32(FCP_CMND_RDD); in esas2r_queuecommand()
852 memcpy(rq->vrq->scsi.cdb, cmd->cmnd, cmd->cmd_len); in esas2r_queuecommand()
853 rq->vrq->scsi.length = cpu_to_le32(bufflen); in esas2r_queuecommand()
855 rq->vrq->scsi.flags |= cpu_to_le32(cmd->device->lun); in esas2r_queuecommand()
944 ar->vrq->scsi.length = 0; in esas2r_check_active_queue()
946 ar->vrq->scsi.flags |= cpu_to_le32( in esas2r_check_active_queue()
947 (u8)le32_to_cpu(rq->vrq->scsi.flags)); in esas2r_check_active_queue()
949 memset(ar->vrq->scsi.cdb, 0, in esas2r_check_active_queue()
950 sizeof(ar->vrq->scsi.cdb)); in esas2r_check_active_queue()
[all …]
/kernel/linux/linux-5.10/drivers/staging/unisys/visorhba/
Dvisorhba_main.c531 cmdrsp->scsi.handle = insert_location; in visorhba_queue_command_lck()
536 cmdrsp->scsi.vdest.channel = scsidev->channel; in visorhba_queue_command_lck()
537 cmdrsp->scsi.vdest.id = scsidev->id; in visorhba_queue_command_lck()
538 cmdrsp->scsi.vdest.lun = scsidev->lun; in visorhba_queue_command_lck()
540 cmdrsp->scsi.data_dir = in visorhba_queue_command_lck()
542 memcpy(cmdrsp->scsi.cmnd, cdb, MAX_CMND_SIZE); in visorhba_queue_command_lck()
543 cmdrsp->scsi.bufflen = scsi_bufflen(scsicmd); in visorhba_queue_command_lck()
546 if (cmdrsp->scsi.bufflen > devdata->max_buff_len) in visorhba_queue_command_lck()
547 devdata->max_buff_len = cmdrsp->scsi.bufflen; in visorhba_queue_command_lck()
557 cmdrsp->scsi.gpi_list[i].address = sg_phys(sg); in visorhba_queue_command_lck()
[all …]
/kernel/linux/linux-5.10/Documentation/ABI/stable/
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
/kernel/linux/linux-5.10/fs/nfsd/
Dblocklayoutxdr.c59 len = 4 + 4 + 4 + 4 + (XDR_QUADLEN(b->scsi.designator_len) << 2) + 8; in nfsd4_block_encode_volume()
65 *p++ = cpu_to_be32(b->scsi.code_set); in nfsd4_block_encode_volume()
66 *p++ = cpu_to_be32(b->scsi.designator_type); in nfsd4_block_encode_volume()
67 p = xdr_encode_opaque(p, b->scsi.designator, b->scsi.designator_len); in nfsd4_block_encode_volume()
68 p = xdr_encode_hyper(p, b->scsi.pr_key); in nfsd4_block_encode_volume()
/kernel/linux/linux-5.10/arch/mips/sgi-ip22/
Dip28-berr.c50 struct hpc3_stat scsi[2]; member
133 hpc3.scsi[0].addr = (unsigned long)&hpc3c0->scsi_chan0; in save_and_clear_buserr()
134 hpc3.scsi[0].ctrl = hpc3c0->scsi_chan0.ctrl; /* HPC3_SCTRL_ACTIVE ? */ in save_and_clear_buserr()
135 hpc3.scsi[0].cbp = hpc3c0->scsi_chan0.cbptr; in save_and_clear_buserr()
136 hpc3.scsi[0].ndptr = hpc3c0->scsi_chan0.ndptr; in save_and_clear_buserr()
138 hpc3.scsi[1].addr = (unsigned long)&hpc3c0->scsi_chan1; in save_and_clear_buserr()
139 hpc3.scsi[1].ctrl = hpc3c0->scsi_chan1.ctrl; /* HPC3_SCTRL_ACTIVE ? */ in save_and_clear_buserr()
140 hpc3.scsi[1].cbp = hpc3c0->scsi_chan1.cbptr; in save_and_clear_buserr()
141 hpc3.scsi[1].ndptr = hpc3c0->scsi_chan1.ndptr; in save_and_clear_buserr()
/kernel/linux/linux-5.10/drivers/scsi/
DKconfig36 <file:Documentation/scsi/scsi.rst>.
55 bool "legacy /proc/scsi/ support"
60 /proc/scsi. In Linux 2.6 this has been superseded by
82 <file:Documentation/scsi/scsi.rst>.
97 <file:Documentation/scsi/st.rst> in the kernel source. This is NOT
101 <file:Documentation/scsi/scsi.rst>. The module will be called st.
115 <file:Documentation/scsi/scsi.rst>.
136 <file:Documentation/scsi/scsi-generic.rst> for more information.
139 <file:Documentation/scsi/scsi.rst>. The module will be called sg.
150 changers are listed as "Type: Medium Changer" in /proc/scsi/scsi.
[all …]
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/
DKconfig2 source "drivers/scsi/cxgbi/cxgb3i/Kconfig"
3 source "drivers/scsi/cxgbi/cxgb4i/Kconfig"

123456