Home
last modified time | relevance | path

Searched refs:cpu_to_le32 (Results 1 – 25 of 1921) sorted by relevance

12345678910>>...77

/OK3568_Linux_fs/kernel/fs/cifs/
H A Dsmb2status.h33 #define STATUS_SEVERITY_INFORMATIONAL cpu_to_le32(0x0001)
34 #define STATUS_SEVERITY_WARNING cpu_to_le32(0x0002)
35 #define STATUS_SEVERITY_ERROR cpu_to_le32(0x0003)
43 #define STATUS_SUCCESS cpu_to_le32(0x00000000)
44 #define STATUS_WAIT_0 cpu_to_le32(0x00000000)
45 #define STATUS_WAIT_1 cpu_to_le32(0x00000001)
46 #define STATUS_WAIT_2 cpu_to_le32(0x00000002)
47 #define STATUS_WAIT_3 cpu_to_le32(0x00000003)
48 #define STATUS_WAIT_63 cpu_to_le32(0x0000003F)
49 #define STATUS_ABANDONED cpu_to_le32(0x00000080)
[all …]
H A Dsmb2pdu.h92 #define SMB2_PROTO_NUMBER cpu_to_le32(0x424d53fe)
93 #define SMB2_TRANSFORM_PROTO_NUM cpu_to_le32(0x424d53fd)
94 #define SMB2_COMPRESSION_TRANSFORM_ID cpu_to_le32(0x424d53fc)
197 #define SMB2_FLAGS_SERVER_TO_REDIR cpu_to_le32(0x00000001)
198 #define SMB2_FLAGS_ASYNC_COMMAND cpu_to_le32(0x00000002)
199 #define SMB2_FLAGS_RELATED_OPERATIONS cpu_to_le32(0x00000004)
200 #define SMB2_FLAGS_SIGNED cpu_to_le32(0x00000008)
201 #define SMB2_FLAGS_PRIORITY_MASK cpu_to_le32(0x00000070) /* SMB3.1.1 */
202 #define SMB2_FLAGS_DFS_OPERATIONS cpu_to_le32(0x10000000)
203 #define SMB2_FLAGS_REPLAY_OPERATION cpu_to_le32(0x20000000) /* SMB3 & up */
[all …]
/OK3568_Linux_fs/kernel/fs/ntfs/
H A Dlayout.h92 magic_FILE = cpu_to_le32(0x454c4946), /* Mft entry. */
93 magic_INDX = cpu_to_le32(0x58444e49), /* Index buffer. */
94 magic_HOLE = cpu_to_le32(0x454c4f48), /* ? (NTFS 3.0+?) */
97 magic_RSTR = cpu_to_le32(0x52545352), /* Restart page. */
98 magic_RCRD = cpu_to_le32(0x44524352), /* Log record page. */
101 magic_CHKD = cpu_to_le32(0x444b4843), /* Modified by chkdsk. */
104 magic_BAAD = cpu_to_le32(0x44414142), /* Failed multi sector
110 magic_empty = cpu_to_le32(0xffffffff) /* Record is empty. */
455 AT_UNUSED = cpu_to_le32( 0),
456 AT_STANDARD_INFORMATION = cpu_to_le32( 0x10),
[all …]
H A Dusnjrnl.h105 USN_REASON_DATA_OVERWRITE = cpu_to_le32(0x00000001),
106 USN_REASON_DATA_EXTEND = cpu_to_le32(0x00000002),
107 USN_REASON_DATA_TRUNCATION = cpu_to_le32(0x00000004),
108 USN_REASON_NAMED_DATA_OVERWRITE = cpu_to_le32(0x00000010),
109 USN_REASON_NAMED_DATA_EXTEND = cpu_to_le32(0x00000020),
110 USN_REASON_NAMED_DATA_TRUNCATION= cpu_to_le32(0x00000040),
111 USN_REASON_FILE_CREATE = cpu_to_le32(0x00000100),
112 USN_REASON_FILE_DELETE = cpu_to_le32(0x00000200),
113 USN_REASON_EA_CHANGE = cpu_to_le32(0x00000400),
114 USN_REASON_SECURITY_CHANGE = cpu_to_le32(0x00000800),
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/3com/
H A Dtyphoon.h177 #define TYPHOON_TX_PF_NO_CRC cpu_to_le32(0x00000001)
178 #define TYPHOON_TX_PF_IP_CHKSUM cpu_to_le32(0x00000002)
179 #define TYPHOON_TX_PF_TCP_CHKSUM cpu_to_le32(0x00000004)
180 #define TYPHOON_TX_PF_TCP_SEGMENT cpu_to_le32(0x00000008)
181 #define TYPHOON_TX_PF_INSERT_VLAN cpu_to_le32(0x00000010)
182 #define TYPHOON_TX_PF_IPSEC cpu_to_le32(0x00000020)
183 #define TYPHOON_TX_PF_VLAN_PRIORITY cpu_to_le32(0x00000040)
184 #define TYPHOON_TX_PF_UDP_CHKSUM cpu_to_le32(0x00000080)
185 #define TYPHOON_TX_PF_PAD_FRAME cpu_to_le32(0x00000100)
186 #define TYPHOON_TX_PF_RESERVED cpu_to_le32(0x00000e00)
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/rtl8188eu/hal/
H A Drtl8188eu_xmit.c37 ptxdesc->txdw7 &= cpu_to_le32(0xffff0000); in rtl8188eu_cal_txdesc_chksum()
41 ptxdesc->txdw7 |= cpu_to_le32(0x0000ffff & checksum); in rtl8188eu_cal_txdesc_chksum()
58 ptxdesc->txdw0 |= cpu_to_le32(OWN | FSG | LSG); /* own, bFirstSeg, bLastSeg; */ in rtl8188e_fill_fake_txdesc()
60 …ptxdesc->txdw0 |= cpu_to_le32(((TXDESC_SIZE + OFFSET_SZ) << OFFSET_SHT) & 0x00ff0000); /* 32 bytes… in rtl8188e_fill_fake_txdesc()
62 ptxdesc->txdw0 |= cpu_to_le32(BufferLen & 0x0000ffff); /* Buffer size + command header */ in rtl8188e_fill_fake_txdesc()
65 …ptxdesc->txdw1 |= cpu_to_le32((QSLT_MGNT << QSEL_SHT) & 0x00001f00); /* Fixed queue of Mgnt queue… in rtl8188e_fill_fake_txdesc()
69 ptxdesc->txdw1 |= cpu_to_le32(NAVUSEHDR); in rtl8188e_fill_fake_txdesc()
71 ptxdesc->txdw4 |= cpu_to_le32(BIT(7)); /* Hw set sequence number */ in rtl8188e_fill_fake_txdesc()
72 ptxdesc->txdw3 |= cpu_to_le32((8 << 28)); /* set bit3 to 1. Suugested by TimChen. 2009.12.29. */ in rtl8188e_fill_fake_txdesc()
76 ptxdesc->txdw2 |= cpu_to_le32(BIT(23)); /* BT NULL */ in rtl8188e_fill_fake_txdesc()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dsf.c104 cpu_to_le32(SF_SINGLE_UNICAST_AGING_TIMER_DEF),
105 cpu_to_le32(SF_SINGLE_UNICAST_IDLE_TIMER_DEF)
108 cpu_to_le32(SF_AGG_UNICAST_AGING_TIMER_DEF),
109 cpu_to_le32(SF_AGG_UNICAST_IDLE_TIMER_DEF)
112 cpu_to_le32(SF_MCAST_AGING_TIMER_DEF),
113 cpu_to_le32(SF_MCAST_IDLE_TIMER_DEF)
116 cpu_to_le32(SF_BA_AGING_TIMER_DEF),
117 cpu_to_le32(SF_BA_IDLE_TIMER_DEF)
120 cpu_to_le32(SF_TX_RE_AGING_TIMER_DEF),
121 cpu_to_le32(SF_TX_RE_IDLE_TIMER_DEF)
[all …]
H A Dmac-ctxt.c474 cmd->protection_flags |= cpu_to_le32(ht_flag); in iwl_mvm_mac_ctxt_set_ht_flags()
479 cmd->protection_flags |= cpu_to_le32(ht_flag); in iwl_mvm_mac_ctxt_set_ht_flags()
502 cmd->id_and_color = cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->id, in iwl_mvm_mac_ctxt_cmd_common()
504 cmd->action = cpu_to_le32(action); in iwl_mvm_mac_ctxt_cmd_common()
509 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_P2P_STA); in iwl_mvm_mac_ctxt_cmd_common()
511 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_BSS_STA); in iwl_mvm_mac_ctxt_cmd_common()
514 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_GO); in iwl_mvm_mac_ctxt_cmd_common()
517 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_LISTENER); in iwl_mvm_mac_ctxt_cmd_common()
520 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_P2P_DEVICE); in iwl_mvm_mac_ctxt_cmd_common()
523 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_IBSS); in iwl_mvm_mac_ctxt_cmd_common()
[all …]
/OK3568_Linux_fs/kernel/drivers/usb/gadget/function/
H A Drndis.c69 static const __le32 rndis_driver_version = cpu_to_le32(1);
201 resp->InformationBufferOffset = cpu_to_le32(16); in gen_ndis_query_resp()
216 outbuf[i] = cpu_to_le32(oid_supported_list[i]); in gen_ndis_query_resp()
229 *outbuf = cpu_to_le32(0); in gen_ndis_query_resp()
236 *outbuf = cpu_to_le32(params->medium); in gen_ndis_query_resp()
244 *outbuf = cpu_to_le32(params->medium); in gen_ndis_query_resp()
252 *outbuf = cpu_to_le32(params->dev->mtu); in gen_ndis_query_resp()
262 *outbuf = cpu_to_le32(0); in gen_ndis_query_resp()
264 *outbuf = cpu_to_le32(params->speed); in gen_ndis_query_resp()
272 *outbuf = cpu_to_le32(params->dev->mtu); in gen_ndis_query_resp()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/stmicro/stmmac/
H A Ddescs_com.h26 p->des1 |= cpu_to_le32((BUF_SIZE_8KiB in ehn_desc_rx_set_on_ring()
31 p->des1 |= cpu_to_le32(ERDES1_END_RING); in ehn_desc_rx_set_on_ring()
37 p->des0 |= cpu_to_le32(ETDES0_END_RING); in enh_desc_end_tx_desc_on_ring()
39 p->des0 &= cpu_to_le32(~ETDES0_END_RING); in enh_desc_end_tx_desc_on_ring()
45 p->des1 |= cpu_to_le32((((len - BUF_SIZE_4KiB) in enh_set_tx_desc_len_on_ring()
50 p->des1 |= cpu_to_le32((len & ETDES1_BUFFER1_SIZE_MASK)); in enh_set_tx_desc_len_on_ring()
60 p->des1 |= cpu_to_le32((bfsize2 << RDES1_BUFFER2_SIZE_SHIFT) in ndesc_rx_set_on_ring()
65 p->des1 |= cpu_to_le32(RDES1_END_RING); in ndesc_rx_set_on_ring()
71 p->des1 |= cpu_to_le32(TDES1_END_RING); in ndesc_end_tx_desc_on_ring()
73 p->des1 &= cpu_to_le32(~TDES1_END_RING); in ndesc_end_tx_desc_on_ring()
[all …]
H A Ddwxgmac2_descs.c54 p->des3 |= cpu_to_le32(XGMAC_TDES3_OWN); in dwxgmac2_set_tx_owner()
59 p->des3 |= cpu_to_le32(XGMAC_RDES3_OWN); in dwxgmac2_set_rx_owner()
62 p->des3 |= cpu_to_le32(XGMAC_RDES3_IOC); in dwxgmac2_set_rx_owner()
77 p->des2 |= cpu_to_le32(XGMAC_TDES2_TTSE); in dwxgmac2_enable_tx_timestamp()
149 p->des2 |= cpu_to_le32(len & XGMAC_TDES2_B1L); in dwxgmac2_prepare_tx_desc()
178 p->des3 = cpu_to_le32(tdes3); in dwxgmac2_prepare_tx_desc()
189 p->des2 |= cpu_to_le32(len1 & XGMAC_TDES2_B1L); in dwxgmac2_prepare_tso_tx_desc()
191 p->des2 |= cpu_to_le32((len2 << XGMAC_TDES2_B2L_SHIFT) & in dwxgmac2_prepare_tso_tx_desc()
218 p->des3 = cpu_to_le32(tdes3); in dwxgmac2_prepare_tso_tx_desc()
231 p->des2 |= cpu_to_le32(XGMAC_TDES2_IOC); in dwxgmac2_set_tx_ic()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/rtl8188e/usb/
H A Drtl8188eu_xmit.c60 ptxdesc->txdw7 &= cpu_to_le32(0xffff0000); in rtl8188eu_cal_txdesc_chksum()
65 ptxdesc->txdw7 |= cpu_to_le32(0x0000ffff & checksum); in rtl8188eu_cal_txdesc_chksum()
89 ptxdesc->txdw0 |= cpu_to_le32(OWN | FSG | LSG); /* own, bFirstSeg, bLastSeg; */ in rtl8188e_fill_fake_txdesc()
91 …ptxdesc->txdw0 |= cpu_to_le32(((TXDESC_SIZE + OFFSET_SZ) << OFFSET_SHT) & 0x00ff0000); /* 32 bytes… in rtl8188e_fill_fake_txdesc()
93 ptxdesc->txdw0 |= cpu_to_le32(BufferLen & 0x0000ffff); /* Buffer size + command header */ in rtl8188e_fill_fake_txdesc()
96 …ptxdesc->txdw1 |= cpu_to_le32((QSLT_MGNT << QSEL_SHT) & 0x00001f00); /* Fixed queue of Mgnt queue … in rtl8188e_fill_fake_txdesc()
100 ptxdesc->txdw1 |= cpu_to_le32(NAVUSEHDR); in rtl8188e_fill_fake_txdesc()
102 ptxdesc->txdw4 |= cpu_to_le32(BIT(7)); /* Hw set sequence number */ in rtl8188e_fill_fake_txdesc()
103 ptxdesc->txdw3 |= cpu_to_le32((8 << 28)); /* set bit3 to 1. Suugested by TimChen. 2009.12.29. */ in rtl8188e_fill_fake_txdesc()
107 ptxdesc->txdw2 |= cpu_to_le32(BIT(23)); /* BT NULL */ in rtl8188e_fill_fake_txdesc()
[all …]
/OK3568_Linux_fs/kernel/fs/dlm/
H A Dutil.c25 hd->h_version = cpu_to_le32(hd->h_version); in header_out()
26 hd->h_lockspace = cpu_to_le32(hd->h_lockspace); in header_out()
27 hd->h_nodeid = cpu_to_le32(hd->h_nodeid); in header_out()
88 ms->m_type = cpu_to_le32(ms->m_type); in dlm_message_out()
89 ms->m_nodeid = cpu_to_le32(ms->m_nodeid); in dlm_message_out()
90 ms->m_pid = cpu_to_le32(ms->m_pid); in dlm_message_out()
91 ms->m_lkid = cpu_to_le32(ms->m_lkid); in dlm_message_out()
92 ms->m_remid = cpu_to_le32(ms->m_remid); in dlm_message_out()
93 ms->m_parent_lkid = cpu_to_le32(ms->m_parent_lkid); in dlm_message_out()
94 ms->m_parent_remid = cpu_to_le32(ms->m_parent_remid); in dlm_message_out()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/virtio/
H A Dvirtgpu_vq.c46 dst->x = cpu_to_le32(src->x); in convert_to_hw_box()
47 dst->y = cpu_to_le32(src->y); in convert_to_hw_box()
48 dst->z = cpu_to_le32(src->z); in convert_to_hw_box()
49 dst->w = cpu_to_le32(src->w); in convert_to_hw_box()
50 dst->h = cpu_to_le32(src->h); in convert_to_hw_box()
51 dst->d = cpu_to_le32(src->d); in convert_to_hw_box()
218 if (resp->type != cpu_to_le32(VIRTIO_GPU_RESP_OK_NODATA)) { in virtio_gpu_dequeue_ctrl_func()
228 if (resp->flags & cpu_to_le32(VIRTIO_GPU_FLAG_FENCE)) { in virtio_gpu_dequeue_ctrl_func()
507 cmd_p->hdr.type = cpu_to_le32(VIRTIO_GPU_CMD_RESOURCE_CREATE_2D); in virtio_gpu_cmd_create_resource()
508 cmd_p->resource_id = cpu_to_le32(bo->hw_res_handle); in virtio_gpu_cmd_create_resource()
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/wfx/
H A Dhif_api_general.h68 #define HIF_STATUS_SUCCESS (cpu_to_le32(0x0000))
69 #define HIF_STATUS_FAIL (cpu_to_le32(0x0001))
70 #define HIF_STATUS_INVALID_PARAMETER (cpu_to_le32(0x0002))
71 #define HIF_STATUS_WARNING (cpu_to_le32(0x0003))
72 #define HIF_STATUS_UNKNOWN_REQUEST (cpu_to_le32(0x0004))
73 #define HIF_STATUS_RX_FAIL_DECRYPT (cpu_to_le32(0x0010))
74 #define HIF_STATUS_RX_FAIL_MIC (cpu_to_le32(0x0011))
75 #define HIF_STATUS_RX_FAIL_NO_KEY (cpu_to_le32(0x0012))
76 #define HIF_STATUS_TX_FAIL_RETRIES (cpu_to_le32(0x0013))
77 #define HIF_STATUS_TX_FAIL_TIMEOUT (cpu_to_le32(0x0014))
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/rtl8712/
H A Drtl8712_xmit.c255 ptx_desc->txdw0 = cpu_to_le32(CMD_HDR_SZ & 0xffff); in r8712_construct_txaggr_cmd_desc()
257 cpu_to_le32(((TXDESC_SIZE + OFFSET_SZ) << OFFSET_SHT) & in r8712_construct_txaggr_cmd_desc()
259 ptx_desc->txdw0 |= cpu_to_le32(OWN | FSG | LSG); in r8712_construct_txaggr_cmd_desc()
262 ptx_desc->txdw1 |= cpu_to_le32((0x13 << QSEL_SHT) & 0x00001f00); in r8712_construct_txaggr_cmd_desc()
276 pcmd_hdr->cmd_dw0 = cpu_to_le32((GEN_CMD_CODE(_AMSDU_TO_AMPDU) << 16) | in r8712_construct_txaggr_cmd_hdr()
314 ptx_desc->txdw0 = cpu_to_le32((ptx_desc->txdw0 & 0xffff0000) | in r8712_append_mpdu_unit()
367 pcmd_hdr->cmd_dw0 = cpu_to_le32(((total_length - CMD_HDR_SZ) & in r8712_dump_aggr_xframe()
372 pcmd_hdr->cmd_dw1 = cpu_to_le32((pxmitbuf->aggr_nr & 0xff)| in r8712_dump_aggr_xframe()
381 ptxdesc->txdw0 |= cpu_to_le32 in r8712_dump_aggr_xframe()
386 ptxdesc->txdw0 |= cpu_to_le32 in r8712_dump_aggr_xframe()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/radeon/
H A Dradeon_vce.c364 ib.ptr[ib.length_dw++] = cpu_to_le32(0x0000000c); /* len */ in radeon_vce_get_create_msg()
365 ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000001); /* session cmd */ in radeon_vce_get_create_msg()
366 ib.ptr[ib.length_dw++] = cpu_to_le32(handle); in radeon_vce_get_create_msg()
368 ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000030); /* len */ in radeon_vce_get_create_msg()
369 ib.ptr[ib.length_dw++] = cpu_to_le32(0x01000001); /* create cmd */ in radeon_vce_get_create_msg()
370 ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000000); in radeon_vce_get_create_msg()
371 ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000042); in radeon_vce_get_create_msg()
372 ib.ptr[ib.length_dw++] = cpu_to_le32(0x0000000a); in radeon_vce_get_create_msg()
373 ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000001); in radeon_vce_get_create_msg()
374 ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000080); in radeon_vce_get_create_msg()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlegacy/
H A Dcommands.h381 #define UCODE_VALID_OK cpu_to_le32(0x1)
568 #define RXON_FLG_BAND_24G_MSK cpu_to_le32(1 << 0)
569 #define RXON_FLG_CCK_MSK cpu_to_le32(1 << 1)
571 #define RXON_FLG_AUTO_DETECT_MSK cpu_to_le32(1 << 2)
573 #define RXON_FLG_TGG_PROTECT_MSK cpu_to_le32(1 << 3)
575 #define RXON_FLG_SHORT_SLOT_MSK cpu_to_le32(1 << 4)
576 #define RXON_FLG_SHORT_PREAMBLE_MSK cpu_to_le32(1 << 5)
578 #define RXON_FLG_DIS_DIV_MSK cpu_to_le32(1 << 7)
579 #define RXON_FLG_ANT_SEL_MSK cpu_to_le32(0x0f00)
580 #define RXON_FLG_ANT_A_MSK cpu_to_le32(1 << 8)
[all …]
/OK3568_Linux_fs/kernel/drivers/usb/gadget/legacy/
H A Dwebcam.c95 .dwClockFrequency = cpu_to_le32(48000000),
189 .dwMinBitRate = cpu_to_le32(18432000),
190 .dwMaxBitRate = cpu_to_le32(55296000),
191 .dwMaxVideoFrameBufferSize = cpu_to_le32(460800),
192 .dwDefaultFrameInterval = cpu_to_le32(666666),
194 .dwFrameInterval[0] = cpu_to_le32(666666),
195 .dwFrameInterval[1] = cpu_to_le32(1000000),
196 .dwFrameInterval[2] = cpu_to_le32(5000000),
207 .dwMinBitRate = cpu_to_le32(29491200),
208 .dwMaxBitRate = cpu_to_le32(29491200),
[all …]
/OK3568_Linux_fs/kernel/drivers/scsi/aacraid/
H A Dcomminit.c115 cpu_to_le32(ADAPTER_INIT_STRUCT_REVISION_8); in aac_alloc_comm()
116 init->r8.init_flags = cpu_to_le32(INITFLAGS_NEW_COMM_SUPPORTED | in aac_alloc_comm()
120 cpu_to_le32(INITFLAGS_DRIVER_SUPPORTS_HBA_MODE); in aac_alloc_comm()
121 init->r8.rr_queue_count = cpu_to_le32(dev->max_msix); in aac_alloc_comm()
123 cpu_to_le32(dev->scsi_host_ptr->max_sectors << 9); in aac_alloc_comm()
130 init->r8.rrq[i].host_addr_high = cpu_to_le32( in aac_alloc_comm()
132 init->r8.rrq[i].host_addr_low = cpu_to_le32( in aac_alloc_comm()
144 cpu_to_le32(ADAPTER_INIT_STRUCT_REVISION); in aac_alloc_comm()
147 cpu_to_le32(ADAPTER_INIT_STRUCT_REVISION_4); in aac_alloc_comm()
148 init->r7.no_of_msix_vectors = cpu_to_le32(SA_MINIPORT_REVISION); in aac_alloc_comm()
[all …]
/OK3568_Linux_fs/u-boot/drivers/power/
H A Dpower_i2c.c31 buf[2] = (cpu_to_le32(val) >> 16) & 0xff; in pmic_reg_write()
32 buf[1] = (cpu_to_le32(val) >> 8) & 0xff; in pmic_reg_write()
33 buf[0] = cpu_to_le32(val) & 0xff; in pmic_reg_write()
35 buf[0] = (cpu_to_le32(val) >> 16) & 0xff; in pmic_reg_write()
36 buf[1] = (cpu_to_le32(val) >> 8) & 0xff; in pmic_reg_write()
37 buf[2] = cpu_to_le32(val) & 0xff; in pmic_reg_write()
42 buf[1] = (cpu_to_le32(val) >> 8) & 0xff; in pmic_reg_write()
43 buf[0] = cpu_to_le32(val) & 0xff; in pmic_reg_write()
45 buf[0] = (cpu_to_le32(val) >> 8) & 0xff; in pmic_reg_write()
46 buf[1] = cpu_to_le32(val) & 0xff; in pmic_reg_write()
[all …]
/OK3568_Linux_fs/u-boot/fs/ubifs/
H A Dsb.c167 sup->flags = cpu_to_le32(sup_flags); in create_default_filesystem()
168 sup->min_io_size = cpu_to_le32(c->min_io_size); in create_default_filesystem()
169 sup->leb_size = cpu_to_le32(c->leb_size); in create_default_filesystem()
170 sup->leb_cnt = cpu_to_le32(c->leb_cnt); in create_default_filesystem()
171 sup->max_leb_cnt = cpu_to_le32(c->max_leb_cnt); in create_default_filesystem()
173 sup->log_lebs = cpu_to_le32(log_lebs); in create_default_filesystem()
174 sup->lpt_lebs = cpu_to_le32(lpt_lebs); in create_default_filesystem()
175 sup->orph_lebs = cpu_to_le32(orph_lebs); in create_default_filesystem()
176 sup->jhead_cnt = cpu_to_le32(DEFAULT_JHEADS_CNT); in create_default_filesystem()
177 sup->fanout = cpu_to_le32(DEFAULT_FANOUT); in create_default_filesystem()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dcommands.h367 #define UCODE_VALID_OK cpu_to_le32(0x1)
526 #define RXON_FLG_BAND_24G_MSK cpu_to_le32(1 << 0)
527 #define RXON_FLG_CCK_MSK cpu_to_le32(1 << 1)
529 #define RXON_FLG_AUTO_DETECT_MSK cpu_to_le32(1 << 2)
531 #define RXON_FLG_TGG_PROTECT_MSK cpu_to_le32(1 << 3)
533 #define RXON_FLG_SHORT_SLOT_MSK cpu_to_le32(1 << 4)
534 #define RXON_FLG_SHORT_PREAMBLE_MSK cpu_to_le32(1 << 5)
536 #define RXON_FLG_DIS_DIV_MSK cpu_to_le32(1 << 7)
537 #define RXON_FLG_ANT_SEL_MSK cpu_to_le32(0x0f00)
538 #define RXON_FLG_ANT_A_MSK cpu_to_le32(1 << 8)
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/intersil/p54/
H A Dp54usb.c291 return cpu_to_le32(chk); in p54u_lm87_chksum()
344 reg->addr = cpu_to_le32(P54U_DEV_BASE); in p54u_tx_net2280()
345 reg->val = cpu_to_le32(ISL38XX_DEV_INT_DATA); in p54u_tx_net2280()
526 hdr->fw_load_addr = cpu_to_le32(ISL38XX_DEV_FIRMWARE_ADDR); in p54u_upload_firmware_3887()
527 hdr->fw_length = cpu_to_le32(priv->fw->size); in p54u_upload_firmware_3887()
528 hdr->crc = cpu_to_le32(~crc32_le(~0, (void *)&hdr->fw_load_addr, in p54u_upload_firmware_3887()
569 *((__le32 *)buf) = cpu_to_le32(~crc32_le(~0, priv->fw->data, in p54u_upload_firmware_3887()
643 cpu_to_le32((u32)(unsigned long)addr), data);\ in p54u_upload_firmware_net2280()
651 cpu_to_le32((u32)(unsigned long)addr), &reg);\ in p54u_upload_firmware_net2280()
658 reg |= cpu_to_le32(P54U_BRG_POWER_DOWN); in p54u_upload_firmware_net2280()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlwifi/fw/
H A Ddbg.c101 (*dump_data)->type = cpu_to_le32(IWL_FW_ERROR_DUMP_RADIO_REG); in iwl_read_radio_regs()
102 (*dump_data)->len = cpu_to_le32(RADIO_REG_MAX_READ); in iwl_read_radio_regs()
137 (*dump_data)->type = cpu_to_le32(IWL_FW_ERROR_DUMP_RXF); in iwl_fwrt_dump_rxf()
138 (*dump_data)->len = cpu_to_le32(fifo_len + sizeof(*fifo_hdr)); in iwl_fwrt_dump_rxf()
140 fifo_hdr->fifo_num = cpu_to_le32(fifo_num); in iwl_fwrt_dump_rxf()
142 cpu_to_le32(iwl_trans_read_prph(fwrt->trans, in iwl_fwrt_dump_rxf()
145 cpu_to_le32(iwl_trans_read_prph(fwrt->trans, in iwl_fwrt_dump_rxf()
148 cpu_to_le32(iwl_trans_read_prph(fwrt->trans, in iwl_fwrt_dump_rxf()
151 cpu_to_le32(iwl_trans_read_prph(fwrt->trans, in iwl_fwrt_dump_rxf()
154 cpu_to_le32(iwl_trans_read_prph(fwrt->trans, in iwl_fwrt_dump_rxf()
[all …]

12345678910>>...77