Lines Matching +full:1 +full:x
18 (((1ULL << ((b_hi) - (b_lo) + 1ULL)) - 1ULL) << (b_lo))
19 #define SET_BIT(b, x) (((x) & 1) << (b)) argument
20 #define SET_BITS(b_hi, b_lo, x) \ argument
21 (((x) & ((1ULL << ((b_hi) - (b_lo) + 1ULL)) - 1ULL)) << (b_lo))
84 #define DW_CHAN_WRITE_EN_ALL MASK(2 * DW_MAX_CHAN - 1, DW_MAX_CHAN)
86 #define DW_CHAN_ALL MASK(DW_MAX_CHAN - 1, 0)
104 #define DW_CFGH_DST_PER_EXT(x) SET_BITS(31, 30, x) argument
105 #define DW_CFGH_SRC_PER_EXT(x) SET_BITS(29, 28, x) argument
106 #define DW_CFGH_DST_PER(x) SET_BITS(7, 4, x) argument
107 #define DW_CFGH_SRC_PER(x) SET_BITS(3, 0, x) argument
108 #define DW_CFGH_DST(x) \ argument
109 (DW_CFGH_DST_PER_EXT((x) >> 4) | DW_CFGH_DST_PER(x))
110 #define DW_CFGH_SRC(x) \ argument
111 (DW_CFGH_SRC_PER_EXT((x) >> 4) | DW_CFGH_SRC_PER(x))
118 #define DW_CTLL_SMS(x) SET_BIT(25, x) argument
119 #define DW_CTLL_DMS(x) SET_BIT(23, x) argument
122 #define DW_CTLL_FC_M2P SET_BITS(21, 20, 1)
126 #define DW_CTLL_SRC_MSIZE(x) SET_BITS(16, 14, x) argument
127 #define DW_CTLL_DST_MSIZE(x) SET_BITS(13, 11, x) argument
129 #define DW_CTLL_SRC_DEC SET_BITS(10, 9, 1)
132 #define DW_CTLL_DST_DEC SET_BITS(8, 7, 1)
134 #define DW_CTLL_SRC_WIDTH(x) SET_BITS(6, 4, x) argument
135 #define DW_CTLL_DST_WIDTH(x) SET_BITS(3, 1, x) argument
139 #define DW_CTLL_DST_WIDTH_MASK MASK(3, 1)
140 #define DW_CTLL_DST_WIDTH_SHIFT 1
143 #define DW_CTLH_CLASS(x) SET_BITS(31, 29, x) argument
144 #define DW_CTLH_WEIGHT(x) SET_BITS(28, 18, x) argument
145 #define DW_CTLH_DONE(x) SET_BIT(17, x) argument
149 #define DW_DSR_DSC(x) SET_BITS(31, 20, x) argument
150 #define DW_DSR_DSI(x) SET_BITS(19, 0, x) argument
155 #define DW_FIFO_CHx(x) SET_BITS(25, 13, x) argument
156 #define DW_FIFO_CHy(x) SET_BITS(12, 0, x) argument
243 static const uint32_t burst_elems[] = {1, 2, 4, 8};