Home
last modified time | relevance | path

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

/linux-6.1.9/sound/soc/sh/
Dsiu_pcm.c242 if (siu_stream->xfer_cnt > 0x1000000) in siu_pcm_stmread_start()
364 snd_pcm_sframes_t xfer_cnt; in siu_pcm_prepare() local
387 xfer_cnt = bytes_to_frames(rt, siu_stream->period_bytes); in siu_pcm_prepare()
388 if (!xfer_cnt || xfer_cnt > 0x1000000) in siu_pcm_prepare()
392 siu_stream->xfer_cnt = xfer_cnt; in siu_pcm_prepare()
398 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-6.1.9/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-6.1.9/drivers/spi/
Dspi-sunplus-sp7021.c303 unsigned int xfer_cnt, xfer_len, last_len; in sp7021_spi_master_transfer_one() local
307 xfer_cnt = xfer->len / SP7021_SPI_DATA_SIZE; in sp7021_spi_master_transfer_one()
310 for (i = 0; i <= xfer_cnt; i++) { in sp7021_spi_master_transfer_one()
316 if (i == xfer_cnt) in sp7021_spi_master_transfer_one()
/linux-6.1.9/drivers/message/fusion/
Dmptscsih.c659 u32 xfer_cnt; in mptscsih_io_done() local
668 xfer_cnt = le32_to_cpu(pScsiReply->TransferCount); in mptscsih_io_done()
669 scsi_set_resid(sc, scsi_bufflen(sc) - xfer_cnt); in mptscsih_io_done()
678 if (status == MPI_IOCSTATUS_SCSI_DATA_UNDERRUN && xfer_cnt == 0 && in mptscsih_io_done()
804 scsi_set_resid(sc, scsi_bufflen(sc) - xfer_cnt); in mptscsih_io_done()
805 if((xfer_cnt==0)||(sc->underflow > xfer_cnt)) in mptscsih_io_done()
838 xfer_cnt) { in mptscsih_io_done()
846 xfer_cnt); in mptscsih_io_done()
851 if (xfer_cnt < sc->underflow) { in mptscsih_io_done()
873 " ActBytesXferd=%02xh\n", ioc->name, xfer_cnt)); in mptscsih_io_done()
[all …]
/linux-6.1.9/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-6.1.9/drivers/scsi/
Dadvansys.c2214 unsigned int xfer_cnt; /* # I/O requests received */ member
3507 if (s->xfer_cnt > 0) { in asc_prt_board_stats()
3509 s->xfer_cnt, s->xfer_elem); in asc_prt_board_stats()
3516 s->xfer_elem / s->xfer_cnt, in asc_prt_board_stats()
3517 ASC_TENTHS(s->xfer_elem, s->xfer_cnt)); in asc_prt_board_stats()
3524 (s->xfer_sect / 2) / s->xfer_cnt, in asc_prt_board_stats()
3525 ASC_TENTHS((s->xfer_sect / 2), s->xfer_cnt)); in asc_prt_board_stats()
7519 ASC_STATS(scp->device->host, xfer_cnt); in asc_build_req()
7758 ASC_STATS(scp->device->host, xfer_cnt); in adv_build_req()
/linux-6.1.9/drivers/scsi/mpt3sas/
Dmpt3sas_scsih.c5713 u32 xfer_cnt; in _scsih_io_done() local
5777 xfer_cnt = le32_to_cpu(mpi_reply->TransferCount); in _scsih_io_done()
5778 scsi_set_resid(scmd, scsi_bufflen(scmd) - xfer_cnt); in _scsih_io_done()
5786 if (ioc_status == MPI2_IOCSTATUS_SCSI_DATA_UNDERRUN && xfer_cnt == 0 && in _scsih_io_done()
5855 if ((xfer_cnt == 0) || (scmd->underflow > xfer_cnt)) in _scsih_io_done()
5867 if (xfer_cnt < scmd->underflow) { in _scsih_io_done()
5877 else if (!xfer_cnt && scmd->cmnd[0] == REPORT_LUNS) { in _scsih_io_done()
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.c3085 u8 xfer_cnt, in bnx2x_bsc_read() argument
3092 if (xfer_cnt > 16) { in bnx2x_bsc_read()
3094 xfer_cnt); in bnx2x_bsc_read()
3099 xfer_cnt = 16 - lc_addr; in bnx2x_bsc_read()
3139 (xfer_cnt); in bnx2x_bsc_read()