Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/dma/
Dimg-mdc-dma.c92 u32 xfer_size; member
221 ldesc->xfer_size = len - 1; in mdc_list_desc_config()
304 size_t xfer_size; in mdc_prep_dma_memcpy() local
318 xfer_size = min_t(size_t, mdma->max_xfer_size, len); in mdc_prep_dma_memcpy()
321 xfer_size); in mdc_prep_dma_memcpy()
326 src += xfer_size; in mdc_prep_dma_memcpy()
327 dest += xfer_size; in mdc_prep_dma_memcpy()
328 len -= xfer_size; in mdc_prep_dma_memcpy()
398 size_t xfer_size; in mdc_prep_dma_cyclic() local
413 xfer_size = min_t(size_t, mdma->max_xfer_size, in mdc_prep_dma_cyclic()
[all …]
Dat_xdmac.c279 unsigned int xfer_size; member
587 desc->xfer_size = 0; in at_xdmac_init_used_desc()
770 unsigned int xfer_size = 0; in at_xdmac_prep_slave_sg() local
849 xfer_size += len; in at_xdmac_prep_slave_sg()
854 first->xfer_size = xfer_size; in at_xdmac_prep_slave_sg()
942 first->xfer_size = buf_len; in at_xdmac_prep_dma_cyclic()
1163 first->xfer_size = len; in at_xdmac_prep_interleaved()
1174 size_t remaining_size = len, xfer_size = 0, ublen; in at_xdmac_prep_dma_memcpy() local
1225 src_addr += xfer_size; in at_xdmac_prep_dma_memcpy()
1226 dst_addr += xfer_size; in at_xdmac_prep_dma_memcpy()
[all …]
/Linux-v6.6/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-v6.6/drivers/dma/sh/
Drcar-dmac.c125 unsigned int xfer_size; member
889 unsigned int xfer_size; in rcar_dmac_chan_configure_desc() local
896 xfer_size = chan->src.xfer_size; in rcar_dmac_chan_configure_desc()
902 xfer_size = chan->dst.xfer_size; in rcar_dmac_chan_configure_desc()
909 xfer_size = RCAR_DMAC_MEMCPY_XFER_SIZE; in rcar_dmac_chan_configure_desc()
913 desc->xfer_shift = ilog2(xfer_size); in rcar_dmac_chan_configure_desc()
1117 if (map->slave.xfer_size) { in rcar_dmac_free_chan_resources()
1119 map->slave.xfer_size, map->dir, 0); in rcar_dmac_free_chan_resources()
1120 map->slave.xfer_size = 0; in rcar_dmac_free_chan_resources()
1157 dev_size = rchan->src.xfer_size; in rcar_dmac_map_slave_addr()
[all …]
/Linux-v6.6/drivers/dma/sf-pdma/
Dsf-pdma.c69 desc->xfer_size = size; in sf_pdma_fill_desc()
183 residue = desc->xfer_size; in sf_pdma_desc_residue()
262 writeq(desc->xfer_size, regs->xfer_size); in sf_pdma_xfer_desc()
357 desc->src_addr += desc->xfer_size - residue; in sf_pdma_done_isr()
358 desc->dst_addr += desc->xfer_size - residue; in sf_pdma_done_isr()
359 desc->xfer_size = residue; in sf_pdma_done_isr()
462 chan->regs.xfer_size = in sf_pdma_setup_chans()
Dsf-pdma.h63 void __iomem *xfer_size; /* 8 bytes */ member
76 u64 xfer_size; member
/Linux-v6.6/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-v6.6/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
1259 xfer_size = c6711_burst_size; in hpi6000_dsp_block_read32()
1261 xfer_size = local_count; in hpi6000_dsp_block_read32()
[all …]
/Linux-v6.6/drivers/i2c/busses/
Di2c-tegra.c1218 size_t xfer_size; in tegra_i2c_xfer_msg() local
1250 xfer_size = i2c_dev->msg_len; in tegra_i2c_xfer_msg()
1252 xfer_size = i2c_dev->msg_len + I2C_PACKET_HEADER_SIZE; in tegra_i2c_xfer_msg()
1254 xfer_size = ALIGN(xfer_size, BYTES_PER_FIFO_WORD); in tegra_i2c_xfer_msg()
1256 i2c_dev->dma_mode = xfer_size > I2C_PIO_MODE_PREFERRED_LEN && in tegra_i2c_xfer_msg()
1259 tegra_i2c_config_fifo_trig(i2c_dev, xfer_size); in tegra_i2c_xfer_msg()
1265 xfer_time += DIV_ROUND_CLOSEST(((xfer_size * 9) + 2) * MSEC_PER_SEC, in tegra_i2c_xfer_msg()
1275 xfer_size, DMA_FROM_DEVICE); in tegra_i2c_xfer_msg()
1277 err = tegra_i2c_dma_submit(i2c_dev, xfer_size); in tegra_i2c_xfer_msg()
1283 xfer_size, DMA_TO_DEVICE); in tegra_i2c_xfer_msg()
[all …]
/Linux-v6.6/drivers/scsi/elx/efct/
Defct_driver.c252 u32 xfer_size; in efct_firmware_write() local
271 xfer_size = FW_WRITE_BUFSIZE; in efct_firmware_write()
273 xfer_size = bytes_left; in efct_firmware_write()
275 memcpy(dma.virt, buf + offset, xfer_size); in efct_firmware_write()
277 if (bytes_left == xfer_size) in efct_firmware_write()
280 efct_hw_firmware_write(&efct->hw, &dma, xfer_size, offset, in efct_firmware_write()
/Linux-v6.6/drivers/memory/
Drenesas-rpc-if.c182 u8 xfer_size; member
225 switch (rpc->xfer_size) { in rpcif_reg_read()
245 if (rpc->xfer_size != 8) in rpcif_reg_read()
260 switch (rpc->xfer_size) { in rpcif_reg_write()
279 if (rpc->xfer_size != 8) in rpcif_reg_write()
538 rpc->xfer_size = nbytes; in rpcif_manual_xfer()
597 rpc->xfer_size = nbytes; in rpcif_manual_xfer()
/Linux-v6.6/drivers/cxl/core/
Dmbox.c653 u32 xfer_size = min_t(u32, remaining, mds->payload_size); in cxl_xfer_log() local
661 .length = cpu_to_le32(xfer_size), in cxl_xfer_log()
668 .size_out = xfer_size, in cxl_xfer_log()
679 if (rc == -EIO && mbox_cmd.size_out < xfer_size) { in cxl_xfer_log()
687 out += xfer_size; in cxl_xfer_log()
688 remaining -= xfer_size; in cxl_xfer_log()
689 offset += xfer_size; in cxl_xfer_log()
/Linux-v6.6/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-v6.6/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.c8083 u8 xfer_size; in bnx2x_read_sfp_module_eeprom() local
8108 xfer_size = (byte_cnt > SFP_EEPROM_PAGE_SIZE) ? in bnx2x_read_sfp_module_eeprom()
8110 rc = read_func(phy, params, dev_addr, addr, xfer_size, in bnx2x_read_sfp_module_eeprom()
8112 byte_cnt -= xfer_size; in bnx2x_read_sfp_module_eeprom()
8113 user_data += xfer_size; in bnx2x_read_sfp_module_eeprom()
8114 addr += xfer_size; in bnx2x_read_sfp_module_eeprom()
/Linux-v6.6/include/uapi/linux/
Didxd.h199 uint32_t xfer_size; member
/Linux-v6.6/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-v6.6/drivers/dma/idxd/
Ddma.c75 hw->xfer_size = len; in idxd_prep_desc_common()
Dsysfs.c1012 u64 xfer_size; in wq_max_transfer_size_store() local
1021 rc = __get_sysfs_u64(buf, &xfer_size); in wq_max_transfer_size_store()
1025 if (xfer_size > idxd->max_xfer_bytes) in wq_max_transfer_size_store()
1028 wq->max_xfer_bytes = xfer_size; in wq_max_transfer_size_store()
/Linux-v6.6/drivers/dma/xilinx/
Dxilinx_dpdma.c163 u32 xfer_size; member
605 dev_dbg(dev, "xfer_size: 0x%08x\n", hw_desc->xfer_size); in xilinx_dpdma_chan_dump_tx_desc()
715 hw_desc->xfer_size = hsize * xt->numf; in xilinx_dpdma_chan_prep_interleaved_dma()
/Linux-v6.6/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c3209 u16 xfer_size; in bnxt_read_sfp_module_eeprom_info() local
3211 xfer_size = min_t(u16, data_length, BNXT_MAX_PHY_I2C_RESP_SIZE); in bnxt_read_sfp_module_eeprom_info()
3212 data_length -= xfer_size; in bnxt_read_sfp_module_eeprom_info()
3214 req->data_length = xfer_size; in bnxt_read_sfp_module_eeprom_info()
3224 memcpy(buf + byte_offset, output->data, xfer_size); in bnxt_read_sfp_module_eeprom_info()
3225 byte_offset += xfer_size; in bnxt_read_sfp_module_eeprom_info()
/Linux-v6.6/drivers/ata/
Dlibata-sff.c579 unsigned int offset, size_t xfer_size) in ata_pio_xfer() argument
585 qc->ap->ops->sff_data_xfer(qc, buf + offset, xfer_size, do_write); in ata_pio_xfer()