Home
last modified time | relevance | path

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

123

/drivers/scsi/arm/
Dfas216.c144 unsigned int off = reg << info->scsi.io_shift; in fas216_readb()
145 return readb(info->scsi.io_base + off); in fas216_readb()
150 unsigned int off = reg << info->scsi.io_shift; in fas216_writeb()
151 writeb(val, info->scsi.io_base + off); in fas216_writeb()
196 info->scsi.io_shift, info->scsi.irq, in fas216_dumpinfo()
197 info->scsi.cfg[0], info->scsi.cfg[1], info->scsi.cfg[2], in fas216_dumpinfo()
198 info->scsi.cfg[3]); in fas216_dumpinfo()
200 info->scsi.type, info->scsi.phase); in fas216_dumpinfo()
201 print_SCp(&info->scsi.SCp, " SCp={ ", " }\n"); in fas216_dumpinfo()
203 info->scsi.async_stp, in fas216_dumpinfo()
[all …]
Dacornscsi.c247 printk("BH @%p +%04x, ", host->scsi.SCp.ptr, in acornscsi_dumpdma()
248 host->scsi.SCp.this_residual); in acornscsi_dumpdma()
250 host->scsi.SCp.scsi_xferred); in acornscsi_dumpdma()
385 host->scsi.phase = PHASE_IDLE; in acornscsi_resetcard()
386 host->scsi.disconnectable = 0; in acornscsi_resetcard()
715 if (host->scsi.disconnectable && host->SCpnt) { in acornscsi_kick()
717 host->scsi.disconnectable = 0; in acornscsi_kick()
738 host->scsi.phase = PHASE_CONNECTING; in acornscsi_kick()
740 host->scsi.SCp = SCpnt->SCp; in acornscsi_kick()
805 SCpnt->result = result << 16 | host->scsi.SCp.Message << 8 | host->scsi.SCp.Status; in acornscsi_done()
[all …]
Dpowertec.c136 int dmach = info->info.scsi.dma; in powertecscsi_dma_setup()
176 if (info->info.scsi.dma != NO_DMA) in powertecscsi_dma_stop()
177 disable_dma(info->info.scsi.dma); in powertecscsi_dma_stop()
191 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in powertecscsi_info()
333 info->info.scsi.io_base = base + POWERTEC_FAS216_OFFSET; in powertecscsi_probe()
334 info->info.scsi.io_shift = POWERTEC_FAS216_SHIFT; in powertecscsi_probe()
335 info->info.scsi.irq = ec->irq; in powertecscsi_probe()
336 info->info.scsi.dma = ec->dma; in powertecscsi_probe()
368 if (info->info.scsi.dma != NO_DMA) { in powertecscsi_probe()
369 if (request_dma(info->info.scsi.dma, "powertec")) { in powertecscsi_probe()
[all …]
Dcumana_2.c162 int dmach = info->info.scsi.dma; in cumanascsi_2_dma_setup()
286 if (info->info.scsi.dma != NO_DMA) { in cumanascsi_2_dma_stop()
288 disable_dma(info->info.scsi.dma); in cumanascsi_2_dma_stop()
303 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in cumanascsi_2_info()
408 info->info.scsi.io_base = base + CUMANASCSI2_FAS216_OFFSET; in cumanascsi2_probe()
409 info->info.scsi.io_shift = CUMANASCSI2_FAS216_SHIFT; in cumanascsi2_probe()
410 info->info.scsi.irq = ec->irq; in cumanascsi2_probe()
411 info->info.scsi.dma = ec->dma; in cumanascsi2_probe()
441 if (info->info.scsi.dma != NO_DMA) { in cumanascsi2_probe()
442 if (request_dma(info->info.scsi.dma, "cumanascsi2")) { in cumanascsi2_probe()
[all …]
Deesox.c163 int dmach = info->info.scsi.dma; in eesoxscsi_dma_setup()
373 if (info->info.scsi.dma != NO_DMA) in eesoxscsi_dma_stop()
374 disable_dma(info->info.scsi.dma); in eesoxscsi_dma_stop()
388 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in eesoxscsi_info()
527 info->info.scsi.io_base = base + EESOX_FAS216_OFFSET; in eesoxscsi_probe()
528 info->info.scsi.io_shift = EESOX_FAS216_SHIFT; in eesoxscsi_probe()
529 info->info.scsi.irq = ec->irq; in eesoxscsi_probe()
530 info->info.scsi.dma = ec->dma; in eesoxscsi_probe()
561 if (info->info.scsi.dma != NO_DMA) { in eesoxscsi_probe()
562 if (request_dma(info->info.scsi.dma, "eesox")) { in eesoxscsi_probe()
[all …]
Darxescsi.c117 void __iomem *base = info->info.scsi.io_base; in arxescsi_dma_pseudo()
217 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()
/drivers/s390/scsi/
Dzfcp_fc.h212 void zfcp_fc_scsi_to_fcp(struct fcp_cmnd *fcp, struct scsi_cmnd *scsi, in zfcp_fc_scsi_to_fcp() argument
217 int_to_scsilun(scsi->device->lun, (struct scsi_lun *) &fcp->fc_lun); in zfcp_fc_scsi_to_fcp()
224 if (scsi_populate_tag_msg(scsi, tag)) { in zfcp_fc_scsi_to_fcp()
236 if (scsi->sc_data_direction == DMA_FROM_DEVICE) in zfcp_fc_scsi_to_fcp()
238 if (scsi->sc_data_direction == DMA_TO_DEVICE) in zfcp_fc_scsi_to_fcp()
241 memcpy(fcp->fc_cdb, scsi->cmnd, scsi->cmd_len); in zfcp_fc_scsi_to_fcp()
243 fcp->fc_dl = 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 fcp->fc_dl += fcp->fc_dl / scsi->device->sector_size * 8; in zfcp_fc_scsi_to_fcp()
256 struct scsi_cmnd *scsi) in zfcp_fc_eval_fcp_rsp() argument
[all …]
Dzfcp_dbf.h267 debug_info_t *scsi; member
326 if (debug_level_enabled(adapter->dbf->scsi, level)) in _zfcp_dbf_scsi()
/drivers/staging/unisys/virtpci/
Dvirtpci.c89 struct scsi_adap_info *scsi,
295 memcpy_fromio(&scsi.wwnn, \
299 memcpy_fromio(&scsi.max, \
322 struct scsi_adap_info scsi; in add_vhba() local
339 scsi.wwnn.wwnn1, scsi.wwnn.wwnn2, in add_vhba()
340 scsi.max.max_channel, scsi.max.max_id, scsi.max.max_lun, in add_vhba()
341 scsi.max.cmd_per_lun, addparams->chanptr); in add_vhba()
342 i = virtpci_device_add(vbus, VIRTHBA_TYPE, addparams, &scsi, NULL); in add_vhba()
344 LOGINF("Added vhba wwnn:%x:%x chanptr:%p\n", scsi.wwnn.wwnn1, in add_vhba()
345 scsi.wwnn.wwnn2, addparams->chanptr); in add_vhba()
[all …]
/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.c909 rq->vrq->scsi.flags |= cpu_to_le32(FCP_CMND_WRD); in esas2r_queuecommand()
911 rq->vrq->scsi.flags |= cpu_to_le32(FCP_CMND_RDD); in esas2r_queuecommand()
914 memcpy(rq->vrq->scsi.cdb, cmd->cmnd, cmd->cmd_len); in esas2r_queuecommand()
915 rq->vrq->scsi.length = cpu_to_le32(bufflen); in esas2r_queuecommand()
917 rq->vrq->scsi.flags |= cpu_to_le32(cmd->device->lun); in esas2r_queuecommand()
1006 ar->vrq->scsi.length = 0; in esas2r_check_active_queue()
1008 ar->vrq->scsi.flags |= cpu_to_le32( in esas2r_check_active_queue()
1009 (u8)le32_to_cpu(rq->vrq->scsi.flags)); in esas2r_check_active_queue()
1011 memset(ar->vrq->scsi.cdb, 0, in esas2r_check_active_queue()
1012 sizeof(ar->vrq->scsi.cdb)); in esas2r_check_active_queue()
[all …]
Desas2r.h1194 rq->vrq->scsi.sg_list_offset = (u8) in esas2r_sgc_init()
1199 sgc->sge.a64.curr = &rq->vrq->scsi.u.sge[0]; in esas2r_sgc_init()
1200 rq->vrq->scsi.sg_list_offset = in esas2r_sgc_init()
1235 if (a->req_table[LOWORD(vrq->scsi.handle)]) in esas2r_rq_init_request()
1241 a->req_table[LOWORD(vrq->scsi.handle)] = rq; in esas2r_rq_init_request()
1247 vrq->scsi.handle = (a->cmd_ref_no++ << 16) | (u16)vrq->scsi.handle; in esas2r_rq_init_request()
1254 vrq->scsi.function = VDA_FUNC_SCSI; in esas2r_rq_init_request()
1255 vrq->scsi.sense_len = SENSE_DATA_SZ; in esas2r_rq_init_request()
1258 vrq->scsi.sg_list_offset = 0; in esas2r_rq_init_request()
1259 vrq->scsi.chain_offset = 0; in esas2r_rq_init_request()
[all …]
Desas2r_ioctl.c334 rq->vrq->scsi.flags |= cpu_to_le32(rq->func_rsp.ioctl_rsp.csmi.lun); in esas2r_csmi_ioctl_tunnel_comp_cb()
357 ioctl->csmi.lun = (u8)le32_to_cpu(rq->vrq->scsi.flags); in csmi_ioctl_tunnel()
425 rq->vrq->scsi.flags |= cpu_to_le32(lun); in csmi_ioctl_callback()
569 gda->sas_lun[1] = (u8)le32_to_cpu(rq->vrq->scsi.flags); in csmi_ioctl_callback()
1017 rq->vrq->scsi.flags |= cpu_to_le32(spt->lun[1]); in hba_ioctl_callback()
1018 memcpy(rq->vrq->scsi.cdb, spt->cdb, 16); in hba_ioctl_callback()
1019 rq->vrq->scsi.length = cpu_to_le32(hi->data_length); in hba_ioctl_callback()
1034 rq->vrq->scsi.flags |= cpu_to_le32(FCP_CMND_RDD); in hba_ioctl_callback()
1036 rq->vrq->scsi.flags |= cpu_to_le32(FCP_CMND_WRD); in hba_ioctl_callback()
1045 rq->vrq->scsi.flags |= in hba_ioctl_callback()
[all …]
/drivers/staging/unisys/virthba/
Dvirthba.c505 (unsigned) virtpcidev->scsi.max.max_channel - 1, in virthba_probe()
506 (unsigned) virtpcidev->scsi.max.max_id, in virthba_probe()
507 (unsigned) virtpcidev->scsi.max.max_lun, in virthba_probe()
508 (unsigned) virtpcidev->scsi.max.cmd_per_lun, in virthba_probe()
509 (unsigned) virtpcidev->scsi.max.max_io_size); in virthba_probe()
510 scsihost->max_channel = (unsigned) virtpcidev->scsi.max.max_channel; in virthba_probe()
511 scsihost->max_id = (unsigned) virtpcidev->scsi.max.max_id; in virthba_probe()
512 scsihost->max_lun = (unsigned) virtpcidev->scsi.max.max_lun; in virthba_probe()
513 scsihost->cmd_per_lun = (unsigned) virtpcidev->scsi.max.cmd_per_lun; in virthba_probe()
515 (unsigned short) (virtpcidev->scsi.max.max_io_size >> 9); in virthba_probe()
[all …]
/drivers/scsi/
DKconfig33 <file:Documentation/scsi/scsi.txt>.
60 bool "legacy /proc/scsi/ support"
65 /proc/scsi. In Linux 2.6 this has been superseded by
86 <file:Documentation/scsi/scsi.txt>.
101 <file:Documentation/scsi/st.txt> in the kernel source. This is NOT
105 <file:Documentation/scsi/scsi.txt>. The module will be called st.
120 <file:Documentation/scsi/osst.txt> in the kernel source.
127 <file:Documentation/scsi/scsi.txt>. The module will be called osst.
140 <file:Documentation/scsi/scsi.txt>.
170 <file:Documentation/scsi/scsi-generic.txt> for more information.
[all …]
Dwd7000.c726 static inline void any2scsi(unchar * scsi, int any) in any2scsi() argument
728 *scsi++ = (unsigned)any >> 16; in any2scsi()
729 *scsi++ = (unsigned)any >> 8; in any2scsi()
730 *scsi++ = any; in any2scsi()
733 static inline int scsi2int(unchar * scsi) in scsi2int() argument
735 return (scsi[0] << 16) | (scsi[1] << 8) | scsi[2]; in scsi2int()
Dscsi_transport_spi.c1127 char *scsi = "FAST-?"; in spi_display_xfer_agreement() local
1133 case 7: scsi = "FAST-320"; break; in spi_display_xfer_agreement()
1134 case 8: scsi = "FAST-160"; break; in spi_display_xfer_agreement()
1135 case 9: scsi = "FAST-80"; break; in spi_display_xfer_agreement()
1137 case 11: scsi = "FAST-40"; break; in spi_display_xfer_agreement()
1138 case 12: scsi = "FAST-20"; break; in spi_display_xfer_agreement()
1143 scsi = "FAST-20"; in spi_display_xfer_agreement()
1145 scsi = "FAST-10"; in spi_display_xfer_agreement()
1147 scsi = "FAST-5"; in spi_display_xfer_agreement()
1157 scsi, tp->width ? "WIDE " : "", kb100/10, kb100 % 10, in spi_display_xfer_agreement()
/drivers/scsi/cxgbi/
DKconfig1 source "drivers/scsi/cxgbi/cxgb3i/Kconfig"
2 source "drivers/scsi/cxgbi/cxgb4i/Kconfig"
/drivers/block/
Dskd_main.c1862 struct skd_scsi_request *scsi; in skd_format_internal_skspcl() local
1868 scsi = (struct skd_scsi_request *)&skspcl->msg_buf[64]; in skd_format_internal_skspcl()
1869 memset(scsi, 0, sizeof(*scsi)); in skd_format_internal_skspcl()
1871 scsi->hdr.sg_list_dma_address = cpu_to_be64(dma_address); in skd_format_internal_skspcl()
1888 struct skd_scsi_request *scsi; in skd_send_internal_skspcl() local
1903 scsi = (struct skd_scsi_request *)&skspcl->msg_buf[64]; in skd_send_internal_skspcl()
1904 scsi->hdr.tag = skspcl->req.id; in skd_send_internal_skspcl()
1906 memset(scsi->cdb, 0, sizeof(scsi->cdb)); in skd_send_internal_skspcl()
1910 scsi->cdb[0] = TEST_UNIT_READY; in skd_send_internal_skspcl()
1912 scsi->hdr.sg_list_len_bytes = 0; in skd_send_internal_skspcl()
[all …]
/drivers/scsi/aic7xxx/
DKconfig.aic79xx3 # $Id: //depot/linux-aic79xx-2.5.0/drivers/scsi/aic7xxx/Kconfig.aic79xx#4 $
34 "tag_info" option. See Documentation/scsi/aic79xx.txt for details.
74 are defined in the drivers/scsi/aic7xxx/aic79xx.h - search for the
DKconfig.aic7xxx3 # $Id: //depot/linux-aic79xx-2.5.0/drivers/scsi/aic7xxx/Kconfig.aic7xxx#7 $
39 "tag_info" option. See Documentation/scsi/aic7xxx.txt for details.
79 are defined in the drivers/scsi/aic7xxx/aic7xxx.h - search for the
/drivers/scsi/mpt3sas/
Dmpt3sas_trigger_diag.c354 event_data.u.scsi.SenseKey = sense_key; in mpt3sas_trigger_scsi()
355 event_data.u.scsi.ASC = asc; in mpt3sas_trigger_scsi()
356 event_data.u.scsi.ASCQ = ascq; in mpt3sas_trigger_scsi()
/drivers/s390/
DMakefile5 obj-y += cio/ block/ char/ crypto/ net/ scsi/ kvm/
/drivers/vhost/
DMakefile5 vhost_scsi-y := scsi.o

123