Home
last modified time | relevance | path

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

12345678910>>...29

/openbmc/linux/include/rdma/
H A Dib_pma.h16 #define IB_PMA_CLASS_CAP_ALLPORTSELECT cpu_to_be16(1 << 8)
17 #define IB_PMA_CLASS_CAP_EXT_WIDTH cpu_to_be16(1 << 9)
18 #define IB_PMA_CLASS_CAP_EXT_WIDTH_NOIETF cpu_to_be16(1 << 10)
19 #define IB_PMA_CLASS_CAP_XMIT_WAIT cpu_to_be16(1 << 12)
21 #define IB_PMA_CLASS_PORT_INFO cpu_to_be16(0x0001)
22 #define IB_PMA_PORT_SAMPLES_CONTROL cpu_to_be16(0x0010)
23 #define IB_PMA_PORT_SAMPLES_RESULT cpu_to_be16(0x0011)
24 #define IB_PMA_PORT_COUNTERS cpu_to_be16(0x0012)
25 #define IB_PMA_PORT_COUNTERS_EXT cpu_to_be16(0x001D)
26 #define IB_PMA_PORT_SAMPLES_RESULT_EXT cpu_to_be16(0x001E)
[all …]
H A Dib_smi.h39 #define IB_SMP_DIRECTION cpu_to_be16(0x8000)
42 #define IB_SMP_ATTR_NOTICE cpu_to_be16(0x0002)
43 #define IB_SMP_ATTR_NODE_DESC cpu_to_be16(0x0010)
44 #define IB_SMP_ATTR_NODE_INFO cpu_to_be16(0x0011)
45 #define IB_SMP_ATTR_SWITCH_INFO cpu_to_be16(0x0012)
46 #define IB_SMP_ATTR_GUID_INFO cpu_to_be16(0x0014)
47 #define IB_SMP_ATTR_PORT_INFO cpu_to_be16(0x0015)
48 #define IB_SMP_ATTR_PKEY_TABLE cpu_to_be16(0x0016)
49 #define IB_SMP_ATTR_SL_TO_VL_TABLE cpu_to_be16(0x0017)
50 #define IB_SMP_ATTR_VL_ARB_TABLE cpu_to_be16(0x0018)
[all …]
H A Dopa_smi.h53 #define OPA_ATTRIB_ID_NODE_DESCRIPTION cpu_to_be16(0x0010)
54 #define OPA_ATTRIB_ID_NODE_INFO cpu_to_be16(0x0011)
55 #define OPA_ATTRIB_ID_PORT_INFO cpu_to_be16(0x0015)
56 #define OPA_ATTRIB_ID_PARTITION_TABLE cpu_to_be16(0x0016)
57 #define OPA_ATTRIB_ID_SL_TO_SC_MAP cpu_to_be16(0x0017)
58 #define OPA_ATTRIB_ID_VL_ARBITRATION cpu_to_be16(0x0018)
59 #define OPA_ATTRIB_ID_SM_INFO cpu_to_be16(0x0020)
60 #define OPA_ATTRIB_ID_CABLE_INFO cpu_to_be16(0x0032)
61 #define OPA_ATTRIB_ID_AGGREGATE cpu_to_be16(0x0080)
62 #define OPA_ATTRIB_ID_SC_TO_SL_MAP cpu_to_be16(0x0082)
[all …]
H A Dib_cm.h261 #define CM_REQ_ATTR_ID cpu_to_be16(0x0010)
262 #define CM_MRA_ATTR_ID cpu_to_be16(0x0011)
263 #define CM_REJ_ATTR_ID cpu_to_be16(0x0012)
264 #define CM_REP_ATTR_ID cpu_to_be16(0x0013)
265 #define CM_RTU_ATTR_ID cpu_to_be16(0x0014)
266 #define CM_DREQ_ATTR_ID cpu_to_be16(0x0015)
267 #define CM_DREP_ATTR_ID cpu_to_be16(0x0016)
268 #define CM_SIDR_REQ_ATTR_ID cpu_to_be16(0x0017)
269 #define CM_SIDR_REP_ATTR_ID cpu_to_be16(0x0018)
270 #define CM_LAP_ATTR_ID cpu_to_be16(0x0019)
[all …]
/openbmc/linux/include/linux/
H A Dsctp.h163 SCTP_PARAM_HEARTBEAT_INFO = cpu_to_be16(1),
165 SCTP_PARAM_IPV4_ADDRESS = cpu_to_be16(5),
166 SCTP_PARAM_IPV6_ADDRESS = cpu_to_be16(6),
167 SCTP_PARAM_STATE_COOKIE = cpu_to_be16(7),
168 SCTP_PARAM_UNRECOGNIZED_PARAMETERS = cpu_to_be16(8),
169 SCTP_PARAM_COOKIE_PRESERVATIVE = cpu_to_be16(9),
170 SCTP_PARAM_HOST_NAME_ADDRESS = cpu_to_be16(11),
171 SCTP_PARAM_SUPPORTED_ADDRESS_TYPES = cpu_to_be16(12),
172 SCTP_PARAM_ECN_CAPABLE = cpu_to_be16(0x8000),
175 SCTP_PARAM_RANDOM = cpu_to_be16(0x8002),
[all …]
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dopa_compat.h16 #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)
H A Dmad.h17 #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 …]
/openbmc/linux/drivers/infiniband/hw/qib/
H A 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 …]
/openbmc/linux/drivers/infiniband/sw/siw/
H A 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 …]
H A Dsiw_qp.c38 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 …]
/openbmc/linux/drivers/gpu/drm/amd/display/modules/power/
H A Dpower_helpers.c34 (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 …]
/openbmc/qemu/hw/s390x/
H A Dsclp.c121 sccb->h.length = cpu_to_be16(required_len); in read_SCP_info()
123 sccb->h.response_code = cpu_to_be16(SCLP_RC_INSUFFICIENT_SCCB_LENGTH); in read_SCP_info()
133 read_info->entries_cpu = cpu_to_be16(cpu_count); in read_SCP_info()
134 read_info->offset_cpu = cpu_to_be16(offset_cpu); in read_SCP_info()
135 read_info->highest_cpu = cpu_to_be16(machine->smp.max_cpus - 1); in read_SCP_info()
167 read_info->rnmax = cpu_to_be16(rnmax); in read_SCP_info()
169 read_info->rnmax = cpu_to_be16(0); in read_SCP_info()
176 sccb->h.response_code = cpu_to_be16(SCLP_RC_NORMAL_READ_COMPLETION); in read_SCP_info()
189 sccb->h.length = cpu_to_be16(required_len); in sclp_read_cpu_info()
191 sccb->h.response_code = cpu_to_be16(SCLP_RC_INSUFFICIENT_SCCB_LENGTH); in sclp_read_cpu_info()
[all …]
H A Devent-facility.c184 sccb->h.response_code = cpu_to_be16(SCLP_RC_INVALID_FUNCTION); in write_event_data()
188 sccb->h.response_code = cpu_to_be16(SCLP_RC_INSUFFICIENT_SCCB_LENGTH); in write_event_data()
192 sccb->h.response_code = cpu_to_be16(write_event_length_check(sccb)); in write_event_data()
197 cpu_to_be16(handle_sccb_write_events(ef, sccb)); in write_event_data()
237 sccb->h.length = cpu_to_be16(SCCB_SIZE - slen); in handle_sccb_read_events()
261 sccb->h.response_code = cpu_to_be16(SCLP_RC_INSUFFICIENT_SCCB_LENGTH); in read_event_data()
267 sccb->h.response_code = cpu_to_be16( in read_event_data()
280 cpu_to_be16(SCLP_RC_INVALID_SELECTION_MASK); in read_event_data()
282 sccb->h.response_code = cpu_to_be16( in read_event_data()
287 sccb->h.response_code = cpu_to_be16(SCLP_RC_INVALID_FUNCTION); in read_event_data()
[all …]
/openbmc/linux/drivers/net/ethernet/fungible/funcore/
H A Dfun_hci.h41 .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 …]
/openbmc/linux/drivers/infiniband/ulp/opa_vnic/
H A 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 …]
/openbmc/linux/fs/hfs/
H A Dmdb.c97 if (mdb->drSigWord == cpu_to_be16(HFS_SUPER_MAGIC)) in hfs_mdb_get()
134 if (mdb->drSigWord != cpu_to_be16(HFS_SUPER_MAGIC)) in hfs_mdb_get()
163 if (mdb2->drSigWord == cpu_to_be16(HFS_SUPER_MAGIC)) { in hfs_mdb_get()
211 if (!(attrib & cpu_to_be16(HFS_SB_ATTRIB_UNMNT))) { in hfs_mdb_get()
215 if ((attrib & cpu_to_be16(HFS_SB_ATTRIB_SLOCK))) { in hfs_mdb_get()
221 attrib &= cpu_to_be16(~HFS_SB_ATTRIB_UNMNT); in hfs_mdb_get()
222 attrib |= cpu_to_be16(HFS_SB_ATTRIB_INCNSTNT); in hfs_mdb_get()
275 mdb->drFreeBks = cpu_to_be16(HFS_SB(sb)->free_ablocks); in hfs_mdb_commit()
277 mdb->drNmFls = cpu_to_be16(HFS_SB(sb)->root_files); in hfs_mdb_commit()
278 mdb->drNmRtDirs = cpu_to_be16(HFS_SB(sb)->root_dirs); in hfs_mdb_commit()
[all …]
/openbmc/linux/arch/um/drivers/
H A Dvector_user.h37 #define GRE_MODE_CHECKSUM cpu_to_be16(8 << 12) /* checksum */
38 #define GRE_MODE_RESERVED cpu_to_be16(4 << 12) /* unused */
39 #define GRE_MODE_KEY cpu_to_be16(2 << 12) /* KEY present */
40 #define GRE_MODE_SEQUENCE cpu_to_be16(1 << 12) /* sequence */
42 #define GRE_IRB cpu_to_be16(0x6558)
/openbmc/linux/drivers/gpu/drm/display/
H A Ddrm_dsc_helper.c141 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 …]
/openbmc/linux/drivers/infiniband/hw/erdma/
H A Derdma_cm.h36 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)
/openbmc/linux/fs/xfs/
H A Dxfs_attr_inactive.c188 case cpu_to_be16(XFS_DA_NODE_MAGIC): in xfs_attr3_node_inactive()
189 case cpu_to_be16(XFS_DA3_NODE_MAGIC): in xfs_attr3_node_inactive()
193 case cpu_to_be16(XFS_ATTR_LEAF_MAGIC): in xfs_attr3_node_inactive()
194 case cpu_to_be16(XFS_ATTR3_LEAF_MAGIC): in xfs_attr3_node_inactive()
280 case cpu_to_be16(XFS_DA_NODE_MAGIC): in xfs_attr3_root_inactive()
281 case cpu_to_be16(XFS_DA3_NODE_MAGIC): in xfs_attr3_root_inactive()
284 case cpu_to_be16(XFS_ATTR_LEAF_MAGIC): in xfs_attr3_root_inactive()
285 case cpu_to_be16(XFS_ATTR3_LEAF_MAGIC): in xfs_attr3_root_inactive()
/openbmc/linux/drivers/staging/iio/frequency/
H A Dad9832.c142 st->freq_data[0] = cpu_to_be16((AD9832_CMD_FRE8BITSW << CMD_SHIFT) | in ad9832_write_frequency()
145 st->freq_data[1] = cpu_to_be16((AD9832_CMD_FRE16BITSW << CMD_SHIFT) | in ad9832_write_frequency()
148 st->freq_data[2] = cpu_to_be16((AD9832_CMD_FRE8BITSW << CMD_SHIFT) | in ad9832_write_frequency()
151 st->freq_data[3] = cpu_to_be16((AD9832_CMD_FRE16BITSW << CMD_SHIFT) | in ad9832_write_frequency()
164 st->phase_data[0] = cpu_to_be16((AD9832_CMD_PHA8BITSW << CMD_SHIFT) | in ad9832_write_phase()
167 st->phase_data[1] = cpu_to_be16((AD9832_CMD_PHA16BITSW << CMD_SHIFT) | in ad9832_write_phase()
204 st->data = cpu_to_be16((AD9832_CMD_SYNCSELSRC << CMD_SHIFT) | in ad9832_write()
217 st->data = cpu_to_be16((AD9832_CMD_FPSELECT << CMD_SHIFT) | in ad9832_write()
230 st->data = cpu_to_be16((AD9832_CMD_FPSELECT << CMD_SHIFT) | in ad9832_write()
241 st->data = cpu_to_be16((AD9832_CMD_SLEEPRESCLR << CMD_SHIFT) | in ad9832_write()
[all …]
/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_dir2_data.c588 new.offset = cpu_to_be16((char *)dup - (char *)hdr); in xfs_dir2_data_freeinsert()
754 bf[0].offset = cpu_to_be16(geo->data_entry_offset); in xfs_dir3_data_init()
755 bf[0].length = cpu_to_be16(geo->blksize - geo->data_entry_offset); in xfs_dir3_data_init()
765 dup->freetag = cpu_to_be16(XFS_DIR2_DATA_FREE_TAG); in xfs_dir3_data_init()
767 *xfs_dir2_data_unused_tag_p(dup) = cpu_to_be16((char *)dup - (char *)hdr); in xfs_dir3_data_init()
932 cpu_to_be16((char *)prevdup - (char *)hdr); in xfs_dir2_data_make_free()
967 cpu_to_be16((char *)prevdup - (char *)hdr); in xfs_dir2_data_make_free()
992 newdup->freetag = cpu_to_be16(XFS_DIR2_DATA_FREE_TAG); in xfs_dir2_data_make_free()
993 newdup->length = cpu_to_be16(len + be16_to_cpu(postdup->length)); in xfs_dir2_data_make_free()
995 cpu_to_be16((char *)newdup - (char *)hdr); in xfs_dir2_data_make_free()
[all …]
/openbmc/qemu/target/s390x/tcg/
H A Dexcp_helper.c269 lowcore->per_perc_atmid = cpu_to_be16(env->per_perc_atmid); in do_program_interrupt()
277 lowcore->pgm_ilen = cpu_to_be16(ilen); in do_program_interrupt()
278 lowcore->pgm_code = cpu_to_be16(env->int_pgm_code); in do_program_interrupt()
297 lowcore->svc_code = cpu_to_be16(env->int_svc_code); in do_svc_interrupt()
298 lowcore->svc_ilen = cpu_to_be16(env->int_svc_ilen); in do_svc_interrupt()
338 lowcore->ext_int_code = cpu_to_be16(EXT_EMERGENCY); in do_ext_interrupt()
341 lowcore->cpu_addr = cpu_to_be16(cpu_addr); in do_ext_interrupt()
348 lowcore->ext_int_code = cpu_to_be16(EXT_EXTERNAL_CALL); in do_ext_interrupt()
349 lowcore->cpu_addr = cpu_to_be16(env->external_call_addr); in do_ext_interrupt()
353 lowcore->ext_int_code = cpu_to_be16(EXT_CLOCK_COMP); in do_ext_interrupt()
[all …]
/openbmc/linux/fs/hfsplus/
H A 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 …]
/openbmc/u-boot/drivers/mmc/
H A Drpmb.c175 rpmb_frame->request = cpu_to_be16(RPMB_REQ_STATUS); in mmc_rpmb_status()
233 rpmb_frame->request = cpu_to_be16(RPMB_REQ_WCOUNTER); in mmc_rpmb_get_counter()
250 rpmb_frame->request = cpu_to_be16(RPMB_REQ_KEY); in mmc_rpmb_set_key()
268 rpmb_frame->address = cpu_to_be16(blk + i); in mmc_rpmb_read()
269 rpmb_frame->request = cpu_to_be16(RPMB_REQ_READ_DATA); in mmc_rpmb_read()
308 rpmb_frame->address = cpu_to_be16(blk + i); in mmc_rpmb_write()
309 rpmb_frame->block_count = cpu_to_be16(1); in mmc_rpmb_write()
311 rpmb_frame->request = cpu_to_be16(RPMB_REQ_WRITE_DATA); in mmc_rpmb_write()
384 rsp->request = cpu_to_be16(RPMB_REQ_STATUS); in rpmb_route_write_req()

12345678910>>...29