Searched refs:SWAP16 (Results 1 – 11 of 11) sorted by relevance
52 #define SWAP16(x) (((x) & 0xff) << 8 | ((x) >> 8) & 0xff) macro57 #define SWAP16(x) (x) macro153 otp->tag_id = SWAP16(itp->tag_id); in maketag()154 otp->tag_desc_ver = SWAP16(itp->tag_desc_ver); in maketag()156 otp->tag_sno = SWAP16(itp->tag_sno); in maketag()157 otp->tag_crc = SWAP16(crc16((unsigned char *)(otp+1), in maketag()159 otp->tag_crc_len = SWAP16(itp->tag_crc_len); in maketag()186 id = SWAP16(tp->tag_id); in verifytag()189 vers = SWAP16(tp->tag_desc_ver); in verifytag()192 length = SWAP16(tp->tag_crc_len); in verifytag()[all …]
68 #define SWAP16(value) \ macro72 (((uint32_t)SWAP16((uint16_t)((value) & 0xffff)) << 16) | \73 (uint32_t)SWAP16((uint16_t)((value) >> 16)))80 #define SWAP16(value) (value) macro
69 #define SWAP16(value) \ macro73 (((uint32_t)SWAP16((uint16_t)((value) & 0xffff)) << 16) | \74 (uint32_t)SWAP16((uint16_t)((value) >> 16)))
112 #ifndef SWAP16 in k5_utf8s_to_ucs2s()113 #define SWAP16(X) ((((X) << 8) | ((X) >> 8)) & 0xFFFF) in k5_utf8s_to_ucs2s() macro116 ucs2str[ucs2len] = SWAP16(ch); in k5_utf8s_to_ucs2s()279 ch = SWAP16(ch); in k5_ucs2s_to_utf8s()300 ch = SWAP16(ch); in k5_ucs2s_to_utf8s()
145 SWAP16(p);148 SWAP16(p);
51 #define SWAP16(x) (((x) & 0xff) << 8 | ((x) >> 8) & 0xff) macro56 #define SWAP16(x) (x)
452 xoff < sizeof (fidp->fid_tag) + SWAP16(fidp->fid_tag.tag_crc_len)) { in getdir()
101 #define SWAP16(p) { \ macro
2218 #define SWAP16(_x) ((((uint16_t)(_x) & 0xFF)<<8) | \ macro2235 #define LE_SWAP16(_x) SWAP16(_x)2262 #define BE_SWAP16(_x) SWAP16(_x)
52 #elif defined(__GNUC__) && defined(K5_BE) && defined(SWAP16) in load_16_le()90 #elif defined(__GNUC__) && defined(K5_BE) && defined(SWAP16) in store_16_le()
5811 *sptr = SWAP16(s); in emlxs_fcoe_fcftab_read_mbcmpl()