Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/8390/
H A Dhydra.c51 #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()
H A Dzorro8390.c67 #define WORDSWAP(a) ((((a) >> 8) & 0xff) | ((a) << 8)) macro
138 hdr->count = WORDSWAP(hdr->count); in zorro8390_get_8390_hdr()