/linux-6.3-rc2/drivers/scsi/arm/ |
A D | arm_scsi.h | 42 sg_set_buf(sg, SCp->ptr, SCp->this_residual); in copy_SCp_to_sg() 63 SCp->this_residual = SCp->buffer->length; in next_SCp() 66 SCp->this_residual = 0; in next_SCp() 76 SCp->this_residual -= 1; in get_next_SCp_byte() 85 SCp->this_residual -= 1; in put_next_SCp_byte() 100 scsi_pointer->this_residual = scsi_pointer->buffer->length; in init_SCp() 133 scsi_pointer->this_residual = 0; in init_SCp()
|
A D | fas216.c | 180 prefix, SCp->ptr, SCp->this_residual, SCp->buffer, in print_SCp() 641 if (SCp->this_residual > bytes_transferred) in fas216_updateptrs() 647 bytes_transferred -= SCp->this_residual; in fas216_updateptrs() 655 SCp->this_residual -= bytes_transferred; in fas216_updateptrs() 656 if (SCp->this_residual) in fas216_updateptrs() 681 if (SCp->this_residual == 0) in fas216_pio() 722 total = info->scsi.SCp.this_residual; in fas216_cleanuptransfer() 791 fas216_set_stc(info, info->scsi.SCp.this_residual); in fas216_transfer() 1017 info->scsi.SCp.ptr, info->scsi.SCp.this_residual); in fas216_reselected_intr() 1972 info->scsi.SCp.ptr, info->scsi.SCp.this_residual); in fas216_kick() [all …]
|
A D | eesox.c | 167 (min_type == fasdma_real_all || SCp->this_residual >= 512)) { in eesoxscsi_dma_setup() 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()
|
A D | cumana_2.c | 168 (min_type == fasdma_real_all || SCp->this_residual >= 512)) { in cumanascsi_2_dma_setup() 218 length = SCp->this_residual; in cumanascsi_2_dma_pseudo()
|
A D | arxescsi.c | 125 length = SCp->this_residual; in arxescsi_dma_pseudo()
|
A D | acornscsi.c | 239 host->scsi.SCp.this_residual); in acornscsi_dumpdma() 869 SCp->this_residual -= length; in acornscsi_data_updateptr() 871 if (SCp->this_residual == 0 && next_SCp(SCp) == 0) in acornscsi_data_updateptr() 1019 length = min_t(unsigned int, host->scsi.SCp.this_residual, DMAC_BUFFER_SIZE / 2); in acornscsi_dma_setup() 1147 length = min_t(unsigned int, host->scsi.SCp.this_residual, DMAC_BUFFER_SIZE / 2); in acornscsi_dma_intr() 1817 host->scsi.SCp.ptr, host->scsi.SCp.this_residual); in acornscsi_reconnect_finish()
|
/linux-6.3-rc2/drivers/scsi/ |
A D | a2091.c | 51 unsigned long len = scsi_pointer->this_residual; in dma_setup() 72 scsi_pointer->this_residual, in dma_setup() 76 wh->dma_bounce_len = (scsi_pointer->this_residual + 511) & ~0x1ff; in dma_setup() 89 scsi_pointer->this_residual); in dma_setup() 169 scsi_pointer->this_residual, in dma_stop() 176 scsi_pointer->this_residual); in dma_stop()
|
A D | a3000.c | 56 unsigned long len = scsi_pointer->this_residual; in dma_setup() 85 scsi_pointer->this_residual, in dma_setup() 88 wh->dma_bounce_len = (scsi_pointer->this_residual + 511) & ~0x1ff; in dma_setup() 102 scsi_pointer->this_residual); in dma_setup() 180 scsi_pointer->this_residual, in dma_stop() 188 scsi_pointer->this_residual); in dma_stop()
|
A D | gvp11.c | 61 unsigned long len = scsi_pointer->this_residual; in dma_setup() 84 scsi_pointer->this_residual, in dma_setup() 88 wh->dma_bounce_len = (scsi_pointer->this_residual + 511) & ~0x1ff; in dma_setup() 113 scsi_pointer->this_residual); in dma_setup() 134 scsi_pointer->this_residual, in dma_setup() 156 scsi_pointer->this_residual); in dma_setup() 206 scsi_pointer->this_residual, in dma_stop() 213 scsi_pointer->this_residual); in dma_stop()
|
A D | mvme147.c | 51 cache_clear(addr, scsi_pointer->this_residual); in dma_setup() 54 cache_push(addr, scsi_pointer->this_residual); in dma_setup() 58 m147_pcc->dma_bcr = scsi_pointer->this_residual | (1 << 24); in dma_setup()
|
A D | imm.c | 670 fast = bulk && scsi_pointer->this_residual >= in imm_completion() 674 fast = bulk && scsi_pointer->this_residual >= in imm_completion() 680 scsi_pointer->this_residual -= fast; in imm_completion() 686 if (scsi_pointer->buffer && !scsi_pointer->this_residual) { in imm_completion() 691 scsi_pointer->this_residual = in imm_completion() 699 if (scsi_pointer->this_residual & 0x01) in imm_completion() 700 scsi_pointer->this_residual++; in imm_completion() 828 scsi_pointer->this_residual = scsi_pointer->buffer->length; in imm_engine() 832 scsi_pointer->this_residual = 0; in imm_engine() 837 if (scsi_pointer->this_residual & 0x01) in imm_engine() [all …]
|
A D | wd33c93.c | 347 scsi_pointer->this_residual = 0; in wd33c93_queuecommand_lck() 601 scsi_pointer->this_residual); in DEF_SCSI_QCMD() 683 if (!scsi_pointer->this_residual) /* avoid bogus setups */ in transfer_bytes() 698 scsi_pointer->this_residual, data_in_dir, in transfer_bytes() 700 length = scsi_pointer->this_residual; in transfer_bytes() 701 scsi_pointer->this_residual = read_wd33c93_count(regs); in transfer_bytes() 719 write_wd33c93_count(regs, scsi_pointer->this_residual); in transfer_bytes() 780 length = scsi_pointer->this_residual; in wd33c93_intr() 781 scsi_pointer->this_residual = read_wd33c93_count(regs); in wd33c93_intr() 876 printk("IN-%d.%d", scsi_pointer->this_residual, in wd33c93_intr() [all …]
|
A D | sgiwd93.c | 73 unsigned long len = scsi_pointer->this_residual; in fill_hpc_entries() 125 if (scsi_pointer->ptr == NULL || scsi_pointer->this_residual == 0) in dma_setup() 152 if (scsi_pointer->ptr == NULL || scsi_pointer->this_residual == 0) in dma_stop() 167 scsi_pointer->this_residual, in dma_stop()
|
A D | mac53c94.c | 267 nb = mcmd->this_residual; in mac53c94_interrupt() 270 mcmd->this_residual -= nb; in mac53c94_interrupt() 297 if (mcmd->this_residual != 0 in mac53c94_interrupt() 300 nb = mcmd->this_residual; in mac53c94_interrupt() 303 mcmd->this_residual -= nb; in mac53c94_interrupt() 392 mac53c94_priv(cmd)->this_residual = total; in set_dma_cmds()
|
A D | ppa.c | 552 if (scsi_pointer->this_residual <= 0) { in ppa_completion() 581 fast = bulk && scsi_pointer->this_residual >= PPA_BURST_SIZE ? in ppa_completion() 590 scsi_pointer->this_residual -= fast; in ppa_completion() 596 if (scsi_pointer->buffer && !scsi_pointer->this_residual) { in ppa_completion() 601 scsi_pointer->this_residual = in ppa_completion() 752 scsi_pointer->this_residual = in ppa_engine() 757 scsi_pointer->this_residual = 0; in ppa_engine()
|
A D | aha152x.c | 321 int this_residual; member 963 acp->this_residual = 0; in aha152x_internal_queue() 2042 if (acp->this_residual > 0) { in datai_run() 2045 acp->this_residual : fifodata; in datai_run() 2051 acp->this_residual--; in datai_run() 2060 acp->this_residual -= 2 * data_count; in datai_run() 2064 if (acp->this_residual == 0 && in datai_run() 2144 if (data_count > acp->this_residual) in datao_run() 2145 data_count = acp->this_residual; in datao_run() 2157 acp->this_residual--; in datao_run() [all …]
|
A D | NCR5380.c | 152 ncmd->this_residual = ncmd->buffer->length; in initialize_SCp() 156 ncmd->this_residual = 0; in initialize_SCp() 167 if (!ncmd->this_residual && s && !sg_is_last(s)) { in advance_sg_buffer() 170 ncmd->this_residual = ncmd->buffer->length; in advance_sg_buffer() 177 int resid = ncmd->this_residual; in set_resid_from_SCp() 803 count = &ncmd->this_residual; in NCR5380_dma_complete() 1759 ncmd->this_residual, in NCR5380_information_transfer() 1795 transfersize = min(ncmd->this_residual, in NCR5380_information_transfer() 1801 ncmd->this_residual -= transfersize - len; in NCR5380_information_transfer()
|
A D | mesh.h | 12 int this_residual; member
|
A D | mac53c94.h | 216 int this_residual; member
|
A D | NCR5380.h | 231 int this_residual; member
|
A D | mac_scsi.c | 407 int resid = NCR5380_to_ncmd(cmd)->this_residual; in macscsi_dma_xfer_len()
|
A D | sun3_scsi.c | 337 int wanted_len = NCR5380_to_ncmd(cmd)->this_residual; in sun3scsi_dma_xfer_len()
|
A D | atari_scsi.c | 541 int wanted_len = NCR5380_to_ncmd(cmd)->this_residual; in atari_scsi_dma_xfer_len()
|
/linux-6.3-rc2/drivers/scsi/pcmcia/ |
A D | nsp_cs.c | 247 scsi_pointer->this_residual = 0; in nsp_queuecommand_lck() 735 (scsi_pointer->this_residual > 0 || in nsp_pio_read() 760 res = min(res, scsi_pointer->this_residual); in nsp_pio_read() 784 scsi_pointer->this_residual -= res; in nsp_pio_read() 789 if (scsi_pointer->this_residual == 0 && in nsp_pio_read() 795 scsi_pointer->this_residual = in nsp_pio_read() 838 (scsi_pointer->this_residual > 0 || in nsp_pio_write() 850 scsi_pointer->this_residual += res; in nsp_pio_write() 887 scsi_pointer->this_residual -= res; in nsp_pio_write() 891 if (scsi_pointer->this_residual == 0 && in nsp_pio_write() [all …]
|
/linux-6.3-rc2/include/scsi/ |
A D | scsi_cmnd.h | 38 int this_residual; /* left in this buffer */ member
|