Lines Matching +full:multi +full:- +full:slot

1 /* SPDX-License-Identifier: GPL-2.0-only */
20 #define MV_XOR_MAX_BYTE_COUNT (SZ_16M - 1)
36 #define XOR_CURR_DESC(chan) (chan->mmr_high_base + 0x10 + (chan->idx * 4))
37 #define XOR_NEXT_DESC(chan) (chan->mmr_high_base + 0x00 + (chan->idx * 4))
38 #define XOR_BYTE_COUNT(chan) (chan->mmr_high_base + 0x20 + (chan->idx * 4))
39 #define XOR_DEST_POINTER(chan) (chan->mmr_high_base + 0xB0 + (chan->idx * 4))
40 #define XOR_BLOCK_SIZE(chan) (chan->mmr_high_base + 0xC0 + (chan->idx * 4))
41 #define XOR_INIT_VALUE_LOW(chan) (chan->mmr_high_base + 0xE0)
42 #define XOR_INIT_VALUE_HIGH(chan) (chan->mmr_high_base + 0xE4)
44 #define XOR_CONFIG(chan) (chan->mmr_base + 0x10 + (chan->idx * 4))
45 #define XOR_ACTIVATION(chan) (chan->mmr_base + 0x20 + (chan->idx * 4))
46 #define XOR_INTR_CAUSE(chan) (chan->mmr_base + 0x30)
47 #define XOR_INTR_MASK(chan) (chan->mmr_base + 0x40)
48 #define XOR_ERROR_CAUSE(chan) (chan->mmr_base + 0x50)
49 #define XOR_ERROR_ADDR(chan) (chan->mmr_base + 0x60)
89 * struct mv_xor_chan - internal representation of a XOR channel
100 * @slots_allocated: records the actual size of the descriptor slot pool
106 spinlock_t lock; /* protects the descriptor slot pool */
132 * struct mv_xor_desc_slot - software descriptor
136 * @slot_used: slot in use or not
138 * @tx_list: list of slots that make up a multi-descriptor transaction
156 * phy_src_addr[] array are actually swapped in big-endian, which
162 u32 crc32_result; /* result of CRC-32 calculation */
174 u32 crc32_result; /* result of CRC-32 calculation */