Home
last modified time | relevance | path

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

/Linux-v5.4/sound/soc/sh/
Dsiu_pcm.c245 if (siu_stream->xfer_cnt > 0x1000000) in siu_pcm_stmread_start()
399 snd_pcm_sframes_t xfer_cnt; in siu_pcm_prepare() local
422 xfer_cnt = bytes_to_frames(rt, siu_stream->period_bytes); in siu_pcm_prepare()
423 if (!xfer_cnt || xfer_cnt > 0x1000000) in siu_pcm_prepare()
427 siu_stream->xfer_cnt = xfer_cnt; in siu_pcm_prepare()
433 siu_stream->format, rt->channels, (int)xfer_cnt); in siu_pcm_prepare()
Dsiu.h106 snd_pcm_sframes_t xfer_cnt; /* Number of frames */ member
/Linux-v5.4/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()
/Linux-v5.4/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()
806 scsi_set_resid(sc, scsi_bufflen(sc) - xfer_cnt); in mptscsih_io_done()
807 if((xfer_cnt==0)||(sc->underflow > xfer_cnt)) in mptscsih_io_done()
840 xfer_cnt) { in mptscsih_io_done()
848 xfer_cnt); in mptscsih_io_done()
853 if (xfer_cnt < sc->underflow) { in mptscsih_io_done()
875 " ActBytesXferd=%02xh\n", ioc->name, xfer_cnt)); in mptscsih_io_done()
[all …]
/Linux-v5.4/drivers/scsi/csiostor/
Dt4fw_api_stor.h191 __be16 xfer_cnt; member
224 __be32 xfer_cnt; member
250 __be32 xfer_cnt; member
Dcsio_scsi.c378 wr->xfer_cnt = cpu_to_be32(scsi_bufflen(scmnd)); in csio_scsi_init_read_wr()
431 wr->xfer_cnt = cpu_to_be32(scsi_bufflen(scmnd)); in csio_scsi_init_write_wr()
/Linux-v5.4/drivers/scsi/
Dadvansys.c2233 unsigned int xfer_cnt; /* # I/O requests received */ member
3556 if (s->xfer_cnt > 0) { in asc_prt_board_stats()
3558 s->xfer_cnt, s->xfer_elem); in asc_prt_board_stats()
3565 s->xfer_elem / s->xfer_cnt, in asc_prt_board_stats()
3566 ASC_TENTHS(s->xfer_elem, s->xfer_cnt)); in asc_prt_board_stats()
3573 (s->xfer_sect / 2) / s->xfer_cnt, in asc_prt_board_stats()
3574 ASC_TENTHS((s->xfer_sect / 2), s->xfer_cnt)); in asc_prt_board_stats()
7605 ASC_STATS(scp->device->host, xfer_cnt); in asc_build_req()
7844 ASC_STATS(scp->device->host, xfer_cnt); in adv_build_req()
/Linux-v5.4/drivers/scsi/mpt3sas/
Dmpt3sas_scsih.c5215 u32 xfer_cnt; in _scsih_io_done() local
5279 xfer_cnt = le32_to_cpu(mpi_reply->TransferCount); in _scsih_io_done()
5280 scsi_set_resid(scmd, scsi_bufflen(scmd) - xfer_cnt); in _scsih_io_done()
5288 if (ioc_status == MPI2_IOCSTATUS_SCSI_DATA_UNDERRUN && xfer_cnt == 0 && in _scsih_io_done()
5357 if ((xfer_cnt == 0) || (scmd->underflow > xfer_cnt)) in _scsih_io_done()
5369 if (xfer_cnt < scmd->underflow) { in _scsih_io_done()
5379 else if (!xfer_cnt && scmd->cmnd[0] == REPORT_LUNS) { in _scsih_io_done()
/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.c3085 u8 xfer_cnt, in bnx2x_bsc_read() argument
3091 if (xfer_cnt > 16) { in bnx2x_bsc_read()
3093 xfer_cnt); in bnx2x_bsc_read()
3098 xfer_cnt = 16 - lc_addr; in bnx2x_bsc_read()
3137 (xfer_cnt); in bnx2x_bsc_read()