Lines Matching +full:- +full:v
1 /* SPDX-License-Identifier: BSD-3-Clause
78 #define ESAI_xFCR_xWA(v) SET_BITS(18, 16, 8 - ((v) >> 2)) argument
82 #define ESAI_xFCR_xFWM(v) SET_BITS(15, 8, (v) - 1) argument
89 #define ESAI_xFCR_TE(x) SET_BITS(7, 2, MASK((x) - 1, 0))
90 #define ESAI_xFCR_RE(x) SET_BITS(5, 2, MASK((x) - 1, 0))
136 /* The following macro is actually made to fit the table 16-44 in the i.MX8QXP
139 #define ESAI_xCR_xSWS_VAL(s, w) ((w) < 24 ? ((s) - (w) + (((w) - 8) >> 2)) \
149 #define ESAI_xCR_TE_SET(v) SET_BITS(5, 0, v) argument
150 #define ESAI_xCR_TE(v) ESAI_xCR_TE_SET(MASK((v) - 1, 0)) argument
152 #define ESAI_xCR_RE_SET(v) SET_BITS(3, 0, v) argument
153 #define ESAI_xCR_RE(v) ESAI_xCR_RE_SET(MASK((v) - 1, 0)) argument
155 #define ESAI_xCR_xE(rx, v) (rx ? ESAI_xCR_RE(v) : ESAI_xCR_TE(v)) argument
164 #define ESAI_xCCR_xFP(div) SET_BITS(17, 14, (div) - 1)
166 #define ESAI_xCCR_xDC(v) SET_BITS(13, 9, (v) - 1) argument
172 #define ESAI_xCCR_xPM(v) SET_BITS(7, 0, (v) - 1) argument
175 #define ESAI_xSMA_xS(v) SET_BITS(15, 0, v) argument
177 #define ESAI_xSMB_xS(v) SET_BITS(15, 0, (v) >> 16) argument
178 #define ESAI_xSMA_xS_CHANS(ch) ESAI_xSMA_xS(MASK((ch) - 1, 0))
179 #define ESAI_xSMB_xS_CHANS(ch) ESAI_xSMB_xS(MASK((ch) - 1, 0))
182 #define ESAI_PRRC_PDC(v) SET_BITS(11, 0, v) argument
185 #define ESAI_PCRC_PC(v) SET_BITS(11, 0, v) argument