Home
last modified time | relevance | path

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

12345678910>>...22

/Linux-v4.19/include/rdma/
Dib_pma.h43 #define IB_PMA_CLASS_CAP_ALLPORTSELECT cpu_to_be16(1 << 8)
44 #define IB_PMA_CLASS_CAP_EXT_WIDTH cpu_to_be16(1 << 9)
45 #define IB_PMA_CLASS_CAP_EXT_WIDTH_NOIETF cpu_to_be16(1 << 10)
46 #define IB_PMA_CLASS_CAP_XMIT_WAIT cpu_to_be16(1 << 12)
48 #define IB_PMA_CLASS_PORT_INFO cpu_to_be16(0x0001)
49 #define IB_PMA_PORT_SAMPLES_CONTROL cpu_to_be16(0x0010)
50 #define IB_PMA_PORT_SAMPLES_RESULT cpu_to_be16(0x0011)
51 #define IB_PMA_PORT_COUNTERS cpu_to_be16(0x0012)
52 #define IB_PMA_PORT_COUNTERS_EXT cpu_to_be16(0x001D)
53 #define IB_PMA_PORT_SAMPLES_RESULT_EXT cpu_to_be16(0x001E)
[all …]
Dib_smi.h66 #define IB_SMP_DIRECTION cpu_to_be16(0x8000)
69 #define IB_SMP_ATTR_NOTICE cpu_to_be16(0x0002)
70 #define IB_SMP_ATTR_NODE_DESC cpu_to_be16(0x0010)
71 #define IB_SMP_ATTR_NODE_INFO cpu_to_be16(0x0011)
72 #define IB_SMP_ATTR_SWITCH_INFO cpu_to_be16(0x0012)
73 #define IB_SMP_ATTR_GUID_INFO cpu_to_be16(0x0014)
74 #define IB_SMP_ATTR_PORT_INFO cpu_to_be16(0x0015)
75 #define IB_SMP_ATTR_PKEY_TABLE cpu_to_be16(0x0016)
76 #define IB_SMP_ATTR_SL_TO_VL_TABLE cpu_to_be16(0x0017)
77 #define IB_SMP_ATTR_VL_ARB_TABLE cpu_to_be16(0x0018)
[all …]
Dopa_smi.h80 #define OPA_ATTRIB_ID_NODE_DESCRIPTION cpu_to_be16(0x0010)
81 #define OPA_ATTRIB_ID_NODE_INFO cpu_to_be16(0x0011)
82 #define OPA_ATTRIB_ID_PORT_INFO cpu_to_be16(0x0015)
83 #define OPA_ATTRIB_ID_PARTITION_TABLE cpu_to_be16(0x0016)
84 #define OPA_ATTRIB_ID_SL_TO_SC_MAP cpu_to_be16(0x0017)
85 #define OPA_ATTRIB_ID_VL_ARBITRATION cpu_to_be16(0x0018)
86 #define OPA_ATTRIB_ID_SM_INFO cpu_to_be16(0x0020)
87 #define OPA_ATTRIB_ID_CABLE_INFO cpu_to_be16(0x0032)
88 #define OPA_ATTRIB_ID_AGGREGATE cpu_to_be16(0x0080)
89 #define OPA_ATTRIB_ID_SC_TO_SL_MAP cpu_to_be16(0x0082)
[all …]
Dib_cm.h285 #define CM_REQ_ATTR_ID cpu_to_be16(0x0010)
286 #define CM_MRA_ATTR_ID cpu_to_be16(0x0011)
287 #define CM_REJ_ATTR_ID cpu_to_be16(0x0012)
288 #define CM_REP_ATTR_ID cpu_to_be16(0x0013)
289 #define CM_RTU_ATTR_ID cpu_to_be16(0x0014)
290 #define CM_DREQ_ATTR_ID cpu_to_be16(0x0015)
291 #define CM_DREP_ATTR_ID cpu_to_be16(0x0016)
292 #define CM_SIDR_REQ_ATTR_ID cpu_to_be16(0x0017)
293 #define CM_SIDR_REP_ATTR_ID cpu_to_be16(0x0018)
294 #define CM_LAP_ATTR_ID cpu_to_be16(0x0019)
[all …]
/Linux-v4.19/include/linux/
Dsctp.h177 SCTP_PARAM_HEARTBEAT_INFO = cpu_to_be16(1),
179 SCTP_PARAM_IPV4_ADDRESS = cpu_to_be16(5),
180 SCTP_PARAM_IPV6_ADDRESS = cpu_to_be16(6),
181 SCTP_PARAM_STATE_COOKIE = cpu_to_be16(7),
182 SCTP_PARAM_UNRECOGNIZED_PARAMETERS = cpu_to_be16(8),
183 SCTP_PARAM_COOKIE_PRESERVATIVE = cpu_to_be16(9),
184 SCTP_PARAM_HOST_NAME_ADDRESS = cpu_to_be16(11),
185 SCTP_PARAM_SUPPORTED_ADDRESS_TYPES = cpu_to_be16(12),
186 SCTP_PARAM_ECN_CAPABLE = cpu_to_be16(0x8000),
189 SCTP_PARAM_RANDOM = cpu_to_be16(0x8002),
[all …]
/Linux-v4.19/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 …]
/Linux-v4.19/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 …]
/Linux-v4.19/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 …]
/Linux-v4.19/drivers/scsi/lpfc/
Dlpfc_ct.c747 cpu_to_be16(SLI_CT_RESPONSE_FS_ACC)) { in lpfc_cmpl_ct_cmd_gid_ft()
1403 cpu_to_be16(SLI_CTNS_GID_FT); in lpfc_ns_cmd()
1415 cpu_to_be16(SLI_CTNS_GFF_ID); in lpfc_ns_cmd()
1422 cpu_to_be16(SLI_CTNS_GFT_ID); in lpfc_ns_cmd()
1430 cpu_to_be16(SLI_CTNS_RFT_ID); in lpfc_ns_cmd()
1452 cpu_to_be16(SLI_CTNS_RNN_ID); in lpfc_ns_cmd()
1462 cpu_to_be16(SLI_CTNS_RSPN_ID); in lpfc_ns_cmd()
1473 cpu_to_be16(SLI_CTNS_RSNN_NN); in lpfc_ns_cmd()
1485 cpu_to_be16(SLI_CTNS_DA_ID); in lpfc_ns_cmd()
1492 cpu_to_be16(SLI_CTNS_RFF_ID); in lpfc_ns_cmd()
[all …]
/Linux-v4.19/arch/um/drivers/
Dvector_user.h30 #define GRE_MODE_CHECKSUM cpu_to_be16(8 << 12) /* checksum */
31 #define GRE_MODE_RESERVED cpu_to_be16(4 << 12) /* unused */
32 #define GRE_MODE_KEY cpu_to_be16(2 << 12) /* KEY present */
33 #define GRE_MODE_SEQUENCE cpu_to_be16(1 << 12) /* sequence */
35 #define GRE_IRB cpu_to_be16(0x6558)
/Linux-v4.19/fs/hfs/
Dmdb.c91 if (mdb->drSigWord == cpu_to_be16(HFS_SUPER_MAGIC)) in hfs_mdb_get()
128 if (mdb->drSigWord != cpu_to_be16(HFS_SUPER_MAGIC)) in hfs_mdb_get()
157 if (mdb2->drSigWord == cpu_to_be16(HFS_SUPER_MAGIC)) { in hfs_mdb_get()
205 if (!(attrib & cpu_to_be16(HFS_SB_ATTRIB_UNMNT))) { in hfs_mdb_get()
209 if ((attrib & cpu_to_be16(HFS_SB_ATTRIB_SLOCK))) { in hfs_mdb_get()
215 attrib &= cpu_to_be16(~HFS_SB_ATTRIB_UNMNT); in hfs_mdb_get()
216 attrib |= cpu_to_be16(HFS_SB_ATTRIB_INCNSTNT); in hfs_mdb_get()
269 mdb->drFreeBks = cpu_to_be16(HFS_SB(sb)->free_ablocks); in hfs_mdb_commit()
271 mdb->drNmFls = cpu_to_be16(HFS_SB(sb)->root_files); in hfs_mdb_commit()
272 mdb->drNmRtDirs = cpu_to_be16(HFS_SB(sb)->root_dirs); in hfs_mdb_commit()
[all …]
/Linux-v4.19/fs/xfs/libxfs/
Dxfs_inode_buf.c100 di_ok = dip->di_magic == cpu_to_be16(XFS_DINODE_MAGIC) && in xfs_inode_buf_verify()
277 to->di_magic = cpu_to_be16(XFS_DINODE_MAGIC); in xfs_inode_to_disk()
284 to->di_projid_lo = cpu_to_be16(from->di_projid_lo); in xfs_inode_to_disk()
285 to->di_projid_hi = cpu_to_be16(from->di_projid_hi); in xfs_inode_to_disk()
296 to->di_mode = cpu_to_be16(inode->i_mode); in xfs_inode_to_disk()
302 to->di_anextents = cpu_to_be16(from->di_anextents); in xfs_inode_to_disk()
306 to->di_dmstate = cpu_to_be16(from->di_dmstate); in xfs_inode_to_disk()
307 to->di_flags = cpu_to_be16(from->di_flags); in xfs_inode_to_disk()
321 to->di_flushiter = cpu_to_be16(from->di_flushiter); in xfs_inode_to_disk()
330 to->di_magic = cpu_to_be16(from->di_magic); in xfs_log_dinode_to_disk()
[all …]
Dxfs_dir2_data.c495 new.offset = cpu_to_be16((char *)dup - (char *)hdr); in xfs_dir2_data_freeinsert()
681 bf[0].offset = cpu_to_be16(dp->d_ops->data_entry_offset); in xfs_dir3_data_init()
691 dup->freetag = cpu_to_be16(XFS_DIR2_DATA_FREE_TAG); in xfs_dir3_data_init()
694 bf[0].length = cpu_to_be16(t); in xfs_dir3_data_init()
695 dup->length = cpu_to_be16(t); in xfs_dir3_data_init()
696 *xfs_dir2_data_unused_tag_p(dup) = cpu_to_be16((char *)dup - (char *)hdr); in xfs_dir3_data_init()
860 cpu_to_be16((char *)prevdup - (char *)hdr); in xfs_dir2_data_make_free()
895 cpu_to_be16((char *)prevdup - (char *)hdr); in xfs_dir2_data_make_free()
920 newdup->freetag = cpu_to_be16(XFS_DIR2_DATA_FREE_TAG); in xfs_dir2_data_make_free()
921 newdup->length = cpu_to_be16(len + be16_to_cpu(postdup->length)); in xfs_dir2_data_make_free()
[all …]
Dxfs_da_format.c460 to->hdr.info.magic = cpu_to_be16(from->magic); in xfs_dir2_leaf_hdr_to_disk()
461 to->hdr.count = cpu_to_be16(from->count); in xfs_dir2_leaf_hdr_to_disk()
462 to->hdr.stale = cpu_to_be16(from->stale); in xfs_dir2_leaf_hdr_to_disk()
494 hdr3->info.hdr.magic = cpu_to_be16(from->magic); in xfs_dir3_leaf_hdr_to_disk()
495 hdr3->count = cpu_to_be16(from->count); in xfs_dir3_leaf_hdr_to_disk()
496 hdr3->stale = cpu_to_be16(from->stale); in xfs_dir3_leaf_hdr_to_disk()
520 ASSERT(from->hdr.info.magic == cpu_to_be16(XFS_DA_NODE_MAGIC)); in xfs_da2_node_hdr_from_disk()
536 to->hdr.info.magic = cpu_to_be16(from->magic); in xfs_da2_node_hdr_to_disk()
537 to->hdr.__count = cpu_to_be16(from->count); in xfs_da2_node_hdr_to_disk()
538 to->hdr.__level = cpu_to_be16(from->level); in xfs_da2_node_hdr_to_disk()
[all …]
/Linux-v4.19/drivers/staging/iio/frequency/
Dad9832.c137 st->freq_data[0] = cpu_to_be16((AD9832_CMD_FRE8BITSW << CMD_SHIFT) | in ad9832_write_frequency()
140 st->freq_data[1] = cpu_to_be16((AD9832_CMD_FRE16BITSW << CMD_SHIFT) | in ad9832_write_frequency()
143 st->freq_data[2] = cpu_to_be16((AD9832_CMD_FRE8BITSW << CMD_SHIFT) | in ad9832_write_frequency()
146 st->freq_data[3] = cpu_to_be16((AD9832_CMD_FRE16BITSW << CMD_SHIFT) | in ad9832_write_frequency()
159 st->phase_data[0] = cpu_to_be16((AD9832_CMD_PHA8BITSW << CMD_SHIFT) | in ad9832_write_phase()
162 st->phase_data[1] = cpu_to_be16((AD9832_CMD_PHA16BITSW << CMD_SHIFT) | in ad9832_write_phase()
199 st->data = cpu_to_be16((AD9832_CMD_SYNCSELSRC << CMD_SHIFT) | in ad9832_write()
212 st->data = cpu_to_be16((AD9832_CMD_FPSELECT << CMD_SHIFT) | in ad9832_write()
225 st->data = cpu_to_be16((AD9832_CMD_FPSELECT << CMD_SHIFT) | in ad9832_write()
236 st->data = cpu_to_be16((AD9832_CMD_SLEEPRESCLR << CMD_SHIFT) | in ad9832_write()
[all …]
/Linux-v4.19/fs/xfs/
Dxfs_attr_inactive.c256 case cpu_to_be16(XFS_DA_NODE_MAGIC): in xfs_attr3_node_inactive()
257 case cpu_to_be16(XFS_DA3_NODE_MAGIC): in xfs_attr3_node_inactive()
261 case cpu_to_be16(XFS_ATTR_LEAF_MAGIC): in xfs_attr3_node_inactive()
262 case cpu_to_be16(XFS_ATTR3_LEAF_MAGIC): in xfs_attr3_node_inactive()
340 case cpu_to_be16(XFS_DA_NODE_MAGIC): in xfs_attr3_root_inactive()
341 case cpu_to_be16(XFS_DA3_NODE_MAGIC): in xfs_attr3_root_inactive()
344 case cpu_to_be16(XFS_ATTR_LEAF_MAGIC): in xfs_attr3_root_inactive()
345 case cpu_to_be16(XFS_ATTR3_LEAF_MAGIC): in xfs_attr3_root_inactive()
/Linux-v4.19/fs/hfsplus/
Dcatalog.c55 key->key_len = cpu_to_be16(6 + 2 * len); in hfsplus_cat_build_key()
65 key->key_len = cpu_to_be16(6); in hfsplus_cat_build_key_with_cnid()
75 key->cat.name.length = cpu_to_be16(ustrlen); in hfsplus_cat_build_key_uni()
78 key->key_len = cpu_to_be16(6 + ustrlen); in hfsplus_cat_build_key_uni()
93 perms->mode = cpu_to_be16(inode->i_mode); in hfsplus_cat_set_perms()
115 folder->type = cpu_to_be16(HFSPLUS_FOLDER); in hfsplus_cat_build_record()
117 folder->flags |= cpu_to_be16(HFSPLUS_HAS_FOLDER_COUNT); in hfsplus_cat_build_record()
127 folder->user_info.frFlags = cpu_to_be16(0x5000); in hfsplus_cat_build_record()
134 file->type = cpu_to_be16(HFSPLUS_FILE); in hfsplus_cat_build_record()
135 file->flags = cpu_to_be16(HFSPLUS_FILE_THREAD_EXISTS); in hfsplus_cat_build_record()
[all …]
Dwrapper.c102 if (sig != cpu_to_be16(HFSPLUS_VOLHEAD_SIG) && in hfsplus_read_mdb()
103 sig != cpu_to_be16(HFSPLUS_VOLHEAD_SIGX)) in hfsplus_read_mdb()
193 case cpu_to_be16(HFSPLUS_VOLHEAD_SIGX): in hfsplus_read_wrapper()
196 case cpu_to_be16(HFSPLUS_VOLHEAD_SIG): in hfsplus_read_wrapper()
198 case cpu_to_be16(HFSP_WRAP_MAGIC): in hfsplus_read_wrapper()
/Linux-v4.19/drivers/scsi/qla2xxx/
Dqla_gs.c116 p->p.req.command = cpu_to_be16(cmd); in qla2x00_prep_ct_req()
117 p->p.req.max_rsp_size = cpu_to_be16((rsp_size - 16) / 4); in qla2x00_prep_ct_req()
148 cpu_to_be16(CT_ACCEPT_RESPONSE)) { in qla2x00_chk_ms_status()
1520 p->p.req.command = cpu_to_be16(cmd); in qla2x00_prep_ct_fdmi_req()
1521 p->p.req.max_rsp_size = cpu_to_be16((rsp_size - 16) / 4); in qla2x00_prep_ct_fdmi_req()
1567 eiter->type = cpu_to_be16(FDMI_HBA_NODE_NAME); in qla2x00_fdmi_rhba()
1568 eiter->len = cpu_to_be16(4 + WWN_SIZE); in qla2x00_fdmi_rhba()
1577 eiter->type = cpu_to_be16(FDMI_HBA_MANUFACTURER); in qla2x00_fdmi_rhba()
1582 eiter->len = cpu_to_be16(4 + alen); in qla2x00_fdmi_rhba()
1590 eiter->type = cpu_to_be16(FDMI_HBA_SERIAL_NUMBER); in qla2x00_fdmi_rhba()
[all …]
/Linux-v4.19/drivers/staging/fbtft/
Dfb_watterott.c75 pos[2] = cpu_to_be16(par->info->var.xres); in write_vmem()
76 pos[3] = cpu_to_be16(1); in write_vmem()
80 pos[1] = cpu_to_be16(i); in write_vmem()
82 buf16[j] = cpu_to_be16(*vmem16++); in write_vmem()
118 pos[2] = cpu_to_be16(par->info->var.xres); in write_vmem_8bit()
119 pos[3] = cpu_to_be16(1); in write_vmem_8bit()
123 pos[1] = cpu_to_be16(i); in write_vmem_8bit()
/Linux-v4.19/drivers/scsi/bfa/
Dbfa_fcbuild.c101 plogi_tmpl.csp.conseq = cpu_to_be16(0x00FF); in fcbuild_init()
102 plogi_tmpl.csp.ro_bitmap = cpu_to_be16(0x0002); in fcbuild_init()
115 prli_tmpl.pagebytes = cpu_to_be16(0x0014); in fcbuild_init()
151 fchs->ox_id = cpu_to_be16(ox_id); in fc_gs_fchdr_build()
181 fchs->ox_id = cpu_to_be16(ox_id); in fc_els_req_build()
242 plogi->csp.rxsz = plogi->class3.rxsz = cpu_to_be16(pdu_size); in fc_plogi_x_build()
243 plogi->csp.bbcred = cpu_to_be16(bb_cr); in fc_plogi_x_build()
264 flogi->csp.rxsz = flogi->class3.rxsz = cpu_to_be16(pdu_size); in fc_flogi_build()
277 flogi->csp.bbcred = cpu_to_be16(local_bb_credits); in fc_flogi_build()
301 flogi->class3.rxsz = cpu_to_be16(pdu_size); in fc_flogi_acc_build()
[all …]
/Linux-v4.19/drivers/iio/dac/
Dad5592r.c39 st->spi_msg = cpu_to_be16(BIT(15) | (chan << 12) | value); in ad5592r_write_dac()
49 st->spi_msg = cpu_to_be16((AD5592R_REG_ADC_SEQ << 11) | BIT(chan)); in ad5592r_read_adc()
76 st->spi_msg = cpu_to_be16((reg << 11) | value); in ad5592r_reg_write()
86 st->spi_msg = cpu_to_be16((AD5592R_REG_LDAC << 11) | in ad5592r_reg_read()
/Linux-v4.19/drivers/net/wan/
Dhdlc_cisco.c117 data->rel = cpu_to_be16(0xFFFF); in cisco_keepalive_send()
136 return cpu_to_be16(ETH_P_HDLC); in cisco_type_trans()
140 return cpu_to_be16(ETH_P_HDLC); in cisco_type_trans()
143 case cpu_to_be16(ETH_P_IP): in cisco_type_trans()
144 case cpu_to_be16(ETH_P_IPX): in cisco_type_trans()
145 case cpu_to_be16(ETH_P_IPV6): in cisco_type_trans()
149 return cpu_to_be16(ETH_P_HDLC); in cisco_type_trans()

12345678910>>...22