Home
last modified time | relevance | path

Searched refs:xfer_count (Results 1 – 16 of 16) sorted by relevance

/linux-6.1.9/drivers/comedi/drivers/
Drtd520.c353 int xfer_count; /* # to transfer data. 0->1/2FIFO */ member
644 } else if (devpriv->xfer_count > 0) { in rtd_interrupt()
647 if (ai_read_n(dev, s, devpriv->xfer_count) < 0) in rtd_interrupt()
872 devpriv->xfer_count = cmd->chanlist_len; in rtd_ai_cmd()
876 devpriv->xfer_count = in rtd_ai_cmd()
879 if (devpriv->xfer_count < cmd->chanlist_len) { in rtd_ai_cmd()
881 devpriv->xfer_count = cmd->chanlist_len; in rtd_ai_cmd()
883 devpriv->xfer_count = in rtd_ai_cmd()
884 DIV_ROUND_UP(devpriv->xfer_count, in rtd_ai_cmd()
886 devpriv->xfer_count *= cmd->chanlist_len; in rtd_ai_cmd()
[all …]
/linux-6.1.9/drivers/input/touchscreen/
Dhideep.c412 const __be32 *ucode, size_t xfer_count) in hideep_program_page() argument
442 ucode, xfer_count); in hideep_program_page()
444 val = be32_to_cpu(ucode[xfer_count - 1]); in hideep_program_page()
466 size_t xfer_count; in hideep_program_nvm() local
476 xfer_count = xfer_len / sizeof(*ucode); in hideep_program_nvm()
479 current_ucode, xfer_count); in hideep_program_nvm()
490 ucode, xfer_count); in hideep_program_nvm()
501 ucode += xfer_count; in hideep_program_nvm()
515 size_t xfer_count; in hideep_verify_nvm() local
522 xfer_count = xfer_len / sizeof(*ucode); in hideep_verify_nvm()
[all …]
Draydium_i2c_ts.c151 struct i2c_msg *xfer, size_t xfer_count) in raydium_i2c_xfer() argument
159 xfer_count -= xfer_start_idx; in raydium_i2c_xfer()
161 ret = i2c_transfer(client->adapter, &xfer[xfer_start_idx], xfer_count); in raydium_i2c_xfer()
162 if (likely(ret == xfer_count)) in raydium_i2c_xfer()
/linux-6.1.9/drivers/dma/
Dtxx9dmac.c717 size_t xfer_count; in txx9dmac_prep_dma_memcpy() local
730 for (offset = 0; offset < len; offset += xfer_count) { in txx9dmac_prep_dma_memcpy()
731 xfer_count = min_t(size_t, len - offset, TXX9_DMA_MAX_COUNT); in txx9dmac_prep_dma_memcpy()
737 if (xfer_count > 0x100 && in txx9dmac_prep_dma_memcpy()
738 (xfer_count & 0xff) >= 0xfa && in txx9dmac_prep_dma_memcpy()
739 (xfer_count & 0xff) <= 0xff) in txx9dmac_prep_dma_memcpy()
740 xfer_count -= 0x20; in txx9dmac_prep_dma_memcpy()
742 if (xfer_count > 0x80 && in txx9dmac_prep_dma_memcpy()
743 (xfer_count & 0x7f) >= 0x7e && in txx9dmac_prep_dma_memcpy()
744 (xfer_count & 0x7f) <= 0x7f) in txx9dmac_prep_dma_memcpy()
[all …]
Dat_hdmac.c687 size_t xfer_count; in atc_prep_dma_interleaved() local
728 xfer_count = len >> dwidth; in atc_prep_dma_interleaved()
729 if (xfer_count > ATC_BTSIZE_MAX) { in atc_prep_dma_interleaved()
754 desc->lli.ctrla = ctrla | xfer_count; in atc_prep_dma_interleaved()
788 size_t xfer_count; in atc_prep_dma_memcpy() local
817 for (offset = 0; offset < len; offset += xfer_count << src_width) { in atc_prep_dma_memcpy()
818 xfer_count = min_t(size_t, (len - offset) >> src_width, in atc_prep_dma_memcpy()
827 desc->lli.ctrla = ctrla | xfer_count; in atc_prep_dma_memcpy()
831 desc->len = xfer_count << src_width; in atc_prep_dma_memcpy()
859 size_t xfer_count; in atc_create_memset_desc() local
[all …]
Dstm32-dma.c1249 size_t xfer_count, offset; in stm32_dma_prep_dma_memcpy() local
1260 for (offset = 0, i = 0; offset < len; offset += xfer_count, i++) { in stm32_dma_prep_dma_memcpy()
1261 xfer_count = min_t(size_t, len - offset, in stm32_dma_prep_dma_memcpy()
1283 desc->sg_req[i].chan_reg.dma_sndtr = xfer_count; in stm32_dma_prep_dma_memcpy()
1284 desc->sg_req[i].len = xfer_count; in stm32_dma_prep_dma_memcpy()
Dstm32-mdma.c951 size_t xfer_count, offset; in stm32_mdma_prep_dma_memcpy() local
1069 i++, offset += xfer_count) { in stm32_mdma_prep_dma_memcpy()
1070 xfer_count = min_t(size_t, len - offset, in stm32_mdma_prep_dma_memcpy()
1107 xfer_count, ctcr, ctbr, in stm32_mdma_prep_dma_memcpy()
/linux-6.1.9/drivers/net/ethernet/8390/
Dne.c614 int xfer_count = count; in ne_block_input() local
642 xfer_count++; in ne_block_input()
665 if (((ring_offset + xfer_count) & 0xff) == low) in ne_block_input()
671 ring_offset + xfer_count, addr); in ne_block_input()
Dpcnet_cs.c1170 int xfer_count = count; in dma_block_input() local
1193 xfer_count++; in dma_block_input()
1208 if (((ring_offset + xfer_count) & 0xff) == (addr & 0xff)) in dma_block_input()
1214 ring_offset + xfer_count, addr); in dma_block_input()
Daxnet_cs.c653 int xfer_count = count; in block_input() local
665 xfer_count++; in block_input()
/linux-6.1.9/drivers/dma/dw/
Dcore.c545 size_t xfer_count; in dwc_prep_dma_memcpy() local
575 for (offset = 0; offset < len; offset += xfer_count) { in dwc_prep_dma_memcpy()
580 ctlhi = dw->bytes2block(dwc, len - offset, src_width, &xfer_count); in dwc_prep_dma_memcpy()
586 desc->len = xfer_count; in dwc_prep_dma_memcpy()
/linux-6.1.9/drivers/scsi/mpi3mr/
Dmpi3mr_os.c3071 u32 xfer_count = 0, sense_count = 0, resp_data = 0; in mpi3mr_process_op_reply_desc() local
3109 xfer_count = le32_to_cpu(scsi_reply->transfer_count); in mpi3mr_process_op_reply_desc()
3185 scsi_set_resid(scmd, scsi_bufflen(scmd) - xfer_count); in mpi3mr_process_op_reply_desc()
3187 xfer_count == 0 && (scsi_status == MPI3_SCSI_STATUS_BUSY || in mpi3mr_process_op_reply_desc()
3215 if ((xfer_count == 0) || (scmd->underflow > xfer_count)) in mpi3mr_process_op_reply_desc()
3224 if (xfer_count < scmd->underflow) { in mpi3mr_process_op_reply_desc()
3279 host_tag, scsi_state, scsi_status, xfer_count, resp_data); in mpi3mr_process_op_reply_desc()
/linux-6.1.9/drivers/usb/dwc2/
Dhcd.h111 u32 xfer_count; member
Dhcd.c1105 remaining_count = chan->xfer_len - chan->xfer_count; in dwc2_hc_write_packet()
1126 chan->xfer_count += byte_count; in dwc2_hc_write_packet()
1539 if (chan->xfer_count < chan->xfer_len) { in dwc2_hc_continue_transfer()
2616 chan->xfer_count = 0; in dwc2_assign_and_init_hc()
3889 dev_dbg(hsotg->dev, " xfer_count: %d\n", chan->xfer_count); in dwc2_hcd_dump_state()
Dhcd_intr.c192 chan->xfer_count += bcnt; in dwc2_rx_fifo_level_intr()
/linux-6.1.9/drivers/scsi/smartpqi/
Dsmartpqi_init.c3138 int xfer_count; in pqi_process_raid_io_error() local
3153 xfer_count = in pqi_process_raid_io_error()
3155 residual_count = scsi_bufflen(scmd) - xfer_count; in pqi_process_raid_io_error()
3157 if (xfer_count < scmd->underflow) in pqi_process_raid_io_error()
3239 int xfer_count; in pqi_process_aio_io_error() local
3264 xfer_count = scsi_bufflen(scmd) - residual_count; in pqi_process_aio_io_error()
3265 if (xfer_count < scmd->underflow) in pqi_process_aio_io_error()