Home
last modified time | relevance | path

Searched refs:scsi_set_resid (Results 1 – 25 of 65) sorted by relevance

123

/Linux-v4.19/drivers/staging/rts5208/
Drtsx_scsi.c552 scsi_set_resid(srb, 0); in inquiry()
564 scsi_set_resid(srb, scsi_bufflen(srb)); in start_stop_unit()
599 scsi_set_resid(srb, 0); in allow_medium_removal()
650 scsi_set_resid(srb, 0); in request_sense()
761 scsi_set_resid(srb, scsi_bufflen(srb)); in mode_sense()
832 scsi_set_resid(srb, scsi_bufflen(srb)); in mode_sense()
840 scsi_set_resid(srb, scsi_bufflen(srb) - len); in mode_sense()
930 scsi_set_resid(srb, 0); in read_write()
976 scsi_set_resid(srb, 0); in read_write()
1056 scsi_set_resid(srb, scsi_bufflen(srb) - buf_len); in read_format_capacity()
[all …]
Dspi.c489 scsi_set_resid(srb, scsi_bufflen(srb) - 1); in spi_get_status()
592 scsi_set_resid(srb, 0); in spi_read_flash_id()
688 scsi_set_resid(srb, 0); in spi_read_flash()
Drtsx_transport.c140 scsi_set_resid(srb, scsi_bufflen(srb) - buflen); in rtsx_stor_set_xfer_buf()
151 scsi_set_resid(srb, scsi_bufflen(srb) - buflen); in rtsx_stor_get_xfer_buf()
Dsd.c4153 scsi_set_resid(srb, 0);
4397 scsi_set_resid(srb, 0);
4647 scsi_set_resid(srb, 0);
4749 scsi_set_resid(srb, 0);
4755 scsi_set_resid(srb, 0);
4807 scsi_set_resid(srb, 0);
4870 scsi_set_resid(srb, 0);
/Linux-v4.19/drivers/usb/storage/
Dtransport.c469 scsi_set_resid(srb, scsi_bufflen(srb) - partial); in usb_stor_bulk_srb()
605 scsi_set_resid(srb, 0); in usb_stor_invoke_transport()
717 scsi_set_resid(srb, 0); in usb_stor_invoke_transport()
1196 scsi_set_resid(srb, transfer_length); in usb_stor_Bulk_transport()
1287 scsi_set_resid(srb, max(scsi_get_resid(srb), in usb_stor_Bulk_transport()
Dprotocol.c179 scsi_set_resid(srb, scsi_bufflen(srb) - buflen); in usb_stor_set_xfer_buf()
Dene_ub6250.c562 scsi_set_resid(us->srb, max(scsi_get_resid(us->srb), in ene_send_scsi_cmd()
1940 scsi_set_resid(us->srb, 0); in ene_load_bincode()
2307 scsi_set_resid(srb, 0); in ene_transport()
/Linux-v4.19/drivers/scsi/sym53c8xx_2/
Dsym_glue.h258 scsi_set_resid(cmd, resid); in sym_set_cam_result_ok()
/Linux-v4.19/drivers/s390/scsi/
Dzfcp_fc.h289 scsi_set_resid(scsi, resid); in zfcp_fc_eval_fcp_rsp()
/Linux-v4.19/include/scsi/
Dscsi_cmnd.h199 static inline void scsi_set_resid(struct scsi_cmnd *cmd, int resid) in scsi_set_resid() function
/Linux-v4.19/drivers/scsi/esas2r/
Desas2r_main.c988 scsi_set_resid(cmd, 0); in esas2r_eh_abort()
1054 scsi_set_resid(cmd, 0); in esas2r_eh_abort()
1530 scsi_set_resid(rq->cmd, in esas2r_complete_request_cb()
1534 scsi_set_resid(rq->cmd, 0); in esas2r_complete_request_cb()
/Linux-v4.19/drivers/scsi/aic7xxx/
Daic7xxx_osm.h616 scsi_set_resid(scb->io_ctx, resid); in ahc_set_residual()
Daic79xx_osm.h598 scsi_set_resid(scb->io_ctx, resid); in ahd_set_residual()
/Linux-v4.19/drivers/scsi/
Dps3rom.c315 scsi_set_resid(cmd, scsi_bufflen(cmd) - len); in ps3rom_interrupt()
Dsd.c1949 scsi_set_resid(SCpnt, 0); in sd_done()
1952 scsi_set_resid(SCpnt, blk_rq_bytes(req)); in sd_done()
1959 scsi_set_resid(SCpnt, 0); in sd_done()
1962 scsi_set_resid(SCpnt, blk_rq_bytes(req)); in sd_done()
1978 scsi_set_resid(SCpnt, resid); in sd_done()
Dhptiop.c744 scsi_set_resid(scp, in hptiop_finish_scsi_req()
764 scsi_set_resid(scp, in hptiop_finish_scsi_req()
776 scsi_set_resid(scp, in hptiop_finish_scsi_req()
Dnsp32.c950 scsi_set_resid(SCpnt, scsi_bufflen(SCpnt)); in nsp32_queuecommand_lck()
1287 scsi_set_resid(SCpnt, 0); /* all data transferred! */ in do_nsp32_isr()
1774 scsi_set_resid(SCpnt, scsi_get_resid(SCpnt) - sentlen); in nsp32_adjust_busfree()
Daha152x.c295 scsi_set_resid(cmd, scsi_get_resid(cmd) + inc); in CMD_INC_RESID()
957 scsi_set_resid(SCpnt, 0); in aha152x_internal_queue()
961 scsi_set_resid(SCpnt, scsi_bufflen(SCpnt)); in aha152x_internal_queue()
/Linux-v4.19/drivers/target/loopback/
Dtcm_loop.c586 scsi_set_resid(sc, se_cmd->residual_count); in tcm_loop_queue_data_in()
614 scsi_set_resid(sc, se_cmd->residual_count); in tcm_loop_queue_status()
/Linux-v4.19/drivers/scsi/bnx2fc/
Dbnx2fc_io.c206 scsi_set_resid(sc_cmd, scsi_bufflen(sc_cmd)); in bnx2fc_scsi_done()
1554 scsi_set_resid(sc_cmd, io_req->fcp_resid); in bnx2fc_process_tm_compl()
1961 scsi_set_resid(sc_cmd, io_req->fcp_resid); in bnx2fc_process_scsi_cmd_compl()
/Linux-v4.19/drivers/scsi/bfa/
Dbfad_im.c54 scsi_set_resid(cmnd, 0); in bfa_cb_ioim_done()
65 scsi_set_resid(cmnd, residue); in bfa_cb_ioim_done()
/Linux-v4.19/drivers/usb/image/
Dmicrotek.c438 scsi_set_resid(context->srb, context->data_length - in mts_data_done()
/Linux-v4.19/drivers/scsi/pcmcia/
Dnsp_cs.c136 scsi_set_resid(SCpnt, scsi_get_resid(SCpnt) + residInc); in nsp_inc_resid()
231 scsi_set_resid(SCpnt, scsi_bufflen(SCpnt)); in nsp_queuecommand_lck()
/Linux-v4.19/drivers/scsi/qla4xxx/
Dql4_isr.c166 scsi_set_resid(cmd, residual); in qla4xxx_status_entry()
244 scsi_set_resid(cmd, residual); in qla4xxx_status_entry()
/Linux-v4.19/drivers/scsi/qedf/
Dqedf_io.c1185 scsi_set_resid(sc_cmd, scsi_bufflen(sc_cmd)); in qedf_scsi_completion()
1240 scsi_set_resid(sc_cmd, io_req->fcp_resid); in qedf_scsi_completion()
1300 scsi_set_resid(sc_cmd, scsi_bufflen(sc_cmd)); in qedf_scsi_done()

123