/openbmc/linux/drivers/scsi/arm/ |
H A D | arm_scsi.h | 42 sg_set_buf(sg, SCp->ptr, SCp->this_residual); in copy_SCp_to_sg() 60 SCp->buffer = sg_next(SCp->buffer); in next_SCp() 62 SCp->ptr = sg_virt(SCp->buffer); in next_SCp() 63 SCp->this_residual = SCp->buffer->length; in next_SCp() 65 SCp->ptr = NULL; in next_SCp() 66 SCp->this_residual = 0; in next_SCp() 73 char c = *SCp->ptr; in get_next_SCp_byte() 75 SCp->ptr += 1; in get_next_SCp_byte() 76 SCp->this_residual -= 1; in get_next_SCp_byte() 83 *SCp->ptr = c; in put_next_SCp_byte() [all …]
|
H A D | fas216.c | 180 prefix, SCp->ptr, SCp->this_residual, SCp->buffer, in print_SCp() 632 struct scsi_pointer *SCp = &info->scsi.SCp; in fas216_updateptrs() local 672 struct scsi_pointer *SCp = &info->scsi.SCp; in fas216_pio() local 682 next_SCp(SCp); in fas216_pio() 757 info->scsi.SCp.ptr, info->scsi.SCp.this_residual, in fas216_transfer() 1017 info->scsi.SCp.ptr, info->scsi.SCp.this_residual); in fas216_reselected_intr() 1087 info->scsi.SCp.ptr, info->scsi.SCp.this_residual); in fas216_parse_message() 1100 info->scsi.SCp.ptr, info->scsi.SCp.this_residual); in fas216_parse_message() 1615 memset(&info->scsi.SCp, 0, sizeof(info->scsi.SCp)); in fas216_bus_reset() 1972 info->scsi.SCp.ptr, info->scsi.SCp.this_residual); in fas216_kick() [all …]
|
H A 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() 803 if (host->scsi.SCp.ptr && in acornscsi_done() 868 SCp->ptr += length; in acornscsi_data_updateptr() 869 SCp->this_residual -= length; in acornscsi_data_updateptr() 871 if (SCp->this_residual == 0 && next_SCp(SCp) == 0) in acornscsi_data_updateptr() 1138 host->dma.xfer_ptr = host->scsi.SCp.ptr; in acornscsi_dma_intr() 1486 host->scsi.SCp.Message = message[0]; in acornscsi_message() 1498 *scsi_pointer = host->scsi.SCp; in acornscsi_message() [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 | 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 | 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 | 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);
|
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
|
/openbmc/linux/drivers/scsi/ |
H A D | 53c700.c | 580 if(SCp != NULL) { in save_for_reselection() 606 if(SCp != NULL) { in NCR_700_scsi_done() 629 NCR_700_get_depth(SCp->device) > SCp->device->queue_depth) in NCR_700_scsi_done() 637 scsi_done(SCp); in NCR_700_scsi_done() 800 if(SCp != NULL) { in process_extended_message() 1077 SCp->cmd_len); in process_script_interrupt() 1266 scsi_for_each_sg(SCp, sg, scsi_sg_count(SCp) + 1, i) { in process_script_interrupt() 1431 if(SCp->cmnd[0] == INQUIRY || SCp->cmnd[0] == REQUEST_SENSE || in NCR_700_start_command() 1472 dma_sync_to_dev(hostdata, SCp->cmnd, SCp->cmd_len); in NCR_700_start_command() 1543 … host->host_no, SCp, SCp == NULL ? NULL : SCp->host_scribble, dsp, dsp - hostdata->pScript); in NCR_700_intr() [all …]
|
H A D | aha152x.c | 702 struct scsi_cmnd *SCp) in remove_SC() argument 707 ptr && SCp!=ptr; in remove_SC()
|