scsi 50 arch/mips/sgi-ip22/ip28-berr.c struct hpc3_stat scsi[2]; scsi 133 arch/mips/sgi-ip22/ip28-berr.c hpc3.scsi[0].addr = (unsigned long)&hpc3c0->scsi_chan0; scsi 134 arch/mips/sgi-ip22/ip28-berr.c hpc3.scsi[0].ctrl = hpc3c0->scsi_chan0.ctrl; /* HPC3_SCTRL_ACTIVE ? */ scsi 135 arch/mips/sgi-ip22/ip28-berr.c hpc3.scsi[0].cbp = hpc3c0->scsi_chan0.cbptr; scsi 136 arch/mips/sgi-ip22/ip28-berr.c hpc3.scsi[0].ndptr = hpc3c0->scsi_chan0.ndptr; scsi 138 arch/mips/sgi-ip22/ip28-berr.c hpc3.scsi[1].addr = (unsigned long)&hpc3c0->scsi_chan1; scsi 139 arch/mips/sgi-ip22/ip28-berr.c hpc3.scsi[1].ctrl = hpc3c0->scsi_chan1.ctrl; /* HPC3_SCTRL_ACTIVE ? */ scsi 140 arch/mips/sgi-ip22/ip28-berr.c hpc3.scsi[1].cbp = hpc3c0->scsi_chan1.cbptr; scsi 141 arch/mips/sgi-ip22/ip28-berr.c hpc3.scsi[1].ndptr = hpc3c0->scsi_chan1.ndptr; scsi 655 drivers/block/paride/pg.c hdr.scsi = dev->status & 0x0f; scsi 151 drivers/block/skd_main.c struct skd_scsi_request scsi[SKD_MAX_REQ_PER_MSG]; scsi 556 drivers/block/skd_main.c scsi_req = &skmsg->msg_buf->scsi[fmh->num_protocol_cmds_coalesced]; scsi 890 drivers/block/skd_main.c struct skd_scsi_request *scsi; scsi 896 drivers/block/skd_main.c scsi = &skspcl->msg_buf->scsi[0]; scsi 897 drivers/block/skd_main.c memset(scsi, 0, sizeof(*scsi)); scsi 899 drivers/block/skd_main.c scsi->hdr.sg_list_dma_address = cpu_to_be64(dma_address); scsi 917 drivers/block/skd_main.c struct skd_scsi_request *scsi; scsi 930 drivers/block/skd_main.c scsi = &skspcl->msg_buf->scsi[0]; scsi 931 drivers/block/skd_main.c scsi->hdr.tag = skspcl->req.id; scsi 933 drivers/block/skd_main.c memset(scsi->cdb, 0, sizeof(scsi->cdb)); scsi 937 drivers/block/skd_main.c scsi->cdb[0] = TEST_UNIT_READY; scsi 939 drivers/block/skd_main.c scsi->hdr.sg_list_len_bytes = 0; scsi 943 drivers/block/skd_main.c scsi->cdb[0] = READ_CAPACITY; scsi 945 drivers/block/skd_main.c scsi->hdr.sg_list_len_bytes = cpu_to_be32(sgd->byte_count); scsi 949 drivers/block/skd_main.c scsi->cdb[0] = INQUIRY; scsi 950 drivers/block/skd_main.c scsi->cdb[1] = 0x01; /* evpd */ scsi 951 drivers/block/skd_main.c scsi->cdb[2] = 0x80; /* serial number page */ scsi 952 drivers/block/skd_main.c scsi->cdb[4] = 0x10; scsi 954 drivers/block/skd_main.c scsi->hdr.sg_list_len_bytes = cpu_to_be32(sgd->byte_count); scsi 958 drivers/block/skd_main.c scsi->cdb[0] = SYNCHRONIZE_CACHE; scsi 960 drivers/block/skd_main.c scsi->hdr.sg_list_len_bytes = 0; scsi 964 drivers/block/skd_main.c scsi->cdb[0] = WRITE_BUFFER; scsi 965 drivers/block/skd_main.c scsi->cdb[1] = 0x02; scsi 966 drivers/block/skd_main.c scsi->cdb[7] = (WR_BUF_SIZE & 0xFF00) >> 8; scsi 967 drivers/block/skd_main.c scsi->cdb[8] = WR_BUF_SIZE & 0xFF; scsi 969 drivers/block/skd_main.c scsi->hdr.sg_list_len_bytes = cpu_to_be32(sgd->byte_count); scsi 976 drivers/block/skd_main.c scsi->cdb[0] = READ_BUFFER; scsi 977 drivers/block/skd_main.c scsi->cdb[1] = 0x02; scsi 978 drivers/block/skd_main.c scsi->cdb[7] = (WR_BUF_SIZE & 0xFF00) >> 8; scsi 979 drivers/block/skd_main.c scsi->cdb[8] = WR_BUF_SIZE & 0xFF; scsi 981 drivers/block/skd_main.c scsi->hdr.sg_list_len_bytes = cpu_to_be32(sgd->byte_count); scsi 1034 drivers/block/skd_main.c struct skd_scsi_request *scsi = &skspcl->msg_buf->scsi[0]; scsi 1040 drivers/block/skd_main.c dev_dbg(&skdev->pdev->dev, "complete internal %x\n", scsi->cdb[0]); scsi 1055 drivers/block/skd_main.c switch (scsi->cdb[0]) { scsi 3610 drivers/block/skd_main.c BUILD_BUG_ON(offsetof(struct skd_msg_buf, scsi) != 64); scsi 195 drivers/firmware/edd.c info->params.device_path.scsi.id, scsi 196 drivers/firmware/edd.c info->params.device_path.scsi.lun); scsi 6658 drivers/message/fusion/mptbase.c int scsi, fc, sas, lan, ctl, targ, dmp; scsi 6664 drivers/message/fusion/mptbase.c scsi = fc = sas = lan = ctl = targ = dmp = 0; scsi 6670 drivers/message/fusion/mptbase.c if (!scsi++) drvname = "SPI host"; scsi 680 drivers/s390/scsi/zfcp_dbf.c debug_event(dbf->scsi, level, rec, sizeof(*rec)); scsi 702 drivers/s390/scsi/zfcp_dbf.c if (unlikely(!debug_level_enabled(adapter->dbf->scsi, level))) scsi 720 drivers/s390/scsi/zfcp_dbf.c debug_event(dbf->scsi, level, rec, sizeof(*rec)); scsi 743 drivers/s390/scsi/zfcp_dbf.c debug_unregister(dbf->scsi); scsi 797 drivers/s390/scsi/zfcp_dbf.c dbf->scsi = zfcp_dbf_reg(name, dbfsize, sizeof(struct zfcp_dbf_scsi)); scsi 798 drivers/s390/scsi/zfcp_dbf.c if (!dbf->scsi) scsi 284 drivers/s390/scsi/zfcp_dbf.h debug_info_t *scsi; scsi 369 drivers/s390/scsi/zfcp_dbf.h if (debug_level_enabled(adapter->dbf->scsi, level)) scsi 428 drivers/s390/scsi/zfcp_dbf.h if (unlikely(!debug_level_enabled(adapter->dbf->scsi, level))) scsi 227 drivers/s390/scsi/zfcp_fc.h void zfcp_fc_scsi_to_fcp(struct fcp_cmnd *fcp, struct scsi_cmnd *scsi) scsi 231 drivers/s390/scsi/zfcp_fc.h int_to_scsilun(scsi->device->lun, (struct scsi_lun *) &fcp->fc_lun); scsi 235 drivers/s390/scsi/zfcp_fc.h if (scsi->sc_data_direction == DMA_FROM_DEVICE) scsi 237 drivers/s390/scsi/zfcp_fc.h if (scsi->sc_data_direction == DMA_TO_DEVICE) scsi 240 drivers/s390/scsi/zfcp_fc.h memcpy(fcp->fc_cdb, scsi->cmnd, scsi->cmd_len); scsi 242 drivers/s390/scsi/zfcp_fc.h datalen = scsi_bufflen(scsi); scsi 245 drivers/s390/scsi/zfcp_fc.h if (scsi_get_prot_type(scsi) == SCSI_PROT_DIF_TYPE1) { scsi 246 drivers/s390/scsi/zfcp_fc.h datalen += datalen / scsi->device->sector_size * 8; scsi 271 drivers/s390/scsi/zfcp_fc.h struct scsi_cmnd *scsi) scsi 278 drivers/s390/scsi/zfcp_fc.h set_msg_byte(scsi, COMMAND_COMPLETE); scsi 279 drivers/s390/scsi/zfcp_fc.h scsi->result |= fcp_rsp->resp.fr_status; scsi 286 drivers/s390/scsi/zfcp_fc.h set_host_byte(scsi, DID_OK); scsi 288 drivers/s390/scsi/zfcp_fc.h set_host_byte(scsi, DID_ERROR); scsi 299 drivers/s390/scsi/zfcp_fc.h memcpy(scsi->sense_buffer, sense, sense_len); scsi 304 drivers/s390/scsi/zfcp_fc.h scsi_set_resid(scsi, resid); scsi 305 drivers/s390/scsi/zfcp_fc.h if (scsi_bufflen(scsi) - resid < scsi->underflow && scsi 308 drivers/s390/scsi/zfcp_fc.h set_host_byte(scsi, DID_ERROR); scsi 312 drivers/s390/scsi/zfcp_fc.h set_host_byte(scsi, DID_ERROR); scsi 2050 drivers/s390/scsi/zfcp_fsf.c static void zfcp_fsf_req_trace(struct zfcp_fsf_req *req, struct scsi_cmnd *scsi) scsi 2069 drivers/s390/scsi/zfcp_fsf.c zfcp_sdev = sdev_to_zfcp(scsi->device); scsi 2099 drivers/s390/scsi/zfcp_fsf.c blk_add_driver_data(scsi->request->q, scsi->request, &blktrc, scsi 244 drivers/scsi/arm/acornscsi.c printk("BH @%p +%04x, ", host->scsi.SCp.ptr, scsi 245 drivers/scsi/arm/acornscsi.c host->scsi.SCp.this_residual); scsi 247 drivers/scsi/arm/acornscsi.c host->scsi.SCp.scsi_xferred); scsi 382 drivers/scsi/arm/acornscsi.c host->scsi.phase = PHASE_IDLE; scsi 383 drivers/scsi/arm/acornscsi.c host->scsi.disconnectable = 0; scsi 713 drivers/scsi/arm/acornscsi.c if (host->scsi.disconnectable && host->SCpnt) { scsi 715 drivers/scsi/arm/acornscsi.c host->scsi.disconnectable = 0; scsi 736 drivers/scsi/arm/acornscsi.c host->scsi.phase = PHASE_CONNECTING; scsi 738 drivers/scsi/arm/acornscsi.c host->scsi.SCp = SCpnt->SCp; scsi 803 drivers/scsi/arm/acornscsi.c SCpnt->result = result << 16 | host->scsi.SCp.Message << 8 | host->scsi.SCp.Status; scsi 817 drivers/scsi/arm/acornscsi.c if (host->scsi.SCp.ptr && scsi 821 drivers/scsi/arm/acornscsi.c if (host->scsi.SCp.scsi_xferred < SCpnt->underflow || scsi 822 drivers/scsi/arm/acornscsi.c host->scsi.SCp.scsi_xferred != host->dma.transferred) scsi 872 drivers/scsi/arm/acornscsi.c host->scsi.phase = PHASE_IDLE; scsi 1036 drivers/scsi/arm/acornscsi.c length = min_t(unsigned int, host->scsi.SCp.this_residual, DMAC_BUFFER_SIZE / 2); scsi 1046 drivers/scsi/arm/acornscsi.c acornscsi_data_write(host, host->scsi.SCp.ptr, host->dma.start_addr, scsi 1108 drivers/scsi/arm/acornscsi.c acornscsi_data_read(host, host->scsi.SCp.ptr, scsi 1114 drivers/scsi/arm/acornscsi.c acornscsi_data_updateptr(host, &host->scsi.SCp, transferred); scsi 1155 drivers/scsi/arm/acornscsi.c host->dma.xfer_ptr = host->scsi.SCp.ptr; scsi 1159 drivers/scsi/arm/acornscsi.c acornscsi_data_updateptr(host, &host->scsi.SCp, transferred); scsi 1164 drivers/scsi/arm/acornscsi.c length = min_t(unsigned int, host->scsi.SCp.this_residual, DMAC_BUFFER_SIZE / 2); scsi 1174 drivers/scsi/arm/acornscsi.c acornscsi_data_write(host, host->scsi.SCp.ptr, host->dma.start_addr, scsi 1251 drivers/scsi/arm/acornscsi.c transferred = host->scsi.SCp.scsi_xferred - host->dma.transferred; scsi 1310 drivers/scsi/arm/acornscsi.c sbic_arm_writenext(host, SCpnt->cmd_len - host->scsi.SCp.sent_command); scsi 1315 drivers/scsi/arm/acornscsi.c (int *)&host->scsi.SCp.sent_command, SCpnt->cmd_len, 1000000)) scsi 1318 drivers/scsi/arm/acornscsi.c host->scsi.phase = PHASE_COMMAND; scsi 1324 drivers/scsi/arm/acornscsi.c unsigned int message_length = msgqueue_msglength(&host->scsi.msgs); scsi 1341 drivers/scsi/arm/acornscsi.c host->scsi.last_message = NOP; scsi 1349 drivers/scsi/arm/acornscsi.c msg = msgqueue_getmsg(&host->scsi.msgs, 0); scsi 1355 drivers/scsi/arm/acornscsi.c host->scsi.last_message = msg->msg[0]; scsi 1376 drivers/scsi/arm/acornscsi.c while ((msg = msgqueue_getmsg(&host->scsi.msgs, msgnr++)) != NULL) { scsi 1385 drivers/scsi/arm/acornscsi.c host->scsi.last_message = msg->msg[0]; scsi 1387 drivers/scsi/arm/acornscsi.c host->scsi.last_message |= msg->msg[2] << 8; scsi 1409 drivers/scsi/arm/acornscsi.c host->scsi.SCp.Status = sbic_arm_read(host, SBIC_DATA); scsi 1479 drivers/scsi/arm/acornscsi.c if (host->scsi.phase == PHASE_RECONNECTED) { scsi 1487 drivers/scsi/arm/acornscsi.c host->scsi.reconnected.tag = message[1]; scsi 1489 drivers/scsi/arm/acornscsi.c host->scsi.phase = PHASE_MSGIN; scsi 1496 drivers/scsi/arm/acornscsi.c if (host->scsi.phase != PHASE_STATUSIN) { scsi 1501 drivers/scsi/arm/acornscsi.c host->scsi.phase = PHASE_DONE; scsi 1502 drivers/scsi/arm/acornscsi.c host->scsi.SCp.Message = message[0]; scsi 1513 drivers/scsi/arm/acornscsi.c host->SCpnt->SCp = host->scsi.SCp; scsi 1515 drivers/scsi/arm/acornscsi.c host->scsi.phase = PHASE_MSGIN; scsi 1529 drivers/scsi/arm/acornscsi.c host->scsi.SCp = host->SCpnt->SCp; scsi 1530 drivers/scsi/arm/acornscsi.c host->scsi.phase = PHASE_MSGIN; scsi 1544 drivers/scsi/arm/acornscsi.c host->scsi.phase = PHASE_DISCONNECT; scsi 1562 drivers/scsi/arm/acornscsi.c if (msgqueue_msglength(&host->scsi.msgs)) scsi 1565 drivers/scsi/arm/acornscsi.c switch (host->scsi.last_message) { scsi 1636 drivers/scsi/arm/acornscsi.c msgqueue_addmsg(&host->scsi.msgs, 5, EXTENDED_MESSAGE, 3, scsi 1655 drivers/scsi/arm/acornscsi.c msgqueue_flush(&host->scsi.msgs); scsi 1656 drivers/scsi/arm/acornscsi.c msgqueue_addmsg(&host->scsi.msgs, 1, MESSAGE_REJECT); scsi 1666 drivers/scsi/arm/acornscsi.c msgqueue_flush(&host->scsi.msgs); scsi 1667 drivers/scsi/arm/acornscsi.c msgqueue_addmsg(&host->scsi.msgs, 1, MESSAGE_REJECT); scsi 1668 drivers/scsi/arm/acornscsi.c host->scsi.phase = PHASE_MSGIN; scsi 1685 drivers/scsi/arm/acornscsi.c msgqueue_addmsg(&host->scsi.msgs, 1, BUS_DEVICE_RESET); scsi 1690 drivers/scsi/arm/acornscsi.c msgqueue_addmsg(&host->scsi.msgs, 1, scsi 1712 drivers/scsi/arm/acornscsi.c msgqueue_addmsg(&host->scsi.msgs, 2, tag_type, host->SCpnt->tag); scsi 1719 drivers/scsi/arm/acornscsi.c msgqueue_addmsg(&host->scsi.msgs, 5, scsi 1737 drivers/scsi/arm/acornscsi.c if (!host->scsi.SCp.ptr /*&& host->scsi.SCp.this_residual*/) { scsi 1743 drivers/scsi/arm/acornscsi.c residual = scsi_bufflen(host->SCpnt) - host->scsi.SCp.scsi_xferred; scsi 1778 drivers/scsi/arm/acornscsi.c if (host->SCpnt && !host->scsi.disconnectable) { scsi 1787 drivers/scsi/arm/acornscsi.c host->scsi.reconnected.target = target; scsi 1788 drivers/scsi/arm/acornscsi.c host->scsi.reconnected.lun = lun; scsi 1789 drivers/scsi/arm/acornscsi.c host->scsi.reconnected.tag = 0; scsi 1791 drivers/scsi/arm/acornscsi.c if (host->scsi.disconnectable && host->SCpnt && scsi 1798 drivers/scsi/arm/acornscsi.c ADD_STATUS(target, 0x81, host->scsi.phase, 0); scsi 1801 drivers/scsi/arm/acornscsi.c host->scsi.phase = PHASE_RECONNECTED; scsi 1827 drivers/scsi/arm/acornscsi.c if (host->scsi.disconnectable && host->SCpnt) { scsi 1828 drivers/scsi/arm/acornscsi.c host->scsi.disconnectable = 0; scsi 1829 drivers/scsi/arm/acornscsi.c if (host->SCpnt->device->id == host->scsi.reconnected.target && scsi 1830 drivers/scsi/arm/acornscsi.c host->SCpnt->device->lun == host->scsi.reconnected.lun && scsi 1831 drivers/scsi/arm/acornscsi.c host->SCpnt->tag == host->scsi.reconnected.tag) { scsi 1848 drivers/scsi/arm/acornscsi.c host->scsi.reconnected.target, scsi 1849 drivers/scsi/arm/acornscsi.c host->scsi.reconnected.lun, scsi 1850 drivers/scsi/arm/acornscsi.c host->scsi.reconnected.tag); scsi 1858 drivers/scsi/arm/acornscsi.c acornscsi_abortcmd(host, host->scsi.reconnected.tag); scsi 1863 drivers/scsi/arm/acornscsi.c host->scsi.SCp = host->SCpnt->SCp; scsi 1866 drivers/scsi/arm/acornscsi.c host->scsi.SCp.ptr, host->scsi.SCp.this_residual); scsi 1873 drivers/scsi/arm/acornscsi.c host->dma.transferred = host->scsi.SCp.scsi_xferred; scsi 1904 drivers/scsi/arm/acornscsi.c host->scsi.phase = PHASE_ABORTED; scsi 1907 drivers/scsi/arm/acornscsi.c msgqueue_flush(&host->scsi.msgs); scsi 1910 drivers/scsi/arm/acornscsi.c msgqueue_addmsg(&host->scsi.msgs, 2, ABORT_TAG, tag); scsi 1913 drivers/scsi/arm/acornscsi.c msgqueue_addmsg(&host->scsi.msgs, 1, ABORT); scsi 1939 drivers/scsi/arm/acornscsi.c print_sbic_status(asr, ssr, host->scsi.phase); scsi 1942 drivers/scsi/arm/acornscsi.c ADD_STATUS(8, ssr, host->scsi.phase, in_irq); scsi 1944 drivers/scsi/arm/acornscsi.c if (host->SCpnt && !host->scsi.disconnectable) scsi 1945 drivers/scsi/arm/acornscsi.c ADD_STATUS(host->SCpnt->device->id, ssr, host->scsi.phase, in_irq); scsi 1961 drivers/scsi/arm/acornscsi.c msgqueue_flush(&host->scsi.msgs); scsi 1969 drivers/scsi/arm/acornscsi.c switch (host->scsi.phase) { scsi 1974 drivers/scsi/arm/acornscsi.c host->scsi.phase = PHASE_CONNECTED; scsi 1975 drivers/scsi/arm/acornscsi.c msgqueue_flush(&host->scsi.msgs); scsi 1976 drivers/scsi/arm/acornscsi.c host->dma.transferred = host->scsi.SCp.scsi_xferred; scsi 1982 drivers/scsi/arm/acornscsi.c ADD_STATUS(8, ssr, host->scsi.phase, 1); scsi 1983 drivers/scsi/arm/acornscsi.c ADD_STATUS(host->SCpnt->device->id, ssr, host->scsi.phase, 1); scsi 1995 drivers/scsi/arm/acornscsi.c msgqueue_flush(&host->scsi.msgs); scsi 2019 drivers/scsi/arm/acornscsi.c host->scsi.phase = PHASE_STATUSIN; scsi 2025 drivers/scsi/arm/acornscsi.c host->scsi.phase = PHASE_MSGOUT; scsi 2059 drivers/scsi/arm/acornscsi.c host->scsi.phase = PHASE_STATUSIN; scsi 2084 drivers/scsi/arm/acornscsi.c if (host->scsi.SCp.sent_command != host->SCpnt->cmd_len) scsi 2089 drivers/scsi/arm/acornscsi.c host->scsi.phase = PHASE_DATAOUT; scsi 2094 drivers/scsi/arm/acornscsi.c if (host->scsi.SCp.sent_command != host->SCpnt->cmd_len) scsi 2099 drivers/scsi/arm/acornscsi.c host->scsi.phase = PHASE_DATAIN; scsi 2105 drivers/scsi/arm/acornscsi.c host->scsi.phase = PHASE_STATUSIN; scsi 2127 drivers/scsi/arm/acornscsi.c host->scsi.disconnectable = 1; scsi 2128 drivers/scsi/arm/acornscsi.c host->scsi.reconnected.tag = 0; scsi 2129 drivers/scsi/arm/acornscsi.c host->scsi.phase = PHASE_IDLE; scsi 2159 drivers/scsi/arm/acornscsi.c ADD_STATUS(host->SCpnt->device->id, ssr, host->scsi.phase, in_irq); scsi 2167 drivers/scsi/arm/acornscsi.c host->scsi.phase = PHASE_DATAOUT; scsi 2176 drivers/scsi/arm/acornscsi.c host->scsi.phase = PHASE_DATAIN; scsi 2188 drivers/scsi/arm/acornscsi.c host->scsi.phase = PHASE_STATUSIN; scsi 2223 drivers/scsi/arm/acornscsi.c host->scsi.SCp.scsi_xferred = scsi_bufflen(host->SCpnt) - scsi 2227 drivers/scsi/arm/acornscsi.c host->scsi.phase = PHASE_STATUSIN; scsi 2234 drivers/scsi/arm/acornscsi.c host->scsi.SCp.scsi_xferred = scsi_bufflen(host->SCpnt) - scsi 2244 drivers/scsi/arm/acornscsi.c host->scsi.SCp.scsi_xferred = scsi_bufflen(host->SCpnt) - scsi 2272 drivers/scsi/arm/acornscsi.c host->scsi.SCp.scsi_xferred = scsi_bufflen(host->SCpnt) - scsi 2277 drivers/scsi/arm/acornscsi.c host->scsi.phase = PHASE_STATUSIN; scsi 2284 drivers/scsi/arm/acornscsi.c host->scsi.SCp.scsi_xferred = scsi_bufflen(host->SCpnt) - scsi 2295 drivers/scsi/arm/acornscsi.c host->scsi.SCp.scsi_xferred = scsi_bufflen(host->SCpnt) - scsi 2384 drivers/scsi/arm/acornscsi.c clear_bit(host->scsi.reconnected.target * 8 + host->scsi.reconnected.lun, scsi 2386 drivers/scsi/arm/acornscsi.c host->scsi.phase = PHASE_IDLE; scsi 2510 drivers/scsi/arm/acornscsi.c if (host->scsi.phase == PHASE_IDLE) scsi 2587 drivers/scsi/arm/acornscsi.c switch (host->scsi.phase) { scsi 2597 drivers/scsi/arm/acornscsi.c if (host->scsi.disconnectable) { scsi 2598 drivers/scsi/arm/acornscsi.c host->scsi.disconnectable = 0; scsi 2658 drivers/scsi/arm/acornscsi.c print_sbic_status(asr, ssr, host->scsi.phase); scsi 2740 drivers/scsi/arm/acornscsi.c print_sbic_status(asr, ssr, host->scsi.phase); scsi 2813 drivers/scsi/arm/acornscsi.c host->base + SBIC_REGIDX, host->scsi.irq); scsi 2816 drivers/scsi/arm/acornscsi.c host->base + DMAC_OFFSET, host->scsi.irq); scsi 2919 drivers/scsi/arm/acornscsi.c ashost->scsi.irq = host->irq; scsi 2927 drivers/scsi/arm/acornscsi.c host->host_no, ashost->scsi.irq, ret); scsi 2934 drivers/scsi/arm/acornscsi.c msgqueue_initialise(&ashost->scsi.msgs); scsi 2947 drivers/scsi/arm/acornscsi.c msgqueue_free(&ashost->scsi.msgs); scsi 2975 drivers/scsi/arm/acornscsi.c msgqueue_free(&ashost->scsi.msgs); scsi 298 drivers/scsi/arm/acornscsi.h } scsi; scsi 118 drivers/scsi/arm/arxescsi.c void __iomem *base = info->info.scsi.io_base; scsi 218 drivers/scsi/arm/arxescsi.c host->hostt->name, info->info.scsi.type, info->ec->slot_no, scsi 280 drivers/scsi/arm/arxescsi.c info->info.scsi.io_base = base + 0x2000; scsi 281 drivers/scsi/arm/arxescsi.c info->info.scsi.irq = 0; scsi 282 drivers/scsi/arm/arxescsi.c info->info.scsi.dma = NO_DMA; scsi 283 drivers/scsi/arm/arxescsi.c info->info.scsi.io_shift = 5; scsi 159 drivers/scsi/arm/cumana_2.c int dmach = info->info.scsi.dma; scsi 283 drivers/scsi/arm/cumana_2.c if (info->info.scsi.dma != NO_DMA) { scsi 285 drivers/scsi/arm/cumana_2.c disable_dma(info->info.scsi.dma); scsi 300 drivers/scsi/arm/cumana_2.c host->hostt->name, info->info.scsi.type, info->ec->slot_no, scsi 403 drivers/scsi/arm/cumana_2.c info->info.scsi.io_base = base + CUMANASCSI2_FAS216_OFFSET; scsi 404 drivers/scsi/arm/cumana_2.c info->info.scsi.io_shift = CUMANASCSI2_FAS216_SHIFT; scsi 405 drivers/scsi/arm/cumana_2.c info->info.scsi.irq = ec->irq; scsi 406 drivers/scsi/arm/cumana_2.c info->info.scsi.dma = ec->dma; scsi 436 drivers/scsi/arm/cumana_2.c if (info->info.scsi.dma != NO_DMA) { scsi 437 drivers/scsi/arm/cumana_2.c if (request_dma(info->info.scsi.dma, "cumanascsi2")) { scsi 439 drivers/scsi/arm/cumana_2.c host->host_no, info->info.scsi.dma); scsi 440 drivers/scsi/arm/cumana_2.c info->info.scsi.dma = NO_DMA; scsi 442 drivers/scsi/arm/cumana_2.c set_dma_speed(info->info.scsi.dma, 180); scsi 451 drivers/scsi/arm/cumana_2.c if (info->info.scsi.dma != NO_DMA) scsi 452 drivers/scsi/arm/cumana_2.c free_dma(info->info.scsi.dma); scsi 476 drivers/scsi/arm/cumana_2.c if (info->info.scsi.dma != NO_DMA) scsi 477 drivers/scsi/arm/cumana_2.c free_dma(info->info.scsi.dma); scsi 160 drivers/scsi/arm/eesox.c int dmach = info->info.scsi.dma; scsi 370 drivers/scsi/arm/eesox.c if (info->info.scsi.dma != NO_DMA) scsi 371 drivers/scsi/arm/eesox.c disable_dma(info->info.scsi.dma); scsi 385 drivers/scsi/arm/eesox.c host->hostt->name, info->info.scsi.type, info->ec->slot_no, scsi 522 drivers/scsi/arm/eesox.c info->info.scsi.io_base = base + EESOX_FAS216_OFFSET; scsi 523 drivers/scsi/arm/eesox.c info->info.scsi.io_shift = EESOX_FAS216_SHIFT; scsi 524 drivers/scsi/arm/eesox.c info->info.scsi.irq = ec->irq; scsi 525 drivers/scsi/arm/eesox.c info->info.scsi.dma = ec->dma; scsi 556 drivers/scsi/arm/eesox.c if (info->info.scsi.dma != NO_DMA) { scsi 557 drivers/scsi/arm/eesox.c if (request_dma(info->info.scsi.dma, "eesox")) { scsi 559 drivers/scsi/arm/eesox.c host->host_no, info->info.scsi.dma); scsi 560 drivers/scsi/arm/eesox.c info->info.scsi.dma = NO_DMA; scsi 562 drivers/scsi/arm/eesox.c set_dma_speed(info->info.scsi.dma, 180); scsi 572 drivers/scsi/arm/eesox.c if (info->info.scsi.dma != NO_DMA) scsi 573 drivers/scsi/arm/eesox.c free_dma(info->info.scsi.dma); scsi 598 drivers/scsi/arm/eesox.c if (info->info.scsi.dma != NO_DMA) scsi 599 drivers/scsi/arm/eesox.c free_dma(info->info.scsi.dma); scsi 143 drivers/scsi/arm/fas216.c unsigned int off = reg << info->scsi.io_shift; scsi 144 drivers/scsi/arm/fas216.c return readb(info->scsi.io_base + off); scsi 149 drivers/scsi/arm/fas216.c unsigned int off = reg << info->scsi.io_shift; scsi 150 drivers/scsi/arm/fas216.c writeb(val, info->scsi.io_base + off); scsi 195 drivers/scsi/arm/fas216.c info->scsi.io_shift, info->scsi.irq, scsi 196 drivers/scsi/arm/fas216.c info->scsi.cfg[0], info->scsi.cfg[1], info->scsi.cfg[2], scsi 197 drivers/scsi/arm/fas216.c info->scsi.cfg[3]); scsi 199 drivers/scsi/arm/fas216.c info->scsi.type, info->scsi.phase); scsi 200 drivers/scsi/arm/fas216.c print_SCp(&info->scsi.SCp, " SCp={ ", " }\n"); scsi 202 drivers/scsi/arm/fas216.c info->scsi.async_stp, scsi 203 drivers/scsi/arm/fas216.c info->scsi.disconnectable, info->scsi.aborting); scsi 275 drivers/scsi/arm/fas216.c if (info->scsi.phase < ARRAY_SIZE(phases) && scsi 276 drivers/scsi/arm/fas216.c phases[info->scsi.phase]) scsi 277 drivers/scsi/arm/fas216.c return phases[info->scsi.phase]; scsi 418 drivers/scsi/arm/fas216.c while ((msg = msgqueue_getmsg(&info->scsi.msgs, msgnr++)) != NULL) { scsi 475 drivers/scsi/arm/fas216.c cntl3 = info->scsi.cfg[2]; scsi 560 drivers/scsi/arm/fas216.c msgqueue_flush(&info->scsi.msgs); scsi 561 drivers/scsi/arm/fas216.c msgqueue_addmsg(&info->scsi.msgs, 5, scsi 564 drivers/scsi/arm/fas216.c info->scsi.phase = PHASE_MSGOUT_EXPECT; scsi 603 drivers/scsi/arm/fas216.c msgqueue_flush(&info->scsi.msgs); scsi 604 drivers/scsi/arm/fas216.c msgqueue_addmsg(&info->scsi.msgs, 1, MESSAGE_REJECT); scsi 605 drivers/scsi/arm/fas216.c info->scsi.phase = PHASE_MSGOUT_EXPECT; scsi 611 drivers/scsi/arm/fas216.c dev->stp = info->scsi.async_stp; scsi 629 drivers/scsi/arm/fas216.c struct scsi_pointer *SCp = &info->scsi.SCp; scsi 669 drivers/scsi/arm/fas216.c struct scsi_pointer *SCp = &info->scsi.SCp; scsi 717 drivers/scsi/arm/fas216.c total = info->scsi.SCp.phase; scsi 719 drivers/scsi/arm/fas216.c total = info->scsi.SCp.this_residual; scsi 735 drivers/scsi/arm/fas216.c if (info->scsi.phase == PHASE_DATAOUT) scsi 754 drivers/scsi/arm/fas216.c info->scsi.SCp.ptr, info->scsi.SCp.this_residual, scsi 755 drivers/scsi/arm/fas216.c info->scsi.SCp.phase); scsi 757 drivers/scsi/arm/fas216.c if (!info->scsi.SCp.ptr) { scsi 760 drivers/scsi/arm/fas216.c print_SCp(&info->scsi.SCp, "SCp: ", "\n"); scsi 775 drivers/scsi/arm/fas216.c if (info->scsi.phase == PHASE_DATAOUT) scsi 781 drivers/scsi/arm/fas216.c dmatype = info->dma.setup(info->host, &info->scsi.SCp, scsi 786 drivers/scsi/arm/fas216.c fas216_set_stc(info, info->scsi.SCp.phase); scsi 788 drivers/scsi/arm/fas216.c fas216_set_stc(info, info->scsi.SCp.this_residual); scsi 794 drivers/scsi/arm/fas216.c fas216_writeb(info, REG_STP, info->scsi.async_stp); scsi 802 drivers/scsi/arm/fas216.c info->dma.pseudo(info->host, &info->scsi.SCp, scsi 835 drivers/scsi/arm/fas216.c info->dma.stop(info->host, &info->scsi.SCp); scsi 839 drivers/scsi/arm/fas216.c if (info->scsi.phase == PHASE_DATAIN) { scsi 848 drivers/scsi/arm/fas216.c while (fifo && info->scsi.SCp.ptr) { scsi 849 drivers/scsi/arm/fas216.c *info->scsi.SCp.ptr = fas216_readb(info, REG_FF); scsi 868 drivers/scsi/arm/fas216.c info->dma.stop(info->host, &info->scsi.SCp); scsi 889 drivers/scsi/arm/fas216.c info->scsi.phase); scsi 891 drivers/scsi/arm/fas216.c msgqueue_flush(&info->scsi.msgs); scsi 893 drivers/scsi/arm/fas216.c switch (info->scsi.phase) { scsi 900 drivers/scsi/arm/fas216.c info->scsi.disconnectable = 1; scsi 901 drivers/scsi/arm/fas216.c info->scsi.phase = PHASE_IDLE; scsi 904 drivers/scsi/arm/fas216.c if (info->scsi.phase == PHASE_IDLE) scsi 914 drivers/scsi/arm/fas216.c if (fas216_get_last_msg(info, info->scsi.msgin_fifo) == ABORT) { scsi 915 drivers/scsi/arm/fas216.c info->scsi.aborting = 0; scsi 946 drivers/scsi/arm/fas216.c WARN_ON(info->scsi.phase == PHASE_SELECTION || scsi 947 drivers/scsi/arm/fas216.c info->scsi.phase == PHASE_SELSTEPS); scsi 952 drivers/scsi/arm/fas216.c info->scsi.phase, cfis); scsi 984 drivers/scsi/arm/fas216.c msgqueue_flush(&info->scsi.msgs); scsi 989 drivers/scsi/arm/fas216.c if (info->scsi.disconnectable && info->SCpnt) { scsi 990 drivers/scsi/arm/fas216.c info->scsi.disconnectable = 0; scsi 1011 drivers/scsi/arm/fas216.c info->scsi.SCp = info->SCpnt->SCp; scsi 1014 drivers/scsi/arm/fas216.c info->scsi.SCp.ptr, info->scsi.SCp.this_residual); scsi 1015 drivers/scsi/arm/fas216.c info->scsi.phase = PHASE_MSGIN; scsi 1027 drivers/scsi/arm/fas216.c msgqueue_addmsg(&info->scsi.msgs, 2, ABORT_TAG, tag); scsi 1030 drivers/scsi/arm/fas216.c msgqueue_addmsg(&info->scsi.msgs, 1, ABORT); scsi 1031 drivers/scsi/arm/fas216.c info->scsi.phase = PHASE_MSGOUT_EXPECT; scsi 1032 drivers/scsi/arm/fas216.c info->scsi.aborting = 1; scsi 1046 drivers/scsi/arm/fas216.c msgqueue_flush(&info->scsi.msgs); scsi 1047 drivers/scsi/arm/fas216.c msgqueue_addmsg(&info->scsi.msgs, 1, INITIATOR_ERROR); scsi 1048 drivers/scsi/arm/fas216.c info->scsi.phase = PHASE_MSGOUT_EXPECT; scsi 1078 drivers/scsi/arm/fas216.c info->SCpnt->SCp = info->scsi.SCp; scsi 1082 drivers/scsi/arm/fas216.c info->scsi.SCp.ptr, info->scsi.SCp.this_residual); scsi 1092 drivers/scsi/arm/fas216.c info->scsi.SCp = info->SCpnt->SCp; scsi 1095 drivers/scsi/arm/fas216.c info->scsi.SCp.ptr, info->scsi.SCp.this_residual); scsi 1102 drivers/scsi/arm/fas216.c info->scsi.phase = PHASE_MSGIN_DISCONNECT; scsi 1109 drivers/scsi/arm/fas216.c switch (fas216_get_last_msg(info, info->scsi.msgin_fifo)) { scsi 1116 drivers/scsi/arm/fas216.c fas216_get_last_msg(info, info->scsi.msgin_fifo)); scsi 1157 drivers/scsi/arm/fas216.c msgqueue_flush(&info->scsi.msgs); scsi 1158 drivers/scsi/arm/fas216.c msgqueue_addmsg(&info->scsi.msgs, 1, MESSAGE_REJECT); scsi 1159 drivers/scsi/arm/fas216.c info->scsi.phase = PHASE_MSGOUT_EXPECT; scsi 1228 drivers/scsi/arm/fas216.c unsigned char *message = info->scsi.message; scsi 1274 drivers/scsi/arm/fas216.c msgqueue_flush(&info->scsi.msgs); scsi 1275 drivers/scsi/arm/fas216.c msgqueue_addmsg(&info->scsi.msgs, 1, MSG_PARITY_ERROR); scsi 1276 drivers/scsi/arm/fas216.c info->scsi.phase = PHASE_MSGOUT_EXPECT; scsi 1297 drivers/scsi/arm/fas216.c for (i = info->scsi.SCp.sent_command; i < info->SCpnt->cmd_len; i++) scsi 1302 drivers/scsi/arm/fas216.c info->scsi.phase = PHASE_COMMAND; scsi 1314 drivers/scsi/arm/fas216.c unsigned int tot_msglen = msgqueue_msglength(&info->scsi.msgs); scsi 1324 drivers/scsi/arm/fas216.c while ((msg = msgqueue_getmsg(&info->scsi.msgs, msgnr++)) != NULL) { scsi 1338 drivers/scsi/arm/fas216.c info->scsi.phase = PHASE_MSGOUT; scsi 1355 drivers/scsi/arm/fas216.c stat, is, info->scsi.phase); scsi 1357 drivers/scsi/arm/fas216.c switch (info->scsi.phase) { scsi 1389 drivers/scsi/arm/fas216.c switch (STATE(stat & STAT_BUSMASK, info->scsi.phase)) { scsi 1394 drivers/scsi/arm/fas216.c info->scsi.phase = PHASE_DATAIN; scsi 1409 drivers/scsi/arm/fas216.c info->scsi.phase = PHASE_DATAOUT; scsi 1423 drivers/scsi/arm/fas216.c info->scsi.phase = PHASE_STATUS; scsi 1434 drivers/scsi/arm/fas216.c info->scsi.msgin_fifo = fas216_readb(info, REG_CFIS) & CFIS_CF; scsi 1437 drivers/scsi/arm/fas216.c info->scsi.phase = PHASE_MSGIN; scsi 1441 drivers/scsi/arm/fas216.c info->scsi.msgin_fifo = fas216_readb(info, REG_CFIS) & CFIS_CF; scsi 1448 drivers/scsi/arm/fas216.c info->scsi.phase = PHASE_COMMAND; scsi 1477 drivers/scsi/arm/fas216.c fas216_writeb(info, REG_CNTL1, info->scsi.cfg[0]); scsi 1480 drivers/scsi/arm/fas216.c if (msgqueue_msglength(&info->scsi.msgs) > 1) scsi 1508 drivers/scsi/arm/fas216.c msgqueue_flush(&info->scsi.msgs); scsi 1509 drivers/scsi/arm/fas216.c msgqueue_addmsg(&info->scsi.msgs, 1, INITIATOR_ERROR); scsi 1510 drivers/scsi/arm/fas216.c info->scsi.phase = PHASE_MSGOUT_EXPECT; scsi 1514 drivers/scsi/arm/fas216.c if (info->scsi.phase == PHASE_MSGIN_DISCONNECT) { scsi 1518 drivers/scsi/arm/fas216.c msgqueue_flush(&info->scsi.msgs); scsi 1520 drivers/scsi/arm/fas216.c msgqueue_addmsg(&info->scsi.msgs, 1, INITIATOR_ERROR); scsi 1521 drivers/scsi/arm/fas216.c info->scsi.phase = PHASE_MSGOUT_EXPECT; scsi 1522 drivers/scsi/arm/fas216.c info->scsi.aborting = 1; scsi 1557 drivers/scsi/arm/fas216.c stat, is, info->scsi.phase); scsi 1559 drivers/scsi/arm/fas216.c switch (info->scsi.phase) { scsi 1567 drivers/scsi/arm/fas216.c info->scsi.SCp.Status = fas216_readb(info, REG_FF); scsi 1568 drivers/scsi/arm/fas216.c info->scsi.SCp.Message = fas216_readb(info, REG_FF); scsi 1569 drivers/scsi/arm/fas216.c info->scsi.phase = PHASE_DONE; scsi 1580 drivers/scsi/arm/fas216.c info->scsi.msgin_fifo = fifo_len; scsi 1598 drivers/scsi/arm/fas216.c msgqueue_flush(&info->scsi.msgs); scsi 1607 drivers/scsi/arm/fas216.c info->scsi.phase = PHASE_IDLE; scsi 1609 drivers/scsi/arm/fas216.c memset(&info->scsi.SCp, 0, sizeof(info->scsi.SCp)); scsi 1615 drivers/scsi/arm/fas216.c info->device[i].stp = info->scsi.async_stp; scsi 1641 drivers/scsi/arm/fas216.c add_debug_list(stat, is, inst, info->scsi.phase); scsi 1687 drivers/scsi/arm/fas216.c tot_msglen = msgqueue_msglength(&info->scsi.msgs); scsi 1696 drivers/scsi/arm/fas216.c while ((msg = msgqueue_getmsg(&info->scsi.msgs, msgnr++)) != NULL) { scsi 1713 drivers/scsi/arm/fas216.c info->scsi.phase = PHASE_SELSTEPS; scsi 1716 drivers/scsi/arm/fas216.c while ((msg = msgqueue_getmsg(&info->scsi.msgs, msgnr++)) != NULL) { scsi 1736 drivers/scsi/arm/fas216.c struct message *msg = msgqueue_getmsg(&info->scsi.msgs, 0); scsi 1768 drivers/scsi/arm/fas216.c info->scsi.phase = PHASE_SELECTION; scsi 1769 drivers/scsi/arm/fas216.c info->scsi.SCp = SCpnt->SCp; scsi 1774 drivers/scsi/arm/fas216.c fas216_writeb(info, REG_CNTL1, info->scsi.cfg[0] | CNTL1_PTE); scsi 1776 drivers/scsi/arm/fas216.c fas216_writeb(info, REG_CNTL1, info->scsi.cfg[0]); scsi 1787 drivers/scsi/arm/fas216.c msgqueue_flush(&info->scsi.msgs); scsi 1788 drivers/scsi/arm/fas216.c msgqueue_addmsg(&info->scsi.msgs, 1, IDENTIFY(disconnect_ok, SCpnt->device->lun)); scsi 1794 drivers/scsi/arm/fas216.c msgqueue_addmsg(&info->scsi.msgs, 2, SIMPLE_QUEUE_TAG, SCpnt->tag); scsi 1803 drivers/scsi/arm/fas216.c msgqueue_addmsg(&info->scsi.msgs, 5, scsi 1858 drivers/scsi/arm/fas216.c info->scsi.phase = PHASE_SELECTION; scsi 1859 drivers/scsi/arm/fas216.c info->scsi.SCp = SCpnt->SCp; scsi 1865 drivers/scsi/arm/fas216.c msgqueue_flush(&info->scsi.msgs); scsi 1866 drivers/scsi/arm/fas216.c msgqueue_addmsg(&info->scsi.msgs, 1, BUS_DEVICE_RESET); scsi 1882 drivers/scsi/arm/fas216.c msg = msgqueue_getmsg(&info->scsi.msgs, 0); scsi 1952 drivers/scsi/arm/fas216.c if (info->scsi.disconnectable && info->SCpnt) { scsi 1957 drivers/scsi/arm/fas216.c info->scsi.disconnectable = 0; scsi 1977 drivers/scsi/arm/fas216.c info->scsi.SCp.ptr, info->scsi.SCp.this_residual); scsi 2045 drivers/scsi/arm/fas216.c SCpnt->result = result << 16 | info->scsi.SCp.Message << 8 | scsi 2046 drivers/scsi/arm/fas216.c info->scsi.SCp.Status; scsi 2080 drivers/scsi/arm/fas216.c if (info->scsi.SCp.ptr) { scsi 2090 drivers/scsi/arm/fas216.c SCpnt->result, info->scsi.SCp.ptr, scsi 2091 drivers/scsi/arm/fas216.c info->scsi.SCp.this_residual); scsi 2152 drivers/scsi/arm/fas216.c info->scsi.phase = PHASE_IDLE; scsi 2154 drivers/scsi/arm/fas216.c if (info->scsi.aborting) { scsi 2157 drivers/scsi/arm/fas216.c info->scsi.aborting = 0; scsi 2164 drivers/scsi/arm/fas216.c if (info->scsi.SCp.ptr && info->scsi.SCp.this_residual == 0) { scsi 2167 drivers/scsi/arm/fas216.c info->scsi.SCp.ptr, info->scsi.SCp.this_residual); scsi 2168 drivers/scsi/arm/fas216.c info->scsi.SCp.ptr = NULL; scsi 2184 drivers/scsi/arm/fas216.c if (info->scsi.irq) { scsi 2186 drivers/scsi/arm/fas216.c if (info->scsi.phase == PHASE_IDLE) scsi 2238 drivers/scsi/arm/fas216.c if (result == 0 && info->scsi.phase == PHASE_IDLE) scsi 2284 drivers/scsi/arm/fas216.c BUG_ON(info->scsi.irq); scsi 2382 drivers/scsi/arm/fas216.c switch (info->scsi.phase) { scsi 2388 drivers/scsi/arm/fas216.c if (info->scsi.disconnectable) { scsi 2389 drivers/scsi/arm/fas216.c info->scsi.disconnectable = 0; scsi 2494 drivers/scsi/arm/fas216.c if (info->SCpnt && !info->scsi.disconnectable && scsi 2522 drivers/scsi/arm/fas216.c if (info->scsi.phase == PHASE_IDLE) scsi 2575 drivers/scsi/arm/fas216.c fas216_writeb(info, REG_CNTL3, info->scsi.cfg[2]); scsi 2608 drivers/scsi/arm/fas216.c info->scsi.phase = PHASE_IDLE; scsi 2641 drivers/scsi/arm/fas216.c fas216_writeb(info, REG_CNTL1, info->scsi.cfg[0]); scsi 2642 drivers/scsi/arm/fas216.c fas216_writeb(info, REG_CNTL2, info->scsi.cfg[1]); scsi 2643 drivers/scsi/arm/fas216.c fas216_writeb(info, REG_CNTL3, info->scsi.cfg[2]); scsi 2646 drivers/scsi/arm/fas216.c fas216_writeb(info, REG_STP, info->scsi.async_stp); scsi 2647 drivers/scsi/arm/fas216.c fas216_writeb(info, REG_CNTL1, info->scsi.cfg[0]); scsi 2812 drivers/scsi/arm/fas216.c info->scsi.disconnectable = 0; scsi 2813 drivers/scsi/arm/fas216.c info->scsi.aborting = 0; scsi 2848 drivers/scsi/arm/fas216.c info->scsi.cfg[0] = host->this_id | CNTL1_PERE; scsi 2849 drivers/scsi/arm/fas216.c info->scsi.cfg[1] = CNTL2_ENF | CNTL2_S2FE; scsi 2850 drivers/scsi/arm/fas216.c info->scsi.cfg[2] = info->ifcfg.cntl3 | scsi 2852 drivers/scsi/arm/fas216.c info->scsi.async_stp = fas216_syncperiod(info, info->ifcfg.asyncperiod); scsi 2863 drivers/scsi/arm/fas216.c msgqueue_initialise(&info->scsi.msgs); scsi 2897 drivers/scsi/arm/fas216.c info->scsi.type = chip_types[type]; scsi 2911 drivers/scsi/arm/fas216.c fas216_writeb(info, REG_CNTL1, info->scsi.cfg[0] | CNTL1_DISR); scsi 2921 drivers/scsi/arm/fas216.c fas216_writeb(info, REG_CNTL1, info->scsi.cfg[0]); scsi 2968 drivers/scsi/arm/fas216.c info->scsi.type, info->scsi.io_base, scsi 2969 drivers/scsi/arm/fas216.c info->scsi.irq, info->scsi.dma); scsi 251 drivers/scsi/arm/fas216.h } scsi; scsi 133 drivers/scsi/arm/powertec.c int dmach = info->info.scsi.dma; scsi 173 drivers/scsi/arm/powertec.c if (info->info.scsi.dma != NO_DMA) scsi 174 drivers/scsi/arm/powertec.c disable_dma(info->info.scsi.dma); scsi 188 drivers/scsi/arm/powertec.c host->hostt->name, info->info.scsi.type, info->ec->slot_no, scsi 329 drivers/scsi/arm/powertec.c info->info.scsi.io_base = base + POWERTEC_FAS216_OFFSET; scsi 330 drivers/scsi/arm/powertec.c info->info.scsi.io_shift = POWERTEC_FAS216_SHIFT; scsi 331 drivers/scsi/arm/powertec.c info->info.scsi.irq = ec->irq; scsi 332 drivers/scsi/arm/powertec.c info->info.scsi.dma = ec->dma; scsi 364 drivers/scsi/arm/powertec.c if (info->info.scsi.dma != NO_DMA) { scsi 365 drivers/scsi/arm/powertec.c if (request_dma(info->info.scsi.dma, "powertec")) { scsi 367 drivers/scsi/arm/powertec.c host->host_no, info->info.scsi.dma); scsi 368 drivers/scsi/arm/powertec.c info->info.scsi.dma = NO_DMA; scsi 370 drivers/scsi/arm/powertec.c set_dma_speed(info->info.scsi.dma, 180); scsi 379 drivers/scsi/arm/powertec.c if (info->info.scsi.dma != NO_DMA) scsi 380 drivers/scsi/arm/powertec.c free_dma(info->info.scsi.dma); scsi 407 drivers/scsi/arm/powertec.c if (info->info.scsi.dma != NO_DMA) scsi 408 drivers/scsi/arm/powertec.c free_dma(info->info.scsi.dma); scsi 1158 drivers/scsi/esas2r/atioctl.h struct atto_ioctl_vda_scsi_cmd scsi; scsi 1218 drivers/scsi/esas2r/atvda.h struct atto_vda_scsi_req scsi; scsi 1187 drivers/scsi/esas2r/esas2r.h rq->vrq->scsi.sg_list_offset = (u8) scsi 1192 drivers/scsi/esas2r/esas2r.h sgc->sge.a64.curr = &rq->vrq->scsi.u.sge[0]; scsi 1193 drivers/scsi/esas2r/esas2r.h rq->vrq->scsi.sg_list_offset = scsi 1228 drivers/scsi/esas2r/esas2r.h if (a->req_table[LOWORD(vrq->scsi.handle)]) scsi 1234 drivers/scsi/esas2r/esas2r.h a->req_table[LOWORD(vrq->scsi.handle)] = rq; scsi 1240 drivers/scsi/esas2r/esas2r.h vrq->scsi.handle = (a->cmd_ref_no++ << 16) | (u16)vrq->scsi.handle; scsi 1247 drivers/scsi/esas2r/esas2r.h vrq->scsi.function = VDA_FUNC_SCSI; scsi 1248 drivers/scsi/esas2r/esas2r.h vrq->scsi.sense_len = SENSE_DATA_SZ; scsi 1251 drivers/scsi/esas2r/esas2r.h vrq->scsi.sg_list_offset = 0; scsi 1252 drivers/scsi/esas2r/esas2r.h vrq->scsi.chain_offset = 0; scsi 1253 drivers/scsi/esas2r/esas2r.h vrq->scsi.flags = 0; scsi 1254 drivers/scsi/esas2r/esas2r.h vrq->scsi.reserved = 0; scsi 1257 drivers/scsi/esas2r/esas2r.h vrq->scsi.ppsense_buf scsi 1280 drivers/scsi/esas2r/esas2r.h a->req_table[LOWORD(rq->vrq->scsi.handle)] = NULL; scsi 1305 drivers/scsi/esas2r/esas2r.h if (unlikely(le32_to_cpu(rq->vrq->scsi.length) == 0)) scsi 1171 drivers/scsi/esas2r/esas2r_disc.c if (rq->vrq->scsi.function == VDA_FUNC_SCSI) { scsi 1175 drivers/scsi/esas2r/esas2r_disc.c rq->vrq->scsi.target_id = le16_to_cpu( scsi 128 drivers/scsi/esas2r/esas2r_init.c rq->vrq->scsi.handle = a->num_vrqs; scsi 264 drivers/scsi/esas2r/esas2r_int.c if (unlikely(rq == NULL || rq->vrq->scsi.handle != handle)) { scsi 278 drivers/scsi/esas2r/esas2r_int.c if (likely(rq->vrq->scsi.function == VDA_FUNC_SCSI)) { scsi 920 drivers/scsi/esas2r/esas2r_int.c if (rq->vrq->scsi.function == VDA_FUNC_FLASH scsi 935 drivers/scsi/esas2r/esas2r_int.c if (likely(rq->vrq->scsi.function == VDA_FUNC_SCSI) scsi 54 drivers/scsi/esas2r/esas2r_io.c if (rq->vrq->scsi.function == VDA_FUNC_SCSI) scsi 58 drivers/scsi/esas2r/esas2r_io.c } else if (likely(rq->vrq->scsi.function == VDA_FUNC_SCSI)) { scsi 66 drivers/scsi/esas2r/esas2r_io.c rq->vrq->scsi.target_id = cpu_to_le16(t->virt_targ_id); scsi 85 drivers/scsi/esas2r/esas2r_io.c esas2r_trace("rq->vrq->scsi.handle=%x", rq->vrq->scsi.handle); scsi 87 drivers/scsi/esas2r/esas2r_io.c if (rq->vrq->scsi.function == VDA_FUNC_SCSI) { scsi 89 drivers/scsi/esas2r/esas2r_io.c esas2r_trace("rq->vrq->scsi.flags=%x", rq->vrq->scsi.flags); scsi 127 drivers/scsi/esas2r/esas2r_io.c if (unlikely(rq->vrq->scsi.function == VDA_FUNC_FLASH scsi 176 drivers/scsi/esas2r/esas2r_io.c esas2r_trace("rq->vrq->scsi.handle:%x", rq->vrq->scsi.handle); scsi 278 drivers/scsi/esas2r/esas2r_io.c vrq->scsi.chain_offset = (u8) scsi 289 drivers/scsi/esas2r/esas2r_io.c (vrq->scsi.chain_offset + scsi 533 drivers/scsi/esas2r/esas2r_io.c u8 *cdb = (u8 *)&rq->vrq->scsi.cdb[0]; scsi 540 drivers/scsi/esas2r/esas2r_io.c if (rq->vrq->scsi.function == VDA_FUNC_SCSI scsi 545 drivers/scsi/esas2r/esas2r_io.c switch (rq->vrq->scsi.cdb[0]) { scsi 591 drivers/scsi/esas2r/esas2r_io.c rq->vrq->scsi.iblk_cnt_prd = 0; scsi 639 drivers/scsi/esas2r/esas2r_io.c rq->vrq->scsi.iblk_cnt_prd++; scsi 768 drivers/scsi/esas2r/esas2r_io.c u8 lun = (u8)le32_to_cpu(rqaux->vrq->scsi.flags); scsi 785 drivers/scsi/esas2r/esas2r_io.c if (rq->vrq->scsi.function == VDA_FUNC_SCSI scsi 787 drivers/scsi/esas2r/esas2r_io.c && (((u8)le32_to_cpu(rq->vrq->scsi.flags)) == lun scsi 804 drivers/scsi/esas2r/esas2r_io.c rqaux->vrq->scsi.length = 0; scsi 806 drivers/scsi/esas2r/esas2r_io.c rqaux->vrq->scsi.flags |= cpu_to_le32(lun); scsi 807 drivers/scsi/esas2r/esas2r_io.c memset(rqaux->vrq->scsi.cdb, 0, sizeof(rqaux->vrq->scsi.cdb)); scsi 808 drivers/scsi/esas2r/esas2r_io.c rqaux->vrq->scsi.flags |= scsi 818 drivers/scsi/esas2r/esas2r_io.c if (rq->vrq->scsi.function == VDA_FUNC_SCSI scsi 820 drivers/scsi/esas2r/esas2r_io.c && (((u8)le32_to_cpu(rq->vrq->scsi.flags)) == lun scsi 334 drivers/scsi/esas2r/esas2r_ioctl.c rq->vrq->scsi.flags |= cpu_to_le32(rq->func_rsp.ioctl_rsp.csmi.lun); scsi 357 drivers/scsi/esas2r/esas2r_ioctl.c ioctl->csmi.lun = (u8)le32_to_cpu(rq->vrq->scsi.flags); scsi 425 drivers/scsi/esas2r/esas2r_ioctl.c rq->vrq->scsi.flags |= cpu_to_le32(lun); scsi 569 drivers/scsi/esas2r/esas2r_ioctl.c gda->sas_lun[1] = (u8)le32_to_cpu(rq->vrq->scsi.flags); scsi 1013 drivers/scsi/esas2r/esas2r_ioctl.c rq->vrq->scsi.flags |= cpu_to_le32(spt->lun[1]); scsi 1014 drivers/scsi/esas2r/esas2r_ioctl.c memcpy(rq->vrq->scsi.cdb, spt->cdb, 16); scsi 1015 drivers/scsi/esas2r/esas2r_ioctl.c rq->vrq->scsi.length = cpu_to_le32(hi->data_length); scsi 1030 drivers/scsi/esas2r/esas2r_ioctl.c rq->vrq->scsi.flags |= cpu_to_le32(FCP_CMND_RDD); scsi 1032 drivers/scsi/esas2r/esas2r_ioctl.c rq->vrq->scsi.flags |= cpu_to_le32(FCP_CMND_WRD); scsi 1041 drivers/scsi/esas2r/esas2r_ioctl.c rq->vrq->scsi.flags |= scsi 1044 drivers/scsi/esas2r/esas2r_ioctl.c rq->vrq->scsi.flags |= cpu_to_le32(FCP_CMND_TA_HEAD_Q); scsi 840 drivers/scsi/esas2r/esas2r_main.c rq->vrq->scsi.flags |= cpu_to_le32(FCP_CMND_WRD); scsi 842 drivers/scsi/esas2r/esas2r_main.c rq->vrq->scsi.flags |= cpu_to_le32(FCP_CMND_RDD); scsi 845 drivers/scsi/esas2r/esas2r_main.c memcpy(rq->vrq->scsi.cdb, cmd->cmnd, cmd->cmd_len); scsi 846 drivers/scsi/esas2r/esas2r_main.c rq->vrq->scsi.length = cpu_to_le32(bufflen); scsi 848 drivers/scsi/esas2r/esas2r_main.c rq->vrq->scsi.flags |= cpu_to_le32(cmd->device->lun); scsi 937 drivers/scsi/esas2r/esas2r_main.c ar->vrq->scsi.length = 0; scsi 939 drivers/scsi/esas2r/esas2r_main.c ar->vrq->scsi.flags |= cpu_to_le32( scsi 940 drivers/scsi/esas2r/esas2r_main.c (u8)le32_to_cpu(rq->vrq->scsi.flags)); scsi 942 drivers/scsi/esas2r/esas2r_main.c memset(ar->vrq->scsi.cdb, 0, scsi 943 drivers/scsi/esas2r/esas2r_main.c sizeof(ar->vrq->scsi.cdb)); scsi 945 drivers/scsi/esas2r/esas2r_main.c ar->vrq->scsi.flags |= cpu_to_le32( scsi 947 drivers/scsi/esas2r/esas2r_main.c ar->vrq->scsi.u.abort_handle = scsi 948 drivers/scsi/esas2r/esas2r_main.c rq->vrq->scsi.handle; scsi 1134 drivers/scsi/esas2r/esas2r_main.c rq->vrq->scsi.flags |= cpu_to_le32(cmd->device->lun); scsi 1201 drivers/scsi/esas2r/esas2r_main.c if (rq->vrq->scsi.function == VDA_FUNC_SCSI) { scsi 1208 drivers/scsi/esas2r/esas2r_main.c rq->vrq->scsi.cdb[0]); scsi 1212 drivers/scsi/esas2r/esas2r_main.c rq->vrq->scsi.cdb[0]); scsi 1214 drivers/scsi/esas2r/esas2r_main.c } else if ((rq->vrq->scsi.cdb[0] != INQUIRY scsi 1215 drivers/scsi/esas2r/esas2r_main.c && rq->vrq->scsi.cdb[0] != REPORT_LUNS) scsi 1219 drivers/scsi/esas2r/esas2r_main.c (rq->vrq->scsi.cdb[0] == INQUIRY)) { scsi 1224 drivers/scsi/esas2r/esas2r_main.c rq->vrq->scsi.cdb[0], reqstatus, scsi 95 drivers/scsi/esas2r/esas2r_vda.c rq->vrq->scsi.function = vi->function; scsi 357 drivers/scsi/esas2r/esas2r_vda.c rq->vrq->scsi.function = VDA_FUNC_FLASH; scsi 384 drivers/scsi/esas2r/esas2r_vda.c rq->vrq->scsi.function = VDA_FUNC_MGT; scsi 426 drivers/scsi/esas2r/esas2r_vda.c rq->vrq->scsi.function = VDA_FUNC_AE; scsi 457 drivers/scsi/esas2r/esas2r_vda.c rq->vrq->scsi.function = VDA_FUNC_CLI; scsi 474 drivers/scsi/esas2r/esas2r_vda.c rq->vrq->scsi.function = VDA_FUNC_IOCTL; scsi 492 drivers/scsi/esas2r/esas2r_vda.c rq->vrq->scsi.function = VDA_FUNC_CFG; scsi 506 drivers/scsi/esas2r/esas2r_vda.c u32 handle = rq->vrq->scsi.handle; scsi 510 drivers/scsi/esas2r/esas2r_vda.c rq->vrq->scsi.handle = handle; scsi 354 drivers/scsi/mpt3sas/mpt3sas_trigger_diag.c event_data.u.scsi.SenseKey = sense_key; scsi 355 drivers/scsi/mpt3sas/mpt3sas_trigger_diag.c event_data.u.scsi.ASC = asc; scsi 356 drivers/scsi/mpt3sas/mpt3sas_trigger_diag.c event_data.u.scsi.ASCQ = ascq; scsi 190 drivers/scsi/mpt3sas/mpt3sas_trigger_diag.h struct SL_WH_SCSI_TRIGGER_T scsi; scsi 1125 drivers/scsi/scsi_transport_spi.c char *scsi = "FAST-?"; scsi 1131 drivers/scsi/scsi_transport_spi.c case 7: scsi = "FAST-320"; break; scsi 1132 drivers/scsi/scsi_transport_spi.c case 8: scsi = "FAST-160"; break; scsi 1133 drivers/scsi/scsi_transport_spi.c case 9: scsi = "FAST-80"; break; scsi 1135 drivers/scsi/scsi_transport_spi.c case 11: scsi = "FAST-40"; break; scsi 1136 drivers/scsi/scsi_transport_spi.c case 12: scsi = "FAST-20"; break; scsi 1141 drivers/scsi/scsi_transport_spi.c scsi = "FAST-20"; scsi 1143 drivers/scsi/scsi_transport_spi.c scsi = "FAST-10"; scsi 1145 drivers/scsi/scsi_transport_spi.c scsi = "FAST-5"; scsi 1155 drivers/scsi/scsi_transport_spi.c scsi, tp->width ? "WIDE " : "", kb100/10, kb100 % 10, scsi 510 drivers/staging/unisys/include/iochannel.h struct uiscmdrsp_scsi scsi; scsi 531 drivers/staging/unisys/visorhba/visorhba_main.c cmdrsp->scsi.handle = insert_location; scsi 536 drivers/staging/unisys/visorhba/visorhba_main.c cmdrsp->scsi.vdest.channel = scsidev->channel; scsi 537 drivers/staging/unisys/visorhba/visorhba_main.c cmdrsp->scsi.vdest.id = scsidev->id; scsi 538 drivers/staging/unisys/visorhba/visorhba_main.c cmdrsp->scsi.vdest.lun = scsidev->lun; scsi 540 drivers/staging/unisys/visorhba/visorhba_main.c cmdrsp->scsi.data_dir = scsi 542 drivers/staging/unisys/visorhba/visorhba_main.c memcpy(cmdrsp->scsi.cmnd, cdb, MAX_CMND_SIZE); scsi 543 drivers/staging/unisys/visorhba/visorhba_main.c cmdrsp->scsi.bufflen = scsi_bufflen(scsicmd); scsi 546 drivers/staging/unisys/visorhba/visorhba_main.c if (cmdrsp->scsi.bufflen > devdata->max_buff_len) scsi 547 drivers/staging/unisys/visorhba/visorhba_main.c devdata->max_buff_len = cmdrsp->scsi.bufflen; scsi 557 drivers/staging/unisys/visorhba/visorhba_main.c cmdrsp->scsi.gpi_list[i].address = sg_phys(sg); scsi 558 drivers/staging/unisys/visorhba/visorhba_main.c cmdrsp->scsi.gpi_list[i].length = sg->length; scsi 560 drivers/staging/unisys/visorhba/visorhba_main.c cmdrsp->scsi.guest_phys_entries = scsi_sg_count(scsicmd); scsi 797 drivers/staging/unisys/visorhba/visorhba_main.c memcpy(scsicmd->sense_buffer, cmdrsp->scsi.sensebuf, MAX_SENSE_SIZE); scsi 800 drivers/staging/unisys/visorhba/visorhba_main.c if (cmdrsp->scsi.cmnd[0] == INQUIRY && scsi 801 drivers/staging/unisys/visorhba/visorhba_main.c (host_byte(cmdrsp->scsi.linuxstat) == DID_NO_CONNECT) && scsi 802 drivers/staging/unisys/visorhba/visorhba_main.c cmdrsp->scsi.addlstat == ADDL_SEL_TIMEOUT) scsi 850 drivers/staging/unisys/visorhba/visorhba_main.c if (cmdrsp->scsi.cmnd[0] == INQUIRY && scsi 851 drivers/staging/unisys/visorhba/visorhba_main.c cmdrsp->scsi.bufflen >= MIN_INQUIRY_RESULT_LEN) { scsi 852 drivers/staging/unisys/visorhba/visorhba_main.c if (cmdrsp->scsi.no_disk_result == 0) scsi 864 drivers/staging/unisys/visorhba/visorhba_main.c set_no_disk_inquiry_result(buf, (size_t)cmdrsp->scsi.bufflen, scsi 869 drivers/staging/unisys/visorhba/visorhba_main.c cmdrsp->scsi.bufflen); scsi 904 drivers/staging/unisys/visorhba/visorhba_main.c scsicmd->result = cmdrsp->scsi.linuxstat; scsi 905 drivers/staging/unisys/visorhba/visorhba_main.c if (cmdrsp->scsi.linuxstat) scsi 936 drivers/staging/unisys/visorhba/visorhba_main.c cmdrsp->scsi.handle); scsi 90 fs/nfs/blocklayout/blocklayout.h } scsi; scsi 144 fs/nfs/blocklayout/dev.c b->scsi.code_set = be32_to_cpup(p++); scsi 145 fs/nfs/blocklayout/dev.c b->scsi.designator_type = be32_to_cpup(p++); scsi 146 fs/nfs/blocklayout/dev.c b->scsi.designator_len = be32_to_cpup(p++); scsi 147 fs/nfs/blocklayout/dev.c p = xdr_inline_decode(xdr, b->scsi.designator_len); scsi 150 fs/nfs/blocklayout/dev.c if (b->scsi.designator_len > 256) scsi 152 fs/nfs/blocklayout/dev.c memcpy(&b->scsi.designator, p, b->scsi.designator_len); scsi 156 fs/nfs/blocklayout/dev.c p = xdr_decode_hyper(p, &b->scsi.pr_key); scsi 266 fs/nfs/blocklayout/dev.c switch (v->scsi.designator_type) { scsi 268 fs/nfs/blocklayout/dev.c if (v->scsi.code_set != PS_CODE_SET_BINARY) scsi 271 fs/nfs/blocklayout/dev.c if (v->scsi.designator_len != 8 && scsi 272 fs/nfs/blocklayout/dev.c v->scsi.designator_len != 10 && scsi 273 fs/nfs/blocklayout/dev.c v->scsi.designator_len != 16) scsi 278 fs/nfs/blocklayout/dev.c if (v->scsi.code_set != PS_CODE_SET_BINARY) scsi 281 fs/nfs/blocklayout/dev.c if (v->scsi.designator_len != 8 && scsi 282 fs/nfs/blocklayout/dev.c v->scsi.designator_len != 16) scsi 290 fs/nfs/blocklayout/dev.c v->scsi.code_set, scsi 291 fs/nfs/blocklayout/dev.c v->scsi.designator_type, scsi 292 fs/nfs/blocklayout/dev.c v->scsi.designator_len); scsi 297 fs/nfs/blocklayout/dev.c v->scsi.code_set, scsi 298 fs/nfs/blocklayout/dev.c v->scsi.designator_type, scsi 299 fs/nfs/blocklayout/dev.c v->scsi.designator_len); scsi 315 fs/nfs/blocklayout/dev.c v->scsi.designator_len, v->scsi.designator); scsi 341 fs/nfs/blocklayout/dev.c v->scsi.designator_type, scsi 342 fs/nfs/blocklayout/dev.c v->scsi.designator_len, v->scsi.designator); scsi 372 fs/nfs/blocklayout/dev.c d->pr_key = v->scsi.pr_key; scsi 295 fs/nfsd/blocklayout.c b->scsi.code_set = PS_CODE_SET_BINARY; scsi 296 fs/nfsd/blocklayout.c b->scsi.designator_type = type == 0x02 ? scsi 298 fs/nfsd/blocklayout.c b->scsi.designator_len = id_len; scsi 299 fs/nfsd/blocklayout.c memcpy(b->scsi.designator, d + 4, id_len); scsi 348 fs/nfsd/blocklayout.c b->scsi.pr_key = nfsd4_scsi_pr_key(clp); scsi 59 fs/nfsd/blocklayoutxdr.c len = 4 + 4 + 4 + 4 + (XDR_QUADLEN(b->scsi.designator_len) << 2) + 8; scsi 65 fs/nfsd/blocklayoutxdr.c *p++ = cpu_to_be32(b->scsi.code_set); scsi 66 fs/nfsd/blocklayoutxdr.c *p++ = cpu_to_be32(b->scsi.designator_type); scsi 67 fs/nfsd/blocklayoutxdr.c p = xdr_encode_opaque(p, b->scsi.designator, b->scsi.designator_len); scsi 68 fs/nfsd/blocklayoutxdr.c p = xdr_encode_hyper(p, b->scsi.pr_key); scsi 44 fs/nfsd/blocklayoutxdr.h } scsi; scsi 3 include/trace/events/scsi.h #define TRACE_SYSTEM scsi scsi 135 include/uapi/linux/edd.h } __attribute__ ((packed)) scsi; scsi 60 include/uapi/linux/pg.h char scsi; /* "scsi" status == sense key */