/openbmc/u-boot/drivers/fpga/ |
H A D | stratix10.c | 174 u32 xfer_count = 0; in send_reconfig_data() local 185 while (rbf_size || xfer_count) { in send_reconfig_data() 186 if (!resp_err && rbf_size && xfer_count < xfer_max) { in send_reconfig_data() 201 xfer_count++; in send_reconfig_data() 233 xfer_count--; in send_reconfig_data() 236 if (resp_err && !xfer_count) in send_reconfig_data()
|
/openbmc/linux/drivers/comedi/drivers/ |
H A D | rtd520.c | 644 } else if (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() 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() 892 devpriv->xfer_count = 0; in rtd_ai_cmd() 900 devpriv->xfer_count = 0; in rtd_ai_cmd() 914 if ((devpriv->xfer_count > 0) && in rtd_ai_cmd() [all …]
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | hideep.c | 448 ucode, xfer_count); in hideep_program_page() 450 val = be32_to_cpu(ucode[xfer_count - 1]); in hideep_program_page() 472 size_t xfer_count; in hideep_program_nvm() local 482 xfer_count = xfer_len / sizeof(*ucode); in hideep_program_nvm() 485 current_ucode, xfer_count); in hideep_program_nvm() 496 ucode, xfer_count); in hideep_program_nvm() 507 ucode += xfer_count; in hideep_program_nvm() 521 size_t xfer_count; in hideep_verify_nvm() local 528 xfer_count = xfer_len / sizeof(*ucode); in hideep_verify_nvm() 531 current_ucode, xfer_count); in hideep_verify_nvm() [all …]
|
H A D | raydium_i2c_ts.c | 150 struct i2c_msg *xfer, size_t xfer_count) in raydium_i2c_xfer() argument 158 xfer_count -= xfer_start_idx; in raydium_i2c_xfer() 160 ret = i2c_transfer(client->adapter, &xfer[xfer_start_idx], xfer_count); in raydium_i2c_xfer() 161 if (likely(ret == xfer_count)) in raydium_i2c_xfer()
|
/openbmc/linux/drivers/dma/ |
H A D | txx9dmac.c | 717 size_t xfer_count; in txx9dmac_prep_dma_memcpy() local 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() 745 xfer_count -= 0x20; in txx9dmac_prep_dma_memcpy() 757 desc->hwdesc.CNTR = xfer_count; in txx9dmac_prep_dma_memcpy() [all …]
|
H A D | at_hdmac.c | 867 size_t xfer_count; in atc_prep_dma_interleaved() local 907 xfer_count = len >> dwidth; in atc_prep_dma_interleaved() 908 if (xfer_count > ATC_BTSIZE_MAX) { in atc_prep_dma_interleaved() 938 lli->ctrla = ctrla | xfer_count; in atc_prep_dma_interleaved() 967 size_t xfer_count; in atc_prep_dma_memcpy() local 1020 lli->ctrla = ctrla | xfer_count; in atc_prep_dma_memcpy() 1023 desc->sg[i].len = xfer_count << src_width; in atc_prep_dma_memcpy() 1046 size_t xfer_count; in atdma_create_memset_lli() local 1053 xfer_count = len >> 2; in atdma_create_memset_lli() 1054 if (xfer_count > ATC_BTSIZE_MAX) { in atdma_create_memset_lli() [all …]
|
H A D | stm32-dma.c | 1251 size_t xfer_count, offset; in stm32_dma_prep_dma_memcpy() local 1262 for (offset = 0, i = 0; offset < len; offset += xfer_count, i++) { in stm32_dma_prep_dma_memcpy() 1263 xfer_count = min_t(size_t, len - offset, in stm32_dma_prep_dma_memcpy() 1289 desc->sg_req[i].chan_reg.dma_sndtr = xfer_count; in stm32_dma_prep_dma_memcpy() 1290 desc->sg_req[i].len = xfer_count; in stm32_dma_prep_dma_memcpy()
|
H A D | stm32-mdma.c | 948 size_t xfer_count, offset; in stm32_mdma_prep_dma_memcpy() local 1066 i++, offset += xfer_count) { in stm32_mdma_prep_dma_memcpy() 1067 xfer_count = min_t(size_t, len - offset, in stm32_mdma_prep_dma_memcpy() 1104 xfer_count, ctcr, ctbr, in stm32_mdma_prep_dma_memcpy()
|
/openbmc/linux/drivers/net/ethernet/8390/ |
H A D | ne.c | 613 int xfer_count = count; in ne_block_input() local 641 xfer_count++; in ne_block_input() 664 if (((ring_offset + xfer_count) & 0xff) == low) in ne_block_input() 670 ring_offset + xfer_count, addr); in ne_block_input()
|
H A D | pcnet_cs.c | 1169 int xfer_count = count; in dma_block_input() local 1192 xfer_count++; in dma_block_input() 1207 if (((ring_offset + xfer_count) & 0xff) == (addr & 0xff)) in dma_block_input() 1213 ring_offset + xfer_count, addr); in dma_block_input()
|
/openbmc/linux/drivers/dma/dw/ |
H A D | core.c | 546 size_t xfer_count; in dwc_prep_dma_memcpy() local 576 for (offset = 0; offset < len; offset += xfer_count) { in dwc_prep_dma_memcpy() 581 ctlhi = dw->bytes2block(dwc, len - offset, src_width, &xfer_count); in dwc_prep_dma_memcpy() 587 desc->len = xfer_count; in dwc_prep_dma_memcpy()
|
/openbmc/linux/drivers/usb/dwc2/ |
H A D | hcd.h | 111 u32 xfer_count; member
|
H A D | hcd.c | 1105 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() 3895 dev_dbg(hsotg->dev, " xfer_count: %d\n", chan->xfer_count); in dwc2_hcd_dump_state()
|
H A D | hcd_intr.c | 192 chan->xfer_count += bcnt; in dwc2_rx_fifo_level_intr()
|
/openbmc/linux/drivers/scsi/mpi3mr/ |
H A D | mpi3mr_os.c | 3135 u32 xfer_count = 0, sense_count = 0, resp_data = 0; in mpi3mr_process_op_reply_desc() local 3173 xfer_count = le32_to_cpu(scsi_reply->transfer_count); in mpi3mr_process_op_reply_desc() 3249 scsi_set_resid(scmd, scsi_bufflen(scmd) - xfer_count); in mpi3mr_process_op_reply_desc() 3251 xfer_count == 0 && (scsi_status == MPI3_SCSI_STATUS_BUSY || in mpi3mr_process_op_reply_desc() 3279 if ((xfer_count == 0) || (scmd->underflow > xfer_count)) in mpi3mr_process_op_reply_desc() 3288 if (xfer_count < scmd->underflow) { in mpi3mr_process_op_reply_desc() 3343 host_tag, scsi_state, scsi_status, xfer_count, resp_data); in mpi3mr_process_op_reply_desc()
|
/openbmc/linux/drivers/accel/qaic/ |
H A D | qaic_control.c | 1022 int xfer_count = 0; in msg_xfer() local 1032 xfer_count++; in msg_xfer() 1035 if (xfer_count <= mhi_get_free_desc_count(qdev->cntl_ch, DMA_TO_DEVICE)) { in msg_xfer()
|
/openbmc/qemu/hw/usb/ |
H A D | hcd-xhci.c | 277 uint32_t xfer_count; member 1159 if (epctx->xfer_count >= limit) { in xhci_ep_alloc_xfer() 1170 epctx->xfer_count++; in xhci_ep_alloc_xfer() 1178 xfer->epctx->xfer_count--; in xhci_ep_free_xfer()
|
/openbmc/linux/drivers/scsi/smartpqi/ |
H A D | smartpqi_init.c | 3151 int xfer_count; in pqi_process_raid_io_error() local 3166 xfer_count = in pqi_process_raid_io_error() 3168 residual_count = scsi_bufflen(scmd) - xfer_count; in pqi_process_raid_io_error() 3170 if (xfer_count < scmd->underflow) in pqi_process_raid_io_error() 3252 int xfer_count; in pqi_process_aio_io_error() local 3275 xfer_count = scsi_bufflen(scmd) - residual_count; in pqi_process_aio_io_error() 3276 if (xfer_count < scmd->underflow) in pqi_process_aio_io_error()
|