Lines Matching refs:i
34 #define REG_ASRCDR(i) ((i < 2) ? REG_ASRCDR1 : REG_ASRCDR2) argument
54 #define REG_ASRDI(i) (REG_ASRDIA + (i << 3)) argument
55 #define REG_ASRDO(i) (REG_ASRDOA + (i << 3)) argument
56 #define REG_ASRDx(x, i) ((x) == IN ? REG_ASRDI(i) : REG_ASRDO(i)) argument
64 #define REG_ASRIDRH(i) (REG_ASRIDRHA + (i << 3)) argument
65 #define REG_ASRIDRL(i) (REG_ASRIDRLA + (i << 3)) argument
76 #define REG_ASRMCR(i) (REG_ASRMCRA + (i << 3)) argument
77 #define REG_ASRFST(i) (REG_ASRFSTA + (i << 3)) argument
82 #define REG_ASRMCR1(i) (REG_ASRMCR1A + (i << 2)) argument
86 #define ASRCTR_ATSi_SHIFT(i) (20 + i) argument
87 #define ASRCTR_ATSi_MASK(i) (1 << ASRCTR_ATSi_SHIFT(i)) argument
88 #define ASRCTR_ATS(i) (1 << ASRCTR_ATSi_SHIFT(i)) argument
89 #define ASRCTR_USRi_SHIFT(i) (14 + (i << 1)) argument
90 #define ASRCTR_USRi_MASK(i) (1 << ASRCTR_USRi_SHIFT(i)) argument
91 #define ASRCTR_USR(i) (1 << ASRCTR_USRi_SHIFT(i)) argument
92 #define ASRCTR_IDRi_SHIFT(i) (13 + (i << 1)) argument
93 #define ASRCTR_IDRi_MASK(i) (1 << ASRCTR_IDRi_SHIFT(i)) argument
94 #define ASRCTR_IDR(i) (1 << ASRCTR_IDRi_SHIFT(i)) argument
98 #define ASRCTR_ASRCEi_SHIFT(i) (1 + i) argument
99 #define ASRCTR_ASRCEi_MASK(i) (1 << ASRCTR_ASRCEi_SHIFT(i)) argument
100 #define ASRCTR_ASRCE(i) (1 << ASRCTR_ASRCEi_SHIFT(i)) argument
113 #define ASRIER_ADOEi_SHIFT(i) (3 + i) argument
114 #define ASRIER_ADOEi_MASK(i) (1 << ASRIER_ADOEi_SHIFT(i)) argument
115 #define ASRIER_ADOE(i) (1 << ASRIER_ADOEi_SHIFT(i)) argument
116 #define ASRIER_ADIEi_SHIFT(i) (0 + i) argument
117 #define ASRIER_ADIEi_MASK(i) (1 << ASRIER_ADIEi_SHIFT(i)) argument
118 #define ASRIER_ADIE(i) (1 << ASRIER_ADIEi_SHIFT(i)) argument
121 #define ASRCNCR_ANCi_SHIFT(i, b) (b * i) argument
122 #define ASRCNCR_ANCi_MASK(i, b) (((1 << b) - 1) << ASRCNCR_ANCi_SHIFT(i, b)) argument
123 #define ASRCNCR_ANCi(i, v, b) ((v << ASRCNCR_ANCi_SHIFT(i, b)) & ASRCNCR_ANCi_MASK(i, b)) argument
126 #define ASRCFG_INIRQi_SHIFT(i) (21 + i) argument
127 #define ASRCFG_INIRQi_MASK(i) (1 << ASRCFG_INIRQi_SHIFT(i)) argument
128 #define ASRCFG_INIRQi (1 << ASRCFG_INIRQi_SHIFT(i))
129 #define ASRCFG_NDPRi_SHIFT(i) (18 + i) argument
130 #define ASRCFG_NDPRi_MASK(i) (1 << ASRCFG_NDPRi_SHIFT(i)) argument
133 #define ASRCFG_NDPRi (1 << ASRCFG_NDPRi_SHIFT(i))
134 #define ASRCFG_POSTMODi_SHIFT(i) (8 + (i << 2)) argument
136 #define ASRCFG_POSTMODi_MASK(i) (((1 << ASRCFG_POSTMODi_WIDTH) - 1) << ASRCFG_POSTMODi_SHIFT(i)) argument
138 #define ASRCFG_POSTMOD(i, v) ((v) << ASRCFG_POSTMODi_SHIFT(i)) argument
139 #define ASRCFG_POSTMODi_UP(i) (0 << ASRCFG_POSTMODi_SHIFT(i)) argument
140 #define ASRCFG_POSTMODi_DCON(i) (1 << ASRCFG_POSTMODi_SHIFT(i)) argument
141 #define ASRCFG_POSTMODi_DOWN(i) (2 << ASRCFG_POSTMODi_SHIFT(i)) argument
142 #define ASRCFG_PREMODi_SHIFT(i) (6 + (i << 2)) argument
144 #define ASRCFG_PREMODi_MASK(i) (((1 << ASRCFG_PREMODi_WIDTH) - 1) << ASRCFG_PREMODi_SHIFT(i)) argument
146 #define ASRCFG_PREMOD(i, v) ((v) << ASRCFG_PREMODi_SHIFT(i)) argument
147 #define ASRCFG_PREMODi_UP(i) (0 << ASRCFG_PREMODi_SHIFT(i)) argument
148 #define ASRCFG_PREMODi_DCON(i) (1 << ASRCFG_PREMODi_SHIFT(i)) argument
149 #define ASRCFG_PREMODi_DOWN(i) (2 << ASRCFG_PREMODi_SHIFT(i)) argument
150 #define ASRCFG_PREMODi_BYPASS(i) (3 << ASRCFG_PREMODi_SHIFT(i)) argument
155 #define ASRCSR_AOCSi_SHIFT(i) (12 + (i << 2)) argument
156 #define ASRCSR_AOCSi_MASK(i) (((1 << ASRCSR_AxCSi_WIDTH) - 1) << ASRCSR_AOCSi_SHIFT(i)) argument
157 #define ASRCSR_AOCS(i, v) ((v) << ASRCSR_AOCSi_SHIFT(i)) argument
158 #define ASRCSR_AICSi_SHIFT(i) (i << 2) argument
159 #define ASRCSR_AICSi_MASK(i) (((1 << ASRCSR_AxCSi_WIDTH) - 1) << ASRCSR_AICSi_SHIFT(i)) argument
160 #define ASRCSR_AICS(i, v) ((v) << ASRCSR_AICSi_SHIFT(i)) argument
164 #define ASRCDRi_AICPi_SHIFT(i) (0 + (i % 2) * 6) argument
165 #define ASRCDRi_AICPi_MASK(i) (((1 << ASRCDRi_AxCPi_WIDTH) - 1) << ASRCDRi_AICPi_SHIFT(i)) argument
166 #define ASRCDRi_AICP(i, v) ((v) << ASRCDRi_AICPi_SHIFT(i)) argument
167 #define ASRCDRi_AICDi_SHIFT(i) (3 + (i % 2) * 6) argument
168 #define ASRCDRi_AICDi_MASK(i) (((1 << ASRCDRi_AxCPi_WIDTH) - 1) << ASRCDRi_AICDi_SHIFT(i)) argument
169 #define ASRCDRi_AICD(i, v) ((v) << ASRCDRi_AICDi_SHIFT(i)) argument
170 #define ASRCDRi_AOCPi_SHIFT(i) ((i < 2) ? 12 + i * 6 : 6) argument
171 #define ASRCDRi_AOCPi_MASK(i) (((1 << ASRCDRi_AxCPi_WIDTH) - 1) << ASRCDRi_AOCPi_SHIFT(i)) argument
172 #define ASRCDRi_AOCP(i, v) ((v) << ASRCDRi_AOCPi_SHIFT(i)) argument
173 #define ASRCDRi_AOCDi_SHIFT(i) ((i < 2) ? 15 + i * 6 : 9) argument
174 #define ASRCDRi_AOCDi_MASK(i) (((1 << ASRCDRi_AxCPi_WIDTH) - 1) << ASRCDRi_AOCDi_SHIFT(i)) argument
175 #define ASRCDRi_AOCD(i, v) ((v) << ASRCDRi_AOCDi_SHIFT(i)) argument
184 #define ASRSTR_AOOLi_SHIFT(i) (17 + i) argument
185 #define ASRSTR_AOOLi_MASK(i) (1 << ASRSTR_AOOLi_SHIFT(i)) argument
186 #define ASRSTR_AOOL(i) (1 << ASRSTR_AOOLi_SHIFT(i)) argument
187 #define ASRSTR_AIOLi_SHIFT(i) (14 + i) argument
188 #define ASRSTR_AIOLi_MASK(i) (1 << ASRSTR_AIOLi_SHIFT(i)) argument
189 #define ASRSTR_AIOL(i) (1 << ASRSTR_AIOLi_SHIFT(i)) argument
190 #define ASRSTR_AODOi_SHIFT(i) (11 + i) argument
191 #define ASRSTR_AODOi_MASK(i) (1 << ASRSTR_AODOi_SHIFT(i)) argument
192 #define ASRSTR_AODO(i) (1 << ASRSTR_AODOi_SHIFT(i)) argument
193 #define ASRSTR_AIDUi_SHIFT(i) (8 + i) argument
194 #define ASRSTR_AIDUi_MASK(i) (1 << ASRSTR_AIDUi_SHIFT(i)) argument
195 #define ASRSTR_AIDU(i) (1 << ASRSTR_AIDUi_SHIFT(i)) argument
202 #define ASRSTR_AODEi_SHIFT(i) (3 + i) argument
203 #define ASRSTR_AODFi_MASK(i) (1 << ASRSTR_AODEi_SHIFT(i)) argument
204 #define ASRSTR_AODF(i) (1 << ASRSTR_AODEi_SHIFT(i)) argument
205 #define ASRSTR_AIDEi_SHIFT(i) (0 + i) argument
206 #define ASRSTR_AIDEi_MASK(i) (1 << ASRSTR_AIDEi_SHIFT(i)) argument
207 #define ASRSTR_AIDE(i) (1 << ASRSTR_AIDEi_SHIFT(i)) argument
213 #define ASRTFR1_TF_BASE(i) ((i) << ASRTFR1_TF_BASE_SHIFT) argument