/linux-6.6.21/drivers/scsi/arm/ |
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 …]
|
D | fas216.c | 177 static void print_SCp(struct scsi_pointer *SCp, const char *prefix, const char *suffix) in print_SCp() argument 180 prefix, SCp->ptr, SCp->this_residual, SCp->buffer, in print_SCp() 181 SCp->buffers_residual, suffix); in print_SCp() 203 print_SCp(&info->scsi.SCp, " SCp={ ", " }\n"); in fas216_dumpinfo() 632 struct scsi_pointer *SCp = &info->scsi.SCp; in fas216_updateptrs() local 638 SCp->phase -= bytes_transferred; in fas216_updateptrs() 641 if (SCp->this_residual > bytes_transferred) in fas216_updateptrs() 647 bytes_transferred -= SCp->this_residual; in fas216_updateptrs() 648 if (!next_SCp(SCp) && bytes_transferred) { in fas216_updateptrs() 655 SCp->this_residual -= bytes_transferred; in fas216_updateptrs() [all …]
|
D | acornscsi.c | 238 printk("BH @%p +%04x, ", host->scsi.SCp.ptr, in acornscsi_dumpdma() 239 host->scsi.SCp.this_residual); in acornscsi_dumpdma() 241 host->scsi.SCp.scsi_xferred); in acornscsi_dumpdma() 732 host->scsi.SCp = *arm_scsi_pointer(SCpnt); in acornscsi_kick() 788 scsi_msg_to_host_byte(SCpnt, host->scsi.SCp.Message); in acornscsi_done() 789 set_status_byte(SCpnt, host->scsi.SCp.Status); in acornscsi_done() 803 if (host->scsi.SCp.ptr && in acornscsi_done() 807 if (host->scsi.SCp.scsi_xferred < SCpnt->underflow || in acornscsi_done() 808 host->scsi.SCp.scsi_xferred != host->dma.transferred) in acornscsi_done() 866 void acornscsi_data_updateptr(AS_Host *host, struct scsi_pointer *SCp, unsigned int length) in acornscsi_data_updateptr() argument [all …]
|
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
|
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
|
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
|
D | fas216.h | 241 struct scsi_pointer SCp; /* current commands data pointer */ member 302 …fasdmatype_t (*setup) (struct Scsi_Host *host, struct scsi_pointer *SCp, fasdmadir_t direction, fa… 303 …void (*pseudo)(struct Scsi_Host *host, struct scsi_pointer *SCp, fasdmadir_t direction, int trans… 304 void (*stop) (struct Scsi_Host *host, struct scsi_pointer *SCp);
|
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
|
D | acornscsi.h | 292 struct scsi_pointer SCp; /* current commands data pointer */ member
|
/linux-6.6.21/drivers/scsi/ |
D | 53c700.c | 577 struct scsi_cmnd *SCp, __u32 dsp) in save_for_reselection() argument 580 if(SCp != NULL) { in save_for_reselection() 582 (struct NCR_700_command_slot *)SCp->host_scribble; in save_for_reselection() 591 NCR_700_unmap(struct NCR_700_Host_Parameters *hostdata, struct scsi_cmnd *SCp, in NCR_700_unmap() argument 594 if(SCp->sc_data_direction != DMA_NONE && in NCR_700_unmap() 595 SCp->sc_data_direction != DMA_BIDIRECTIONAL) in NCR_700_unmap() 596 scsi_dma_unmap(SCp); in NCR_700_unmap() 601 struct scsi_cmnd *SCp, int result) in NCR_700_scsi_done() argument 606 if(SCp != NULL) { in NCR_700_scsi_done() 608 (struct NCR_700_command_slot *)SCp->host_scribble; in NCR_700_scsi_done() [all …]
|
D | aha152x.c | 702 struct scsi_cmnd *SCp) in remove_SC() argument 707 ptr && SCp!=ptr; in remove_SC()
|