Home
last modified time | relevance | path

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

12345678910>>...68

/openbmc/linux/fs/smb/server/
H A Dsmbstatus.h19 #define STATUS_SEVERITY_SUCCESS cpu_to_le32(0x0000)
20 #define STATUS_SEVERITY_INFORMATIONAL cpu_to_le32(0x0001)
21 #define STATUS_SEVERITY_WARNING cpu_to_le32(0x0002)
22 #define STATUS_SEVERITY_ERROR cpu_to_le32(0x0003)
31 #define STATUS_WAIT_0 cpu_to_le32(0x00000000)
32 #define STATUS_WAIT_1 cpu_to_le32(0x00000001)
33 #define STATUS_WAIT_2 cpu_to_le32(0x00000002)
34 #define STATUS_WAIT_3 cpu_to_le32(0x00000003)
35 #define STATUS_WAIT_63 cpu_to_le32(0x0000003F)
36 #define STATUS_ABANDONED cpu_to_le32(0x00000080)
[all …]
/openbmc/linux/fs/smb/client/
H A Dsmb2status.h20 #define STATUS_SEVERITY_INFORMATIONAL cpu_to_le32(0x0001)
21 #define STATUS_SEVERITY_WARNING cpu_to_le32(0x0002)
22 #define STATUS_SEVERITY_ERROR cpu_to_le32(0x0003)
30 #define STATUS_SUCCESS cpu_to_le32(0x00000000)
31 #define STATUS_WAIT_0 cpu_to_le32(0x00000000)
32 #define STATUS_WAIT_1 cpu_to_le32(0x00000001)
33 #define STATUS_WAIT_2 cpu_to_le32(0x00000002)
34 #define STATUS_WAIT_3 cpu_to_le32(0x00000003)
35 #define STATUS_WAIT_63 cpu_to_le32(0x0000003F)
36 #define STATUS_ABANDONED cpu_to_le32(0x00000080)
[all …]
/openbmc/linux/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 …]
/openbmc/linux/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 …]
/openbmc/linux/fs/ntfs3/
H A Dntfs.h104 ATTR_ZERO = cpu_to_le32(0x00),
105 ATTR_STD = cpu_to_le32(0x10),
106 ATTR_LIST = cpu_to_le32(0x20),
107 ATTR_NAME = cpu_to_le32(0x30),
108 ATTR_ID = cpu_to_le32(0x40),
109 ATTR_SECURE = cpu_to_le32(0x50),
110 ATTR_LABEL = cpu_to_le32(0x60),
111 ATTR_VOL_INFO = cpu_to_le32(0x70),
112 ATTR_DATA = cpu_to_le32(0x80),
113 ATTR_ROOT = cpu_to_le32(0x90),
[all …]
/openbmc/linux/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 …]
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dsf.c48 cpu_to_le32(SF_SINGLE_UNICAST_AGING_TIMER_DEF),
49 cpu_to_le32(SF_SINGLE_UNICAST_IDLE_TIMER_DEF)
52 cpu_to_le32(SF_AGG_UNICAST_AGING_TIMER_DEF),
53 cpu_to_le32(SF_AGG_UNICAST_IDLE_TIMER_DEF)
56 cpu_to_le32(SF_MCAST_AGING_TIMER_DEF),
57 cpu_to_le32(SF_MCAST_IDLE_TIMER_DEF)
60 cpu_to_le32(SF_BA_AGING_TIMER_DEF),
61 cpu_to_le32(SF_BA_IDLE_TIMER_DEF)
64 cpu_to_le32(SF_TX_RE_AGING_TIMER_DEF),
65 cpu_to_le32(SF_TX_RE_IDLE_TIMER_DEF)
[all …]
H A Dlink.c39 cmd->action = cpu_to_le32(action); in iwl_mvm_link_cmd_send()
76 cmd.link_id = cpu_to_le32(link_info->fw_link_id); in iwl_mvm_add_link()
77 cmd.mac_id = cpu_to_le32(mvmvif->id); in iwl_mvm_add_link()
80 cmd.phy_id = cpu_to_le32(FW_CTXT_INVALID); in iwl_mvm_add_link()
87 cmd.listen_lmac = cpu_to_le32(link_info->listen_lmac); in iwl_mvm_add_link()
130 cmd.link_id = cpu_to_le32(link_info->fw_link_id); in iwl_mvm_link_changed()
137 cmd.phy_id = cpu_to_le32(phyctxt->id); in iwl_mvm_link_changed()
139 cmd.phy_id = cpu_to_le32(FW_CTXT_INVALID); in iwl_mvm_link_changed()
140 cmd.mac_id = cpu_to_le32(mvmvif->id); in iwl_mvm_link_changed()
144 cmd.active = cpu_to_le32(active); in iwl_mvm_link_changed()
[all …]
/openbmc/linux/fs/smb/common/
H A Dsmb2pdu.h111 #define SMB2_PROTO_NUMBER cpu_to_le32(0x424d53fe)
112 #define SMB2_TRANSFORM_PROTO_NUM cpu_to_le32(0x424d53fd)
113 #define SMB2_COMPRESSION_TRANSFORM_ID cpu_to_le32(0x424d53fc)
118 #define SMB2_FLAGS_SERVER_TO_REDIR cpu_to_le32(0x00000001)
119 #define SMB2_FLAGS_ASYNC_COMMAND cpu_to_le32(0x00000002)
120 #define SMB2_FLAGS_RELATED_OPERATIONS cpu_to_le32(0x00000004)
121 #define SMB2_FLAGS_SIGNED cpu_to_le32(0x00000008)
122 #define SMB2_FLAGS_PRIORITY_MASK cpu_to_le32(0x00000070) /* SMB3.1.1 */
123 #define SMB2_FLAGS_DFS_OPERATIONS cpu_to_le32(0x10000000)
124 #define SMB2_FLAGS_REPLAY_OPERATION cpu_to_le32(0x20000000) /* SMB3 & up */
[all …]
/openbmc/qemu/hw/mips/
H A Dloongson3_bootp.c32 c->cputype = cpu_to_le32(Loongson_3A); in init_cpu_info()
33 c->processor_id = cpu_to_le32(MIPS_CPU(first_cpu)->env.CP0_PRid); in init_cpu_info()
35 c->cpu_clock_freq = cpu_to_le32(UINT_MAX); in init_cpu_info()
37 c->cpu_clock_freq = cpu_to_le32(cpu_freq); in init_cpu_info()
41 c->nr_cpus = cpu_to_le32(current_machine->smp.cpus); in init_cpu_info()
42 c->total_node = cpu_to_le32(DIV_ROUND_UP(current_machine->smp.cpus, in init_cpu_info()
50 emap->nr_map = cpu_to_le32(2); in init_memory_map()
51 emap->mem_freq = cpu_to_le32(300000000); in init_memory_map()
53 emap->map[0].node_id = cpu_to_le32(0); in init_memory_map()
54 emap->map[0].mem_type = cpu_to_le32(1); in init_memory_map()
[all …]
/openbmc/qemu/hw/scsi/
H A Dmptendian.c50 sge->u.Address32 = cpu_to_le32(sge->u.Address32); in mptsas_fix_sgentry_endianness_reply()
52 sge->FlagsLength = cpu_to_le32(sge->FlagsLength); in mptsas_fix_sgentry_endianness_reply()
65 reply->MsgContext = cpu_to_le32(reply->MsgContext); in mptsas_fix_scsi_io_reply_endianness()
67 reply->IOCLogInfo = cpu_to_le32(reply->IOCLogInfo); in mptsas_fix_scsi_io_reply_endianness()
68 reply->TransferCount = cpu_to_le32(reply->TransferCount); in mptsas_fix_scsi_io_reply_endianness()
69 reply->SenseCount = cpu_to_le32(reply->SenseCount); in mptsas_fix_scsi_io_reply_endianness()
70 reply->ResponseInfo = cpu_to_le32(reply->ResponseInfo); in mptsas_fix_scsi_io_reply_endianness()
82 reply->MsgContext = cpu_to_le32(reply->MsgContext); in mptsas_fix_scsi_task_mgmt_reply_endianness()
84 reply->IOCLogInfo = cpu_to_le32(reply->IOCLogInfo); in mptsas_fix_scsi_task_mgmt_reply_endianness()
85 reply->TerminationCount = cpu_to_le32(reply->TerminationCount); in mptsas_fix_scsi_task_mgmt_reply_endianness()
[all …]
/openbmc/linux/drivers/usb/gadget/function/
H A Drndis.c67 static const __le32 rndis_driver_version = cpu_to_le32(1);
199 resp->InformationBufferOffset = cpu_to_le32(16); in gen_ndis_query_resp()
214 outbuf[i] = cpu_to_le32(oid_supported_list[i]); in gen_ndis_query_resp()
227 *outbuf = cpu_to_le32(0); in gen_ndis_query_resp()
234 *outbuf = cpu_to_le32(params->medium); in gen_ndis_query_resp()
242 *outbuf = cpu_to_le32(params->medium); in gen_ndis_query_resp()
250 *outbuf = cpu_to_le32(params->dev->mtu); in gen_ndis_query_resp()
260 *outbuf = cpu_to_le32(0); in gen_ndis_query_resp()
262 *outbuf = cpu_to_le32(params->speed); in gen_ndis_query_resp()
270 *outbuf = cpu_to_le32(params->dev->mtu); in gen_ndis_query_resp()
[all …]
/openbmc/linux/drivers/net/wireless/silabs/wfx/
H A Dhif_api_general.h62 #define HIF_STATUS_SUCCESS (cpu_to_le32(0x0000))
63 #define HIF_STATUS_FAIL (cpu_to_le32(0x0001))
64 #define HIF_STATUS_INVALID_PARAMETER (cpu_to_le32(0x0002))
65 #define HIF_STATUS_WARNING (cpu_to_le32(0x0003))
66 #define HIF_STATUS_UNKNOWN_REQUEST (cpu_to_le32(0x0004))
67 #define HIF_STATUS_RX_FAIL_DECRYPT (cpu_to_le32(0x0010))
68 #define HIF_STATUS_RX_FAIL_MIC (cpu_to_le32(0x0011))
69 #define HIF_STATUS_RX_FAIL_NO_KEY (cpu_to_le32(0x0012))
70 #define HIF_STATUS_TX_FAIL_RETRIES (cpu_to_le32(0x0013))
71 #define HIF_STATUS_TX_FAIL_TIMEOUT (cpu_to_le32(0x0014))
[all …]
/openbmc/linux/drivers/gpu/drm/virtio/
H A Dvirtgpu_vq.c48 dst->x = cpu_to_le32(src->x); in convert_to_hw_box()
49 dst->y = cpu_to_le32(src->y); in convert_to_hw_box()
50 dst->z = cpu_to_le32(src->z); in convert_to_hw_box()
51 dst->w = cpu_to_le32(src->w); in convert_to_hw_box()
52 dst->h = cpu_to_le32(src->h); in convert_to_hw_box()
53 dst->d = cpu_to_le32(src->d); in convert_to_hw_box()
220 if (resp->type != cpu_to_le32(VIRTIO_GPU_RESP_OK_NODATA)) { in virtio_gpu_dequeue_ctrl_func()
230 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 …]
/openbmc/linux/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()
366 pcmd_hdr->cmd_dw0 = cpu_to_le32(((total_length - CMD_HDR_SZ) & in r8712_dump_aggr_xframe()
371 pcmd_hdr->cmd_dw1 = cpu_to_le32((pxmitbuf->aggr_nr & 0xff) | in r8712_dump_aggr_xframe()
380 ptxdesc->txdw0 |= cpu_to_le32 in r8712_dump_aggr_xframe()
385 ptxdesc->txdw0 |= cpu_to_le32 in r8712_dump_aggr_xframe()
[all …]
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_vce.c363 ib.ptr[ib.length_dw++] = cpu_to_le32(0x0000000c); /* len */ in radeon_vce_get_create_msg()
364 ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000001); /* session cmd */ in radeon_vce_get_create_msg()
365 ib.ptr[ib.length_dw++] = cpu_to_le32(handle); in radeon_vce_get_create_msg()
367 ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000030); /* len */ in radeon_vce_get_create_msg()
368 ib.ptr[ib.length_dw++] = cpu_to_le32(0x01000001); /* create cmd */ in radeon_vce_get_create_msg()
369 ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000000); in radeon_vce_get_create_msg()
370 ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000042); in radeon_vce_get_create_msg()
371 ib.ptr[ib.length_dw++] = cpu_to_le32(0x0000000a); in radeon_vce_get_create_msg()
372 ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000001); in radeon_vce_get_create_msg()
373 ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000080); in radeon_vce_get_create_msg()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath12k/
H A Dwmi.c769 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_mgmt_send()
770 cmd->desc_id = cpu_to_le32(buf_id); in ath12k_wmi_mgmt_send()
772 cmd->paddr_lo = cpu_to_le32(lower_32_bits(ATH12K_SKB_CB(frame)->paddr)); in ath12k_wmi_mgmt_send()
773 cmd->paddr_hi = cpu_to_le32(upper_32_bits(ATH12K_SKB_CB(frame)->paddr)); in ath12k_wmi_mgmt_send()
774 cmd->frame_len = cpu_to_le32(frame->len); in ath12k_wmi_mgmt_send()
775 cmd->buf_len = cpu_to_le32(buf_len); in ath12k_wmi_mgmt_send()
819 cmd->vdev_id = cpu_to_le32(args->if_id); in ath12k_wmi_vdev_create()
820 cmd->vdev_type = cpu_to_le32(args->type); in ath12k_wmi_vdev_create()
821 cmd->vdev_subtype = cpu_to_le32(args->subtype); in ath12k_wmi_vdev_create()
822 cmd->num_cfg_txrx_streams = cpu_to_le32(WMI_NUM_SUPPORTED_BAND_MAX); in ath12k_wmi_vdev_create()
[all …]
/openbmc/linux/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 …]
/openbmc/qemu/block/
H A Dvhdx-endian.c56 new_h->signature = cpu_to_le32(orig_h->signature); in vhdx_header_le_export()
57 new_h->checksum = cpu_to_le32(orig_h->checksum); in vhdx_header_le_export()
70 new_h->log_length = cpu_to_le32(orig_h->log_length); in vhdx_header_le_export()
91 d->signature = cpu_to_le32(d->signature); in vhdx_log_desc_le_export()
92 d->trailing_bytes = cpu_to_le32(d->trailing_bytes); in vhdx_log_desc_le_export()
111 d->data_signature = cpu_to_le32(d->data_signature); in vhdx_log_data_le_export()
112 d->sequence_high = cpu_to_le32(d->sequence_high); in vhdx_log_data_le_export()
113 d->sequence_low = cpu_to_le32(d->sequence_low); in vhdx_log_data_le_export()
135 hdr->signature = cpu_to_le32(hdr->signature); in vhdx_log_entry_hdr_le_export()
136 hdr->checksum = cpu_to_le32(hdr->checksum); in vhdx_log_entry_hdr_le_export()
[all …]
/openbmc/linux/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 …]
/openbmc/u-boot/drivers/power/
H A Dpower_i2c.c30 buf[2] = (cpu_to_le32(val) >> 16) & 0xff; in pmic_reg_write()
31 buf[1] = (cpu_to_le32(val) >> 8) & 0xff; in pmic_reg_write()
32 buf[0] = cpu_to_le32(val) & 0xff; in pmic_reg_write()
34 buf[0] = (cpu_to_le32(val) >> 16) & 0xff; in pmic_reg_write()
35 buf[1] = (cpu_to_le32(val) >> 8) & 0xff; in pmic_reg_write()
36 buf[2] = cpu_to_le32(val) & 0xff; in pmic_reg_write()
41 buf[1] = (cpu_to_le32(val) >> 8) & 0xff; in pmic_reg_write()
42 buf[0] = cpu_to_le32(val) & 0xff; in pmic_reg_write()
44 buf[0] = (cpu_to_le32(val) >> 8) & 0xff; in pmic_reg_write()
45 buf[1] = cpu_to_le32(val) & 0xff; in pmic_reg_write()
[all …]
/openbmc/linux/fs/dlm/
H A Drcom.c38 rc->rc_header.h_version = cpu_to_le32(DLM_HEADER_MAJOR | DLM_HEADER_MINOR); in _create_rcom()
39 rc->rc_header.u.h_lockspace = cpu_to_le32(ls->ls_global_id); in _create_rcom()
40 rc->rc_header.h_nodeid = cpu_to_le32(dlm_our_nodeid()); in _create_rcom()
44 rc->rc_type = cpu_to_le32(type); in _create_rcom()
105 rs->rs_flags = cpu_to_le32(flags); in set_rcom_status()
115 rf->rf_lvblen = cpu_to_le32(ls->ls_lvblen); in set_rcom_config()
116 rf->rf_lsflags = cpu_to_le32(ls->ls_exflags); in set_rcom_config()
120 rf->rf_generation = cpu_to_le32(ls->ls_generation); in set_rcom_config()
183 rc->rc_result = cpu_to_le32(dlm_recover_status(ls)); in dlm_rcom_status()
210 if (rc->rc_result == cpu_to_le32(-ESRCH)) { in dlm_rcom_status()
[all …]
/openbmc/u-boot/fs/ubifs/
H A Dsb.c166 sup->flags = cpu_to_le32(sup_flags); in create_default_filesystem()
167 sup->min_io_size = cpu_to_le32(c->min_io_size); in create_default_filesystem()
168 sup->leb_size = cpu_to_le32(c->leb_size); in create_default_filesystem()
169 sup->leb_cnt = cpu_to_le32(c->leb_cnt); in create_default_filesystem()
170 sup->max_leb_cnt = cpu_to_le32(c->max_leb_cnt); in create_default_filesystem()
172 sup->log_lebs = cpu_to_le32(log_lebs); in create_default_filesystem()
173 sup->lpt_lebs = cpu_to_le32(lpt_lebs); in create_default_filesystem()
174 sup->orph_lebs = cpu_to_le32(orph_lebs); in create_default_filesystem()
175 sup->jhead_cnt = cpu_to_le32(DEFAULT_JHEADS_CNT); in create_default_filesystem()
176 sup->fanout = cpu_to_le32(DEFAULT_FANOUT); in create_default_filesystem()
[all …]

12345678910>>...68