Lines Matching refs:BaseAddr
108 #define QNCMmioAddress( BaseAddr, Register ) \
109 ( (UINTN)BaseAddr + \
116 #define QNCMmio64Ptr( BaseAddr, Register ) \
117 ( (volatile UINT64 *)QNCMmioAddress( BaseAddr, Register ) )
119 #define QNCMmio64( BaseAddr, Register ) \
120 *QNCMmio64Ptr( BaseAddr, Register )
122 #define QNCMmio64Or( BaseAddr, Register, OrData ) \
123 QNCMmio64( BaseAddr, Register ) = \
125 QNCMmio64( BaseAddr, Register ) | \
129 #define QNCMmio64And( BaseAddr, Register, AndData ) \
130 QNCMmio64( BaseAddr, Register ) = \
132 QNCMmio64( BaseAddr, Register ) & \
136 #define QNCMmio64AndThenOr( BaseAddr, Register, AndData, OrData ) \
137 QNCMmio64( BaseAddr, Register ) = \
139 ( QNCMmio64( BaseAddr, Register ) & \
148 #define QNCMmio32Ptr( BaseAddr, Register ) \
149 ( (volatile UINT32 *)QNCMmioAddress( BaseAddr, Register ) )
151 #define QNCMmio32( BaseAddr, Register ) \
152 *QNCMmio32Ptr( BaseAddr, Register )
154 #define QNCMmio32Or( BaseAddr, Register, OrData ) \
155 QNCMmio32( BaseAddr, Register ) = \
157 QNCMmio32( BaseAddr, Register ) | \
161 #define QNCMmio32And( BaseAddr, Register, AndData ) \
162 QNCMmio32( BaseAddr, Register ) = \
164 QNCMmio32( BaseAddr, Register ) & \
168 #define QNCMmio32AndThenOr( BaseAddr, Register, AndData, OrData ) \
169 QNCMmio32( BaseAddr, Register ) = \
171 ( QNCMmio32( BaseAddr, Register ) & \
180 #define QNCMmio16Ptr( BaseAddr, Register ) \
181 ( (volatile UINT16 *)QNCMmioAddress( BaseAddr, Register ) )
183 #define QNCMmio16( BaseAddr, Register ) \
184 *QNCMmio16Ptr( BaseAddr, Register )
186 #define QNCMmio16Or( BaseAddr, Register, OrData ) \
187 QNCMmio16( BaseAddr, Register ) = \
189 QNCMmio16( BaseAddr, Register ) | \
193 #define QNCMmio16And( BaseAddr, Register, AndData ) \
194 QNCMmio16( BaseAddr, Register ) = \
196 QNCMmio16( BaseAddr, Register ) & \
200 #define QNCMmio16AndThenOr( BaseAddr, Register, AndData, OrData ) \
201 QNCMmio16( BaseAddr, Register ) = \
203 ( QNCMmio16( BaseAddr, Register ) & \
211 #define QNCMmio8Ptr( BaseAddr, Register ) \
212 ( (volatile UINT8 *)QNCMmioAddress( BaseAddr, Register ) )
214 #define QNCMmio8( BaseAddr, Register ) \
215 *QNCMmio8Ptr( BaseAddr, Register )
217 #define QNCMmio8Or( BaseAddr, Register, OrData ) \
218 QNCMmio8( BaseAddr, Register ) = \
220 QNCMmio8( BaseAddr, Register ) | \
224 #define QNCMmio8And( BaseAddr, Register, AndData ) \
225 QNCMmio8( BaseAddr, Register ) = \
227 QNCMmio8( BaseAddr, Register ) & \
231 #define QNCMmio8AndThenOr( BaseAddr, Register, AndData, OrData ) \
232 QNCMmio8( BaseAddr, Register ) = \
234 ( QNCMmio8( BaseAddr, Register ) & \