Lines Matching refs:dst

195 #define MAC_COPY(dst,src)           ((TI_UINT8*)(dst))[0] = ((TI_UINT8*)(src))[0]; \
196 ((TI_UINT8*)(dst))[1] = ((TI_UINT8*)(src))[1]; \
197 ((TI_UINT8*)(dst))[2] = ((TI_UINT8*)(src))[2]; \
198 ((TI_UINT8*)(dst))[3] = ((TI_UINT8*)(src))[3]; \
199 ((TI_UINT8*)(dst))[4] = ((TI_UINT8*)(src))[4]; \
200 ((TI_UINT8*)(dst))[5] = ((TI_UINT8*)(src))[5]
235 #define IP_COPY(dst,src) *((TI_UINT32*)(dst)) = *((TI_UINT32*)(src))
263 #define COPY_WLAN_WORD(dst,src) ((TI_UINT8 *)(dst))[0] = ((TI_UINT8 *)(src))[1]; \
264 ((TI_UINT8 *)(dst))[1] = ((TI_UINT8 *)(src))[0]
265 #define COPY_WLAN_LONG(dst,src) ((TI_UINT8 *)(dst))[0] = ((TI_UINT8 *)(src))[3]; \
266 ((TI_UINT8 *)(dst))[1] = ((TI_UINT8 *)(src))[2]; \
267 ((TI_UINT8 *)(dst))[2] = ((TI_UINT8 *)(src))[1]; \
268 ((TI_UINT8 *)(dst))[3] = ((TI_UINT8 *)(src))[0]
270 #define SET_WLAN_WORD(dst,val) ((TI_UINT8 *)(dst))[1] = (val) & 0xff; \
271 ((TI_UINT8 *)(dst))[0] = ((val) >> 8) & 0xff
273 #define SET_WLAN_LONG(dst,val) ((TI_UINT8 *)(dst))[3] = (val) & 0xff; \
274 ((TI_UINT8 *)(dst))[2] = ((val) >> 8) & 0xff; \
275 ((TI_UINT8 *)(dst))[1] = ((val) >> 16) & 0xff; \
276 ((TI_UINT8 *)(dst))[0] = ((val) >> 24) & 0xff
330 #define COPY_WLAN_WORD(dst,src) ((TI_UINT8 *)(dst))[0] = ((TI_UINT8 *)(src))[0]; \
331 ((TI_UINT8 *)(dst))[1] = ((TI_UINT8 *)(src))[1]
336 #define COPY_WLAN_LONG(dst,src) ((TI_UINT8 *)(dst))[0] = ((TI_UINT8 *)(src))[0]; \
337 ((TI_UINT8 *)(dst))[1] = ((TI_UINT8 *)(src))[1]; \
338 ((TI_UINT8 *)(dst))[2] = ((TI_UINT8 *)(src))[2]; \
339 ((TI_UINT8 *)(dst))[3] = ((TI_UINT8 *)(src))[3]
344 #define SET_WLAN_WORD(dst,val) ((TI_UINT8 *)(dst))[0] = (val) & 0xff; \
345 ((TI_UINT8 *)(dst))[1] = ((val) >> 8) & 0xff
350 #define SET_WLAN_LONG(dst,val) ((TI_UINT8 *)(dst))[0] = (val) & 0xff; \
351 ((TI_UINT8 *)(dst))[1] = ((val) >> 8) & 0xff; \
352 ((TI_UINT8 *)(dst))[2] = ((val) >> 16) & 0xff; \
353 ((TI_UINT8 *)(dst))[3] = ((val) >> 24) & 0xff