Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/mlxcx/
H A Dmlxcx_endint.h39 typedef struct { uint16_t be_val; } __packed uint16be_t; member
47 return (BE_16(v.be_val)); in from_be16()
53 return (((uint32_t)v.be_val[0] << 16) | in from_be24()
54 ((uint32_t)v.be_val[1] << 8) | in from_be24()
55 ((uint32_t)v.be_val[2])); in from_be24()
61 return (BE_32(v.be_val)); in from_be32()
67 return (BE_64(v.be_val)); in from_be64()
74 return ((uint16be_t){ .be_val = BE_16(v) }); in to_be16()
81 return ((uint24be_t){ .be_val = { in to_be24()
92 return ((uint32be_t){ .be_val = BE_32(v) }); in to_be32()
[all …]