Home
last modified time | relevance | path

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

12345678910>>...23

/Linux-v5.4/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-v5.4/include/linux/
Dsctp.h162 SCTP_PARAM_HEARTBEAT_INFO = cpu_to_be16(1),
164 SCTP_PARAM_IPV4_ADDRESS = cpu_to_be16(5),
165 SCTP_PARAM_IPV6_ADDRESS = cpu_to_be16(6),
166 SCTP_PARAM_STATE_COOKIE = cpu_to_be16(7),
167 SCTP_PARAM_UNRECOGNIZED_PARAMETERS = cpu_to_be16(8),
168 SCTP_PARAM_COOKIE_PRESERVATIVE = cpu_to_be16(9),
169 SCTP_PARAM_HOST_NAME_ADDRESS = cpu_to_be16(11),
170 SCTP_PARAM_SUPPORTED_ADDRESS_TYPES = cpu_to_be16(12),
171 SCTP_PARAM_ECN_CAPABLE = cpu_to_be16(0x8000),
174 SCTP_PARAM_RANDOM = cpu_to_be16(0x8002),
[all …]
/Linux-v5.4/drivers/gpu/drm/amd/display/modules/power/
Dpower_helpers.c232 cpu_to_be16(DIV_ROUNDUP((i * 65536), num_entries)); in fill_backlight_transform_table()
234 cpu_to_be16(params.backlight_lut_array[lut_index]); in fill_backlight_transform_table()
264 cpu_to_be16(DIV_ROUNDUP((i * 65536), num_entries)); in fill_backlight_transform_table_v_2_2()
266 cpu_to_be16(params.backlight_lut_array[lut_index]); in fill_backlight_transform_table_v_2_2()
278 cpu_to_be16(params.backlight_ramping_reduction); in fill_iram_v_2()
280 cpu_to_be16(params.backlight_ramping_start); in fill_iram_v_2()
413 ram_table->crgb_thresh[0] = cpu_to_be16(0x13b6); in fill_iram_v_2()
414 ram_table->crgb_thresh[1] = cpu_to_be16(0x1648); in fill_iram_v_2()
415 ram_table->crgb_thresh[2] = cpu_to_be16(0x18e3); in fill_iram_v_2()
416 ram_table->crgb_thresh[3] = cpu_to_be16(0x1b41); in fill_iram_v_2()
[all …]
/Linux-v5.4/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-v5.4/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 …]
/Linux-v5.4/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 …]
/Linux-v5.4/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 …]
/Linux-v5.4/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-v5.4/drivers/scsi/lpfc/
Dlpfc_ct.c763 cpu_to_be16(SLI_CT_RESPONSE_FS_ACC)) { in lpfc_cmpl_ct_cmd_gid_ft()
962 cpu_to_be16(SLI_CT_RESPONSE_FS_ACC)) { in lpfc_cmpl_ct_cmd_gid_pt()
1654 cpu_to_be16(SLI_CTNS_GID_FT); in lpfc_ns_cmd()
1666 cpu_to_be16(SLI_CTNS_GID_PT); in lpfc_ns_cmd()
1678 cpu_to_be16(SLI_CTNS_GFF_ID); in lpfc_ns_cmd()
1685 cpu_to_be16(SLI_CTNS_GFT_ID); in lpfc_ns_cmd()
1693 cpu_to_be16(SLI_CTNS_RFT_ID); in lpfc_ns_cmd()
1725 cpu_to_be16(SLI_CTNS_RNN_ID); in lpfc_ns_cmd()
1735 cpu_to_be16(SLI_CTNS_RSPN_ID); in lpfc_ns_cmd()
1746 cpu_to_be16(SLI_CTNS_RSNN_NN); in lpfc_ns_cmd()
[all …]
/Linux-v5.4/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-v5.4/arch/um/drivers/
Dvector_user.h35 #define GRE_MODE_CHECKSUM cpu_to_be16(8 << 12) /* checksum */
36 #define GRE_MODE_RESERVED cpu_to_be16(4 << 12) /* unused */
37 #define GRE_MODE_KEY cpu_to_be16(2 << 12) /* KEY present */
38 #define GRE_MODE_SEQUENCE cpu_to_be16(1 << 12) /* sequence */
40 #define GRE_IRB cpu_to_be16(0x6558)
/Linux-v5.4/fs/xfs/libxfs/
Dxfs_inode_buf.c144 .magic16 = { cpu_to_be16(XFS_DINODE_MAGIC),
145 cpu_to_be16(XFS_DINODE_MAGIC) },
152 .magic16 = { cpu_to_be16(XFS_DINODE_MAGIC),
153 cpu_to_be16(XFS_DINODE_MAGIC) },
275 to->di_magic = cpu_to_be16(XFS_DINODE_MAGIC); in xfs_inode_to_disk()
282 to->di_projid_lo = cpu_to_be16(from->di_projid_lo); in xfs_inode_to_disk()
283 to->di_projid_hi = cpu_to_be16(from->di_projid_hi); in xfs_inode_to_disk()
294 to->di_mode = cpu_to_be16(inode->i_mode); in xfs_inode_to_disk()
300 to->di_anextents = cpu_to_be16(from->di_anextents); in xfs_inode_to_disk()
304 to->di_dmstate = cpu_to_be16(from->di_dmstate); in xfs_inode_to_disk()
[all …]
Dxfs_dir2_data.c493 new.offset = cpu_to_be16((char *)dup - (char *)hdr); in xfs_dir2_data_freeinsert()
679 bf[0].offset = cpu_to_be16(dp->d_ops->data_entry_offset); in xfs_dir3_data_init()
689 dup->freetag = cpu_to_be16(XFS_DIR2_DATA_FREE_TAG); in xfs_dir3_data_init()
692 bf[0].length = cpu_to_be16(t); in xfs_dir3_data_init()
693 dup->length = cpu_to_be16(t); in xfs_dir3_data_init()
694 *xfs_dir2_data_unused_tag_p(dup) = cpu_to_be16((char *)dup - (char *)hdr); in xfs_dir3_data_init()
858 cpu_to_be16((char *)prevdup - (char *)hdr); in xfs_dir2_data_make_free()
893 cpu_to_be16((char *)prevdup - (char *)hdr); in xfs_dir2_data_make_free()
918 newdup->freetag = cpu_to_be16(XFS_DIR2_DATA_FREE_TAG); in xfs_dir2_data_make_free()
919 newdup->length = cpu_to_be16(len + be16_to_cpu(postdup->length)); in xfs_dir2_data_make_free()
[all …]
Dxfs_dquot_buf.c58 if (ddq->d_magic != cpu_to_be16(XFS_DQUOT_MAGIC)) in xfs_dquot_verify()
124 dqb->dd_diskdq.d_magic = cpu_to_be16(XFS_DQUOT_MAGIC); in xfs_dqblk_repair()
276 .magic16 = { cpu_to_be16(XFS_DQUOT_MAGIC),
277 cpu_to_be16(XFS_DQUOT_MAGIC) },
285 .magic16 = { cpu_to_be16(XFS_DQUOT_MAGIC),
286 cpu_to_be16(XFS_DQUOT_MAGIC) },
Dxfs_da_format.c457 to->hdr.info.magic = cpu_to_be16(from->magic); in xfs_dir2_leaf_hdr_to_disk()
458 to->hdr.count = cpu_to_be16(from->count); in xfs_dir2_leaf_hdr_to_disk()
459 to->hdr.stale = cpu_to_be16(from->stale); in xfs_dir2_leaf_hdr_to_disk()
491 hdr3->info.hdr.magic = cpu_to_be16(from->magic); in xfs_dir3_leaf_hdr_to_disk()
492 hdr3->count = cpu_to_be16(from->count); in xfs_dir3_leaf_hdr_to_disk()
493 hdr3->stale = cpu_to_be16(from->stale); in xfs_dir3_leaf_hdr_to_disk()
517 ASSERT(from->hdr.info.magic == cpu_to_be16(XFS_DA_NODE_MAGIC)); in xfs_da2_node_hdr_from_disk()
533 to->hdr.info.magic = cpu_to_be16(from->magic); in xfs_da2_node_hdr_to_disk()
534 to->hdr.__count = cpu_to_be16(from->count); in xfs_da2_node_hdr_to_disk()
535 to->hdr.__level = cpu_to_be16(from->level); in xfs_da2_node_hdr_to_disk()
[all …]
/Linux-v5.4/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 …]
/Linux-v5.4/fs/xfs/
Dxfs_attr_inactive.c251 case cpu_to_be16(XFS_DA_NODE_MAGIC): in xfs_attr3_node_inactive()
252 case cpu_to_be16(XFS_DA3_NODE_MAGIC): in xfs_attr3_node_inactive()
256 case cpu_to_be16(XFS_ATTR_LEAF_MAGIC): in xfs_attr3_node_inactive()
257 case cpu_to_be16(XFS_ATTR3_LEAF_MAGIC): in xfs_attr3_node_inactive()
335 case cpu_to_be16(XFS_DA_NODE_MAGIC): in xfs_attr3_root_inactive()
336 case cpu_to_be16(XFS_DA3_NODE_MAGIC): in xfs_attr3_root_inactive()
339 case cpu_to_be16(XFS_ATTR_LEAF_MAGIC): in xfs_attr3_root_inactive()
340 case cpu_to_be16(XFS_ATTR3_LEAF_MAGIC): in xfs_attr3_root_inactive()
/Linux-v5.4/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 …]
/Linux-v5.4/drivers/scsi/qla2xxx/
Dqla_gs.c112 p->p.req.command = cpu_to_be16(cmd); in qla2x00_prep_ct_req()
113 p->p.req.max_rsp_size = cpu_to_be16((rsp_size - 16) / 4); in qla2x00_prep_ct_req()
144 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()
1545 eiter->type = cpu_to_be16(FDMI_HBA_NODE_NAME); in qla2x00_fdmi_rhba()
1546 eiter->len = cpu_to_be16(4 + WWN_SIZE); in qla2x00_fdmi_rhba()
1555 eiter->type = cpu_to_be16(FDMI_HBA_MANUFACTURER); in qla2x00_fdmi_rhba()
1560 eiter->len = cpu_to_be16(4 + alen); in qla2x00_fdmi_rhba()
1568 eiter->type = cpu_to_be16(FDMI_HBA_SERIAL_NUMBER); in qla2x00_fdmi_rhba()
[all …]
/Linux-v5.4/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()
113 pos[2] = cpu_to_be16(par->info->var.xres); in write_vmem_8bit()
114 pos[3] = cpu_to_be16(1); in write_vmem_8bit()
118 pos[1] = cpu_to_be16(i); in write_vmem_8bit()

12345678910>>...23