Searched refs:be16_to_cpu (Results 1 – 16 of 16) sorted by relevance
| /include/rdma/ |
| A D | opa_addr.h | 13 #define OPA_TO_IB_UCAST_LID(x) (((x) >= be16_to_cpu(IB_MULTICAST_LID_BASE)) \ 61 be16_to_cpu(IB_MULTICAST_LID_BASE)) || in opa_is_extended_lid() 63 be16_to_cpu(IB_MULTICAST_LID_BASE))) in opa_is_extended_lid() 81 be16_to_cpu(IB_MULTICAST_LID_BASE)) in rdma_is_valid_unicast_lid()
|
| A D | ib_hdrs.h | 175 return (be16_to_cpu(hdr->lrh[0]) & IB_LNH_MASK); in ib_get_lnh() 180 return ((be16_to_cpu(hdr->lrh[0]) >> IB_SC_SHIFT) & IB_SC_MASK); in ib_get_sc() 190 return ((be16_to_cpu(hdr->lrh[0]) >> IB_SL_SHIFT) & IB_SL_MASK); in ib_get_sl() 195 return (be16_to_cpu(hdr->lrh[1])); in ib_get_dlid() 200 return (be16_to_cpu(hdr->lrh[3])); in ib_get_slid() 205 return (u8)((be16_to_cpu(hdr->lrh[0]) >> IB_LVER_SHIFT) & in ib_get_lver()
|
| A D | iba.h | 24 return be16_to_cpu(*ptr); in _iba_get16() 29 *ptr = cpu_to_be16((be16_to_cpu(*ptr) & ~mask) | prep_value); in _iba_set16()
|
| A D | ib_sa.h | 222 be16_to_cpu(IB_MULTICAST_LID_BASE)) || in path_conv_opa_to_ib() 224 be16_to_cpu(IB_MULTICAST_LID_BASE))) { in path_conv_opa_to_ib()
|
| /include/linux/ |
| A D | ihex.h | 26 return be16_to_cpu(p->len) + sizeof(*p); in ihex_binrec_size() 43 return be16_to_cpu(rec->len) ? rec : NULL; in ihex_next_binrec() 56 if (rec == end && !be16_to_cpu(rec->len)) in ihex_validate_fw()
|
| A D | virtio_byteorder.h | 21 return be16_to_cpu((__force __be16)val); in __virtio16_to_cpu()
|
| A D | unaligned.h | 48 return be16_to_cpu(__get_unaligned_t(__be16, p)); in get_unaligned_be16()
|
| /include/trace/events/ |
| A D | ib_umad.h | 95 be32_to_cpu(__entry->qkey), be16_to_cpu(__entry->lid), 102 be16_to_cpu(__entry->mad_status), 103 be16_to_cpu(__entry->class_specific), 104 be64_to_cpu(__entry->tid), be16_to_cpu(__entry->attr_id),
|
| A D | ib_mad.h | 98 __entry->method, be16_to_cpu(__entry->status), 99 be16_to_cpu(__entry->class_specific), 100 be64_to_cpu(__entry->tid), be16_to_cpu(__entry->attr_id), 179 be16_to_cpu(__entry->status) 238 be16_to_cpu(__entry->status), 239 be16_to_cpu(__entry->class_specific), 240 be64_to_cpu(__entry->tid), be16_to_cpu(__entry->attr_id), 369 be64_to_cpu(__entry->mkey), be16_to_cpu(__entry->dr_slid), 370 be16_to_cpu(__entry->dr_dlid),
|
| /include/linux/byteorder/ |
| A D | generic.h | 97 #define be16_to_cpu __be16_to_cpu macro 178 *var = cpu_to_be16(be16_to_cpu(*var) + val); in be16_add_cpu()
|
| /include/soc/fsl/ |
| A D | bman.h | 67 return be16_to_cpu(buf->bpid) & 0xff; in bm_buffer_get_bpid()
|
| A D | qman.h | 245 return be16_to_cpu(sg->offset) & QM_SG_OFF_MASK; in qm_sg_entry_get_off() 453 int td = be16_to_cpu(fqd->td); in qm_fqd_get_taildrop() 491 return be16_to_cpu(fqd->dest_wq) >> QM_FQD_CHAN_OFF; in qm_fqd_get_chan() 496 return be16_to_cpu(fqd->dest_wq) & QM_FQD_WQ_MASK; in qm_fqd_get_wq() 580 int thres = be16_to_cpu(th->word); in qm_cgr_cs_thres_get64()
|
| /include/linux/rpmsg/ |
| A D | byteorder.h | 24 return be16_to_cpu((__force __be16)val); in __rpmsg16_to_cpu()
|
| /include/linux/mlx5/ |
| A D | device.h | 129 #define MLX5_GET16(typ, p, fld) ((be16_to_cpu(*((__be16 *)(p) +\ 137 cpu_to_be16((be16_to_cpu(*((__be16 *)(p) + __mlx5_16_off(typ, fld))) & \ 980 return be16_to_cpu(bc->byte_cnt); in mpwrq_get_cqe_byte_cnt() 985 return 0x7fff & be16_to_cpu(bc->filler_consumed_strides); in mpwrq_get_cqe_bc_consumed_strides() 999 return 0x8000 & be16_to_cpu(bc->filler_consumed_strides); in mpwrq_is_filler_cqe() 1004 return be16_to_cpu(cqe->wqe_counter); in mpwrq_get_cqe_stride_index()
|
| /include/net/ |
| A D | ip_tunnels.h | 265 bitmap_write(dst, be16_to_cpu(flags), 0, BITS_PER_TYPE(__be16)); in ip_tunnel_flags_from_be16()
|
| /include/linux/spi/ |
| A D | spi.h | 1589 return be16_to_cpu(result); in spi_w8r16be()
|
Completed in 34 milliseconds