Searched refs:be16toh (Results 1 - 25 of 79) sorted by relevance

1234

/freebsd-12-stable/contrib/ofed/libibumad/
H A Dumad_str.c144 uint16_t status = be16toh(_status);
167 uint16_t status = be16toh(_status);
193 switch(be16toh(attr_id)) {
207 switch(be16toh(attr_id)) {
254 switch(be16toh(attr_id)) {
309 switch(be16toh(attr_id)) {
/freebsd-12-stable/tools/tools/ath/athalq/
H A Dmain.c149 if (be16toh(a->hdr.len) > buflen) {
151 argv[0], be16toh(a->hdr.len),
156 switch (be16toh(a->hdr.op)) {
208 be16toh(a->hdr.op),
209 be16toh(a->hdr.len));
215 buflen -= (be16toh(a->hdr.len)
218 &buf[be16toh(a->hdr.len) + sizeof(struct if_ath_alq_hdr)],
219 READBUF_SIZE - (be16toh(a->hdr.len)
H A Dar5210_ds.c162 switch (be16toh(a->hdr.op)) {
177 be16toh(a->hdr.op), be16toh(a->hdr.len));
H A Dar5211_ds.c163 switch (be16toh(a->hdr.op)) {
178 be16toh(a->hdr.op), be16toh(a->hdr.len));
H A Dar5212_ds.c209 switch (be16toh(a->hdr.op)) {
224 be16toh(a->hdr.op), be16toh(a->hdr.len));
H A Dar5416_ds.c352 switch (be16toh(a->hdr.op)) {
367 be16toh(a->hdr.op), be16toh(a->hdr.len));
/freebsd-12-stable/sys/dev/beri/virtio/
H A Dvirtio.c86 be16toh(vq->vq_avail->idx));
120 flags[i] = be16toh(vd->flags);
133 ndesc = (be16toh(vq->vq_avail->idx) - idx);
137 head = be16toh(vq->vq_avail->ring[idx & (vq->vq_qsize - 1)]);
140 for (i = 0; i < VQ_MAX_DESCRIPTORS; next = be16toh(vdir->next)) {
142 if ((be16toh(vdir->flags) & VRING_DESC_F_INDIRECT) == 0) {
154 if ((be16toh(vp->flags) & \
157 next = be16toh(vp->next);
162 if ((be16toh(vdir->flags) & VRING_DESC_F_NEXT) == 0)
179 head = be16toh(v
[all...]
H A Dvirtio_block.c289 queue = be16toh(reg);
295 vq->vq_save_used = be16toh(vq->vq_used->idx);
300 if ((be16toh(vq->vq_avail->flags) & VRING_AVAIL_F_NO_INTERRUPT) == 0) {
/freebsd-12-stable/sbin/ggate/shared/
H A Dggate.h127 ver->gv_version = be16toh(ver->gv_version);
128 ver->gv_error = be16toh(ver->gv_error);
144 cinit->gc_nconn = be16toh(cinit->gc_nconn);
164 sinit->gs_error = be16toh(sinit->gs_error);
185 hdr->gh_error = be16toh(hdr->gh_error);
/freebsd-12-stable/contrib/ofed/include/
H A Dbyteorder.h51 #define be16_to_cpu be16toh
52 #define __be16_to_cpu be16toh
65 #define be16_to_cpup(x) be16toh(*((uint16_t *)x))
/freebsd-12-stable/sys/compat/linuxkpi/common/include/asm/
H A Dbyteorder.h55 #define be16_to_cpu(x) be16toh(x)
56 #define __be16_to_cpu(x) be16toh(x)
69 #define be16_to_cpup(x) be16toh(*((const uint16_t *)(x)))
/freebsd-12-stable/lib/libkvm/
H A Dkvm_powerpc.c69 if (be16toh(eh->e_type) != ET_CORE)
71 if (be16toh(eh->e_machine) != EM_PPC)
124 mapsz = be16toh(vm->eh->e_phentsize) * be16toh(vm->eh->e_phnum) +
157 nph = be16toh(vm->eh->e_phnum);
161 ph = (void *)((uintptr_t)ph + be16toh(vm->eh->e_phentsize));
H A Dkvm_powerpc64.c69 if (be16toh(eh->e_type) != ET_CORE)
71 if (be16toh(eh->e_machine) != EM_PPC64)
124 mapsz = be16toh(vm->eh->e_phentsize) * be16toh(vm->eh->e_phnum) +
158 nph = be16toh(vm->eh->e_phnum);
162 ph = (void *)((uintptr_t)ph + be16toh(vm->eh->e_phentsize));
/freebsd-12-stable/sys/dev/netmap/
H A Dnetmap_offloadings.c85 nm_prdis("ip total length %u", be16toh(ip->tot_len));
88 iph->id = htobe16(be16toh(iph->id) + idx);
89 nm_prdis("ip identification %u", be16toh(iph->id));
94 nm_prdis("IP csum %x", be16toh(iph->check));
132 nm_prdis("TCP/UDP csum %x", be16toh(*check));
287 ethertype = be16toh(*((uint16_t *)
/freebsd-12-stable/contrib/openbsm/compat/
H A Dendian.h132 #define be16toh(x) bswap16((x)) macro
146 #define be16toh(x) ((uint16_t)(x)) macro
/freebsd-12-stable/tools/tools/vt/mkkfont/
H A Dmkkfont.c113 be32toh(fm.source), be16toh(fm.destination),
114 be16toh(fm.length));
/freebsd-12-stable/sys/geom/label/
H A Dg_label_gpt.c66 ch = (bo == BIG_ENDIAN) ? be16toh(*str) : le16toh(*str);
70 c = (bo == BIG_ENDIAN) ? be16toh(*str)
/freebsd-12-stable/sys/sys/
H A Dendian.h77 #define be16toh(x) bswap16((x)) macro
91 #define be16toh(x) ((uint16_t)(x)) macro
/freebsd-12-stable/contrib/ofed/libmlx4/
H A Dcq.c291 wqe_index = be16toh(cqe->wqe_index);
296 wqe_index = be16toh(cqe->wqe_index);
346 wc->slid = be16toh(cqe->rlid);
356 wc->sl = be16toh(cqe->sl_vid) >> 13;
358 wc->sl = be16toh(cqe->sl_vid) >> 12;
612 return (uint32_t)be16toh(cq->cqe->rlid);
620 return be16toh(cq->cqe->sl_vid) >> 13;
622 return be16toh(cq->cqe->sl_vid) >> 12;
743 mlx4_free_srq_wqe(srq, be16toh(cqe->wqe_index));
747 mlx4_free_srq_wqe(srq, be16toh(cq
[all...]
/freebsd-12-stable/sys/kern/
H A Dkern_uuid.c280 id->time.x.low, id->time.x.mid, id->time.x.hi, be16toh(id->seq),
281 be16toh(id->node[0]), be16toh(id->node[1]), be16toh(id->node[2]));
/freebsd-12-stable/lib/libc/gen/
H A Dgetutxent.c130 len = be16toh(len);
/freebsd-12-stable/sys/dev/cxgbe/
H A Dosdep.h106 #define be16_to_cpu(x) be16toh(x)
/freebsd-12-stable/sys/dev/qlxgb/
H A Dqla_os.h135 #define qla_be16_to_host(x) be16toh(x)
/freebsd-12-stable/sys/dev/qlxgbe/
H A Dql_os.h144 #define qla_be16_to_host(x) be16toh(x)
/freebsd-12-stable/sys/dev/qlxge/
H A Dqls_os.h137 #define qla_be16_to_host(x) be16toh(x)

Completed in 168 milliseconds

1234