Home
last modified time | relevance | path

Searched refs:WORDSWAP (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/drivers/net/ethernet/8390/
Dhydra.c53 #define WORDSWAP(a) ((((a)>>8)&0xff) | ((a)<<8)) macro
211 *((short *)hdr) = WORDSWAP(*((short *)hdr)); in hydra_get_8390_hdr()
214 *((short *)hdr+1) = WORDSWAP(*((short *)hdr+1)); in hydra_get_8390_hdr()
Dzorro8390.c72 #define WORDSWAP(a) ((((a) >> 8) & 0xff) | ((a) << 8)) macro
142 hdr->count = WORDSWAP(hdr->count); in zorro8390_get_8390_hdr()