Home
last modified time | relevance | path

Searched refs:xfer_cnt (Results 1 – 8 of 8) sorted by relevance

/drivers/ata/
Dpata_arasan_cf.c434 u32 xfer_cnt, sglen, dma_len, xfer_ctr; in sg_xfer() local
456 xfer_cnt = min(sglen, MAX_XFER_COUNT); in sg_xfer()
460 writel(xfer_ctr | xfer_cnt | XFER_START, in sg_xfer()
465 while (xfer_cnt) { in sg_xfer()
474 dma_len = min(xfer_cnt, FIFO_SIZE); in sg_xfer()
487 xfer_cnt -= dma_len; in sg_xfer()
/drivers/message/fusion/
Dmptscsih.c661 u32 xfer_cnt; in mptscsih_io_done() local
670 xfer_cnt = le32_to_cpu(pScsiReply->TransferCount); in mptscsih_io_done()
671 scsi_set_resid(sc, scsi_bufflen(sc) - xfer_cnt); in mptscsih_io_done()
680 if (status == MPI_IOCSTATUS_SCSI_DATA_UNDERRUN && xfer_cnt == 0 && in mptscsih_io_done()
805 scsi_set_resid(sc, scsi_bufflen(sc) - xfer_cnt); in mptscsih_io_done()
806 if((xfer_cnt==0)||(sc->underflow > xfer_cnt)) in mptscsih_io_done()
839 xfer_cnt) { in mptscsih_io_done()
847 xfer_cnt); in mptscsih_io_done()
852 if (xfer_cnt < sc->underflow) { in mptscsih_io_done()
874 " ActBytesXferd=%02xh\n", ioc->name, xfer_cnt)); in mptscsih_io_done()
[all …]
/drivers/scsi/csiostor/
Dt4fw_api_stor.h191 __be16 xfer_cnt; member
224 __be32 xfer_cnt; member
250 __be32 xfer_cnt; member
Dcsio_scsi.c402 wr->xfer_cnt = cpu_to_be32(scsi_bufflen(scmnd)); in csio_scsi_init_read_wr()
455 wr->xfer_cnt = cpu_to_be32(scsi_bufflen(scmnd)); in csio_scsi_init_write_wr()
/drivers/scsi/mpt3sas/
Dmpt3sas_scsih.c4074 u32 xfer_cnt; in _scsih_io_done() local
4114 xfer_cnt = le32_to_cpu(mpi_reply->TransferCount); in _scsih_io_done()
4115 scsi_set_resid(scmd, scsi_bufflen(scmd) - xfer_cnt); in _scsih_io_done()
4123 if (ioc_status == MPI2_IOCSTATUS_SCSI_DATA_UNDERRUN && xfer_cnt == 0 && in _scsih_io_done()
4179 if ((xfer_cnt == 0) || (scmd->underflow > xfer_cnt)) in _scsih_io_done()
4191 if (xfer_cnt < scmd->underflow) { in _scsih_io_done()
4201 else if (!xfer_cnt && scmd->cmnd[0] == REPORT_LUNS) { in _scsih_io_done()
/drivers/scsi/mpt2sas/
Dmpt2sas_scsih.c4463 u32 xfer_cnt; in _scsih_io_done() local
4528 xfer_cnt = le32_to_cpu(mpi_reply->TransferCount); in _scsih_io_done()
4529 scsi_set_resid(scmd, scsi_bufflen(scmd) - xfer_cnt); in _scsih_io_done()
4537 if (ioc_status == MPI2_IOCSTATUS_SCSI_DATA_UNDERRUN && xfer_cnt == 0 && in _scsih_io_done()
4581 if ((xfer_cnt == 0) || (scmd->underflow > xfer_cnt)) in _scsih_io_done()
4593 if (xfer_cnt < scmd->underflow) { in _scsih_io_done()
4603 else if (!xfer_cnt && scmd->cmnd[0] == REPORT_LUNS) { in _scsih_io_done()
/drivers/scsi/
Dadvansys.c2332 ADV_DCNT xfer_cnt; /* # I/O requests received */ member
3730 if (s->xfer_cnt > 0) { in asc_prt_board_stats()
3732 s->xfer_cnt, s->xfer_elem); in asc_prt_board_stats()
3739 s->xfer_elem / s->xfer_cnt, in asc_prt_board_stats()
3740 ASC_TENTHS(s->xfer_elem, s->xfer_cnt)); in asc_prt_board_stats()
3747 (s->xfer_sect / 2) / s->xfer_cnt, in asc_prt_board_stats()
3748 ASC_TENTHS((s->xfer_sect / 2), s->xfer_cnt)); in asc_prt_board_stats()
7979 ASC_STATS(scp->device->host, xfer_cnt); in asc_build_req()
8221 ASC_STATS(scp->device->host, xfer_cnt); in adv_build_req()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.c3089 u8 xfer_cnt, in bnx2x_bsc_read() argument
3095 if (xfer_cnt > 16) { in bnx2x_bsc_read()
3097 xfer_cnt); in bnx2x_bsc_read()
3102 xfer_cnt = 16 - lc_addr; in bnx2x_bsc_read()
3141 (xfer_cnt); in bnx2x_bsc_read()