Lines Matching +full:16 +full:- +full:channel
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) ST-Ericsson SA 2007-2010
4 * Author: Per Friden <per.friden@stericsson.com> for ST-Ericsson SA
5 * Author: Jonas Aaberg <jonas.aberg@stericsson.com> for ST-Ericsson SA
12 #define D40_LLI_ALIGN 16 /* LLI alignment must be 16 bytes. */
15 #define D40_LCPA_CHAN_DST_DELTA 16
17 #define D40_TYPE_TO_GROUP(type) (type / 16)
18 #define D40_TYPE_TO_EVENT(type) (type % 16)
20 #define D40_PHYS_TO_GROUP(phys) ((phys & (D40_GROUP_SIZE - 1)) / 2)
38 /* Standard channel parameters - basic mode (element register) */
39 #define D40_SREG_ELEM_PHY_ECNT_POS 16
44 /* Standard channel parameters - basic mode (Link register) */
50 * 29-bit byte word aligned address of the reload area.
54 /* Standard basic channel logical mode */
57 #define D40_SREG_ELEM_LOG_ECNT_POS 16
68 /* Standard basic channel logical params in memory */
71 #define D40_MEM_LCSP0_ECNT_POS 16
78 #define D40_MEM_LCSP1_SPTR_POS 16
96 #define D40_MEM_LCSP2_ECNT_POS 16
114 /* Standard channel parameter register offsets */
329 * struct d40_phy_lli - The basic configuration register for each physical
330 * channel.
341 * This struct must be 16 bytes aligned, and only contain physical registers
352 * struct d40_phy_lli_bidir - struct for a transfer.
354 * @src: Register settings for src channel.
355 * @dst: Register settings for dst channel.
367 * struct d40_log_lli - logical lli configuration
382 * struct d40_log_lli_bidir - For both src and dst
396 * struct d40_log_lli_full - LCPA layout
398 * @lcsp0: Logical Channel Standard Param 0 - Src.
399 * @lcsp1: Logical Channel Standard Param 1 - Src.
400 * @lcsp2: Logical Channel Standard Param 2 - Dst.
401 * @lcsp3: Logical Channel Standard Param 3 - Dst.
414 * struct d40_def_lcsp - Default LCSP1 and LCSP3 settings