Home
last modified time | relevance | path

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

12345678910>>...26

/linux-6.1.9/include/rdma/
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 …]
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 …]
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 …]
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 …]
/linux-6.1.9/include/linux/
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 …]
Dvirtio_net.h14 return protocol == cpu_to_be16(ETH_P_IP); in virtio_net_hdr_match_proto()
16 return protocol == cpu_to_be16(ETH_P_IPV6); in virtio_net_hdr_match_proto()
18 return protocol == cpu_to_be16(ETH_P_IP) || in virtio_net_hdr_match_proto()
19 protocol == cpu_to_be16(ETH_P_IPV6); in virtio_net_hdr_match_proto()
34 skb->protocol = cpu_to_be16(ETH_P_IP); in virtio_net_hdr_set_proto()
37 skb->protocol = cpu_to_be16(ETH_P_IPV6); in virtio_net_hdr_set_proto()
/linux-6.1.9/drivers/infiniband/hw/hfi1/
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)
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 …]
/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/gpu/drm/amd/display/modules/power/
Dpower_helpers.c34 (big_endian) ? cpu_to_be16(value) : cpu_to_le16(value)
241 cpu_to_be16(DIV_ROUNDUP((i * 65536), num_entries)); in fill_backlight_transform_table()
243 cpu_to_be16(params.backlight_lut_array[lut_index]); in fill_backlight_transform_table()
273 cpu_to_be16(DIV_ROUNDUP((i * 65536), num_entries)) : in fill_backlight_transform_table_v_2_2()
276 cpu_to_be16(params.backlight_lut_array[lut_index]) : in fill_backlight_transform_table_v_2_2()
286 cpu_to_be16(params.min_abm_backlight); in fill_iram_v_2()
290 cpu_to_be16(params.backlight_ramping_reduction); in fill_iram_v_2()
292 cpu_to_be16(params.backlight_ramping_start); in fill_iram_v_2()
426 ram_table->crgb_thresh[0] = cpu_to_be16(0x13b6); in fill_iram_v_2()
427 ram_table->crgb_thresh[1] = cpu_to_be16(0x1648); in fill_iram_v_2()
[all …]
/linux-6.1.9/drivers/gpu/drm/display/
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 …]
/linux-6.1.9/drivers/net/ethernet/fungible/funcore/
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 …]
/linux-6.1.9/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-6.1.9/fs/hfs/
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 …]
/linux-6.1.9/arch/um/drivers/
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)
/linux-6.1.9/fs/xfs/
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()
/linux-6.1.9/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-6.1.9/fs/xfs/libxfs/
Dxfs_dir2_data.c567 new.offset = cpu_to_be16((char *)dup - (char *)hdr); in xfs_dir2_data_freeinsert()
733 bf[0].offset = cpu_to_be16(geo->data_entry_offset); in xfs_dir3_data_init()
734 bf[0].length = cpu_to_be16(geo->blksize - geo->data_entry_offset); in xfs_dir3_data_init()
744 dup->freetag = cpu_to_be16(XFS_DIR2_DATA_FREE_TAG); in xfs_dir3_data_init()
746 *xfs_dir2_data_unused_tag_p(dup) = cpu_to_be16((char *)dup - (char *)hdr); in xfs_dir3_data_init()
911 cpu_to_be16((char *)prevdup - (char *)hdr); in xfs_dir2_data_make_free()
946 cpu_to_be16((char *)prevdup - (char *)hdr); in xfs_dir2_data_make_free()
971 newdup->freetag = cpu_to_be16(XFS_DIR2_DATA_FREE_TAG); in xfs_dir2_data_make_free()
972 newdup->length = cpu_to_be16(len + be16_to_cpu(postdup->length)); in xfs_dir2_data_make_free()
974 cpu_to_be16((char *)newdup - (char *)hdr); in xfs_dir2_data_make_free()
[all …]
Dxfs_dir2_leaf.c79 to3->hdr.info.hdr.magic = cpu_to_be16(from->magic); in xfs_dir2_leaf_hdr_to_disk()
80 to3->hdr.count = cpu_to_be16(from->count); in xfs_dir2_leaf_hdr_to_disk()
81 to3->hdr.stale = cpu_to_be16(from->stale); in xfs_dir2_leaf_hdr_to_disk()
88 to->hdr.info.magic = cpu_to_be16(from->magic); in xfs_dir2_leaf_hdr_to_disk()
89 to->hdr.count = cpu_to_be16(from->count); in xfs_dir2_leaf_hdr_to_disk()
90 to->hdr.stale = cpu_to_be16(from->stale); in xfs_dir2_leaf_hdr_to_disk()
253 .magic16 = { cpu_to_be16(XFS_DIR2_LEAF1_MAGIC),
254 cpu_to_be16(XFS_DIR3_LEAF1_MAGIC) },
262 .magic16 = { cpu_to_be16(XFS_DIR2_LEAFN_MAGIC),
263 cpu_to_be16(XFS_DIR3_LEAFN_MAGIC) },
[all …]
Dxfs_inode_buf.c108 .magic16 = { cpu_to_be16(XFS_DINODE_MAGIC),
109 cpu_to_be16(XFS_DINODE_MAGIC) },
116 .magic16 = { cpu_to_be16(XFS_DINODE_MAGIC),
117 cpu_to_be16(XFS_DINODE_MAGIC) },
293 to->di_nrext64_pad = cpu_to_be16(0); in xfs_inode_to_disk_iext_counters()
296 to->di_anextents = cpu_to_be16(xfs_ifork_nextents(&ip->i_af)); in xfs_inode_to_disk_iext_counters()
308 to->di_magic = cpu_to_be16(XFS_DINODE_MAGIC); in xfs_inode_to_disk()
314 to->di_projid_lo = cpu_to_be16(ip->i_projid & 0xffff); in xfs_inode_to_disk()
315 to->di_projid_hi = cpu_to_be16(ip->i_projid >> 16); in xfs_inode_to_disk()
322 to->di_mode = cpu_to_be16(inode->i_mode); in xfs_inode_to_disk()
[all …]
/linux-6.1.9/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-6.1.9/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()
/linux-6.1.9/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 …]

12345678910>>...26