Lines Matching +full:burst +full:- +full:length
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Driver for the Intel integrated DMA 64-bit
16 #include <linux/io-64-nonatomic-lo-hi.h>
18 #include "virt-dma.h"
46 #define IDMA64C_CTLL_DST_MSIZE(x) ((x) << 11) /* burst, #elements */
48 #define IDMA64C_CTLL_FC_M2P (1 << 20) /* mem-to-periph */
49 #define IDMA64C_CTLL_FC_P2M (2 << 20) /* periph-to-mem */
54 #define IDMA64C_CTLH_BLOCK_TS_MASK ((1 << 17) - 1)
59 #define IDMA64C_CFGL_DST_BURST_ALIGN (1 << 0) /* dst burst align */
60 #define IDMA64C_CFGL_SRC_BURST_ALIGN (1 << 1) /* src burst align */
64 #define IDMA64C_CFGL_DST_OPT_BL (1 << 20) /* optimize dst burst length */
65 #define IDMA64C_CFGL_SRC_OPT_BL (1 << 21) /* optimize src burst length */
118 size_t length; member
153 return readl(idma64c->regs + offset); in idma64c_readl()
159 writel(value, idma64c->regs + offset); in idma64c_writel()
169 return lo_hi_readq(idma64c->regs + offset); in idma64c_readq()
175 lo_hi_writeq(value, idma64c->regs + offset); in idma64c_writeq()
200 return readl(idma64->regs + offset); in idma64_readl()
205 writel(value, idma64->regs + offset); in idma64_writel()
214 * struct idma64_chip - representation of iDMA 64-bit controller hardware