Home
last modified time | relevance | path

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

/Linux-v5.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.c242 unsigned int xfer_size; member
463 desc->xfer_size = 0; in at_xdmac_init_used_desc()
641 unsigned int xfer_size = 0; in at_xdmac_prep_slave_sg() local
719 xfer_size += len; in at_xdmac_prep_slave_sg()
724 first->xfer_size = xfer_size; in at_xdmac_prep_slave_sg()
811 first->xfer_size = buf_len; in at_xdmac_prep_dma_cyclic()
1027 first->xfer_size = len; in at_xdmac_prep_interleaved()
1038 size_t remaining_size = len, xfer_size = 0, ublen; in at_xdmac_prep_dma_memcpy() local
1086 src_addr += xfer_size; in at_xdmac_prep_dma_memcpy()
1087 dst_addr += xfer_size; in at_xdmac_prep_dma_memcpy()
[all …]
/Linux-v5.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 …]
/Linux-v5.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 …]
/Linux-v5.10/drivers/dma/sf-pdma/
Dsf-pdma.c79 desc->xfer_size = size; in sf_pdma_fill_desc()
188 residue = desc->xfer_size; in sf_pdma_desc_residue()
254 writeq(desc->xfer_size, regs->xfer_size); in sf_pdma_xfer_desc()
342 desc->src_addr += desc->xfer_size - residue; in sf_pdma_done_isr()
343 desc->dst_addr += desc->xfer_size - residue; in sf_pdma_done_isr()
344 desc->xfer_size = residue; in sf_pdma_done_isr()
452 chan->regs.xfer_size = in sf_pdma_setup_chans()
Dsf-pdma.h67 void __iomem *xfer_size; /* 8 bytes */ member
80 u64 xfer_size; member
/Linux-v5.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()
/Linux-v5.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 …]
/Linux-v5.10/drivers/i2c/busses/
Di2c-tegra.c1200 size_t xfer_size; in tegra_i2c_xfer_msg() local
1215 xfer_size = msg->len; in tegra_i2c_xfer_msg()
1217 xfer_size = msg->len + I2C_PACKET_HEADER_SIZE; in tegra_i2c_xfer_msg()
1219 xfer_size = ALIGN(xfer_size, BYTES_PER_FIFO_WORD); in tegra_i2c_xfer_msg()
1221 i2c_dev->dma_mode = xfer_size > I2C_PIO_MODE_PREFERRED_LEN && in tegra_i2c_xfer_msg()
1224 tegra_i2c_config_fifo_trig(i2c_dev, xfer_size); in tegra_i2c_xfer_msg()
1230 xfer_time += DIV_ROUND_CLOSEST(((xfer_size * 9) + 2) * MSEC_PER_SEC, in tegra_i2c_xfer_msg()
1240 xfer_size, DMA_FROM_DEVICE); in tegra_i2c_xfer_msg()
1242 err = tegra_i2c_dma_submit(i2c_dev, xfer_size); in tegra_i2c_xfer_msg()
1248 xfer_size, DMA_TO_DEVICE); in tegra_i2c_xfer_msg()
[all …]
/Linux-v5.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()
/Linux-v5.10/include/uapi/linux/
Didxd.h106 uint32_t xfer_size; member
/Linux-v5.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()
/Linux-v5.10/drivers/dma/idxd/
Ddma.c70 hw->xfer_size = len; in idxd_prep_desc_common()
Dsysfs.c1095 u64 xfer_size; in wq_max_transfer_size_store() local
1101 rc = __get_sysfs_u64(buf, &xfer_size); in wq_max_transfer_size_store()
1105 if (xfer_size > idxd->max_xfer_bytes) in wq_max_transfer_size_store()
1108 wq->max_xfer_bytes = xfer_size; in wq_max_transfer_size_store()
/Linux-v5.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()
/Linux-v5.10/drivers/dma/xilinx/
Dxilinx_dpdma.c161 u32 xfer_size; member
616 dev_dbg(dev, "xfer_size: 0x%08x\n", hw_desc->xfer_size); in xilinx_dpdma_chan_dump_tx_desc()
725 hw_desc->xfer_size = hsize * xt->numf; in xilinx_dpdma_chan_prep_interleaved_dma()
/Linux-v5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c2907 u16 xfer_size; in bnxt_read_sfp_module_eeprom_info() local
2909 xfer_size = min_t(u16, data_length, BNXT_MAX_PHY_I2C_RESP_SIZE); in bnxt_read_sfp_module_eeprom_info()
2910 data_length -= xfer_size; in bnxt_read_sfp_module_eeprom_info()
2912 req.data_length = xfer_size; in bnxt_read_sfp_module_eeprom_info()
2919 memcpy(buf + byte_offset, output->data, xfer_size); in bnxt_read_sfp_module_eeprom_info()
2921 byte_offset += xfer_size; in bnxt_read_sfp_module_eeprom_info()