Lines Matching +full:big +full:- +full:endian +full:- +full:regs
1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright 2013-2014 Freescale Semiconductor, Inc.
9 #include <linux/dma-direction.h>
11 #include "virt-dma.h"
167 struct edma_regs regs; member
172 * R/W functions for big- or little-endian registers:
173 * The eDMA controller's endian is independent of the CPU core's endian.
174 * For the big-endian IP module, the offset for 8-bit or 16-bit registers
175 * should also be swapped opposite to that in little-endian IP.
179 if (edma->big_endian) in edma_readl()
188 /* swap the reg offset for these in big-endian mode */ in edma_writeb()
189 if (edma->big_endian) in edma_writeb()
198 /* swap the reg offset for these in big-endian mode */ in edma_writew()
199 if (edma->big_endian) in edma_writew()
208 if (edma->big_endian) in edma_writel()