/drivers/infiniband/sw/siw/ |
D | iwarp.h | 31 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 …]
|
D | siw_qp.c | 38 cpu_to_be16(DDP_VERSION << 8) | 39 cpu_to_be16(RDMAP_VERSION << 6) | 40 cpu_to_be16(RDMAP_RDMA_WRITE), 45 .ctrl.ddp_rdmap_ctrl = DDP_FLAG_LAST | cpu_to_be16(DDP_VERSION << 8) | 46 cpu_to_be16(RDMAP_VERSION << 6) | 47 cpu_to_be16(RDMAP_RDMA_READ_REQ), 53 cpu_to_be16(DDP_VERSION << 8) | 54 cpu_to_be16(RDMAP_VERSION << 6) | 55 cpu_to_be16(RDMAP_RDMA_READ_RESP), 60 .ctrl.ddp_rdmap_ctrl = DDP_FLAG_LAST | cpu_to_be16(DDP_VERSION << 8) | [all …]
|
/drivers/infiniband/hw/qib/ |
D | qib_mad.h | 40 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 …]
|
D | qib_mad.c | 152 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 …]
|
D | qib_verbs.h | 73 #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/infiniband/hw/hfi1/ |
D | opa_compat.h | 16 #define OPA_ATTRIB_ID_CONGESTION_INFO cpu_to_be16(0x008b) 17 #define OPA_ATTRIB_ID_HFI_CONGESTION_LOG cpu_to_be16(0x008f) 18 #define OPA_ATTRIB_ID_HFI_CONGESTION_SETTING cpu_to_be16(0x0090) 19 #define OPA_ATTRIB_ID_CONGESTION_CONTROL_TABLE cpu_to_be16(0x0091) 22 #define OPA_PM_ATTRIB_ID_PORT_STATUS cpu_to_be16(0x0040) 23 #define OPA_PM_ATTRIB_ID_CLEAR_PORT_STATUS cpu_to_be16(0x0041) 24 #define OPA_PM_ATTRIB_ID_DATA_PORT_COUNTERS cpu_to_be16(0x0042) 25 #define OPA_PM_ATTRIB_ID_ERROR_PORT_COUNTERS cpu_to_be16(0x0043) 26 #define OPA_PM_ATTRIB_ID_ERROR_INFO cpu_to_be16(0x0044) 29 #define OPA_PM_STATUS_REQUEST_TOO_LARGE cpu_to_be16(0x100)
|
D | mad.h | 17 #define OPA_TRAP_GID_NOW_IN_SERVICE cpu_to_be16(64) 18 #define OPA_TRAP_GID_OUT_OF_SERVICE cpu_to_be16(65) 19 #define OPA_TRAP_ADD_MULTICAST_GROUP cpu_to_be16(66) 20 #define OPA_TRAL_DEL_MULTICAST_GROUP cpu_to_be16(67) 21 #define OPA_TRAP_UNPATH cpu_to_be16(68) 22 #define OPA_TRAP_REPATH cpu_to_be16(69) 23 #define OPA_TRAP_PORT_CHANGE_STATE cpu_to_be16(128) 24 #define OPA_TRAP_LINK_INTEGRITY cpu_to_be16(129) 25 #define OPA_TRAP_EXCESSIVE_BUFFER_OVERRUN cpu_to_be16(130) 26 #define OPA_TRAP_FLOW_WATCHDOG cpu_to_be16(131) [all …]
|
/drivers/gpu/drm/amd/display/modules/power/ |
D | power_helpers.c | 34 (big_endian) ? cpu_to_be16(value) : cpu_to_le16(value) 271 cpu_to_be16(DIV_ROUNDUP((i * 65536), num_entries)); in fill_backlight_transform_table() 273 cpu_to_be16(params.backlight_lut_array[lut_index]); in fill_backlight_transform_table() 303 cpu_to_be16(DIV_ROUNDUP((i * 65536), num_entries)) : in fill_backlight_transform_table_v_2_2() 306 cpu_to_be16(params.backlight_lut_array[lut_index]) : in fill_backlight_transform_table_v_2_2() 316 cpu_to_be16(params.min_abm_backlight); in fill_iram_v_2() 320 cpu_to_be16(params.backlight_ramping_reduction); in fill_iram_v_2() 322 cpu_to_be16(params.backlight_ramping_start); in fill_iram_v_2() 456 ram_table->crgb_thresh[0] = cpu_to_be16(0x13b6); in fill_iram_v_2() 457 ram_table->crgb_thresh[1] = cpu_to_be16(0x1648); in fill_iram_v_2() [all …]
|
/drivers/net/ethernet/fungible/funcore/ |
D | fun_hci.h | 41 .op = (_op), .len8 = (_len8), .flags = cpu_to_be16(_flags), \ 42 .suboff8 = (_suboff8), .cid = cpu_to_be16(_cid), \ 159 .subop = (_subop), .flags = cpu_to_be16(_flags), \ 259 .subop = (_subop), .flags = cpu_to_be16(_flags), \ 262 .nentries = cpu_to_be16(_nentries), \ 264 .tailroom = cpu_to_be16(_tailroom), .headroom = _headroom, \ 268 .intid = cpu_to_be16(_intid), \ 271 .tph_cpuid = cpu_to_be16(_tph_cpuid), \ 276 .subop = (_subop), .flags = cpu_to_be16(_flags), \ 277 .id = cpu_to_be32(_id), .headroom = cpu_to_be16(_headroom), \ [all …]
|
/drivers/infiniband/ulp/opa_vnic/ |
D | opa_vnic_vema_iface.c | 96 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/gpu/drm/display/ |
D | drm_dsc_helper.c | 141 pps_payload->pic_height = cpu_to_be16(dsc_cfg->pic_height); in drm_dsc_pps_payload_pack() 144 pps_payload->pic_width = cpu_to_be16(dsc_cfg->pic_width); in drm_dsc_pps_payload_pack() 147 pps_payload->slice_height = cpu_to_be16(dsc_cfg->slice_height); in drm_dsc_pps_payload_pack() 150 pps_payload->slice_width = cpu_to_be16(dsc_cfg->slice_width); in drm_dsc_pps_payload_pack() 153 pps_payload->chunk_size = cpu_to_be16(dsc_cfg->slice_chunk_size); in drm_dsc_pps_payload_pack() 167 cpu_to_be16(dsc_cfg->initial_dec_delay); in drm_dsc_pps_payload_pack() 177 cpu_to_be16(dsc_cfg->scale_increment_interval); in drm_dsc_pps_payload_pack() 197 cpu_to_be16(dsc_cfg->nfl_bpg_offset); in drm_dsc_pps_payload_pack() 201 cpu_to_be16(dsc_cfg->slice_bpg_offset); in drm_dsc_pps_payload_pack() 205 cpu_to_be16(dsc_cfg->initial_offset); in drm_dsc_pps_payload_pack() [all …]
|
/drivers/staging/iio/frequency/ |
D | ad9832.c | 139 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 …]
|
D | ad9834.c | 122 st->freq_data[0] = cpu_to_be16(addr | (regval & in ad9834_write_frequency() 124 st->freq_data[1] = cpu_to_be16(addr | ((regval >> in ad9834_write_frequency() 136 st->data = cpu_to_be16(addr | phase); in ad9834_write_phase() 177 st->data = cpu_to_be16(AD9834_REG_CMD | st->control); in ad9834_write() 185 st->data = cpu_to_be16(AD9834_REG_CMD | st->control); in ad9834_write() 199 st->data = cpu_to_be16(AD9834_REG_CMD | st->control); in ad9834_write() 208 st->data = cpu_to_be16(AD9834_REG_CMD | st->control); in ad9834_write() 270 st->data = cpu_to_be16(AD9834_REG_CMD | st->control); in ad9834_store_wavetype() 486 st->data = cpu_to_be16(AD9834_REG_CMD | st->control); in ad9834_probe()
|
/drivers/infiniband/hw/erdma/ |
D | erdma_cm.h | 36 MPA_RR_FLAG_MARKERS = cpu_to_be16(0x8000), 37 MPA_RR_FLAG_CRC = cpu_to_be16(0x4000), 38 MPA_RR_FLAG_REJECT = cpu_to_be16(0x2000), 39 MPA_RR_RESERVED = cpu_to_be16(0x1f00), 40 MPA_RR_MASK_REVISION = cpu_to_be16(0x00ff)
|
/drivers/scsi/qla2xxx/ |
D | qla_gs.c | 113 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() 1498 p->p.req.command = cpu_to_be16(cmd); in qla2x00_prep_ct_fdmi_req() 1499 p->p.req.max_rsp_size = cpu_to_be16((rsp_size - 16) / 4); in qla2x00_prep_ct_fdmi_req() 1606 eiter->type = cpu_to_be16(FDMI_HBA_NODE_NAME); in qla2x00_hba_attributes() 1610 eiter->len = cpu_to_be16(alen); in qla2x00_hba_attributes() 1616 eiter->type = cpu_to_be16(FDMI_HBA_MANUFACTURER); in qla2x00_hba_attributes() 1622 eiter->len = cpu_to_be16(alen); in qla2x00_hba_attributes() 1628 eiter->type = cpu_to_be16(FDMI_HBA_SERIAL_NUMBER); in qla2x00_hba_attributes() [all …]
|
/drivers/media/test-drivers/vidtv/ |
D | vidtv_pes.c | 102 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()
|
D | vidtv_psi.c | 129 new = cpu_to_be16((be16_to_cpu(*bitfield) & mask) | new_len); in vidtv_psi_set_desc_loop_len() 141 new = cpu_to_be16((be16_to_cpu(h->bitfield) & mask) | new_len); in vidtv_psi_set_sec_len() 162 .bitfield = cpu_to_be16((args->new_psi_section << 14) | args->pid), in vidtv_psi_ts_psi_write_into() 902 program->service_id = cpu_to_be16(service_id); in vidtv_psi_pat_program_init() 905 program->bitfield = cpu_to_be16((RESERVED << 13) | program_map_pid); in vidtv_psi_pat_program_init() 976 pat->header.bitfield = cpu_to_be16((SYNTAX << 15) | (ZERO << 14) | (ONES << 12)); in vidtv_psi_pat_table_init() 977 pat->header.id = cpu_to_be16(transport_stream_id); in vidtv_psi_pat_table_init() 1076 stream->bitfield = cpu_to_be16((RESERVED1 << 13) | es_pid); in vidtv_psi_pmt_stream_init() 1080 stream->bitfield2 = cpu_to_be16((RESERVED2 << 12) | in vidtv_psi_pmt_stream_init() 1165 pmt->header.bitfield = cpu_to_be16((SYNTAX << 15) | (ZERO << 14) | (ONES << 12)); in vidtv_psi_pmt_table_init() [all …]
|
/drivers/crypto/marvell/octeontx/ |
D | otx_cptvf_reqmgr.c | 127 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/ |
D | bfa_fcbuild.c | 93 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/crypto/cavium/cpt/ |
D | cptvf_reqmanager.c | 76 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() 464 vq_cmd.cmd.s.opcode = cpu_to_be16(cpt_req->opcode.flags); in process_request() [all …]
|
/drivers/crypto/marvell/octeontx2/ |
D | otx2_cptvf_reqmgr.c | 115 sg_ptr->len0 = cpu_to_be16(list[i * 4 + 0].size); in setup_sgio_components() 116 sg_ptr->len1 = cpu_to_be16(list[i * 4 + 1].size); in setup_sgio_components() 117 sg_ptr->len2 = cpu_to_be16(list[i * 4 + 2].size); in setup_sgio_components() 118 sg_ptr->len3 = cpu_to_be16(list[i * 4 + 3].size); in setup_sgio_components() 129 sg_ptr->len2 = cpu_to_be16(list[i * 4 + 2].size); in setup_sgio_components() 133 sg_ptr->len1 = cpu_to_be16(list[i * 4 + 1].size); in setup_sgio_components() 137 sg_ptr->len0 = cpu_to_be16(list[i * 4 + 0].size); in setup_sgio_components() 299 iq_cmd.cmd.s.opcode = cpu_to_be16(cpt_req->opcode.flags); in process_request() 300 iq_cmd.cmd.s.param1 = cpu_to_be16(cpt_req->param1); in process_request() 301 iq_cmd.cmd.s.param2 = cpu_to_be16(cpt_req->param2); in process_request() [all …]
|
/drivers/net/ethernet/netronome/nfp/flower/ |
D | match.c | 46 ext->tci |= cpu_to_be16((key_tci & msk_tci)); in nfp_flower_compile_tci() 47 msk->tci |= cpu_to_be16(msk_tci); in nfp_flower_compile_tci() 163 if (match.key->n_proto == cpu_to_be16(ETH_P_MPLS_UC) || in nfp_flower_compile_mpls() 164 match.key->n_proto == cpu_to_be16(ETH_P_MPLS_MC)) { in nfp_flower_compile_mpls() 305 ext->outer_tci |= cpu_to_be16((key_tci & msk_tci)); in nfp_flower_fill_vlan() 307 msk->outer_tci |= cpu_to_be16(msk_tci); in nfp_flower_fill_vlan() 310 ext->inner_tci |= cpu_to_be16((key_tci & msk_tci)); in nfp_flower_fill_vlan() 312 msk->inner_tci |= cpu_to_be16(msk_tci); in nfp_flower_fill_vlan() 481 *flags = cpu_to_be16(NFP_FL_GRE_FLAG_KEY); in nfp_flower_compile_tun_gre_key() 482 *flags_msk = cpu_to_be16(NFP_FL_GRE_FLAG_KEY); in nfp_flower_compile_tun_gre_key() [all …]
|
/drivers/net/wan/ |
D | hdlc_cisco.c | 105 data->rel = cpu_to_be16(0xFFFF); in cisco_keepalive_send() 123 return cpu_to_be16(ETH_P_HDLC); in cisco_type_trans() 127 return cpu_to_be16(ETH_P_HDLC); in cisco_type_trans() 130 case cpu_to_be16(ETH_P_IP): in cisco_type_trans() 131 case cpu_to_be16(ETH_P_IPX): in cisco_type_trans() 132 case cpu_to_be16(ETH_P_IPV6): in cisco_type_trans() 136 return cpu_to_be16(ETH_P_HDLC); in cisco_type_trans()
|
/drivers/iio/dac/ |
D | ad5592r.c | 37 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/input/misc/ |
D | ad714x-i2c.c | 21 chip->xfer_buf[0] = cpu_to_be16(reg); in ad714x_i2c_write() 22 chip->xfer_buf[1] = cpu_to_be16(data); in ad714x_i2c_write() 41 chip->xfer_buf[0] = cpu_to_be16(reg); in ad714x_i2c_read()
|