/drivers/scsi/megaraid/ |
H A D | mega_common.h | 53 * @scp : associated scsi command 73 struct scsi_cmnd *scp; member in struct:__anon5805 203 #define SCP2HOST(scp) (scp)->device->host // to host 204 #define SCP2HOSTDATA(scp) SCP2HOST(scp)->hostdata // to soft state 205 #define SCP2CHANNEL(scp) (scp)->device->channel // to channel 206 #define SCP2TARGET(scp) (scp) [all...] |
H A D | megaraid_mbox.c | 1106 scb->scp = NULL; 1304 * @scp : pointer to the scsi command to be executed 1310 megaraid_alloc_scb(adapter_t *adapter, struct scsi_cmnd *scp) argument 1330 scb->scp = scp; 1354 scb->scp = NULL; 1377 struct scsi_cmnd *scp; local 1382 scp = scb->scp; 1385 sgcnt = scsi_dma_map(scp); 1481 megaraid_queue_command_lck(struct scsi_cmnd *scp, void (*done)(struct scsi_cmnd *)) argument 1524 megaraid_mbox_build_cmd(adapter_t *adapter, struct scsi_cmnd *scp, int *busy) argument 1979 megaraid_mbox_prepare_pthru(adapter_t *adapter, scb_t *scb, struct scsi_cmnd *scp) argument 2028 megaraid_mbox_prepare_epthru(adapter_t *adapter, scb_t *scb, struct scsi_cmnd *scp) argument 2248 struct scsi_cmnd *scp; local 2455 megaraid_abort_handler(struct scsi_cmnd *scp) argument 2593 megaraid_reset_handler(struct scsi_cmnd *scp) argument 3404 struct scsi_cmnd *scp; local [all...] |
H A D | megaraid_sas_fusion.c | 1241 * @scp: SCSI command from the mid-layer 1249 struct scsi_cmnd *scp, 1266 sge_count = scsi_dma_map(scp); 1273 scsi_for_each_sg(scp, os_sgl, sge_count, i) { 1339 struct IO_REQUEST_INFO *io_info, struct scsi_cmnd *scp, 1357 if (scp->sc_data_direction == PCI_DMA_FROMDEVICE) 1386 if (scp->sc_data_direction == PCI_DMA_FROMDEVICE) { 1399 io_request->EEDPBlockSize = cpu_to_le32(scp->device->sector_size); 1508 * @scp: SCSI command 1516 struct scsi_cmnd *scp, 1248 megasas_make_sgl_fusion(struct megasas_instance *instance, struct scsi_cmnd *scp, struct MPI25_IEEE_SGE_CHAIN64 *sgl_ptr, struct megasas_cmd_fusion *cmd) argument 1338 megasas_set_pd_lba(struct MPI2_RAID_SCSI_IO_REQUEST *io_request, u8 cdb_len, struct IO_REQUEST_INFO *io_info, struct scsi_cmnd *scp, struct MR_DRV_RAID_MAP_ALL *local_map_ptr, u32 ref_tag) argument 1515 megasas_build_ldio_fusion(struct megasas_instance *instance, struct scsi_cmnd *scp, struct megasas_cmd_fusion *cmd) argument 1821 megasas_build_io_fusion(struct megasas_instance *instance, struct scsi_cmnd *scp, struct megasas_cmd_fusion *cmd) argument [all...] |
H A D | megaraid_sas_base.c | 1036 * @scp: SCSI command from the mid-layer 1043 megasas_make_sgl32(struct megasas_instance *instance, struct scsi_cmnd *scp, argument 1050 sge_count = scsi_dma_map(scp); 1054 scsi_for_each_sg(scp, os_sgl, sge_count, i) { 1065 * @scp: SCSI command from the mid-layer 1072 megasas_make_sgl64(struct megasas_instance *instance, struct scsi_cmnd *scp, argument 1079 sge_count = scsi_dma_map(scp); 1083 scsi_for_each_sg(scp, os_sgl, sge_count, i) { 1094 * @scp: SCSI command from the mid-layer 1102 struct scsi_cmnd *scp, unio 1101 megasas_make_sgl_skinny(struct megasas_instance *instance, struct scsi_cmnd *scp, union megasas_sgl *mfi_sgl) argument 1191 megasas_build_dcdb(struct megasas_instance *instance, struct scsi_cmnd *scp, struct megasas_cmd *cmd) argument 1290 megasas_build_ldio(struct megasas_instance *instance, struct scsi_cmnd *scp, struct megasas_cmd *cmd) argument [all...] |
H A D | megaraid_sas.h | 1825 #define MEGASAS_IS_LOGICAL(scp) \ 1826 (scp->device->channel < MEGASAS_MAX_PD_CHANNELS) ? 0 : 1 1828 #define MEGASAS_DEV_INDEX(inst, scp) \ 1829 ((scp->device->channel % 2) * MEGASAS_MAX_DEV_PER_CHANNEL) + \ 1830 scp->device->id
|
/drivers/scsi/ |
H A D | hptiop.c | 727 struct scsi_cmnd *scp; local 737 scp = hba->reqs[tag].scp; 739 if (HPT_SCP(scp)->mapped) 740 scsi_dma_unmap(scp); 744 scsi_set_resid(scp, 745 scsi_bufflen(scp) - le32_to_cpu(req->dataxfer_length)); 746 scp->result = (DID_OK<<16); 749 scp->result = (DID_BAD_TARGET<<16); 752 scp 857 hptiop_buildsgl(struct scsi_cmnd *scp, struct hpt_iopsg *psg) argument 1007 hptiop_queuecommand_lck(struct scsi_cmnd *scp, void (*done)(struct scsi_cmnd *)) argument 1108 hptiop_reset(struct scsi_cmnd *scp) argument [all...] |
H A D | gdth.c | 149 Scsi_Cmnd *scp); 153 static void gdth_putq(gdth_ha_str *ha, Scsi_Cmnd *scp, u8 priority); 155 static int gdth_fill_raw_cmd(gdth_ha_str *ha, Scsi_Cmnd *scp, u8 b); 156 static int gdth_special_cmd(gdth_ha_str *ha, Scsi_Cmnd *scp); 164 static void gdth_copy_internal_data(gdth_ha_str *ha, Scsi_Cmnd *scp, 166 static int gdth_internal_cache_cmd(gdth_ha_str *ha, Scsi_Cmnd *scp); 167 static int gdth_fill_cache_cmd(gdth_ha_str *ha, Scsi_Cmnd *scp, u16 hdrive); 188 static int __gdth_queuecommand(gdth_ha_str *ha, struct scsi_cmnd *scp, 190 static void gdth_scsi_done(struct scsi_cmnd *scp); 429 static void gdth_scsi_done(struct scsi_cmnd *scp) argument 449 Scsi_Cmnd *scp; local 1985 gdth_putq(gdth_ha_str *ha, Scsi_Cmnd *scp, u8 priority) argument 2278 gdth_copy_internal_data(gdth_ha_str *ha, Scsi_Cmnd *scp, char *buffer, u16 count) argument 2320 gdth_internal_cache_cmd(gdth_ha_str *ha, Scsi_Cmnd *scp) argument 2422 gdth_fill_cache_cmd(gdth_ha_str *ha, Scsi_Cmnd *scp, u16 hdrive) argument 2597 gdth_fill_raw_cmd(gdth_ha_str *ha, Scsi_Cmnd *scp, u8 b) argument 2770 gdth_special_cmd(gdth_ha_str *ha, Scsi_Cmnd *scp) argument 2964 Scsi_Cmnd *scp; local 3222 gdth_sync_event(gdth_ha_str *ha, int service, u8 index, Scsi_Cmnd *scp) argument 3884 gdth_timed_out(struct scsi_cmnd *scp) argument 3917 gdth_eh_bus_reset(Scsi_Cmnd *scp) argument 3998 gdth_queuecommand_lck(struct scsi_cmnd *scp, void (*done)(struct scsi_cmnd *)) argument 4018 __gdth_queuecommand(gdth_ha_str *ha, struct scsi_cmnd *scp, struct gdth_cmndinfo *cmndinfo) argument 4473 Scsi_Cmnd *scp; local [all...] |
H A D | scsi_debug.c | 397 static void mk_sense_buffer(struct scsi_cmnd *scp, int key, int asc, int asq) argument 401 sbuff = scp->sense_buffer; 403 sdev_printk(KERN_ERR, scp->device, 412 sdev_printk(KERN_INFO, scp->device, 549 /* Returns 0 if ok else (DID_ERROR << 16). Sets scp->resid . */ 550 static int fill_from_dev_buffer(struct scsi_cmnd *scp, unsigned char *arr, argument 554 struct scsi_data_buffer *sdb = scsi_in(scp); 558 if (!(scsi_bidi_cmnd(scp) || scp->sc_data_direction == DMA_FROM_DEVICE)) 563 sdb->resid = scsi_bufflen(scp) 569 fetch_to_dev_buffer(struct scsi_cmnd *scp, unsigned char *arr, int arr_len) argument 927 resp_inquiry(struct scsi_cmnd *scp, int target, struct sdebug_dev_info * devip) argument 1074 resp_requests(struct scsi_cmnd * scp, struct sdebug_dev_info * devip) argument 1115 resp_start_stop(struct scsi_cmnd * scp, struct sdebug_dev_info * devip) argument 1146 resp_readcap(struct scsi_cmnd * scp, struct sdebug_dev_info * devip) argument 1177 resp_readcap16(struct scsi_cmnd * scp, struct sdebug_dev_info * devip) argument 1222 resp_report_tgtpgs(struct scsi_cmnd * scp, struct sdebug_dev_info * devip) argument 1462 resp_mode_sense(struct scsi_cmnd * scp, int target, struct sdebug_dev_info * devip) argument 1627 resp_mode_select(struct scsi_cmnd * scp, int mselect6, struct sdebug_dev_info * devip) argument 1737 resp_log_sense(struct scsi_cmnd * scp, struct sdebug_dev_info * devip) argument 1823 check_device_access_params(struct scsi_cmnd *scp, unsigned long long lba, unsigned int num) argument 2411 resp_report_luns(struct scsi_cmnd * scp, struct sdebug_dev_info * devip) argument 2467 resp_xdwriteread(struct scsi_cmnd *scp, unsigned long long lba, unsigned int num, struct sdebug_dev_info *devip) argument 2510 struct scsi_cmnd *scp; local 2570 struct scsi_cmnd *scp; local [all...] |
H A D | advansys.c | 3824 static void asc_scsi_done(struct scsi_cmnd *scp) argument 3826 scsi_dma_unmap(scp); 3827 ASC_STATS(scp->device->host, done); 3828 scp->scsi_done(scp); 6158 struct scsi_cmnd *scp; local 6186 scp = reqp->cmndp; 6187 ASC_DBG(1, "scp 0x%p\n", scp); 6188 if (scp 7115 struct scsi_cmnd *scp; local 7480 advansys_reset(struct scsi_cmnd *scp) argument 7877 advansys_get_sense_buffer_dma(struct scsi_cmnd *scp) argument 7887 asc_build_req(struct asc_board *boardp, struct scsi_cmnd *scp, struct asc_scsi_q *asc_scsi_q) argument 8001 adv_get_sglist(struct asc_board *boardp, adv_req_t *reqp, struct scsi_cmnd *scp, int use_sg) argument 8111 adv_build_req(struct asc_board *boardp, struct scsi_cmnd *scp, ADV_SCSI_REQ_Q **adv_scsiqpp) argument 8922 asc_execute_scsi_cmnd(struct scsi_cmnd *scp) argument 9009 advansys_queuecommand_lck(struct scsi_cmnd *scp, void (*done)(struct scsi_cmnd *)) argument [all...] |
H A D | hptiop.h | 258 struct scsi_cmnd *scp; member in struct:hptiop_request 268 #define HPT_SCP(scp) ((struct hpt_scsi_pointer *)&(scp)->SCp)
|
H A D | gdth_proc.c | 623 Scsi_Cmnd *scp; local 630 scp = ha->cmd_tab[i].cmnd; 631 cmndinfo = gdth_cmnd_priv(scp); 633 b = scp->device->channel; 634 t = scp->device->id; 635 if (!SPECIAL_SCP(scp) && t == (u8)id &&
|
H A D | megaraid.h | 759 #define SCSI_LIST(scp) ((struct list_head *)(&(scp)->SCp))
|
/drivers/net/ |
H A D | eql.c | 479 static int eql_g_slave_cfg(struct net_device *dev, slave_config_t __user *scp) argument 487 if (copy_from_user(&sc, scp, sizeof (slave_config_t))) 506 if (!ret && copy_to_user(scp, &sc, sizeof (slave_config_t))) 512 static int eql_s_slave_cfg(struct net_device *dev, slave_config_t __user *scp) argument 520 if (copy_from_user(&sc, scp, sizeof (slave_config_t)))
|
/drivers/net/ethernet/i825xx/ |
H A D | sun3_82586.c | 74 sizeof(scp)=12; sizeof(scb)=16; sizeof(iscp)=8; 75 sizeof(scp)+sizeof(iscp)+sizeof(scb) = 36 = INIT 149 volatile struct scp_struct *scp; /* volatile is important */ member in struct:priv 215 p->scp = (struct scp_struct *)(p->base + SCP_DEFAULT_ADDRESS); 216 memset((char *)p->scp,0, sizeof(struct scp_struct)); 218 if(((char *)p->scp)[i]) 220 p->scp->sysbus = SYSBUSVAL; /* 1 = 8Bit-Bus, 0 = 16 Bit */ 221 if(p->scp->sysbus != SYSBUSVAL) 229 p->scp->iscp = make24(p->iscp); 252 p->scp [all...] |
H A D | 82596.c | 317 volatile struct i596_scp scp; member in struct:i596_private 463 printk(KERN_ERR "lp and scp at %p, .sysbus = %08lx, .iscp = %p\n", 464 &lp->scp, lp->scp.sysbus, lp->scp.iscp); 647 /* change the scp address */ 649 MPU_PORT(dev, PORT_ALTSCP, (void *)virt_to_bus((void *)&lp->scp)); 657 lp->scp.sysbus = 0x00000054; 661 lp->scp.sysbus = 0x0000004c; 664 lp->scp [all...] |
H A D | lib82596.c | 301 struct i596_scp scp __attribute__((aligned(32))); member in struct:i596_dma 411 printk(KERN_DEBUG "lp and scp at %p, .sysbus = %08x, .iscp = %08x\n", 412 &dma->scp, dma->scp.sysbus, SWAP32(dma->scp.iscp)); 563 /* change the scp address */ 567 dma->scp.sysbus = SYSBUS; 568 dma->scp.iscp = SWAP32(virt_to_dma(lp, &(dma->iscp))); 578 DMA_WBACK(dev, &(dma->scp), sizeof(struct i596_scp)); 582 mpu_port(dev, PORT_ALTSCP, virt_to_dma(lp, &dma->scp)); [all...] |
/drivers/bus/ |
H A D | Kconfig | 35 protocol to scp protocol. In OMAP4, USB PHY is connected via
|
/drivers/tty/serial/cpm_uart/ |
H A D | cpm_uart_core.c | 789 scc_t __iomem *scp; local 794 scp = pinfo->sccp; 836 out_be32(&scp->scc_gsmrh, 0); 837 out_be32(&scp->scc_gsmrl, 841 out_be16(&scp->scc_sccm, 0); 842 out_be16(&scp->scc_scce, 0xffff); 843 out_be16(&scp->scc_dsr, 0x7e7e); 844 out_be16(&scp->scc_psmr, 0x3000); 846 setbits32(&scp->scc_gsmrl, SCC_GSMRL_ENR | SCC_GSMRL_ENT);
|
/drivers/usb/storage/ |
H A D | uas.c | 120 struct scsi_pointer *scp = (void *)cmdinfo; local 121 struct scsi_cmnd *cmnd = container_of(scp, struct scsi_cmnd, SCp);
|
/drivers/scsi/pm8001/ |
H A D | pm8001_hwi.h | 453 __le32 scp; member in struct:task_abort_resp
|
H A D | pm80xx_hwi.h | 583 __le32 scp; member in struct:task_abort_resp
|
H A D | pm8001_hwi.c | 3708 u32 tag, scp; local 3723 scp = le32_to_cpu(pPayload->scp); 3737 "tag = 0x%x, scp= 0x%x\n", status, tag, scp));
|
/drivers/message/fusion/ |
H A D | mptscsih.c | 121 #define SNS_LEN(scp) SCSI_SENSE_BUFFERSIZE
|