/Linux-v6.1/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 …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/drivers/staging/r8188eu/hal/ |
D | rtl8188eu_xmit.c | 30 ptxdesc->txdw7 &= cpu_to_le32(0xffff0000); in rtl8188eu_cal_txdesc_chksum() 34 ptxdesc->txdw7 |= cpu_to_le32(0x0000ffff & checksum); in rtl8188eu_cal_txdesc_chksum() 49 ptxdesc->txdw0 |= cpu_to_le32(OWN | FSG | LSG); /* own, bFirstSeg, bLastSeg; */ in rtl8188e_fill_fake_txdesc() 51 …ptxdesc->txdw0 |= cpu_to_le32(((TXDESC_SIZE + OFFSET_SZ) << OFFSET_SHT) & 0x00ff0000); /* 32 bytes… in rtl8188e_fill_fake_txdesc() 53 ptxdesc->txdw0 |= cpu_to_le32(BufferLen & 0x0000ffff); /* Buffer size + command header */ in rtl8188e_fill_fake_txdesc() 56 …ptxdesc->txdw1 |= cpu_to_le32((QSLT_MGNT << QSEL_SHT) & 0x00001f00); /* Fixed queue of Mgnt queue… in rtl8188e_fill_fake_txdesc() 60 ptxdesc->txdw1 |= cpu_to_le32(NAVUSEHDR); in rtl8188e_fill_fake_txdesc() 62 ptxdesc->txdw4 |= cpu_to_le32(BIT(7)); /* Hw set sequence number */ in rtl8188e_fill_fake_txdesc() 63 ptxdesc->txdw3 |= cpu_to_le32((8 << 28)); /* set bit3 to 1. Suugested by TimChen. 2009.12.29. */ in rtl8188e_fill_fake_txdesc() 67 ptxdesc->txdw2 |= cpu_to_le32(BIT(23)); /* BT NULL */ in rtl8188e_fill_fake_txdesc() [all …]
|
/Linux-v6.1/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 …]
|
D | dwmac4_descs.c | 190 p->des3 |= cpu_to_le32(TDES3_OWN); in dwmac4_set_tx_owner() 195 p->des3 |= cpu_to_le32(RDES3_OWN | RDES3_BUFFER1_VALID_ADDR); in dwmac4_set_rx_owner() 198 p->des3 |= cpu_to_le32(RDES3_INT_ON_COMPLETION_EN); in dwmac4_set_rx_owner() 214 p->des2 |= cpu_to_le32(TDES2_TIMESTAMP_ENABLE); in dwmac4_rd_enable_tx_timestamp() 319 p->des2 |= cpu_to_le32(len & TDES2_BUFFER1_SIZE_MASK); in dwmac4_rd_prepare_tx_desc() 348 p->des3 = cpu_to_le32(tdes3); in dwmac4_rd_prepare_tx_desc() 359 p->des2 |= cpu_to_le32((len1 & TDES2_BUFFER1_SIZE_MASK)); in dwmac4_rd_prepare_tso_tx_desc() 362 p->des2 |= cpu_to_le32((len2 << TDES2_BUFFER2_SIZE_MASK_SHIFT) in dwmac4_rd_prepare_tso_tx_desc() 391 p->des3 = cpu_to_le32(tdes3); in dwmac4_rd_prepare_tso_tx_desc() 404 p->des2 |= cpu_to_le32(TDES2_INTERRUPT_ON_COMPLETION); in dwmac4_rd_set_tx_ic() [all …]
|
/Linux-v6.1/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 …]
|
D | mac-ctxt.c | 419 cmd->protection_flags |= cpu_to_le32(ht_flag); in iwl_mvm_mac_ctxt_set_ht_flags() 424 cmd->protection_flags |= cpu_to_le32(ht_flag); in iwl_mvm_mac_ctxt_set_ht_flags() 447 cmd->id_and_color = cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->id, in iwl_mvm_mac_ctxt_cmd_common() 449 cmd->action = cpu_to_le32(action); in iwl_mvm_mac_ctxt_cmd_common() 454 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_P2P_STA); in iwl_mvm_mac_ctxt_cmd_common() 456 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_BSS_STA); in iwl_mvm_mac_ctxt_cmd_common() 459 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_GO); in iwl_mvm_mac_ctxt_cmd_common() 462 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_LISTENER); in iwl_mvm_mac_ctxt_cmd_common() 465 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_P2P_DEVICE); in iwl_mvm_mac_ctxt_cmd_common() 468 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_IBSS); in iwl_mvm_mac_ctxt_cmd_common() [all …]
|
/Linux-v6.1/fs/smbfs_common/ |
D | smb2pdu.h | 110 #define SMB2_PROTO_NUMBER cpu_to_le32(0x424d53fe) 111 #define SMB2_TRANSFORM_PROTO_NUM cpu_to_le32(0x424d53fd) 112 #define SMB2_COMPRESSION_TRANSFORM_ID cpu_to_le32(0x424d53fc) 117 #define SMB2_FLAGS_SERVER_TO_REDIR cpu_to_le32(0x00000001) 118 #define SMB2_FLAGS_ASYNC_COMMAND cpu_to_le32(0x00000002) 119 #define SMB2_FLAGS_RELATED_OPERATIONS cpu_to_le32(0x00000004) 120 #define SMB2_FLAGS_SIGNED cpu_to_le32(0x00000008) 121 #define SMB2_FLAGS_PRIORITY_MASK cpu_to_le32(0x00000070) /* SMB3.1.1 */ 122 #define SMB2_FLAGS_DFS_OPERATIONS cpu_to_le32(0x10000000) 123 #define SMB2_FLAGS_REPLAY_OPERATION cpu_to_le32(0x20000000) /* SMB3 & up */ [all …]
|
/Linux-v6.1/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-v6.1/drivers/net/wireless/silabs/wfx/ |
D | hif_api_general.h | 62 #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 …]
|
/Linux-v6.1/drivers/gpu/drm/virtio/ |
D | virtgpu_vq.c | 48 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() 500 cmd_p->hdr.type = cpu_to_le32(VIRTIO_GPU_CMD_RESOURCE_CREATE_2D); in virtio_gpu_cmd_create_resource() 501 cmd_p->resource_id = cpu_to_le32(bo->hw_res_handle); in virtio_gpu_cmd_create_resource() [all …]
|
/Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/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-v6.1/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-v6.1/fs/dlm/ |
D | rcom.c | 37 rc->rc_header.h_version = cpu_to_le32(DLM_HEADER_MAJOR | DLM_HEADER_MINOR); in _create_rcom() 38 rc->rc_header.u.h_lockspace = cpu_to_le32(ls->ls_global_id); in _create_rcom() 39 rc->rc_header.h_nodeid = cpu_to_le32(dlm_our_nodeid()); in _create_rcom() 43 rc->rc_type = cpu_to_le32(type); in _create_rcom() 106 rs->rs_flags = cpu_to_le32(flags); in set_rcom_status() 116 rf->rf_lvblen = cpu_to_le32(ls->ls_lvblen); in set_rcom_config() 117 rf->rf_lsflags = cpu_to_le32(ls->ls_exflags); in set_rcom_config() 121 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() 209 if (rc->rc_result == cpu_to_le32(-ESRCH)) { in dlm_rcom_status() [all …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | commands.h | 314 #define UCODE_VALID_OK cpu_to_le32(0x1) 473 #define RXON_FLG_BAND_24G_MSK cpu_to_le32(1 << 0) 474 #define RXON_FLG_CCK_MSK cpu_to_le32(1 << 1) 476 #define RXON_FLG_AUTO_DETECT_MSK cpu_to_le32(1 << 2) 478 #define RXON_FLG_TGG_PROTECT_MSK cpu_to_le32(1 << 3) 480 #define RXON_FLG_SHORT_SLOT_MSK cpu_to_le32(1 << 4) 481 #define RXON_FLG_SHORT_PREAMBLE_MSK cpu_to_le32(1 << 5) 483 #define RXON_FLG_DIS_DIV_MSK cpu_to_le32(1 << 7) 484 #define RXON_FLG_ANT_SEL_MSK cpu_to_le32(0x0f00) 485 #define RXON_FLG_ANT_A_MSK cpu_to_le32(1 << 8) [all …]
|
/Linux-v6.1/drivers/media/pci/tw68/ |
D | tw68-risc.c | 42 *(rp++) = cpu_to_le32(RISC_JUMP); in tw68_risc_field() 48 *(rp++) = cpu_to_le32(RISC_SYNCO); in tw68_risc_field() 50 *(rp++) = cpu_to_le32(RISC_SYNCE); in tw68_risc_field() 63 *(rp++) = cpu_to_le32(RISC_LINESTART | in tw68_risc_field() 65 *(rp++) = cpu_to_le32(sg_dma_address(sg) + offset); in tw68_risc_field() 77 *(rp++) = cpu_to_le32(RISC_LINESTART | in tw68_risc_field() 80 *(rp++) = cpu_to_le32(sg_dma_address(sg) + offset); in tw68_risc_field() 85 *(rp++) = cpu_to_le32(RISC_INLINE | in tw68_risc_field() 88 *(rp++) = cpu_to_le32(sg_dma_address(sg)); in tw68_risc_field() 95 *(rp++) = cpu_to_le32(RISC_INLINE | in tw68_risc_field() [all …]
|