Searched refs:sws (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libfru/libfruraw/
H A Dcrcutils.c36 #define sws(x) (((x >> 8) & 0x00ff) | ((x << 8) & 0xff00)) macro
37 #define swl(x) (sws(x >> 16) | (sws(x) << 16))
39 #define swap_short(x) (x = sws(x))
46 #define sws(x) (x) macro
49 #define swap_short(x) (x = sws(x))
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/
H A Dcrcutils.c38 #define sws(x) (((x >> 8) & 0x00ff) | ((x << 8) & 0xff00)) macro
39 #define swl(x) (sws(x >> 16) | (sws(x) << 16))
41 #define swap_short(x) (x = sws(x))
48 #define sws(x) (x) macro
51 #define swap_short(x) (x = sws(x))

Completed in 45 milliseconds