| /Linux-v5.15/fs/ksmbd/ |
| D | smbstatus.h | 19 #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 …]
|
| D | vfs.h | 29 #define FILE_DIRECTORY_FILE_LE cpu_to_le32(0x00000001) 30 #define FILE_WRITE_THROUGH_LE cpu_to_le32(0x00000002) 31 #define FILE_SEQUENTIAL_ONLY_LE cpu_to_le32(0x00000004) 34 #define FILE_NO_INTERMEDIATE_BUFFERING_LE cpu_to_le32(0x00000008) 36 #define FILE_SYNCHRONOUS_IO_ALERT_LE cpu_to_le32(0x00000010) 38 #define FILE_SYNCHRONOUS_IO_NONALERT_LE cpu_to_le32(0x00000020) 41 #define FILE_NON_DIRECTORY_FILE_LE cpu_to_le32(0x00000040) 44 #define CREATE_TREE_CONNECTION cpu_to_le32(0x00000080) 45 #define FILE_COMPLETE_IF_OPLOCKED_LE cpu_to_le32(0x00000100) 46 #define FILE_NO_EA_KNOWLEDGE_LE cpu_to_le32(0x00000200) [all …]
|
| D | smb2pdu.h | 110 #define SMB2_PROTO_NUMBER cpu_to_le32(0x424d53fe) /* 'B''M''S' */ 111 #define SMB2_TRANSFORM_PROTO_NUM cpu_to_le32(0x424d53fd) 184 #define SMB2_FLAGS_SERVER_TO_REDIR cpu_to_le32(0x00000001) 185 #define SMB2_FLAGS_ASYNC_COMMAND cpu_to_le32(0x00000002) 186 #define SMB2_FLAGS_RELATED_OPERATIONS cpu_to_le32(0x00000004) 187 #define SMB2_FLAGS_SIGNED cpu_to_le32(0x00000008) 188 #define SMB2_FLAGS_DFS_OPERATIONS cpu_to_le32(0x10000000) 189 #define SMB2_FLAGS_REPLAY_OPERATIONS cpu_to_le32(0x20000000) 466 #define SMB2_SHARE_CAP_DFS cpu_to_le32(0x00000008) 480 #define ATTR_READONLY_LE cpu_to_le32(ATTR_READONLY) [all …]
|
| /Linux-v5.15/fs/cifs/ |
| D | smb2status.h | 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) 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 …]
|
| D | smb2pdu.h | 79 #define SMB2_PROTO_NUMBER cpu_to_le32(0x424d53fe) 80 #define SMB2_TRANSFORM_PROTO_NUM cpu_to_le32(0x424d53fd) 81 #define SMB2_COMPRESSION_TRANSFORM_ID cpu_to_le32(0x424d53fc) 195 #define SMB2_FLAGS_SERVER_TO_REDIR cpu_to_le32(0x00000001) 196 #define SMB2_FLAGS_ASYNC_COMMAND cpu_to_le32(0x00000002) 197 #define SMB2_FLAGS_RELATED_OPERATIONS cpu_to_le32(0x00000004) 198 #define SMB2_FLAGS_SIGNED cpu_to_le32(0x00000008) 199 #define SMB2_FLAGS_PRIORITY_MASK cpu_to_le32(0x00000070) /* SMB3.1.1 */ 200 #define SMB2_FLAGS_DFS_OPERATIONS cpu_to_le32(0x10000000) 201 #define SMB2_FLAGS_REPLAY_OPERATION cpu_to_le32(0x20000000) /* SMB3 & up */ [all …]
|
| /Linux-v5.15/fs/ntfs/ |
| D | layout.h | 92 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 …]
|
| D | usnjrnl.h | 105 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 …]
|
| /Linux-v5.15/drivers/net/ethernet/3com/ |
| D | typhoon.h | 177 #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 …]
|
| /Linux-v5.15/fs/ntfs3/ |
| D | ntfs.h | 109 ATTR_ZERO = cpu_to_le32(0x00), 110 ATTR_STD = cpu_to_le32(0x10), 111 ATTR_LIST = cpu_to_le32(0x20), 112 ATTR_NAME = cpu_to_le32(0x30), 114 ATTR_ID = cpu_to_le32(0x40), 115 ATTR_SECURE = cpu_to_le32(0x50), 116 ATTR_LABEL = cpu_to_le32(0x60), 117 ATTR_VOL_INFO = cpu_to_le32(0x70), 118 ATTR_DATA = cpu_to_le32(0x80), 119 ATTR_ROOT = cpu_to_le32(0x90), [all …]
|
| /Linux-v5.15/drivers/staging/r8188eu/hal/ |
| D | rtl8188eu_xmit.c | 39 ptxdesc->txdw7 &= cpu_to_le32(0xffff0000); in rtl8188eu_cal_txdesc_chksum() 43 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 …]
|
| /Linux-v5.15/drivers/net/ethernet/stmicro/stmmac/ |
| D | descs_com.h | 26 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 …]
|
| D | dwxgmac2_descs.c | 54 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 …]
|
| /Linux-v5.15/drivers/net/wireless/intel/iwlwifi/mvm/ |
| D | sf.c | 48 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 …]
|
| /Linux-v5.15/drivers/usb/gadget/function/ |
| D | rndis.c | 67 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 …]
|
| /Linux-v5.15/fs/dlm/ |
| D | util.c | 25 hd->h_version = cpu_to_le32(hd->h_version); in header_out() 27 hd->u.h_lockspace = cpu_to_le32(hd->u.h_lockspace); in header_out() 28 hd->h_nodeid = cpu_to_le32(hd->h_nodeid); in header_out() 90 ms->m_type = cpu_to_le32(ms->m_type); in dlm_message_out() 91 ms->m_nodeid = cpu_to_le32(ms->m_nodeid); in dlm_message_out() 92 ms->m_pid = cpu_to_le32(ms->m_pid); in dlm_message_out() 93 ms->m_lkid = cpu_to_le32(ms->m_lkid); in dlm_message_out() 94 ms->m_remid = cpu_to_le32(ms->m_remid); in dlm_message_out() 95 ms->m_parent_lkid = cpu_to_le32(ms->m_parent_lkid); in dlm_message_out() 96 ms->m_parent_remid = cpu_to_le32(ms->m_parent_remid); in dlm_message_out() [all …]
|
| /Linux-v5.15/drivers/staging/wfx/ |
| D | hif_api_general.h | 68 #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 …]
|
| /Linux-v5.15/drivers/gpu/drm/virtio/ |
| D | virtgpu_vq.c | 46 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() 224 if (resp->type != cpu_to_le32(VIRTIO_GPU_RESP_OK_NODATA)) { in virtio_gpu_dequeue_ctrl_func() 234 if (resp->flags & cpu_to_le32(VIRTIO_GPU_FLAG_FENCE)) { in virtio_gpu_dequeue_ctrl_func() 513 cmd_p->hdr.type = cpu_to_le32(VIRTIO_GPU_CMD_RESOURCE_CREATE_2D); in virtio_gpu_cmd_create_resource() 514 cmd_p->resource_id = cpu_to_le32(bo->hw_res_handle); in virtio_gpu_cmd_create_resource() [all …]
|
| /Linux-v5.15/drivers/staging/rtl8712/ |
| D | rtl8712_xmit.c | 255 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 …]
|
| /Linux-v5.15/drivers/gpu/drm/radeon/ |
| D | radeon_vce.c | 363 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 …]
|
| /Linux-v5.15/drivers/usb/gadget/legacy/ |
| D | webcam.c | 95 .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 …]
|
| /Linux-v5.15/drivers/net/wireless/intel/iwlegacy/ |
| D | commands.h | 381 #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 …]
|
| /Linux-v5.15/drivers/scsi/aacraid/ |
| D | comminit.c | 115 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 …]
|
| /Linux-v5.15/fs/ceph/ |
| D | metric.c | 50 cap->header.type = cpu_to_le32(CLIENT_METRIC_TYPE_CAP_INFO); in ceph_mdsc_send_metrics() 53 cap->header.data_len = cpu_to_le32(sizeof(*cap) - header_len); in ceph_mdsc_send_metrics() 61 read->header.type = cpu_to_le32(CLIENT_METRIC_TYPE_READ_LATENCY); in ceph_mdsc_send_metrics() 64 read->header.data_len = cpu_to_le32(sizeof(*read) - header_len); in ceph_mdsc_send_metrics() 67 read->sec = cpu_to_le32(ts.tv_sec); in ceph_mdsc_send_metrics() 68 read->nsec = cpu_to_le32(ts.tv_nsec); in ceph_mdsc_send_metrics() 73 write->header.type = cpu_to_le32(CLIENT_METRIC_TYPE_WRITE_LATENCY); in ceph_mdsc_send_metrics() 76 write->header.data_len = cpu_to_le32(sizeof(*write) - header_len); in ceph_mdsc_send_metrics() 79 write->sec = cpu_to_le32(ts.tv_sec); in ceph_mdsc_send_metrics() 80 write->nsec = cpu_to_le32(ts.tv_nsec); in ceph_mdsc_send_metrics() [all …]
|
| /Linux-v5.15/drivers/net/wireless/intel/iwlwifi/fw/ |
| D | dbg.c | 43 (*dump_data)->type = cpu_to_le32(IWL_FW_ERROR_DUMP_RADIO_REG); in iwl_read_radio_regs() 44 (*dump_data)->len = cpu_to_le32(RADIO_REG_MAX_READ); in iwl_read_radio_regs() 79 (*dump_data)->type = cpu_to_le32(IWL_FW_ERROR_DUMP_RXF); in iwl_fwrt_dump_rxf() 80 (*dump_data)->len = cpu_to_le32(fifo_len + sizeof(*fifo_hdr)); in iwl_fwrt_dump_rxf() 82 fifo_hdr->fifo_num = cpu_to_le32(fifo_num); in iwl_fwrt_dump_rxf() 84 cpu_to_le32(iwl_trans_read_prph(fwrt->trans, in iwl_fwrt_dump_rxf() 87 cpu_to_le32(iwl_trans_read_prph(fwrt->trans, in iwl_fwrt_dump_rxf() 90 cpu_to_le32(iwl_trans_read_prph(fwrt->trans, in iwl_fwrt_dump_rxf() 93 cpu_to_le32(iwl_trans_read_prph(fwrt->trans, in iwl_fwrt_dump_rxf() 96 cpu_to_le32(iwl_trans_read_prph(fwrt->trans, in iwl_fwrt_dump_rxf() [all …]
|
| /Linux-v5.15/drivers/net/wireless/intersil/p54/ |
| D | p54usb.c | 291 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), ®);\ in p54u_upload_firmware_net2280() 658 reg |= cpu_to_le32(P54U_BRG_POWER_DOWN); in p54u_upload_firmware_net2280() [all …]
|