Home
last modified time | relevance | path

Searched refs:cpu_to_be16 (Results 1 – 25 of 399) sorted by relevance

12345678910>>...16

/drivers/infiniband/sw/siw/
Diwarp.h31 MPA_RR_FLAG_MARKERS = cpu_to_be16(0x8000),
32 MPA_RR_FLAG_CRC = cpu_to_be16(0x4000),
33 MPA_RR_FLAG_REJECT = cpu_to_be16(0x2000),
34 MPA_RR_FLAG_ENHANCED = cpu_to_be16(0x1000),
35 MPA_RR_FLAG_GSO_EXP = cpu_to_be16(0x0800),
36 MPA_RR_MASK_REVISION = cpu_to_be16(0x00ff)
50 (cpu_to_be16(rev) & MPA_RR_MASK_REVISION); in __mpa_rr_set_revision()
61 MPA_V2_PEER_TO_PEER = cpu_to_be16(0x8000),
62 MPA_V2_ZERO_LENGTH_RTR = cpu_to_be16(0x4000),
63 MPA_V2_RDMA_WRITE_RTR = cpu_to_be16(0x8000),
[all …]
Dsiw_qp.c37 cpu_to_be16(DDP_VERSION << 8) |
38 cpu_to_be16(RDMAP_VERSION << 6) |
39 cpu_to_be16(RDMAP_RDMA_WRITE),
44 .ctrl.ddp_rdmap_ctrl = DDP_FLAG_LAST | cpu_to_be16(DDP_VERSION << 8) |
45 cpu_to_be16(RDMAP_VERSION << 6) |
46 cpu_to_be16(RDMAP_RDMA_READ_REQ),
52 cpu_to_be16(DDP_VERSION << 8) |
53 cpu_to_be16(RDMAP_VERSION << 6) |
54 cpu_to_be16(RDMAP_RDMA_READ_RESP),
59 .ctrl.ddp_rdmap_ctrl = DDP_FLAG_LAST | cpu_to_be16(DDP_VERSION << 8) |
[all …]
/drivers/infiniband/hw/qib/
Dqib_mad.h40 cpu_to_be16(IB_MGMT_MAD_STATUS_BAD_VERSION)
43 cpu_to_be16(IB_MGMT_MAD_STATUS_UNSUPPORTED_METHOD)
46 cpu_to_be16(IB_MGMT_MAD_STATUS_UNSUPPORTED_METHOD_ATTRIB)
49 cpu_to_be16(IB_MGMT_MAD_STATUS_INVALID_ATTRIB_VALUE)
56 #define IB_PMA_PORT_COUNTERS_CONG cpu_to_be16(0xFF00)
99 #define IB_CC_ATTR_CLASSPORTINFO cpu_to_be16(0x0001)
100 #define IB_CC_ATTR_NOTICE cpu_to_be16(0x0002)
101 #define IB_CC_ATTR_CONGESTION_INFO cpu_to_be16(0x0011)
102 #define IB_CC_ATTR_CONGESTION_KEY_INFO cpu_to_be16(0x0012)
103 #define IB_CC_ATTR_CONGESTION_LOG cpu_to_be16(0x0013)
[all …]
Dqib_mad.c152 data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid); in qib_bad_pkey()
176 data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid); in qib_bad_mkey()
217 data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid); in qib_cap_mask_chg()
237 data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid); in qib_sys_guid_chg()
257 data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid); in qib_node_desc_chg()
300 nip->partition_cap = cpu_to_be16(qib_get_npkeys(dd)); in subn_get_nodeinfo()
301 nip->device_id = cpu_to_be16(dd->deviceid); in subn_get_nodeinfo()
498 pip->lid = cpu_to_be16(ppd->lid); in subn_get_portinfo()
499 pip->sm_lid = cpu_to_be16((u16)ibp->rvp.sm_lid); in subn_get_portinfo()
502 pip->mkey_lease_period = cpu_to_be16(ibp->rvp.mkey_lease_period); in subn_get_portinfo()
[all …]
Dqib_verbs.h73 #define IB_PMA_PORT_XMIT_DATA cpu_to_be16(0x0001)
74 #define IB_PMA_PORT_RCV_DATA cpu_to_be16(0x0002)
75 #define IB_PMA_PORT_XMIT_PKTS cpu_to_be16(0x0003)
76 #define IB_PMA_PORT_RCV_PKTS cpu_to_be16(0x0004)
77 #define IB_PMA_PORT_XMIT_WAIT cpu_to_be16(0x0005)
79 #define QIB_VENDOR_IPG cpu_to_be16(0xFFA0)
/drivers/gpu/drm/amd/display/modules/power/
Dpower_helpers.c34 (big_endian) ? cpu_to_be16(value) : cpu_to_le16(value)
239 cpu_to_be16(DIV_ROUNDUP((i * 65536), num_entries)); in fill_backlight_transform_table()
241 cpu_to_be16(params.backlight_lut_array[lut_index]); in fill_backlight_transform_table()
271 cpu_to_be16(DIV_ROUNDUP((i * 65536), num_entries)) : in fill_backlight_transform_table_v_2_2()
274 cpu_to_be16(params.backlight_lut_array[lut_index]) : in fill_backlight_transform_table_v_2_2()
284 cpu_to_be16(params.min_abm_backlight); in fill_iram_v_2()
288 cpu_to_be16(params.backlight_ramping_reduction); in fill_iram_v_2()
290 cpu_to_be16(params.backlight_ramping_start); in fill_iram_v_2()
424 ram_table->crgb_thresh[0] = cpu_to_be16(0x13b6); in fill_iram_v_2()
425 ram_table->crgb_thresh[1] = cpu_to_be16(0x1648); in fill_iram_v_2()
[all …]
/drivers/infiniband/hw/hfi1/
Dopa_compat.h58 #define OPA_ATTRIB_ID_CONGESTION_INFO cpu_to_be16(0x008b)
59 #define OPA_ATTRIB_ID_HFI_CONGESTION_LOG cpu_to_be16(0x008f)
60 #define OPA_ATTRIB_ID_HFI_CONGESTION_SETTING cpu_to_be16(0x0090)
61 #define OPA_ATTRIB_ID_CONGESTION_CONTROL_TABLE cpu_to_be16(0x0091)
64 #define OPA_PM_ATTRIB_ID_PORT_STATUS cpu_to_be16(0x0040)
65 #define OPA_PM_ATTRIB_ID_CLEAR_PORT_STATUS cpu_to_be16(0x0041)
66 #define OPA_PM_ATTRIB_ID_DATA_PORT_COUNTERS cpu_to_be16(0x0042)
67 #define OPA_PM_ATTRIB_ID_ERROR_PORT_COUNTERS cpu_to_be16(0x0043)
68 #define OPA_PM_ATTRIB_ID_ERROR_INFO cpu_to_be16(0x0044)
71 #define OPA_PM_STATUS_REQUEST_TOO_LARGE cpu_to_be16(0x100)
Dmad.h58 #define OPA_TRAP_GID_NOW_IN_SERVICE cpu_to_be16(64)
59 #define OPA_TRAP_GID_OUT_OF_SERVICE cpu_to_be16(65)
60 #define OPA_TRAP_ADD_MULTICAST_GROUP cpu_to_be16(66)
61 #define OPA_TRAL_DEL_MULTICAST_GROUP cpu_to_be16(67)
62 #define OPA_TRAP_UNPATH cpu_to_be16(68)
63 #define OPA_TRAP_REPATH cpu_to_be16(69)
64 #define OPA_TRAP_PORT_CHANGE_STATE cpu_to_be16(128)
65 #define OPA_TRAP_LINK_INTEGRITY cpu_to_be16(129)
66 #define OPA_TRAP_EXCESSIVE_BUFFER_OVERRUN cpu_to_be16(130)
67 #define OPA_TRAP_FLOW_WATCHDOG cpu_to_be16(131)
[all …]
/drivers/gpu/drm/
Ddrm_dsc.c113 pps_payload->pic_height = cpu_to_be16(dsc_cfg->pic_height); in drm_dsc_pps_payload_pack()
116 pps_payload->pic_width = cpu_to_be16(dsc_cfg->pic_width); in drm_dsc_pps_payload_pack()
119 pps_payload->slice_height = cpu_to_be16(dsc_cfg->slice_height); in drm_dsc_pps_payload_pack()
122 pps_payload->slice_width = cpu_to_be16(dsc_cfg->slice_width); in drm_dsc_pps_payload_pack()
125 pps_payload->chunk_size = cpu_to_be16(dsc_cfg->slice_chunk_size); in drm_dsc_pps_payload_pack()
139 cpu_to_be16(dsc_cfg->initial_dec_delay); in drm_dsc_pps_payload_pack()
149 cpu_to_be16(dsc_cfg->scale_increment_interval); in drm_dsc_pps_payload_pack()
169 cpu_to_be16(dsc_cfg->nfl_bpg_offset); in drm_dsc_pps_payload_pack()
173 cpu_to_be16(dsc_cfg->slice_bpg_offset); in drm_dsc_pps_payload_pack()
177 cpu_to_be16(dsc_cfg->initial_offset); in drm_dsc_pps_payload_pack()
[all …]
/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_vema_iface.c96 cntrs->vp_instance = cpu_to_be16(adapter->vport_num); in opa_vnic_get_summary_counters()
97 cntrs->vesw_id = cpu_to_be16(adapter->info.vesw.vesw_id); in opa_vnic_get_summary_counters()
135 cntrs->vp_instance = cpu_to_be16(adapter->vport_num); in opa_vnic_get_error_counters()
136 cntrs->vesw_id = cpu_to_be16(adapter->info.vesw.vesw_id); in opa_vnic_get_error_counters()
167 info->fabric_id = cpu_to_be16(src->fabric_id); in opa_vnic_get_vesw_info()
168 info->vesw_id = cpu_to_be16(src->vesw_id); in opa_vnic_get_vesw_info()
170 info->def_port_mask = cpu_to_be16(src->def_port_mask); in opa_vnic_get_vesw_info()
172 info->pkey = cpu_to_be16(src->pkey); in opa_vnic_get_vesw_info()
182 info->eth_mtu = cpu_to_be16(src->eth_mtu); in opa_vnic_get_vesw_info()
242 info->max_mac_tbl_ent = cpu_to_be16(src->max_mac_tbl_ent); in opa_vnic_get_per_veswport_info()
[all …]
/drivers/scsi/lpfc/
Dlpfc_ct.c767 cpu_to_be16(SLI_CT_RESPONSE_FS_ACC)) { in lpfc_cmpl_ct_cmd_gid_ft()
973 cpu_to_be16(SLI_CT_RESPONSE_FS_ACC)) { in lpfc_cmpl_ct_cmd_gid_pt()
1682 cpu_to_be16(SLI_CTNS_GID_FT); in lpfc_ns_cmd()
1694 cpu_to_be16(SLI_CTNS_GID_PT); in lpfc_ns_cmd()
1706 cpu_to_be16(SLI_CTNS_GFF_ID); in lpfc_ns_cmd()
1713 cpu_to_be16(SLI_CTNS_GFT_ID); in lpfc_ns_cmd()
1721 cpu_to_be16(SLI_CTNS_RFT_ID); in lpfc_ns_cmd()
1753 cpu_to_be16(SLI_CTNS_RNN_ID); in lpfc_ns_cmd()
1763 cpu_to_be16(SLI_CTNS_RSPN_ID); in lpfc_ns_cmd()
1774 cpu_to_be16(SLI_CTNS_RSNN_NN); in lpfc_ns_cmd()
[all …]
/drivers/staging/iio/frequency/
Dad9832.c139 st->freq_data[0] = cpu_to_be16((AD9832_CMD_FRE8BITSW << CMD_SHIFT) | in ad9832_write_frequency()
142 st->freq_data[1] = cpu_to_be16((AD9832_CMD_FRE16BITSW << CMD_SHIFT) | in ad9832_write_frequency()
145 st->freq_data[2] = cpu_to_be16((AD9832_CMD_FRE8BITSW << CMD_SHIFT) | in ad9832_write_frequency()
148 st->freq_data[3] = cpu_to_be16((AD9832_CMD_FRE16BITSW << CMD_SHIFT) | in ad9832_write_frequency()
161 st->phase_data[0] = cpu_to_be16((AD9832_CMD_PHA8BITSW << CMD_SHIFT) | in ad9832_write_phase()
164 st->phase_data[1] = cpu_to_be16((AD9832_CMD_PHA16BITSW << CMD_SHIFT) | in ad9832_write_phase()
201 st->data = cpu_to_be16((AD9832_CMD_SYNCSELSRC << CMD_SHIFT) | in ad9832_write()
214 st->data = cpu_to_be16((AD9832_CMD_FPSELECT << CMD_SHIFT) | in ad9832_write()
227 st->data = cpu_to_be16((AD9832_CMD_FPSELECT << CMD_SHIFT) | in ad9832_write()
238 st->data = cpu_to_be16((AD9832_CMD_SLEEPRESCLR << CMD_SHIFT) | in ad9832_write()
[all …]
Dad9834.c123 st->freq_data[0] = cpu_to_be16(addr | (regval & in ad9834_write_frequency()
125 st->freq_data[1] = cpu_to_be16(addr | ((regval >> in ad9834_write_frequency()
137 st->data = cpu_to_be16(addr | phase); in ad9834_write_phase()
178 st->data = cpu_to_be16(AD9834_REG_CMD | st->control); in ad9834_write()
186 st->data = cpu_to_be16(AD9834_REG_CMD | st->control); in ad9834_write()
200 st->data = cpu_to_be16(AD9834_REG_CMD | st->control); in ad9834_write()
209 st->data = cpu_to_be16(AD9834_REG_CMD | st->control); in ad9834_write()
271 st->data = cpu_to_be16(AD9834_REG_CMD | st->control); in ad9834_store_wavetype()
469 st->data = cpu_to_be16(AD9834_REG_CMD | st->control); in ad9834_probe()
/drivers/media/test-drivers/vidtv/
Dvidtv_pes.c102 pts_dts.pts2 = cpu_to_be16(((args->pts & mask2) >> 14) | 0x1); in vidtv_pes_write_pts_dts()
103 pts_dts.pts3 = cpu_to_be16(((args->pts & mask3) << 1) | 0x1); in vidtv_pes_write_pts_dts()
106 pts_dts.dts2 = cpu_to_be16(((args->dts & mask2) >> 14) | 0x1); in vidtv_pes_write_pts_dts()
107 pts_dts.dts3 = cpu_to_be16(((args->dts & mask3) << 1) | 0x1); in vidtv_pes_write_pts_dts()
114 pts.pts2 = cpu_to_be16(((args->pts & mask2) >> 14) | 0x1); in vidtv_pes_write_pts_dts()
115 pts.pts3 = cpu_to_be16(((args->pts & mask3) << 1) | 0x1); in vidtv_pes_write_pts_dts()
143 pes_header.length = cpu_to_be16(vidtv_pes_op_get_len(args->send_pts, in vidtv_pes_write_h()
152 pes_optional.bitfield = cpu_to_be16(pes_opt_bitfield); in vidtv_pes_write_h()
280 ts_header.bitfield = cpu_to_be16((payload_start << 14) | args.pid); in vidtv_pes_write_ts_h()
Dvidtv_psi.c136 new = cpu_to_be16((be16_to_cpu(*bitfield) & mask) | new_len); in vidtv_psi_set_desc_loop_len()
148 new = cpu_to_be16((be16_to_cpu(h->bitfield) & mask) | new_len); in vidtv_psi_set_sec_len()
169 .bitfield = cpu_to_be16((args->new_psi_section << 14) | args->pid), in vidtv_psi_ts_psi_write_into()
910 program->service_id = cpu_to_be16(service_id); in vidtv_psi_pat_program_init()
913 program->bitfield = cpu_to_be16((RESERVED << 13) | program_map_pid); in vidtv_psi_pat_program_init()
984 pat->header.bitfield = cpu_to_be16((SYNTAX << 15) | (ZERO << 14) | (ONES << 12)); in vidtv_psi_pat_table_init()
985 pat->header.id = cpu_to_be16(transport_stream_id); in vidtv_psi_pat_table_init()
1084 stream->bitfield = cpu_to_be16((RESERVED1 << 13) | es_pid); in vidtv_psi_pmt_stream_init()
1088 stream->bitfield2 = cpu_to_be16((RESERVED2 << 12) | in vidtv_psi_pmt_stream_init()
1173 pmt->header.bitfield = cpu_to_be16((SYNTAX << 15) | (ZERO << 14) | (ONES << 12)); in vidtv_psi_pmt_table_init()
[all …]
/drivers/crypto/marvell/octeontx/
Dotx_cptvf_reqmgr.c127 sg_ptr->u.s.len0 = cpu_to_be16(list[i * 4 + 0].size); in setup_sgio_components()
128 sg_ptr->u.s.len1 = cpu_to_be16(list[i * 4 + 1].size); in setup_sgio_components()
129 sg_ptr->u.s.len2 = cpu_to_be16(list[i * 4 + 2].size); in setup_sgio_components()
130 sg_ptr->u.s.len3 = cpu_to_be16(list[i * 4 + 3].size); in setup_sgio_components()
141 sg_ptr->u.s.len2 = cpu_to_be16(list[i * 4 + 2].size); in setup_sgio_components()
145 sg_ptr->u.s.len1 = cpu_to_be16(list[i * 4 + 1].size); in setup_sgio_components()
149 sg_ptr->u.s.len0 = cpu_to_be16(list[i * 4 + 0].size); in setup_sgio_components()
205 ((__be16 *)info->in_buffer)[0] = cpu_to_be16(req->outcnt); in setup_sgio_list()
206 ((__be16 *)info->in_buffer)[1] = cpu_to_be16(req->incnt); in setup_sgio_list()
364 iq_cmd.cmd.s.opcode = cpu_to_be16(cpt_req->opcode.flags); in process_request()
[all …]
/drivers/scsi/bfa/
Dbfa_fcbuild.c93 plogi_tmpl.csp.conseq = cpu_to_be16(0x00FF); in fcbuild_init()
94 plogi_tmpl.csp.ro_bitmap = cpu_to_be16(0x0002); in fcbuild_init()
107 prli_tmpl.pagebytes = cpu_to_be16(0x0014); in fcbuild_init()
143 fchs->ox_id = cpu_to_be16(ox_id); in fc_gs_fchdr_build()
173 fchs->ox_id = cpu_to_be16(ox_id); in fc_els_req_build()
213 plogi->csp.rxsz = plogi->class3.rxsz = cpu_to_be16(pdu_size); in fc_plogi_x_build()
214 plogi->csp.bbcred = cpu_to_be16(bb_cr); in fc_plogi_x_build()
235 flogi->csp.rxsz = flogi->class3.rxsz = cpu_to_be16(pdu_size); in fc_flogi_build()
248 flogi->csp.bbcred = cpu_to_be16(local_bb_credits); in fc_flogi_build()
272 flogi->class3.rxsz = cpu_to_be16(pdu_size); in fc_flogi_acc_build()
[all …]
/drivers/scsi/qla2xxx/
Dqla_gs.c113 p->p.req.command = cpu_to_be16(cmd); in qla2x00_prep_ct_req()
114 p->p.req.max_rsp_size = cpu_to_be16((rsp_size - 16) / 4); in qla2x00_prep_ct_req()
145 cpu_to_be16(CT_ACCEPT_RESPONSE)) { in qla2x00_chk_ms_status()
1497 p->p.req.command = cpu_to_be16(cmd); in qla2x00_prep_ct_fdmi_req()
1498 p->p.req.max_rsp_size = cpu_to_be16((rsp_size - 16) / 4); in qla2x00_prep_ct_fdmi_req()
1604 eiter->type = cpu_to_be16(FDMI_HBA_NODE_NAME); in qla2x00_hba_attributes()
1608 eiter->len = cpu_to_be16(alen); in qla2x00_hba_attributes()
1614 eiter->type = cpu_to_be16(FDMI_HBA_MANUFACTURER); in qla2x00_hba_attributes()
1620 eiter->len = cpu_to_be16(alen); in qla2x00_hba_attributes()
1626 eiter->type = cpu_to_be16(FDMI_HBA_SERIAL_NUMBER); in qla2x00_hba_attributes()
[all …]
/drivers/crypto/cavium/cpt/
Dcptvf_reqmanager.c76 sg_ptr->u.s.len0 = cpu_to_be16(list[i * 4 + 0].size); in setup_sgio_components()
77 sg_ptr->u.s.len1 = cpu_to_be16(list[i * 4 + 1].size); in setup_sgio_components()
78 sg_ptr->u.s.len2 = cpu_to_be16(list[i * 4 + 2].size); in setup_sgio_components()
79 sg_ptr->u.s.len3 = cpu_to_be16(list[i * 4 + 3].size); in setup_sgio_components()
91 sg_ptr->u.s.len2 = cpu_to_be16(list[i * 4 + 2].size); in setup_sgio_components()
95 sg_ptr->u.s.len1 = cpu_to_be16(list[i * 4 + 1].size); in setup_sgio_components()
99 sg_ptr->u.s.len0 = cpu_to_be16(list[i * 4 + 0].size); in setup_sgio_components()
177 ((__be16 *)info->in_buffer)[0] = cpu_to_be16(req->outcnt); in setup_sgio_list()
178 ((__be16 *)info->in_buffer)[1] = cpu_to_be16(req->incnt); in setup_sgio_list()
468 vq_cmd.cmd.s.opcode = cpu_to_be16(cpt_req->opcode.flags); in process_request()
[all …]
/drivers/staging/fbtft/
Dfb_watterott.c74 pos[2] = cpu_to_be16(par->info->var.xres); in write_vmem()
75 pos[3] = cpu_to_be16(1); in write_vmem()
79 pos[1] = cpu_to_be16(i); in write_vmem()
81 buf16[j] = cpu_to_be16(*vmem16++); in write_vmem()
112 pos[2] = cpu_to_be16(par->info->var.xres); in write_vmem_8bit()
113 pos[3] = cpu_to_be16(1); in write_vmem_8bit()
117 pos[1] = cpu_to_be16(i); in write_vmem_8bit()
/drivers/net/ethernet/netronome/nfp/flower/
Dmatch.c37 ext->tci = cpu_to_be16(tmp_tci); in nfp_flower_compile_meta_tci()
44 msk->tci = cpu_to_be16(tmp_tci); in nfp_flower_compile_meta_tci()
133 if (match.key->n_proto == cpu_to_be16(ETH_P_MPLS_UC) || in nfp_flower_compile_mac()
134 match.key->n_proto == cpu_to_be16(ETH_P_MPLS_MC)) { in nfp_flower_compile_mac()
247 frame->outer_tci = cpu_to_be16(tci); in nfp_flower_fill_vlan()
250 frame->inner_tci = cpu_to_be16(tci); in nfp_flower_fill_vlan()
404 *flags = cpu_to_be16(NFP_FL_GRE_FLAG_KEY); in nfp_flower_compile_tun_gre_key()
405 *flags_msk = cpu_to_be16(NFP_FL_GRE_FLAG_KEY); in nfp_flower_compile_tun_gre_key()
418 ext->ethertype = cpu_to_be16(ETH_P_TEB); in nfp_flower_compile_ipv4_gre_tun()
419 msk->ethertype = cpu_to_be16(~0); in nfp_flower_compile_ipv4_gre_tun()
[all …]
/drivers/net/wan/
Dhdlc_cisco.c114 data->rel = cpu_to_be16(0xFFFF); in cisco_keepalive_send()
134 return cpu_to_be16(ETH_P_HDLC); in cisco_type_trans()
138 return cpu_to_be16(ETH_P_HDLC); in cisco_type_trans()
141 case cpu_to_be16(ETH_P_IP): in cisco_type_trans()
142 case cpu_to_be16(ETH_P_IPX): in cisco_type_trans()
143 case cpu_to_be16(ETH_P_IPV6): in cisco_type_trans()
147 return cpu_to_be16(ETH_P_HDLC); in cisco_type_trans()
/drivers/iio/dac/
Dad5592r.c37 st->spi_msg = cpu_to_be16(BIT(15) | (chan << 12) | value); in ad5592r_write_dac()
47 st->spi_msg = cpu_to_be16((AD5592R_REG_ADC_SEQ << 11) | BIT(chan)); in ad5592r_read_adc()
74 st->spi_msg = cpu_to_be16((reg << 11) | value); in ad5592r_reg_write()
84 st->spi_msg = cpu_to_be16((AD5592R_REG_LDAC << 11) | in ad5592r_reg_read()
/drivers/crypto/bcm/
Dspu.c788 bdesc->offset_mac = cpu_to_be16(auth_offset); in spum_create_request()
789 bdesc->length_mac = cpu_to_be16(auth_len); in spum_create_request()
790 bdesc->offset_crypto = cpu_to_be16(cipher_offset); in spum_create_request()
791 bdesc->length_crypto = cpu_to_be16(cipher_len); in spum_create_request()
800 bdesc->offset_icv = cpu_to_be16(auth_len); in spum_create_request()
801 bdesc->offset_iv = cpu_to_be16(offset_iv); in spum_create_request()
812 bd->size = cpu_to_be16(real_db_size); in spum_create_request()
985 bdesc->length_crypto = cpu_to_be16(data_size + in spum_cipher_req_finish()
988 bdesc->length_crypto = cpu_to_be16(data_size); in spum_cipher_req_finish()
998 bd->size = cpu_to_be16(data_size); in spum_cipher_req_finish()
[all …]
/drivers/input/misc/
Dad714x-i2c.c33 chip->xfer_buf[0] = cpu_to_be16(reg); in ad714x_i2c_write()
34 chip->xfer_buf[1] = cpu_to_be16(data); in ad714x_i2c_write()
53 chip->xfer_buf[0] = cpu_to_be16(reg); in ad714x_i2c_read()

12345678910>>...16