Searched refs:be16atoh (Results 1 – 5 of 5) sorted by relevance
99 #ifndef be16atoh100 # define be16atoh(x) be16toh(*(uint16_t*)(x)) macro
93 #define be16atoh(x) ((uint16_t)(((x)[0]<<8)|(x)[1])) macro
70 return ((params->byteorder==PTP_DL_LE)?le16atoh(a):be16atoh(a)); in dtoh16ap()
335 #ifndef be16atoh336 # define be16atoh(x) be16toh(*(uint16_t*)(x))385 #define be16atoh(x) ((uint16_t)(((x)[0]<<8)|(x)[1]))
297 #define be16atoh(x) be16toh(*(uint16_t*)(x))323 #define be16atoh(x) ((uint16_t)(((x)[0]<<8)|(x)[1]))