Lines Matching +full:dma +full:- +full:related
1 /* SPDX-License-Identifier: GPL-2.0-only */
19 #include <linux/dma-direction.h>
27 #include "sp-dev.h"
63 /* ------------------------ CCP Version 5 Specifics ------------------------ */
103 #define QUEUE_SIZE_VAL ((ffs(COMMANDS_PER_QUEUE) - 2) & \
105 #define Q_PTR_MASK (2 << (QUEUE_SIZE_VAL + 5) - 1)
125 /* ------------------------ CCP Version 3 Specifics ------------------------ */
133 /****** REQ1 Related Values ******/
141 /* AES Related Values */
147 /* XTS-AES Related Values */
150 /* SHA Related Values */
153 /* RSA Related Values */
156 /* Pass-Through Related Values */
160 /* ECC Related Values */
164 /****** REQ4 Related Values ******/
168 /****** REQ6 Related Values ******/
174 #define KSB_COUNT (KSB_END - KSB_START + 1)
179 /* ------------------------ General CCP Defines ------------------------ */
209 #define CCP_ECC_MODULUS_BYTES 48 /* 384-bits */
266 /* Queue dma pool */
281 /* Per-queue reserved storage block(s) */
287 /* Private LSB that is assigned to this queue, or -1 if none.
328 /* Per-queue Statistics */
389 /* Support for the CCP DMA capabilities
396 /* A counter used to generate job-ids for cmds submitted to the CCP
431 /* DMA caching attribute support */
462 struct ccp_dma_info dma; member
488 struct ccp_dma_info dma; member
559 return lower_32_bits(info->address + info->offset); in ccp_addr_lo()
564 return upper_32_bits(info->address + info->offset) & 0x0000ffff; in ccp_addr_hi()
569 * 8 32-bit words:
600 u32 dst_lo; /* NON-SHA */
651 /* Structure for computation functions that are device-specific */