Home
last modified time | relevance | path

Searched refs:xfer_size (Results 1 – 22 of 22) sorted by relevance

/kernel/linux/linux-5.10/drivers/dma/
Dimg-mdc-dma.c93 u32 xfer_size; member
222 ldesc->xfer_size = len - 1; in mdc_list_desc_config()
305 size_t xfer_size; in mdc_prep_dma_memcpy() local
319 xfer_size = min_t(size_t, mdma->max_xfer_size, len); in mdc_prep_dma_memcpy()
322 xfer_size); in mdc_prep_dma_memcpy()
327 src += xfer_size; in mdc_prep_dma_memcpy()
328 dest += xfer_size; in mdc_prep_dma_memcpy()
329 len -= xfer_size; in mdc_prep_dma_memcpy()
399 size_t xfer_size; in mdc_prep_dma_cyclic() local
414 xfer_size = min_t(size_t, mdma->max_xfer_size, in mdc_prep_dma_cyclic()
[all …]
Dat_xdmac.c243 unsigned int xfer_size; member
461 desc->xfer_size = 0; in at_xdmac_init_used_desc()
639 unsigned int xfer_size = 0; in at_xdmac_prep_slave_sg() local
717 xfer_size += len; in at_xdmac_prep_slave_sg()
722 first->xfer_size = xfer_size; in at_xdmac_prep_slave_sg()
809 first->xfer_size = buf_len; in at_xdmac_prep_dma_cyclic()
1025 first->xfer_size = len; in at_xdmac_prep_interleaved()
1036 size_t remaining_size = len, xfer_size = 0, ublen; in at_xdmac_prep_dma_memcpy() local
1084 src_addr += xfer_size; in at_xdmac_prep_dma_memcpy()
1085 dst_addr += xfer_size; in at_xdmac_prep_dma_memcpy()
[all …]
/kernel/linux/linux-5.10/drivers/dma/ioat/
Dprep.c193 size_t xfer_size = min_t(size_t, in __ioat_prep_xor_lock() local
211 xor->size = xfer_size; in __ioat_prep_xor_lock()
217 len -= xfer_size; in __ioat_prep_xor_lock()
218 offset += xfer_size; in __ioat_prep_xor_lock()
389 size_t xfer_size = min_t(size_t, len, in __ioat_prep_pq_lock() local
416 pq->size = xfer_size; in __ioat_prep_pq_lock()
428 len -= xfer_size; in __ioat_prep_pq_lock()
429 offset += xfer_size; in __ioat_prep_pq_lock()
497 size_t xfer_size = min_t(size_t, len, in __ioat_prep_pq16_lock() local
530 pq->size = xfer_size; in __ioat_prep_pq16_lock()
[all …]
/kernel/linux/linux-5.10/drivers/dma/sh/
Drcar-dmac.c125 unsigned int xfer_size; member
862 unsigned int xfer_size; in rcar_dmac_chan_configure_desc() local
869 xfer_size = chan->src.xfer_size; in rcar_dmac_chan_configure_desc()
875 xfer_size = chan->dst.xfer_size; in rcar_dmac_chan_configure_desc()
882 xfer_size = RCAR_DMAC_MEMCPY_XFER_SIZE; in rcar_dmac_chan_configure_desc()
886 desc->xfer_shift = ilog2(xfer_size); in rcar_dmac_chan_configure_desc()
1090 if (map->slave.xfer_size) { in rcar_dmac_free_chan_resources()
1092 map->slave.xfer_size, map->dir, 0); in rcar_dmac_free_chan_resources()
1093 map->slave.xfer_size = 0; in rcar_dmac_free_chan_resources()
1130 dev_size = rchan->src.xfer_size; in rcar_dmac_map_slave_addr()
[all …]
/kernel/linux/linux-5.10/drivers/dma/sf-pdma/
Dsf-pdma.c69 desc->xfer_size = size; in sf_pdma_fill_desc()
184 residue = desc->xfer_size; in sf_pdma_desc_residue()
263 writeq(desc->xfer_size, regs->xfer_size); in sf_pdma_xfer_desc()
359 desc->src_addr += desc->xfer_size - residue; in sf_pdma_done_isr()
360 desc->dst_addr += desc->xfer_size - residue; in sf_pdma_done_isr()
361 desc->xfer_size = residue; in sf_pdma_done_isr()
469 chan->regs.xfer_size = in sf_pdma_setup_chans()
Dsf-pdma.h67 void __iomem *xfer_size; /* 8 bytes */ member
80 u64 xfer_size; member
/kernel/linux/linux-5.10/drivers/input/joystick/
Dpxrc.c126 size_t xfer_size; in pxrc_probe() local
150 xfer_size = usb_endpoint_maxp(epirq); in pxrc_probe()
151 xfer_buf = devm_kmalloc(&intf->dev, xfer_size, GFP_KERNEL); in pxrc_probe()
165 xfer_buf, xfer_size, pxrc_usb_irq, pxrc, 1); in pxrc_probe()
/kernel/linux/linux-5.10/sound/pci/asihpi/
Dhpi6000.c1216 int xfer_size; in hpi6000_dsp_block_write32() local
1221 xfer_size = c6711_burst_size; in hpi6000_dsp_block_write32()
1223 xfer_size = local_count; in hpi6000_dsp_block_write32()
1228 xfer_size); in hpi6000_dsp_block_write32()
1234 pdata += xfer_size; in hpi6000_dsp_block_write32()
1235 local_hpi_address += sizeof(u32) * xfer_size; in hpi6000_dsp_block_write32()
1236 local_count -= xfer_size; in hpi6000_dsp_block_write32()
1254 int xfer_size; in hpi6000_dsp_block_read32() local
1260 xfer_size = c6711_burst_size; in hpi6000_dsp_block_read32()
1262 xfer_size = local_count; in hpi6000_dsp_block_read32()
[all …]
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-tegra.c1224 size_t xfer_size; in tegra_i2c_xfer_msg() local
1239 xfer_size = msg->len; in tegra_i2c_xfer_msg()
1241 xfer_size = msg->len + I2C_PACKET_HEADER_SIZE; in tegra_i2c_xfer_msg()
1243 xfer_size = ALIGN(xfer_size, BYTES_PER_FIFO_WORD); in tegra_i2c_xfer_msg()
1245 i2c_dev->dma_mode = xfer_size > I2C_PIO_MODE_PREFERRED_LEN && in tegra_i2c_xfer_msg()
1248 tegra_i2c_config_fifo_trig(i2c_dev, xfer_size); in tegra_i2c_xfer_msg()
1254 xfer_time += DIV_ROUND_CLOSEST(((xfer_size * 9) + 2) * MSEC_PER_SEC, in tegra_i2c_xfer_msg()
1264 xfer_size, DMA_FROM_DEVICE); in tegra_i2c_xfer_msg()
1266 err = tegra_i2c_dma_submit(i2c_dev, xfer_size); in tegra_i2c_xfer_msg()
1272 xfer_size, DMA_TO_DEVICE); in tegra_i2c_xfer_msg()
[all …]
/kernel/linux/linux-5.10/drivers/memory/
Drenesas-rpc-if.c176 switch (rpc->xfer_size) { in rpcif_reg_read()
196 if (rpc->xfer_size != 8) in rpcif_reg_read()
212 switch (rpc->xfer_size) { in rpcif_reg_write()
231 if (rpc->xfer_size != 8) in rpcif_reg_write()
488 rpc->xfer_size = nbytes; in rpcif_manual_xfer()
553 rpc->xfer_size = nbytes; in rpcif_manual_xfer()
/kernel/linux/linux-5.10/include/memory/
Drenesas-rpc-if.h68 u8 xfer_size; member
/kernel/linux/linux-5.10/drivers/input/
Devdev.c998 size_t cnt, size, xfer_size; in evdev_get_mask() local
1005 xfer_size = min_t(size_t, codes_size, size); in evdev_get_mask()
1011 xfer_size, codes, compat); in evdev_get_mask()
1016 for (i = 0; i < xfer_size; i++) in evdev_get_mask()
1022 if (xfer_size < codes_size) in evdev_get_mask()
1023 if (clear_user(codes + xfer_size, codes_size - xfer_size)) in evdev_get_mask()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Didxd.h109 uint32_t xfer_size; member
/kernel/linux/linux-5.10/include/uapi/linux/
Didxd.h106 uint32_t xfer_size; member
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c1510 unsigned int start_addr = ee->offset, xfer_size = 0; in bnx2x_get_module_eeprom() local
1524 xfer_size = ETH_MODULE_SFF_8079_LEN - start_addr; in bnx2x_get_module_eeprom()
1526 xfer_size = ee->len; in bnx2x_get_module_eeprom()
1532 xfer_size, in bnx2x_get_module_eeprom()
1540 user_data += xfer_size; in bnx2x_get_module_eeprom()
1541 start_addr += xfer_size; in bnx2x_get_module_eeprom()
1547 xfer_size = ee->len - xfer_size; in bnx2x_get_module_eeprom()
1549 if (start_addr + xfer_size > ETH_MODULE_SFF_8472_LEN) in bnx2x_get_module_eeprom()
1550 xfer_size = ETH_MODULE_SFF_8472_LEN - start_addr; in bnx2x_get_module_eeprom()
1557 xfer_size, in bnx2x_get_module_eeprom()
Dbnx2x_link.c8081 u8 xfer_size; in bnx2x_read_sfp_module_eeprom() local
8106 xfer_size = (byte_cnt > SFP_EEPROM_PAGE_SIZE) ? in bnx2x_read_sfp_module_eeprom()
8108 rc = read_func(phy, params, dev_addr, addr, xfer_size, in bnx2x_read_sfp_module_eeprom()
8110 byte_cnt -= xfer_size; in bnx2x_read_sfp_module_eeprom()
8111 user_data += xfer_size; in bnx2x_read_sfp_module_eeprom()
8112 addr += xfer_size; in bnx2x_read_sfp_module_eeprom()
/kernel/linux/linux-5.10/drivers/usb/host/
Disp1362-hcd.c177 u16 xfer_size = min_t(size_t, MAX_XFER_SIZE, size); in max_transfer_size() local
179 xfer_size = min_t(size_t, xfer_size, epq->buf_avail * epq->blk_size - PTD_HEADER_SIZE); in max_transfer_size()
180 if (xfer_size < size && xfer_size % mps) in max_transfer_size()
181 xfer_size -= xfer_size % mps; in max_transfer_size()
183 return xfer_size; in max_transfer_size()
/kernel/linux/linux-5.10/drivers/dma/idxd/
Dsysfs.c1098 u64 xfer_size; in wq_max_transfer_size_store() local
1107 rc = __get_sysfs_u64(buf, &xfer_size); in wq_max_transfer_size_store()
1111 if (xfer_size > idxd->max_xfer_bytes) in wq_max_transfer_size_store()
1114 wq->max_xfer_bytes = xfer_size; in wq_max_transfer_size_store()
Ddma.c73 hw->xfer_size = len; in idxd_prep_desc_common()
/kernel/linux/linux-5.10/drivers/dma/xilinx/
Dxilinx_dpdma.c162 u32 xfer_size; member
617 dev_dbg(dev, "xfer_size: 0x%08x\n", hw_desc->xfer_size); in xilinx_dpdma_chan_dump_tx_desc()
726 hw_desc->xfer_size = hsize * xt->numf; in xilinx_dpdma_chan_prep_interleaved_dma()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c2908 u16 xfer_size; in bnxt_read_sfp_module_eeprom_info() local
2910 xfer_size = min_t(u16, data_length, BNXT_MAX_PHY_I2C_RESP_SIZE); in bnxt_read_sfp_module_eeprom_info()
2911 data_length -= xfer_size; in bnxt_read_sfp_module_eeprom_info()
2913 req.data_length = xfer_size; in bnxt_read_sfp_module_eeprom_info()
2920 memcpy(buf + byte_offset, output->data, xfer_size); in bnxt_read_sfp_module_eeprom_info()
2922 byte_offset += xfer_size; in bnxt_read_sfp_module_eeprom_info()
/kernel/linux/linux-5.10/drivers/ata/
Dlibata-sff.c641 unsigned int offset, size_t xfer_size) in ata_pio_xfer() argument
647 qc->ap->ops->sff_data_xfer(qc, buf + offset, xfer_size, do_write); in ata_pio_xfer()