Lines Matching refs:BaseAddr
108 #define IohMmioAddress( BaseAddr, Register ) \
109 ( (UINTN)BaseAddr + \
116 #define IohMmio64Ptr( BaseAddr, Register ) \
117 ( (volatile UINT64 *)IohMmioAddress( BaseAddr, Register ) )
119 #define IohMmio64( BaseAddr, Register ) \
120 *IohMmio64Ptr( BaseAddr, Register )
122 #define IohMmio64Or( BaseAddr, Register, OrData ) \
123 IohMmio64( BaseAddr, Register ) = \
125 IohMmio64( BaseAddr, Register ) | \
129 #define IohMmio64And( BaseAddr, Register, AndData ) \
130 IohMmio64( BaseAddr, Register ) = \
132 IohMmio64( BaseAddr, Register ) & \
136 #define IohMmio64AndThenOr( BaseAddr, Register, AndData, OrData ) \
137 IohMmio64( BaseAddr, Register ) = \
139 ( IohMmio64( BaseAddr, Register ) & \
148 #define IohMmio32Ptr( BaseAddr, Register ) \
149 ( (volatile UINT32 *)IohMmioAddress( BaseAddr, Register ) )
151 #define IohMmio32( BaseAddr, Register ) \
152 *IohMmio32Ptr( BaseAddr, Register )
154 #define IohMmio32Or( BaseAddr, Register, OrData ) \
155 IohMmio32( BaseAddr, Register ) = \
157 IohMmio32( BaseAddr, Register ) | \
161 #define IohMmio32And( BaseAddr, Register, AndData ) \
162 IohMmio32( BaseAddr, Register ) = \
164 IohMmio32( BaseAddr, Register ) & \
168 #define IohMmio32AndThenOr( BaseAddr, Register, AndData, OrData ) \
169 IohMmio32( BaseAddr, Register ) = \
171 ( IohMmio32( BaseAddr, Register ) & \
180 #define IohMmio16Ptr( BaseAddr, Register ) \
181 ( (volatile UINT16 *)IohMmioAddress( BaseAddr, Register ) )
183 #define IohMmio16( BaseAddr, Register ) \
184 *IohMmio16Ptr( BaseAddr, Register )
186 #define IohMmio16Or( BaseAddr, Register, OrData ) \
187 IohMmio16( BaseAddr, Register ) = \
189 IohMmio16( BaseAddr, Register ) | \
193 #define IohMmio16And( BaseAddr, Register, AndData ) \
194 IohMmio16( BaseAddr, Register ) = \
196 IohMmio16( BaseAddr, Register ) & \
200 #define IohMmio16AndThenOr( BaseAddr, Register, AndData, OrData ) \
201 IohMmio16( BaseAddr, Register ) = \
203 ( IohMmio16( BaseAddr, Register ) & \
211 #define IohMmio8Ptr( BaseAddr, Register ) \
212 ( (volatile UINT8 *)IohMmioAddress( BaseAddr, Register ) )
214 #define IohMmio8( BaseAddr, Register ) \
215 *IohMmio8Ptr( BaseAddr, Register )
217 #define IohMmio8Or( BaseAddr, Register, OrData ) \
218 IohMmio8( BaseAddr, Register ) = \
220 IohMmio8( BaseAddr, Register ) | \
224 #define IohMmio8And( BaseAddr, Register, AndData ) \
225 IohMmio8( BaseAddr, Register ) = \
227 IohMmio8( BaseAddr, Register ) & \
231 #define IohMmio8AndThenOr( BaseAddr, Register, AndData, OrData ) \
232 IohMmio8( BaseAddr, Register ) = \
234 ( IohMmio8( BaseAddr, Register ) & \