Lines Matching refs:uint16_t
62 #define cpu_to_le16p(x) htole16(*((const uint16_t *)(x)))
63 #define le16_to_cpup(x) le16toh(*((const uint16_t *)(x)))
68 #define cpu_to_be16p(x) htobe16(*((const uint16_t *)(x)))
69 #define be16_to_cpup(x) be16toh(*((const uint16_t *)(x)))
75 #define cpu_to_le16s(x) do { *((uint16_t *)(x)) = cpu_to_le16p((x)); } while (0)
76 #define le16_to_cpus(x) do { *((uint16_t *)(x)) = le16_to_cpup((x)); } while (0)
81 #define cpu_to_be16s(x) do { *((uint16_t *)(x)) = cpu_to_be16p((x)); } while (0)
82 #define be16_to_cpus(x) do { *((uint16_t *)(x)) = be16_to_cpup((x)); } while (0)
89 be16_add_cpu(uint16_t *var, uint16_t val)