| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | sctp.h | 162 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 …]
|
| H A D | virtio_net.h | 14 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()
|
| /OK3568_Linux_fs/kernel/include/rdma/ |
| H A D | ib_pma.h | 16 #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 D | ib_smi.h | 39 #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 D | opa_smi.h | 53 #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 D | ib_cm.h | 261 #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 …]
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/sw/siw/ |
| H A 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 …]
|
| H A D | siw_qp.c | 37 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/modules/power/ |
| H A D | power_helpers.c | 34 (big_endian) ? cpu_to_be16(value) : cpu_to_le16(value) 239 cpu_to_be16(DIV_ROUNDUP((i * 65536), num_entries)); in fill_backlight_transform_table() 241 cpu_to_be16(params.backlight_lut_array[lut_index]); in fill_backlight_transform_table() 271 cpu_to_be16(DIV_ROUNDUP((i * 65536), num_entries)) : in fill_backlight_transform_table_v_2_2() 274 cpu_to_be16(params.backlight_lut_array[lut_index]) : in fill_backlight_transform_table_v_2_2() 284 cpu_to_be16(params.min_abm_backlight); in fill_iram_v_2() 288 cpu_to_be16(params.backlight_ramping_reduction); in fill_iram_v_2() 290 cpu_to_be16(params.backlight_ramping_start); in fill_iram_v_2() 424 ram_table->crgb_thresh[0] = cpu_to_be16(0x13b6); in fill_iram_v_2() 425 ram_table->crgb_thresh[1] = cpu_to_be16(0x1648); in fill_iram_v_2() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/qib/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/hfi1/ |
| H A D | opa_compat.h | 58 #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)
|
| H A D | mad.h | 58 #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 …]
|
| /OK3568_Linux_fs/u-boot/drivers/video/drm/ |
| H A D | drm_dsc.c | 107 pps_payload->pic_height = cpu_to_be16(dsc_cfg->pic_height); in drm_dsc_pps_payload_pack() 110 pps_payload->pic_width = cpu_to_be16(dsc_cfg->pic_width); in drm_dsc_pps_payload_pack() 113 pps_payload->slice_height = cpu_to_be16(dsc_cfg->slice_height); in drm_dsc_pps_payload_pack() 116 pps_payload->slice_width = cpu_to_be16(dsc_cfg->slice_width); in drm_dsc_pps_payload_pack() 119 pps_payload->chunk_size = cpu_to_be16(dsc_cfg->slice_chunk_size); in drm_dsc_pps_payload_pack() 133 cpu_to_be16(dsc_cfg->initial_dec_delay); in drm_dsc_pps_payload_pack() 143 cpu_to_be16(dsc_cfg->scale_increment_interval); in drm_dsc_pps_payload_pack() 163 cpu_to_be16(dsc_cfg->nfl_bpg_offset); in drm_dsc_pps_payload_pack() 167 cpu_to_be16(dsc_cfg->slice_bpg_offset); in drm_dsc_pps_payload_pack() 171 cpu_to_be16(dsc_cfg->initial_offset); in drm_dsc_pps_payload_pack() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/ |
| H A D | drm_dsc.c | 113 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/ulp/opa_vnic/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/scsi/lpfc/ |
| H A D | lpfc_ct.c | 767 cpu_to_be16(SLI_CT_RESPONSE_FS_ACC)) { in lpfc_cmpl_ct_cmd_gid_ft() 973 cpu_to_be16(SLI_CT_RESPONSE_FS_ACC)) { in lpfc_cmpl_ct_cmd_gid_pt() 1682 cpu_to_be16(SLI_CTNS_GID_FT); in lpfc_ns_cmd() 1694 cpu_to_be16(SLI_CTNS_GID_PT); in lpfc_ns_cmd() 1706 cpu_to_be16(SLI_CTNS_GFF_ID); in lpfc_ns_cmd() 1713 cpu_to_be16(SLI_CTNS_GFT_ID); in lpfc_ns_cmd() 1721 cpu_to_be16(SLI_CTNS_RFT_ID); in lpfc_ns_cmd() 1753 cpu_to_be16(SLI_CTNS_RNN_ID); in lpfc_ns_cmd() 1763 cpu_to_be16(SLI_CTNS_RSPN_ID); in lpfc_ns_cmd() 1774 cpu_to_be16(SLI_CTNS_RSNN_NN); in lpfc_ns_cmd() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/mmc/ |
| H A D | rpmb.c | 156 rpmb_frame->request = cpu_to_be16(RPMB_REQ_STATUS); in mmc_rpmb_status() 214 rpmb_frame->request = cpu_to_be16(RPMB_REQ_WCOUNTER); in mmc_rpmb_get_counter() 231 rpmb_frame->request = cpu_to_be16(RPMB_REQ_KEY); in mmc_rpmb_set_key() 256 rpmb_frame->address = cpu_to_be16(blk); in mmc_rpmb_read() 257 rpmb_frame->request = cpu_to_be16(RPMB_REQ_READ_DATA); in mmc_rpmb_read() 332 rpmb_frame->address = cpu_to_be16(blk); in mmc_rpmb_write() 333 rpmb_frame_vrify->address = cpu_to_be16(blk); in mmc_rpmb_write() 334 rpmb_frame->block_count = cpu_to_be16(cnt); in mmc_rpmb_write() 335 rpmb_frame_vrify->block_count = cpu_to_be16(cnt); in mmc_rpmb_write() 338 rpmb_frame->request = cpu_to_be16(RPMB_REQ_WRITE_DATA); in mmc_rpmb_write() [all …]
|
| /OK3568_Linux_fs/kernel/fs/hfs/ |
| H A D | mdb.c | 97 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 …]
|
| /OK3568_Linux_fs/kernel/arch/um/drivers/ |
| H A D | vector_user.h | 37 #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)
|
| /OK3568_Linux_fs/kernel/fs/xfs/libxfs/ |
| H A D | xfs_dir2_data.c | 567 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 …]
|
| H A D | xfs_dir2_leaf.c | 79 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() 244 .magic16 = { cpu_to_be16(XFS_DIR2_LEAF1_MAGIC), 245 cpu_to_be16(XFS_DIR3_LEAF1_MAGIC) }, 253 .magic16 = { cpu_to_be16(XFS_DIR2_LEAFN_MAGIC), 254 cpu_to_be16(XFS_DIR3_LEAFN_MAGIC) }, [all …]
|
| /OK3568_Linux_fs/kernel/fs/xfs/ |
| H A D | xfs_attr_inactive.c | 187 case cpu_to_be16(XFS_DA_NODE_MAGIC): in xfs_attr3_node_inactive() 188 case cpu_to_be16(XFS_DA3_NODE_MAGIC): in xfs_attr3_node_inactive() 192 case cpu_to_be16(XFS_ATTR_LEAF_MAGIC): in xfs_attr3_node_inactive() 193 case cpu_to_be16(XFS_ATTR3_LEAF_MAGIC): in xfs_attr3_node_inactive() 282 case cpu_to_be16(XFS_DA_NODE_MAGIC): in xfs_attr3_root_inactive() 283 case cpu_to_be16(XFS_DA3_NODE_MAGIC): in xfs_attr3_root_inactive() 286 case cpu_to_be16(XFS_ATTR_LEAF_MAGIC): in xfs_attr3_root_inactive() 287 case cpu_to_be16(XFS_ATTR3_LEAF_MAGIC): in xfs_attr3_root_inactive()
|
| /OK3568_Linux_fs/kernel/drivers/staging/iio/frequency/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/fs/hfsplus/ |
| H A D | catalog.c | 55 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/media/test-drivers/vidtv/ |
| H A 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()
|