Lines Matching refs:offs
179 #define GEM_BARRIER(sc, offs, len, flags) \ argument
180 bus_barrier((sc)->sc_res[GEM_RES_MEM], (offs), (len), (flags))
182 #define GEM_READ_N(n, sc, offs) \ argument
183 bus_read_ ## n((sc)->sc_res[GEM_RES_MEM], (offs))
184 #define GEM_READ_1(sc, offs) \ argument
185 GEM_READ_N(1, (sc), (offs))
186 #define GEM_READ_2(sc, offs) \ argument
187 GEM_READ_N(2, (sc), (offs))
188 #define GEM_READ_4(sc, offs) \ argument
189 GEM_READ_N(4, (sc), (offs))
190 #define GEM_READ_1(sc, offs) \ argument
191 GEM_READ_N(1, (sc), (offs))
192 #define GEM_READ_2(sc, offs) \ argument
193 GEM_READ_N(2, (sc), (offs))
194 #define GEM_READ_4(sc, offs) \ argument
195 GEM_READ_N(4, (sc), (offs))
197 #define GEM_WRITE_N(n, sc, offs, v) \ argument
198 bus_write_ ## n((sc)->sc_res[GEM_RES_MEM], (offs), (v))
199 #define GEM_WRITE_1(sc, offs, v) \ argument
200 GEM_WRITE_N(1, (sc), (offs), (v))
201 #define GEM_WRITE_2(sc, offs, v) \ argument
202 GEM_WRITE_N(2, (sc), (offs), (v))
203 #define GEM_WRITE_4(sc, offs, v) \ argument
204 GEM_WRITE_N(4, (sc), (offs), (v))
205 #define GEM_WRITE_1(sc, offs, v) \ argument
206 GEM_WRITE_N(1, (sc), (offs), (v))
207 #define GEM_WRITE_2(sc, offs, v) \ argument
208 GEM_WRITE_N(2, (sc), (offs), (v))
209 #define GEM_WRITE_4(sc, offs, v) \ argument
210 GEM_WRITE_N(4, (sc), (offs), (v))