Searched refs:SCp (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/scsi/ |
| H A D | 53c700.c | 578 struct scsi_cmnd *SCp, __u32 dsp) in save_for_reselection() argument 581 if(SCp != NULL) { in save_for_reselection() 583 (struct NCR_700_command_slot *)SCp->host_scribble; in save_for_reselection() 592 NCR_700_unmap(struct NCR_700_Host_Parameters *hostdata, struct scsi_cmnd *SCp, in NCR_700_unmap() argument 595 if(SCp->sc_data_direction != DMA_NONE && in NCR_700_unmap() 596 SCp->sc_data_direction != DMA_BIDIRECTIONAL) in NCR_700_unmap() 597 scsi_dma_unmap(SCp); in NCR_700_unmap() 602 struct scsi_cmnd *SCp, int result) in NCR_700_scsi_done() argument 607 if(SCp != NULL) { in NCR_700_scsi_done() 609 (struct NCR_700_command_slot *)SCp->host_scribble; in NCR_700_scsi_done() [all …]
|
| /linux/drivers/scsi/arm/ |
| H A D | arm_scsi.h | 33 static inline int copy_SCp_to_sg(struct scatterlist *sg, struct scsi_pointer *SCp, int max) in copy_SCp_to_sg() argument 35 int bufs = SCp->buffers_residual; in copy_SCp_to_sg() 42 sg_set_buf(sg, SCp->ptr, SCp->this_residual); in copy_SCp_to_sg() 48 for_each_sg(sg_next(SCp->buffer), src_sg, bufs, i) in copy_SCp_to_sg() 56 static inline int next_SCp(struct scsi_pointer *SCp) in next_SCp() argument 58 int ret = SCp->buffers_residual; in next_SCp() 60 SCp->buffer = sg_next(SCp->buffer); in next_SCp() 61 SCp->buffers_residual--; in next_SCp() 62 SCp->ptr = sg_virt(SCp->buffer); in next_SCp() 63 SCp->this_residual = SCp->buffer->length; in next_SCp() [all …]
|
| H A D | arxescsi.c | 71 arxescsi_dma_setup(struct Scsi_Host *host, struct scsi_pointer *SCp, in arxescsi_dma_setup() argument 117 arxescsi_dma_pseudo(struct Scsi_Host *host, struct scsi_pointer *SCp, in arxescsi_dma_pseudo() argument 125 length = SCp->this_residual; in arxescsi_dma_pseudo() 126 addr = SCp->ptr; in arxescsi_dma_pseudo() 203 static void arxescsi_dma_stop(struct Scsi_Host *host, struct scsi_pointer *SCp) in arxescsi_dma_stop() argument
|
| H A D | eesox.c | 159 eesoxscsi_dma_setup(struct Scsi_Host *host, struct scsi_pointer *SCp, in eesoxscsi_dma_setup() argument 167 (min_type == fasdma_real_all || SCp->this_residual >= 512)) { in eesoxscsi_dma_setup() 170 bufs = copy_SCp_to_sg(&info->sg[0], SCp, NR_SG); in eesoxscsi_dma_setup() 355 eesoxscsi_dma_pseudo(struct Scsi_Host *host, struct scsi_pointer *SCp, in eesoxscsi_dma_pseudo() argument 360 eesoxscsi_buffer_in(SCp->ptr, SCp->this_residual, info->base); in eesoxscsi_dma_pseudo() 362 eesoxscsi_buffer_out(SCp->ptr, SCp->this_residual, info->base); in eesoxscsi_dma_pseudo() 372 eesoxscsi_dma_stop(struct Scsi_Host *host, struct scsi_pointer *SCp) in eesoxscsi_dma_stop() argument
|
| H A D | cumana_2.c | 158 cumanascsi_2_dma_setup(struct Scsi_Host *host, struct scsi_pointer *SCp, in cumanascsi_2_dma_setup() argument 168 (min_type == fasdma_real_all || SCp->this_residual >= 512)) { in cumanascsi_2_dma_setup() 171 bufs = copy_SCp_to_sg(&info->sg[0], SCp, NR_SG); in cumanascsi_2_dma_setup() 211 cumanascsi_2_dma_pseudo(struct Scsi_Host *host, struct scsi_pointer *SCp, in cumanascsi_2_dma_pseudo() argument 218 length = SCp->this_residual; in cumanascsi_2_dma_pseudo() 219 addr = SCp->ptr; in cumanascsi_2_dma_pseudo() 285 cumanascsi_2_dma_stop(struct Scsi_Host *host, struct scsi_pointer *SCp) in cumanascsi_2_dma_stop() argument
|
| H A D | powertec.c | 132 powertecscsi_dma_setup(struct Scsi_Host *host, struct scsi_pointer *SCp, in powertecscsi_dma_setup() argument 143 bufs = copy_SCp_to_sg(&info->sg[0], SCp, NR_SG); in powertecscsi_dma_setup() 175 powertecscsi_dma_stop(struct Scsi_Host *host, struct scsi_pointer *SCp) in powertecscsi_dma_stop() argument
|
| H A D | acornscsi.h | 292 struct scsi_pointer SCp; /* current commands data pointer */ member
|