Symbol: le16_to_cpu
sys/compat/linuxkpi/common/include/asm/byteorder.h
155
*var = cpu_to_le16(le16_to_cpu(*var) + val);
sys/compat/linuxkpi/common/src/linux_80211.c
8275
le16_to_cpu(f->u.beacon.beacon_int),
sys/compat/linuxkpi/common/src/linux_80211.c
8276
le16_to_cpu(f->u.beacon.capab_info), ssid);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
1405
softc->legacy_db_size = le16_to_cpu(resp->legacy_l2_db_size_kb) * 1024;
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
1417
softc->db_size = roundup2(le16_to_cpu(resp->l2_doorbell_bar_size_kb) *
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
429
type = le16_to_cpu(resp->next_valid_type);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
433
ctxm->type = le16_to_cpu(resp->type);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
436
ctxm->entry_size = le16_to_cpu(resp->entry_size);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
495
init_mask = le16_to_cpu(resp->ctx_init_mask);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
499
ctxm->qp_qp1_entries = le16_to_cpu(resp->qp_min_qp1_entries);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
500
ctxm->qp_l2_entries = le16_to_cpu(resp->qp_max_l2_entries);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
501
ctxm->entry_size = le16_to_cpu(resp->qp_entry_size);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
506
ctxm->srq_l2_entries = le16_to_cpu(resp->srq_max_l2_entries);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
508
ctxm->entry_size = le16_to_cpu(resp->srq_entry_size);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
513
ctxm->cq_l2_entries = le16_to_cpu(resp->cq_max_l2_entries);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
515
ctxm->entry_size = le16_to_cpu(resp->cq_entry_size);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
522
le16_to_cpu(resp->vnic_max_ring_table_entries);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
523
ctxm->entry_size = le16_to_cpu(resp->vnic_entry_size);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
530
ctxm->entry_size = le16_to_cpu(resp->stat_entry_size);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
536
ctxm->entry_size = le16_to_cpu(resp->tqm_entry_size);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
547
ctxm->entry_size = le16_to_cpu(resp->mrav_entry_size);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
549
le16_to_cpu(resp->mrav_num_entries_units);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
555
ctxm->entry_size = le16_to_cpu(resp->tim_entry_size);
sys/dev/bnxt/bnxt_en/bnxt_sriov.c
488
u32 req_type = le16_to_cpu(encap_req->req_type);
sys/dev/bnxt/bnxt_en/bnxt_sriov.c
770
vf->min_tx_rings = le16_to_cpu(req.min_tx_rings);
sys/dev/bnxt/bnxt_en/bnxt_sriov.c
771
vf->min_rx_rings = le16_to_cpu(req.min_rx_rings);
sys/dev/bnxt/bnxt_en/bnxt_sriov.c
772
vf->min_cp_rings = le16_to_cpu(req.min_cmpl_rings);
sys/dev/bnxt/bnxt_en/bnxt_sriov.c
773
vf->min_stat_ctxs = le16_to_cpu(req.min_stat_ctx);
sys/dev/bnxt/bnxt_en/bnxt_sriov.c
774
vf->min_ring_grps = le16_to_cpu(req.min_hw_ring_grps);
sys/dev/bnxt/bnxt_en/bnxt_sriov.c
775
vf->min_vnics = le16_to_cpu(req.min_vnics);
sys/dev/bnxt/bnxt_en/bnxt_ulp.c
375
u16 event_id = le16_to_cpu(cmpl->event_id);
sys/dev/bnxt/bnxt_en/if_bnxt.c
4020
vf_id = le16_to_cpu(fwd_req_cmpl->source_id);
sys/dev/bnxt/bnxt_re/main.c
1685
*fw_ring_id = le16_to_cpu(resp.ring_id);
sys/dev/bnxt/bnxt_re/main.c
1832
cctx->hwrm_intf_ver = (u64) le16_to_cpu(resp.hwrm_intf_major) << 48 |
sys/dev/bnxt/bnxt_re/main.c
1833
(u64) le16_to_cpu(resp.hwrm_intf_minor) << 32 |
sys/dev/bnxt/bnxt_re/main.c
1834
(u64) le16_to_cpu(resp.hwrm_intf_build) << 16 |
sys/dev/bnxt/bnxt_re/main.c
1835
le16_to_cpu(resp.hwrm_intf_patch);
sys/dev/bnxt/bnxt_re/main.c
1837
cctx->hwrm_cmd_max_timeout = le16_to_cpu(resp.max_req_timeout);
sys/dev/bnxt/bnxt_re/main.c
1842
cctx->chip_num = le16_to_cpu(resp.chip_num);
sys/dev/bnxt/bnxt_re/main.c
1871
*db_len = PAGE_ALIGN(le16_to_cpu(resp.l2_doorbell_bar_size_kb) * 1024);
sys/dev/bnxt/bnxt_re/main.c
1872
*offset = PAGE_ALIGN(le16_to_cpu(resp.legacy_l2_db_size_kb) * 1024);
sys/dev/bnxt/bnxt_re/main.c
2835
for (i = 0; i < le16_to_cpu(resp.entry_cnt) && i < in_count; i++) {
sys/dev/bnxt/bnxt_re/main.c
2841
*count = le16_to_cpu(resp.entry_cnt);
sys/dev/bnxt/bnxt_re/main.c
3076
*first_pf = le16_to_cpu(resp.first_pf_id);
sys/dev/bnxt/bnxt_re/main.c
3077
*pf_mask = le16_to_cpu(resp.pf_ordinal_mask);
sys/dev/bnxt/bnxt_re/main.c
719
event_id = le16_to_cpu(cmpl->event_id);
sys/dev/bnxt/bnxt_re/qplib_fp.c
1543
qp->pkey_index = le16_to_cpu(sb->pkey);
sys/dev/bnxt/bnxt_re/qplib_fp.c
1556
if (res->sgid_tbl.hw_id[i] == le16_to_cpu(sb->sgid_index)) {
sys/dev/bnxt/bnxt_re/qplib_fp.c
1564
qp->id, le16_to_cpu(sb->sgid_index));
sys/dev/bnxt/bnxt_re/qplib_fp.c
1569
qp->ah.vlan_id = le16_to_cpu(sb->path_mtu_dest_vlan_id) &
sys/dev/bnxt/bnxt_re/qplib_fp.c
1572
qp->path_mtu = le16_to_cpu(sb->path_mtu_dest_vlan_id) &
sys/dev/bnxt/bnxt_re/qplib_fp.c
1585
qp->sq.max_sge = le16_to_cpu(sb->sq_sge);
sys/dev/bnxt/bnxt_re/qplib_fp.c
1586
qp->rq.max_sge = le16_to_cpu(sb->rq_sge);
sys/dev/bnxt/bnxt_re/qplib_fp.c
1590
qp->vlan_id = le16_to_cpu(sb->vlan_pcp_vlan_dei_vlan_id);
sys/dev/bnxt/bnxt_re/qplib_fp.c
1591
qp->port_id = le16_to_cpu(sb->port_id);
sys/dev/bnxt/bnxt_re/qplib_fp.c
2628
total_cnq_events = le16_to_cpu(resp.total_cnq_events);
sys/dev/bnxt/bnxt_re/qplib_fp.c
279
type = le16_to_cpu(hw_nqe->info10_type) &
sys/dev/bnxt/bnxt_re/qplib_fp.c
2820
((le16_to_cpu(
sys/dev/bnxt/bnxt_re/qplib_fp.c
2931
cqe_sq_cons = le16_to_cpu(hwcqe->sq_cons_idx) % sq->max_sw_wqe;
sys/dev/bnxt/bnxt_re/qplib_fp.c
2939
slot_num = le16_to_cpu(hwcqe->sq_cons_idx);
sys/dev/bnxt/bnxt_re/qplib_fp.c
3072
cqe->flags = le16_to_cpu(hwcqe->flags);
sys/dev/bnxt/bnxt_re/qplib_fp.c
3158
cqe->cfa_meta = le16_to_cpu(hwcqe->cfa_metadata0);
sys/dev/bnxt/bnxt_re/qplib_fp.c
3165
cqe->flags = le16_to_cpu(hwcqe->flags);
sys/dev/bnxt/bnxt_re/qplib_fp.c
3169
smac[2] = ntohs(le16_to_cpu(hwcqe->src_mac[0]));
sys/dev/bnxt/bnxt_re/qplib_fp.c
3170
smac[1] = ntohs(le16_to_cpu(hwcqe->src_mac[1]));
sys/dev/bnxt/bnxt_re/qplib_fp.c
3171
smac[0] = ntohs(le16_to_cpu(hwcqe->src_mac[2]));
sys/dev/bnxt/bnxt_re/qplib_fp.c
3174
cqe->src_qp = le16_to_cpu(hwcqe->src_qp_low) |
sys/dev/bnxt/bnxt_re/qplib_fp.c
3275
cqe->flags = le16_to_cpu(hwcqe->flags);
sys/dev/bnxt/bnxt_re/qplib_fp.c
3285
cqe->length = le16_to_cpu(hwcqe->length);
sys/dev/bnxt/bnxt_re/qplib_fp.c
3290
cqe->raweth_qp1_flags = le16_to_cpu(hwcqe->raweth_qp1_flags);
sys/dev/bnxt/bnxt_re/qplib_fp.c
3389
cqe_cons = le16_to_cpu(hwcqe->sq_cons_idx);
sys/dev/bnxt/bnxt_re/qplib_fp.c
3440
cqe_cons = le16_to_cpu(hwcqe->rq_cons_idx);
sys/dev/bnxt/bnxt_re/qplib_fp.c
359
type = le16_to_cpu(nqe->info10_type) & NQ_BASE_TYPE_MASK;
sys/dev/bnxt/bnxt_re/qplib_fp.c
370
cq->toggle = (le16_to_cpu(nqe->info10_type) & NQ_CN_TOGGLE_MASK) >> NQ_CN_TOGGLE_SFT;
sys/dev/bnxt/bnxt_re/qplib_fp.c
396
toggle = (le16_to_cpu(nqe->info10_type) & NQ_CN_TOGGLE_MASK)
sys/dev/bnxt/bnxt_re/qplib_rcfw.c
532
cookie = le16_to_cpu(__get_cmdq_base_cookie(msg->req,
sys/dev/bnxt/bnxt_re/qplib_rcfw.c
747
cookie = le16_to_cpu(event->cookie);
sys/dev/bnxt/bnxt_re/qplib_sp.c
131
attr->max_qp_wqes = le16_to_cpu(sb->max_qp_wr) - 1;
sys/dev/bnxt/bnxt_re/qplib_sp.c
167
attr->max_srq = bnxt_re_cap_fw_res(le16_to_cpu(sb->max_srq),
sys/dev/bnxt/bnxt_re/qplib_sp.c
175
le16_to_cpu(sb->max_inline_data_var_wqe);
sys/dev/bnxt/bnxt_re/qplib_sp.c
185
attr->dev_cap_flags = le16_to_cpu(sb->dev_cap_flags);
sys/dev/bnxt/bnxt_re/qplib_sp.c
189
attr->dev_cap_ext_flags2 = le16_to_cpu(sb->dev_cap_ext_flags_2);
sys/dev/bnxt/bnxt_re/qplib_sp.c
884
cc_ext->inact_th_hi = le16_to_cpu(sb->inactivity_th_hi);
sys/dev/bnxt/bnxt_re/qplib_sp.c
885
cc_ext->min_delta_cnp = le16_to_cpu(sb->min_time_between_cnps);
sys/dev/bnxt/bnxt_re/qplib_sp.c
886
cc_ext->init_cp = le16_to_cpu(sb->init_cp);
sys/dev/bnxt/bnxt_re/qplib_sp.c
891
cc_ext->rr_rtt_th = le16_to_cpu(sb->reduction_relax_rtts_th);
sys/dev/bnxt/bnxt_re/qplib_sp.c
892
cc_ext->ar_cr_th = le16_to_cpu(sb->additional_relax_cr_th);
sys/dev/bnxt/bnxt_re/qplib_sp.c
893
cc_ext->cr_min_th = le16_to_cpu(sb->cr_min_th);
sys/dev/bnxt/bnxt_re/qplib_sp.c
896
cc_ext->cr_th_max_cp = le16_to_cpu(sb->max_cp_cr_th);
sys/dev/bnxt/bnxt_re/qplib_sp.c
901
cc_ext->bytes_per_usec = le16_to_cpu(sb->link_bytes_per_usec);
sys/dev/bnxt/bnxt_re/qplib_sp.c
902
cc_ext->cc_cr_reset_th = le16_to_cpu(sb->reset_cc_cr_th);
sys/dev/bnxt/bnxt_re/qplib_sp.c
907
cc_ext->tr_lb = le16_to_cpu(sb->tr_lower_bound);
sys/dev/bnxt/bnxt_re/qplib_sp.c
910
cc_ext->fair_cr_th = le16_to_cpu(sb->fairness_cr_th);
sys/dev/bnxt/bnxt_re/qplib_sp.c
913
cc_ext->ai_ext_rtt = le16_to_cpu(sb->exp_ai_rtts);
sys/dev/bnxt/bnxt_re/qplib_sp.c
916
cc_ext->cpcr_update_th = le16_to_cpu(sb->cp_exp_update_th);
sys/dev/bnxt/bnxt_re/qplib_sp.c
917
cc_ext->ai_rtt_th1 = le16_to_cpu(sb->high_exp_ai_rtts_th1);
sys/dev/bnxt/bnxt_re/qplib_sp.c
918
cc_ext->ai_rtt_th2 = le16_to_cpu(sb->high_exp_ai_rtts_th2);
sys/dev/bnxt/bnxt_re/qplib_sp.c
919
cc_ext->cf_rtt_th = le16_to_cpu(sb->actual_cr_cong_free_rtts_th);
sys/dev/bnxt/bnxt_re/qplib_sp.c
920
cc_ext->sc_cr_th1 = le16_to_cpu(sb->severe_cong_cr_th1);
sys/dev/bnxt/bnxt_re/qplib_sp.c
921
cc_ext->sc_cr_th2 = le16_to_cpu(sb->severe_cong_cr_th2);
sys/dev/bnxt/bnxt_re/qplib_sp.c
924
cc_ext->reduce_cf_rtt_th = le16_to_cpu(sb->reduce_init_cong_free_rtts_th);
sys/dev/bnxt/bnxt_re/qplib_sp.c
981
cc_param->init_cr = le16_to_cpu(sb->init_cr);
sys/dev/bnxt/bnxt_re/qplib_sp.c
982
cc_param->init_tr = le16_to_cpu(sb->init_tr);
sys/dev/bnxt/bnxt_re/qplib_sp.c
984
cc_param->inact_th = le16_to_cpu(sb->inactivity_th);
sys/dev/bnxt/bnxt_re/qplib_sp.c
985
cc_param->rtt = le16_to_cpu(sb->rtt);
sys/dev/bnxt/bnxt_re/qplib_sp.c
986
cc_param->tcp_cp = le16_to_cpu(sb->tcp_cp);
sys/dev/cxgb/common/cxgb_t3_hw.c
1375
if (le16_to_cpu(*(u16*)header->signature) != BOOT_SIGNATURE) {
sys/dev/cxgbe/common/t4_hw.c
14156
le16_to_cpu(*(u16*)header->pcir_offset)];
sys/dev/cxgbe/common/t4_hw.c
14266
pcir_offset = le16_to_cpu(*(u16 *)header->pcir_offset);
sys/dev/cxgbe/common/t4_hw.c
14284
if (le16_to_cpu(*(u16*)header->signature) != BOOT_SIGNATURE ) {
sys/dev/cxgbe/common/t4_hw.c
14300
if (le16_to_cpu(*(u16*)pcir_header->vendor_id) != VENDOR_ID) {
sys/dev/cxgbe/common/t4_hw.c
14316
if (le16_to_cpu(*(u16*)pcir_header->device_id) != device_id) {
sys/dev/drm2/drm_edid.c
949
mode->clock = le16_to_cpu(timing->pixel_clock) * 10;
sys/dev/enic/cq_desc.h
77
*q_number = le16_to_cpu(desc->q_number) & CQ_DESC_Q_NUM_MASK;
sys/dev/enic/cq_desc.h
78
*completed_index = le16_to_cpu(desc->completed_index) &
sys/dev/enic/cq_enet_desc.h
179
completed_index_flags = le16_to_cpu(desc->completed_index_flags);
sys/dev/enic/cq_enet_desc.h
181
le16_to_cpu(desc->q_number_rss_type_flags);
sys/dev/enic/cq_enet_desc.h
182
bytes_written_flags = le16_to_cpu(desc->bytes_written_flags);
sys/dev/enic/cq_enet_desc.h
210
*vlan_tci = le16_to_cpu(desc->vlan);
sys/dev/enic/cq_enet_desc.h
213
*fcoe_sof = (u8)(le16_to_cpu(desc->checksum_fcoe) &
sys/dev/enic/cq_enet_desc.h
219
*fcoe_eof = (u8)((le16_to_cpu(desc->checksum_fcoe) >>
sys/dev/enic/cq_enet_desc.h
228
*checksum = le16_to_cpu(desc->checksum_fcoe);
sys/dev/enic/rq_enet_desc.h
41
*length = le16_to_cpu(desc->length_type) & RQ_ENET_LEN_MASK;
sys/dev/enic/rq_enet_desc.h
42
*type = (u8)((le16_to_cpu(desc->length_type) >> RQ_ENET_LEN_BITS) &
sys/dev/enic/wq_enet_desc.h
64
*length = le16_to_cpu(desc->length) & WQ_ENET_LEN_MASK;
sys/dev/enic/wq_enet_desc.h
65
*mss = (le16_to_cpu(desc->mss_loopback) >> WQ_ENET_MSS_SHIFT) &
sys/dev/enic/wq_enet_desc.h
67
*loopback = (u8)((le16_to_cpu(desc->mss_loopback) >>
sys/dev/enic/wq_enet_desc.h
69
*header_length = le16_to_cpu(desc->header_length_flags) &
sys/dev/enic/wq_enet_desc.h
71
*offload_mode = (u8)((le16_to_cpu(desc->header_length_flags) >>
sys/dev/enic/wq_enet_desc.h
73
*eop = (u8)((le16_to_cpu(desc->header_length_flags) >>
sys/dev/enic/wq_enet_desc.h
75
*cq_entry = (u8)((le16_to_cpu(desc->header_length_flags) >>
sys/dev/enic/wq_enet_desc.h
77
*fcoe_encap = (u8)((le16_to_cpu(desc->header_length_flags) >>
sys/dev/enic/wq_enet_desc.h
79
*vlan_tag_insert = (u8)((le16_to_cpu(desc->header_length_flags) >>
sys/dev/enic/wq_enet_desc.h
81
*vlan_tag = le16_to_cpu(desc->vlan_tag);
sys/dev/ixl/ixl_iw.c
173
pf_info->qs_handle[i] = le16_to_cpu(pf->vsi.info.qs_handle[0]);
sys/dev/ixl/ixl_pf_iov.c
582
txq.rdylist = le16_to_cpu(vf->vsi.info.qs_handle[0]);
sys/dev/qlnx/qlnxr/qlnxr_os.c
310
hw_comp_cons = le16_to_cpu(*cnq->hw_cons_ptr);
sys/dev/qlnx/qlnxr/qlnxr_verbs.c
4522
le16_to_cpu(qp->sq.db_data.data.value),
sys/dev/qlnx/qlnxr/qlnxr_verbs.c
5066
if (le16_to_cpu(resp->rq_cons) == qp->rq.wqe_cons) {
sys/dev/qlnx/qlnxr/qlnxr_verbs.c
5126
if (le16_to_cpu(req->sq_cons) == qp->sq.wqe_cons) {