Symbol: cpu_to_le16
sys/compat/linuxkpi/common/include/asm/byteorder.h
155
*var = cpu_to_le16(le16_to_cpu(*var) + val);
sys/compat/linuxkpi/common/include/asm/unaligned.h
63
x = cpu_to_le16(v);
sys/dev/axgbe/xgbe-dev.c
839
vid_le = cpu_to_le16(vid);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
415
req.type = cpu_to_le16(type);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
625
req.qp_num_qp1_entries = cpu_to_le16(ctxm->qp_qp1_entries);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
626
req.qp_num_l2_entries = cpu_to_le16(ctxm->qp_l2_entries);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
627
req.qp_entry_size = cpu_to_le16(ctxm->entry_size);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
636
req.srq_num_l2_entries = cpu_to_le16(ctxm->srq_l2_entries);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
637
req.srq_entry_size = cpu_to_le16(ctxm->entry_size);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
646
req.cq_num_l2_entries = cpu_to_le16(ctxm->cq_l2_entries);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
647
req.cq_entry_size = cpu_to_le16(ctxm->entry_size);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
659
req.mrav_entry_size = cpu_to_le16(ctxm->entry_size);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
668
req.tim_entry_size = cpu_to_le16(ctxm->entry_size);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
676
req.vnic_num_vnic_entries = cpu_to_le16(ctxm->vnic_entries);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
678
cpu_to_le16(ctxm->max_entries - ctxm->vnic_entries);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
679
req.vnic_entry_size = cpu_to_le16(ctxm->entry_size);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
688
req.stat_entry_size = cpu_to_le16(ctxm->entry_size);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
705
req.tqm_entry_size = cpu_to_le16(ctxm->entry_size);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
789
req.type = cpu_to_le16(ctxm->type);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
790
req.entry_size = cpu_to_le16(ctxm->entry_size);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
799
req.instance = cpu_to_le16(i);
sys/dev/bnxt/bnxt_re/bnxt_re.h
970
hdr->req_type = cpu_to_le16(opcd);
sys/dev/bnxt/bnxt_re/bnxt_re.h
971
hdr->cmpl_ring = cpu_to_le16(crid);
sys/dev/bnxt/bnxt_re/bnxt_re.h
972
hdr->target_id = cpu_to_le16(trid);
sys/dev/bnxt/bnxt_re/main.c
1584
req.ring_id = cpu_to_le16(fw_ring_id);
sys/dev/bnxt/bnxt_re/main.c
1614
req.flags = cpu_to_le16(ring_attr->flags);
sys/dev/bnxt/bnxt_re/main.c
1628
req.logical_id = cpu_to_le16(ring_attr->lrid);
sys/dev/bnxt/bnxt_re/main.c
1816
req.fid = cpu_to_le16(0xffff);
sys/dev/bnxt/bnxt_re/main.c
1846
req.fid = cpu_to_le16(0xffff);
sys/dev/bnxt/bnxt_re/main.c
2782
req.dest_data_buffer_size = cpu_to_le16(data_len);
sys/dev/bnxt/bnxt_re/main.c
2852
req.entry_cnt = cpu_to_le16(count);
sys/dev/bnxt/bnxt_re/qplib_fp.c
1143
req.sq_fwo_sq_sge = cpu_to_le16(((0 << CMDQ_CREATE_QP_SQ_FWO_SFT) &
sys/dev/bnxt/bnxt_re/qplib_fp.c
1171
cpu_to_le16(((0 << CMDQ_CREATE_QP_RQ_FWO_SFT) &
sys/dev/bnxt/bnxt_re/qplib_fp.c
1430
req.sgid_index = cpu_to_le16(res->sgid_tbl.hw_id[qp->ah.sgid_index]);
sys/dev/bnxt/bnxt_re/qplib_fp.c
1472
req.sq_sge = cpu_to_le16(qp->sq.max_sge);
sys/dev/bnxt/bnxt_re/qplib_fp.c
1473
req.rq_sge = cpu_to_le16(qp->rq.max_sge);
sys/dev/bnxt/bnxt_re/qplib_fp.c
1478
req.enable_cc = cpu_to_le16(CMDQ_MODIFY_QP_ENABLE_CC);
sys/dev/bnxt/bnxt_re/qplib_fp.c
1487
req.vlan_pcp_vlan_dei_vlan_id = cpu_to_le16(qp->vlan_id);
sys/dev/bnxt/bnxt_re/qplib_fp.c
1755
cpu_to_le16(BNXT_RE_MSN_IDX(msns->start_idx_next_psn_start_psn)),
sys/dev/bnxt/bnxt_re/qplib_fp.c
1794
psns_ext->start_slot_idx = cpu_to_le16(swq->slot_idx);
sys/dev/bnxt/bnxt_re/qplib_fp.c
2042
sqe->cfa_action = cpu_to_le16(wqe->rawqp1.cfa_action);
sys/dev/bnxt/bnxt_re/qplib_fp.c
2043
sqe->lflags = cpu_to_le16(wqe->rawqp1.lflags);
sys/dev/bnxt/bnxt_re/qplib_fp.c
669
req.srq_size = cpu_to_le16(srq_size);
sys/dev/bnxt/bnxt_re/qplib_fp.c
673
req.pg_size_lvl = cpu_to_le16(pg_sz_lvl);
sys/dev/bnxt/bnxt_re/qplib_fp.c
676
req.eventq_id = cpu_to_le16(srq->eventq_hw_ring_id);
sys/dev/bnxt/bnxt_re/qplib_fp.c
949
req.sq_fwo_sq_sge = cpu_to_le16(((0 << CMDQ_CREATE_QP1_SQ_FWO_SFT) &
sys/dev/bnxt/bnxt_re/qplib_fp.c
973
cpu_to_le16(((0 << CMDQ_CREATE_QP1_RQ_FWO_SFT) &
sys/dev/bnxt/bnxt_re/qplib_rcfw.c
1283
init.cmdq_size_cmdq_lvl = cpu_to_le16(
sys/dev/bnxt/bnxt_re/qplib_rcfw.c
1288
init.creq_ring_id = cpu_to_le16(creq->ring_id);
sys/dev/bnxt/bnxt_re/qplib_rcfw.c
250
__set_cmdq_base_cookie(msg->req, msg->req_sz, cpu_to_le16(cookie));
sys/dev/bnxt/bnxt_re/qplib_rcfw.c
329
__set_cmdq_base_cookie(msg->req, msg->req_sz, cpu_to_le16(cookie));
sys/dev/bnxt/bnxt_re/qplib_rcfw.c
339
crsqe->resp->cookie = cpu_to_le16(cookie);
sys/dev/bnxt/bnxt_re/qplib_rcfw.c
947
req.log2_dbr_pg_size = cpu_to_le16(PAGE_SHIFT -
sys/dev/bnxt/bnxt_re/qplib_sp.c
1035
req.flags = cpu_to_le16(cmd_flags);
sys/dev/bnxt/bnxt_re/qplib_sp.c
1139
req.stat_ctx_id[1] = cpu_to_le16((u16)(stats_fw_id));
sys/dev/bnxt/bnxt_re/qplib_sp.c
1184
req.flags = cpu_to_le16(CMDQ_QUERY_ROCE_STATS_EXT_FLAGS_FUNCTION_ID);
sys/dev/bnxt/bnxt_re/qplib_sp.c
1191
req.flags = cpu_to_le16(0);
sys/dev/bnxt/bnxt_re/qplib_sp.c
268
req.vlan |= cpu_to_le16(CMDQ_ADD_GID_VLAN_TPID_TPID_8100 |
sys/dev/bnxt/bnxt_re/qplib_sp.c
276
req.gid_index = cpu_to_le16(gid_idx);
sys/dev/bnxt/bnxt_re/qplib_sp.c
347
req.gid_index = cpu_to_le16(sgid_tbl->hw_id[index]);
sys/dev/bnxt/bnxt_re/qplib_sp.c
425
req.vlan = cpu_to_le16(vlan_id &
sys/dev/bnxt/bnxt_re/qplib_sp.c
428
cpu_to_le16(CMDQ_ADD_GID_VLAN_TPID_TPID_8100 |
sys/dev/bnxt/bnxt_re/qplib_sp.c
483
req.sgid_index = cpu_to_le16(res->sgid_tbl.hw_id[ah->sgid_index]);
sys/dev/bnxt/bnxt_re/qplib_sp.c
492
req.dest_mac[0] = cpu_to_le16(temp16[0]);
sys/dev/bnxt/bnxt_re/qplib_sp.c
493
req.dest_mac[1] = cpu_to_le16(temp16[1]);
sys/dev/bnxt/bnxt_re/qplib_sp.c
494
req.dest_mac[2] = cpu_to_le16(temp16[2]);
sys/dev/bnxt/bnxt_re/qplib_sp.c
686
req.log2_pbl_pg_size = cpu_to_le16(((ilog2(PAGE_SIZE) <<
sys/dev/bnxt/bnxt_re/qplib_sp.c
696
req.flags = cpu_to_le16(flags);
sys/dev/bnxt/bnxt_re/qplib_sp.c
760
req.cos0 = cpu_to_le16(cids[0]);
sys/dev/bnxt/bnxt_re/qplib_sp.c
761
req.cos1 = cpu_to_le16(cids[1]);
sys/dev/bnxt/bnxt_re/qplib_sp.c
774
ext_req->inactivity_th_hi = cpu_to_le16(cc_ext->inact_th_hi);
sys/dev/bnxt/bnxt_re/qplib_sp.c
775
ext_req->min_time_between_cnps = cpu_to_le16(cc_ext->min_delta_cnp);
sys/dev/bnxt/bnxt_re/qplib_sp.c
776
ext_req->init_cp = cpu_to_le16(cc_ext->init_cp);
sys/dev/bnxt/bnxt_re/qplib_sp.c
781
ext_req->reduction_relax_rtts_th = cpu_to_le16(cc_ext->rr_rtt_th);
sys/dev/bnxt/bnxt_re/qplib_sp.c
782
ext_req->additional_relax_cr_th = cpu_to_le16(cc_ext->ar_cr_th);
sys/dev/bnxt/bnxt_re/qplib_sp.c
783
ext_req->cr_min_th = cpu_to_le16(cc_ext->cr_min_th);
sys/dev/bnxt/bnxt_re/qplib_sp.c
786
ext_req->max_cp_cr_th = cpu_to_le16(cc_ext->cr_th_max_cp);
sys/dev/bnxt/bnxt_re/qplib_sp.c
791
ext_req->link_bytes_per_usec = cpu_to_le16(cc_ext->bytes_per_usec);
sys/dev/bnxt/bnxt_re/qplib_sp.c
792
ext_req->reset_cc_cr_th = cpu_to_le16(cc_ext->cc_cr_reset_th);
sys/dev/bnxt/bnxt_re/qplib_sp.c
797
ext_req->tr_lower_bound = cpu_to_le16(cc_ext->tr_lb);
sys/dev/bnxt/bnxt_re/qplib_sp.c
800
ext_req->fairness_cr_th = cpu_to_le16(cc_ext->fair_cr_th);
sys/dev/bnxt/bnxt_re/qplib_sp.c
803
ext_req->exp_ai_rtts = cpu_to_le16(cc_ext->ai_ext_rtt);
sys/dev/bnxt/bnxt_re/qplib_sp.c
806
ext_req->cp_exp_update_th = cpu_to_le16(cc_ext->cpcr_update_th);
sys/dev/bnxt/bnxt_re/qplib_sp.c
807
ext_req->high_exp_ai_rtts_th1 = cpu_to_le16(cc_ext->ai_rtt_th1);
sys/dev/bnxt/bnxt_re/qplib_sp.c
808
ext_req->high_exp_ai_rtts_th2 = cpu_to_le16(cc_ext->ai_rtt_th2);
sys/dev/bnxt/bnxt_re/qplib_sp.c
809
ext_req->actual_cr_cong_free_rtts_th = cpu_to_le16(cc_ext->cf_rtt_th);
sys/dev/bnxt/bnxt_re/qplib_sp.c
810
ext_req->severe_cong_cr_th1 = cpu_to_le16(cc_ext->sc_cr_th1);
sys/dev/bnxt/bnxt_re/qplib_sp.c
811
ext_req->severe_cong_cr_th2 = cpu_to_le16(cc_ext->sc_cr_th2);
sys/dev/bnxt/bnxt_re/qplib_sp.c
814
ext_req->reduce_init_cong_free_rtts_th = cpu_to_le16(cc_ext->reduce_cf_rtt_th);
sys/dev/bnxt/bnxt_re/qplib_sp.c
840
req->init_cr = cpu_to_le16(cc_param->init_cr);
sys/dev/bnxt/bnxt_re/qplib_sp.c
841
req->init_tr = cpu_to_le16(cc_param->init_tr);
sys/dev/bnxt/bnxt_re/qplib_sp.c
847
req->alt_tos_dscp = cpu_to_le16(cc_param->alt_tos_dscp);
sys/dev/bnxt/bnxt_re/qplib_sp.c
848
req->rtt = cpu_to_le16(cc_param->rtt);
sys/dev/bnxt/bnxt_re/qplib_sp.c
849
req->tcp_cp = cpu_to_le16(cc_param->tcp_cp);
sys/dev/bnxt/bnxt_re/qplib_sp.c
851
req->inactivity_th = cpu_to_le16(cc_param->inact_th);
sys/dev/bnxt/bnxt_re/stats.c
104
req.num_flows = cpu_to_le16(6);
sys/dev/bnxt/bnxt_re/stats.c
105
req.flow_handle_0 = cpu_to_le16(HWRM_CFA_FLOW_INFO_INPUT_FLOW_HANDLE_CNP_CNT);
sys/dev/bnxt/bnxt_re/stats.c
106
req.flow_handle_1 = cpu_to_le16(HWRM_CFA_FLOW_INFO_INPUT_FLOW_HANDLE_CNP_CNT |
sys/dev/bnxt/bnxt_re/stats.c
108
req.flow_handle_2 = cpu_to_le16(HWRM_CFA_FLOW_INFO_INPUT_FLOW_HANDLE_ROCEV1_CNT);
sys/dev/bnxt/bnxt_re/stats.c
109
req.flow_handle_3 = cpu_to_le16(HWRM_CFA_FLOW_INFO_INPUT_FLOW_HANDLE_ROCEV1_CNT |
sys/dev/bnxt/bnxt_re/stats.c
111
req.flow_handle_4 = cpu_to_le16(HWRM_CFA_FLOW_INFO_INPUT_FLOW_HANDLE_ROCEV2_CNT);
sys/dev/bnxt/bnxt_re/stats.c
112
req.flow_handle_5 = cpu_to_le16(HWRM_CFA_FLOW_INFO_INPUT_FLOW_HANDLE_ROCEV2_CNT |
sys/dev/bnxt/bnxt_re/stats.c
52
req.num_flows = cpu_to_le16(6);
sys/dev/bnxt/bnxt_re/stats.c
53
req.flow_handle_0 = cpu_to_le16(HWRM_CFA_FLOW_INFO_INPUT_FLOW_HANDLE_CNP_CNT);
sys/dev/bnxt/bnxt_re/stats.c
54
req.flow_handle_1 = cpu_to_le16(HWRM_CFA_FLOW_INFO_INPUT_FLOW_HANDLE_CNP_CNT |
sys/dev/bnxt/bnxt_re/stats.c
56
req.flow_handle_2 = cpu_to_le16(HWRM_CFA_FLOW_INFO_INPUT_FLOW_HANDLE_ROCEV1_CNT);
sys/dev/bnxt/bnxt_re/stats.c
57
req.flow_handle_3 = cpu_to_le16(HWRM_CFA_FLOW_INFO_INPUT_FLOW_HANDLE_ROCEV1_CNT |
sys/dev/bnxt/bnxt_re/stats.c
59
req.flow_handle_4 = cpu_to_le16(HWRM_CFA_FLOW_INFO_INPUT_FLOW_HANDLE_ROCEV2_CNT);
sys/dev/bnxt/bnxt_re/stats.c
60
req.flow_handle_5 = cpu_to_le16(HWRM_CFA_FLOW_INFO_INPUT_FLOW_HANDLE_ROCEV2_CNT |
sys/dev/drm2/drm_edid.c
947
timing->pixel_clock = cpu_to_le16(1088);
sys/dev/enic/cq_desc.h
53
desc->q_number = cpu_to_le16(q_number & CQ_DESC_Q_NUM_MASK);
sys/dev/enic/cq_desc.h
54
desc->completed_index = cpu_to_le16(completed_index &
sys/dev/enic/cq_enet_desc.h
121
desc->completed_index_flags |= cpu_to_le16(
sys/dev/enic/cq_enet_desc.h
127
desc->q_number_rss_type_flags |= cpu_to_le16(
sys/dev/enic/cq_enet_desc.h
134
desc->bytes_written_flags = cpu_to_le16(
sys/dev/enic/cq_enet_desc.h
139
desc->vlan = cpu_to_le16(vlan);
sys/dev/enic/cq_enet_desc.h
142
desc->checksum_fcoe = cpu_to_le16(
sys/dev/enic/cq_enet_desc.h
147
desc->checksum_fcoe = cpu_to_le16(checksum);
sys/dev/enic/rq_enet_desc.h
33
desc->length_type = cpu_to_le16((length & RQ_ENET_LEN_MASK) |
sys/dev/enic/wq_enet_desc.h
45
desc->length = cpu_to_le16(length & WQ_ENET_LEN_MASK);
sys/dev/enic/wq_enet_desc.h
46
desc->mss_loopback = cpu_to_le16((mss & WQ_ENET_MSS_MASK) <<
sys/dev/enic/wq_enet_desc.h
48
desc->header_length_flags = cpu_to_le16(
sys/dev/enic/wq_enet_desc.h
55
desc->vlan_tag = cpu_to_le16(vlan_tag);
sys/dev/iwm/if_iwmreg.h
5393
#define IWM_SCHED_SCAN_WATCHDOG cpu_to_le16(15000)
sys/dev/iwm/if_iwmreg.h
5395
#define IWM_GOOD_CRC_TH_DEFAULT cpu_to_le16(1)
sys/dev/iwx/if_iwxreg.h
6355
#define IWX_SCHED_SCAN_WATCHDOG cpu_to_le16(15000)
sys/dev/iwx/if_iwxreg.h
6357
#define IWX_GOOD_CRC_TH_DEFAULT cpu_to_le16(1)
sys/dev/qlnx/qlnxr/qlnxr_verbs.c
3209
qph->db_data.data.value = cpu_to_le16(0);