/freebsd/sys/dev/rtwn/rtl8812a/ |
H A D | r12a_reg.h | 36 #define R12A_SDIO_CTRL 0x070 37 #define R12A_RF_B_CTRL 0x076 39 #define R12A_RXDMA_PRO 0x290 40 #define R12A_EARLY_MODE_CONTROL 0x2bc 42 #define R12A_TXPKT_EMPTY 0x41a 43 #define R12A_ARFR_5G(i) (0x444 + (i) * 8) 44 #define R12A_CCK_CHECK 0x454 45 #define R12A_AMPDU_MAX_TIME 0x456 47 #define R12A_DATA_SEC 0x483 48 #define R12A_DATA_SEC_TXSC_20M_M 0x0000000f [all …]
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | nvm_cfg.h | 43 #define NVM_CFG_version 0x83306 54 #define NVM_CFG_MAC_ADDRESS_HI_MASK 0x0000FFFF 55 #define NVM_CFG_MAC_ADDRESS_HI_OFFSET 0 64 u32 generic_cont0; /* 0x0 */ 65 #define NVM_CFG1_GLOB_BOARD_SWAP_MASK 0x0000000F 66 #define NVM_CFG1_GLOB_BOARD_SWAP_OFFSET 0 67 #define NVM_CFG1_GLOB_BOARD_SWAP_NONE 0x0 68 #define NVM_CFG1_GLOB_BOARD_SWAP_PATH 0x1 69 #define NVM_CFG1_GLOB_BOARD_SWAP_PORT 0x2 70 #define NVM_CFG1_GLOB_BOARD_SWAP_BOTH 0x3 [all …]
|
/freebsd/sys/dev/ath/ath_hal/ar5416/ |
H A D | ar5416desc.h | 29 #define _get_index(_ah) ( IS_5416V1(_ah) ? -4 : 0 ) 68 uint32_t ds_ctl0; /* DMA control 0 */ 104 #define AR_FrameLen 0x00000fff 105 #define AR_VirtMoreFrag 0x00001000 106 #define AR_TxCtlRsvd00 0x0000e000 107 #define AR_XmitPower 0x003f0000 109 #define AR_RTSEnable 0x00400000 110 #define AR_VEOL 0x00800000 111 #define AR_ClrDestMask 0x01000000 112 #define AR_TxCtlRsvd01 0x1e000000 [all …]
|
/freebsd/contrib/wpa/src/crypto/ |
H A D | aes_i.h | 35 #define TE0(i) Te0[((i) >> 24) & 0xff] 36 #define TE1(i) Te1[((i) >> 16) & 0xff] 37 #define TE2(i) Te2[((i) >> 8) & 0xff] 38 #define TE3(i) Te3[(i) & 0xff] 39 #define TE41(i) (Te4[((i) >> 24) & 0xff] & 0xff000000) 40 #define TE42(i) (Te4[((i) >> 16) & 0xff] & 0x00ff0000) 41 #define TE43(i) (Te4[((i) >> 8) & 0xff] & 0x0000ff00) 42 #define TE44(i) (Te4[(i) & 0xff] & 0x000000ff) 43 #define TE421(i) (Te4[((i) >> 16) & 0xff] & 0xff000000) 44 #define TE432(i) (Te4[((i) >> 8) & 0xff] & 0x00ff0000) [all …]
|
/freebsd/contrib/llvm-project/lld/ELF/Arch/ |
H A D | Hexagon.cpp | 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 56 defaultMaxPageSize = 0x10000; in Hexagon() 71 return ret.value_or(/* Default Arch Rev: */ 0x60); in calcEFlags() 75 uint32_t result = 0; in applyMask() 76 size_t off = 0; in applyMask() 78 for (size_t bit = 0; bit != 32; ++bit) { in applyMask() 170 {0x38000000, 0x0000201f}, {0x39000000, 0x0000201f}, 171 {0x3e000000, 0x00001f80}, {0x3f000000, 0x00001f80}, 172 {0x40000000, 0x000020f8}, {0x41000000, 0x000007e0}, 173 {0x42000000, 0x000020f8}, {0x43000000, 0x000007e0}, [all …]
|
/freebsd/sys/dev/mpt/mpilib/ |
H A D | mpi_fc.h | 102 #define LINK_SERVICE_BUFFER_POST_FLAGS_PORT_MASK (0x01) 109 U32 NodeNameLow; /* 0Ch */ 124 U16 Reserved2; /* 0Ch */ 125 U16 IOCStatus; /* 0Eh */ 142 #define MPI_LS_BUF_POST_REPLY_FLAG_NO_RSP_NEEDED (0x80) 144 #define MPI_FC_DID_MASK (0x00FFFFFF) 145 #define MPI_FC_DID_SHIFT (0) 146 #define MPI_FC_RCTL_MASK (0xFF000000) 148 #define MPI_FC_SID_MASK (0x00FFFFFF) 149 #define MPI_FC_SID_SHIFT (0) [all …]
|
/freebsd/sys/contrib/dev/rtw89/ |
H A D | rtw8851b_rfk_table.c | 8 RTW89_DECL_RFK_WM(0xc210, 0x003fc000, 0x80), 9 RTW89_DECL_RFK_WM(0xc224, 0x003fc000, 0x80), 10 RTW89_DECL_RFK_WM(0xc0f8, 0x30000000, 0x3), 11 RTW89_DECL_RFK_WM(0x12b8, BIT(30), 0x1), 12 RTW89_DECL_RFK_WM(0x030c, 0x1f000000, 0x1f), 13 RTW89_DECL_RFK_WM(0x032c, 0xc0000000, 0x0), 14 RTW89_DECL_RFK_WM(0x032c, BIT(22), 0x0), 15 RTW89_DECL_RFK_WM(0x032c, BIT(22), 0x1), 16 RTW89_DECL_RFK_WM(0x032c, BIT(16), 0x0), 17 RTW89_DECL_RFK_WM(0x032c, BIT(20), 0x1), [all …]
|
H A D | rtw8852a_rfk_table.c | 8 RTW89_DECL_RFK_WM(0x12a8, 0x00000001, 0x00000001), 9 RTW89_DECL_RFK_WM(0x12a8, 0x0000000e, 0x00000002), 10 RTW89_DECL_RFK_WM(0x32a8, 0x00000001, 0x00000001), 11 RTW89_DECL_RFK_WM(0x32a8, 0x0000000e, 0x00000002), 12 RTW89_DECL_RFK_WM(0x12bc, 0x000000f0, 0x00000005), 13 RTW89_DECL_RFK_WM(0x12bc, 0x00000f00, 0x00000005), 14 RTW89_DECL_RFK_WM(0x12bc, 0x000f0000, 0x00000005), 15 RTW89_DECL_RFK_WM(0x12bc, 0x0000f000, 0x00000005), 16 RTW89_DECL_RFK_WM(0x120c, 0x000000ff, 0x00000033), 17 RTW89_DECL_RFK_WM(0x12c0, 0x0ff00000, 0x00000033), [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/arm/ |
H A D | comparesf2.S | 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 22 // 0 if a == b 27 // 0 if a == b 31 // __unordsf2(a,b) returns 0 if both a and b are numbers 99 // a > b, this sets r0 to 0; if both are positive and a < b, this sets 105 // negative, this places 0 in r0; if a is negative and b positive, -1 is 110 // b < 0 ? 1 : -1. Same if a and b have the opposite sign (ignoring Nan). 140 // 0 if a >= b. All that remains to be done is to set it to 1 if a > b. 143 // For Thumb-1, r0 contains -1 if a < b, 0 if a > b and 0 if a == b. 153 movs r6, #0xff [all …]
|
/freebsd/sys/netinet/ |
H A D | in_cksum.c | 65 sum = q_util.s[0] + q_util.s[1] + q_util.s[2] + q_util.s[3]; \ 70 l_util.l = q_util.s[0] + q_util.s[1] + q_util.s[2] + q_util.s[3]; \ 71 sum = l_util.s[0] + l_util.s[1]; \ 77 /*0 bytes*/ /*1 byte*/ /*2 bytes*/ /*3 bytes*/ 78 0x00000000, 0x000000FF, 0x0000FFFF, 0x00FFFFFF, /* offset 0 */ 79 0x00000000, 0x0000FF00, 0x00FFFF00, 0xFFFFFF00, /* offset 1 */ 80 0x00000000, 0x00FF0000, 0xFFFF0000, 0xFFFF0000, /* offset 2 */ 81 0x00000000, 0xFF000000, 0xFF000000, 0xFF000000, /* offset 3 */ 83 /*0 bytes*/ /*1 byte*/ /*2 bytes*/ /*3 bytes*/ 84 0x00000000, 0xFF000000, 0xFFFF0000, 0xFFFFFF00, /* offset 0 */ [all …]
|
/freebsd/sys/dev/rtwn/rtl8192c/ |
H A D | r92c_reg.h | 28 #define R92C_SYS_ISO_CTRL 0x000 29 #define R92C_SYS_FUNC_EN 0x002 30 #define R92C_APS_FSMCO 0x004 31 #define R92C_SYS_CLKR 0x008 32 #define R92C_AFE_MISC 0x010 33 #define R92C_SPS0_CTRL 0x011 34 #define R92C_SPS_OCP_CFG 0x018 35 #define R92C_RSV_CTRL 0x01c 36 #define R92C_RF_CTRL 0x01f 37 #define R92C_LDOA15_CTRL 0x020 [all …]
|
/freebsd/contrib/opencsd/decoder/source/i_dec/ |
H A D | trc_idec_arminst.cpp | 48 if ((inst & 0xf0000000) == 0xf0000000) { in inst_ARM_is_direct_branch() 50 if ((inst & 0xfe000000) == 0xfa000000){ in inst_ARM_is_direct_branch() 53 is_direct_branch = 0; in inst_ARM_is_direct_branch() 55 } else if ((inst & 0x0e000000) == 0x0a000000) { in inst_ARM_is_direct_branch() 58 is_direct_branch = 0; in inst_ARM_is_direct_branch() 65 if ( ((inst & 0xf0000000) != 0xf0000000) && in inst_ARM_wfiwfe() 66 ((inst & 0x0ffffffe) == 0x0320f002) in inst_ARM_wfiwfe() 70 return 0; in inst_ARM_wfiwfe() 76 if ((inst & 0xf0000000) == 0xf0000000) { in inst_ARM_is_indirect_branch() 78 if ((inst & 0xfe500000) == 0xf8100000) { in inst_ARM_is_indirect_branch() [all …]
|
/freebsd/sys/dev/sound/pci/ |
H A D | via8233.h | 42 #define VIA_PCI_SPDIF 0x49 43 #define VIA_SPDIF_EN 0x08 45 #define VIA_DXS0_BASE 0x00 46 #define VIA_DXS1_BASE 0x10 47 #define VIA_DXS2_BASE 0x20 48 #define VIA_DXS3_BASE 0x30 49 #define VIA_DXS_BASE(n) (0x10 * (n)) 52 #define VIA8233_RP_DXS_LVOL 0x02 53 #define VIA8233_RP_DXS_RVOL 0x03 54 #define VIA8233_DXS_MUTE 0x3f [all …]
|
/freebsd/sys/dev/agp/ |
H A D | agpreg.h | 35 #define AGP_APBASE PCIR_BAR(0) 40 #define AGP_CAPID 0x0 41 #define AGP_STATUS 0x4 42 #define AGP_COMMAND 0x8 43 #define AGP_STATUS_AGP3 0x0008 44 #define AGP_STATUS_RQ_MASK 0xff000000 45 #define AGP_COMMAND_RQ_MASK 0xff000000 46 #define AGP_STATUS_ARQSZ_MASK 0xe000 47 #define AGP_COMMAND_ARQSZ_MASK 0xe000 48 #define AGP_STATUS_CAL_MASK 0x1c00 [all …]
|
/freebsd/sys/contrib/device-tree/src/powerpc/ |
H A D | adder875-uboot.dts | 24 #size-cells = <0>; 26 PowerPC,875@0 { 28 reg = <0>; 33 timebase-frequency = <0>; 34 bus-frequency = <0>; 35 clock-frequency = <0>; 43 reg = <0 0x01000000>; 51 reg = <0xff000100 0x40>; 54 0 0 0xfe000000 0x01000000 57 flash@0,0 { [all …]
|
H A D | mpc866ads.dts | 19 #size-cells = <0>; 21 PowerPC,866@0 { 23 reg = <0x0>; 26 d-cache-size = <0x2000>; // L1, 8K 27 i-cache-size = <0x4000>; // L1, 16K 28 timebase-frequency = <0>; 29 bus-frequency = <0>; 30 clock-frequency = <0>; 38 reg = <0x0 0x800000>; 45 reg = <0xff000100 0x40>; [all …]
|
/freebsd/sys/contrib/openzfs/module/icp/algs/aes/ |
H A D | aes_impl_generic.c | 30 * "optimized C code v3.0" on the "rijndael home page" 74 * Td0[x] = Si[x].[0e, 09, 0d, 0b]; 75 * Td1[x] = Si[x].[0b, 0e, 09, 0d]; 76 * Td2[x] = Si[x].[0d, 0b, 0e, 09]; 77 * Td3[x] = Si[x].[09, 0d, 0b, 0e]; 85 0xc66363a5U, 0xf87c7c84U, 0xee777799U, 0xf67b7b8dU, 86 0xfff2f20dU, 0xd66b6bbdU, 0xde6f6fb1U, 0x91c5c554U, 87 0x60303050U, 0x02010103U, 0xce6767a9U, 0x562b2b7dU, 88 0xe7fefe19U, 0xb5d7d762U, 0x4dababe6U, 0xec76769aU, 89 0x8fcaca45U, 0x1f82829dU, 0x89c9c940U, 0xfa7d7d87U, [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/mtd/ |
H A D | mtd-physmap.yaml | 154 reg = <0xff000000 0x01000000>; 160 ranges = <0 0xff000000 0x01000000>; 162 fs@0 { 164 reg = <0 0xf80000>; 168 reg = <0xf80000 0x80000>; 176 flash@0 { 178 reg = <0x00000000 0x02000000>, 179 <0x02000000 0x02000000>; 184 ranges = <0 0 0x04000000>; 186 partition@0 { [all …]
|
/freebsd/sys/cddl/dev/fbt/arm/ |
H A D | fbt_isa.c | 40 #define FBT_PUSHM 0xe92d0000 41 #define FBT_POPM 0xe8bd0000 42 #define FBT_JUMP 0xea000000 43 #define FBT_SUBSP 0xe24dd000 58 if (fbt->fbtp_roffset == 0) { in fbt_invop() 69 0, 0, 0); in fbt_invop() 72 cpu->cpu_dtrace_caller = 0; in fbt_invop() 76 return (0); in fbt_invop() 98 return (0); in fbt_provide_module_function() 107 if ((*instr & 0xfffff000) == FBT_SUBSP) in fbt_provide_module_function() [all …]
|
/freebsd/tools/tools/netmap/ |
H A D | pkt_hash.h | 42 #define unlikely(x) __builtin_expect(!!(x), 0) 48 #define HTONS(n) (((((unsigned short)(n) & 0xFF)) << 8) | \ 49 (((unsigned short)(n) & 0xFF00) >> 8)) 50 #define NTOHS(n) (((((unsigned short)(n) & 0xFF)) << 8) | \ 51 (((unsigned short)(n) & 0xFF00) >> 8)) 53 #define HTONL(n) (((((unsigned long)(n) & 0xFF)) << 24) | \ 54 ((((unsigned long)(n) & 0xFF00)) << 8) | \ 55 ((((unsigned long)(n) & 0xFF0000)) >> 8) | \ 56 ((((unsigned long)(n) & 0xFF000000)) >> 24)) 58 #define NTOHL(n) (((((unsigned long)(n) & 0xFF)) << 24) | \ [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/ARM64/ |
H A D | EmulateInstructionARM64.cpp | 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 29 #define GPR_OFFSET_NAME(reg) 0 31 #define FPU_OFFSET_NAME(reg) 0 32 #define EXC_OFFSET_NAME(reg) 0 33 #define DBG_OFFSET_NAME(reg) 0 34 #define DBG_OFFSET_NAME(reg) 0 36 "na", nullptr, 8, 0, lldb::eEncodingUint, lldb::eFormatHex, \ 61 #define No_VFP 0 77 static inline bool IsZero(uint64_t x) { return x == 0; } in IsZero() 85 if (shift == 0) in LSL() [all …]
|
/freebsd/crypto/heimdal/appl/telnet/libtelnet/ |
H A D | spx.c | 94 static unsigned char str_data[1024] = { IAC, SB, TELOPT_AUTHENTICATION, 0, 99 #define SPX_AUTH 0 /* Authentication data follows */ 104 static des_cblock challenge = { 0 }; 111 int major_status, status, msg_ctx = 0, new_status; 112 int req_flags = 0, ret_flags, lifetime_rec; 121 int to_addr=0, from_addr=0; 144 if (0) { 155 while (c-- > 0) { 186 0, 192 if (major_status != GSS_S_COMPLETE) return(0); [all …]
|
/freebsd/crypto/libecc/include/libecc/hash/ |
H A D | bash.h | 28 #define BASH_ROTHI(x, y) ((((y) < (sizeof(u64) * 8)) && ((y) > 0)) ? (_BASH_ROTHI_(x, y)) : (x)) 55 } while(0) 60 S[ 0] = S_[15]; S[ 1] = S_[10]; S[ 2] = S_[ 9]; S[ 3] = S_[12]; \ 64 S[16] = S_[ 6]; S[17] = S_[ 3]; S[18] = S_[ 0]; S[19] = S_[ 5]; \ 66 } while(0) 70 0x3bf5080ac8ba94b1ULL, 71 0xc1d1659c1bbd92f6ULL, 72 0x60e8b2ce0ddec97bULL, 73 0xec5fb8fe790fbc13ULL, 74 0xaa043de6436706a7ULL, [all …]
|
/freebsd/contrib/bearssl/src/symcipher/ |
H A D | des_support.c | 40 t = ((l >> 4) ^ r) & (uint32_t)0x0F0F0F0F; in br_des_do_IP() 43 t = ((l >> 16) ^ r) & (uint32_t)0x0000FFFF; in br_des_do_IP() 46 t = ((r >> 2) ^ l) & (uint32_t)0x33333333; in br_des_do_IP() 49 t = ((r >> 8) ^ l) & (uint32_t)0x00FF00FF; in br_des_do_IP() 52 t = ((l >> 1) ^ r) & (uint32_t)0x55555555; in br_des_do_IP() 70 t = ((l >> 1) ^ r) & 0x55555555; in br_des_do_invIP() 73 t = ((r >> 8) ^ l) & 0x00FF00FF; in br_des_do_invIP() 76 t = ((r >> 2) ^ l) & 0x33333333; in br_des_do_invIP() 79 t = ((l >> 16) ^ r) & 0x0000FFFF; in br_des_do_invIP() 82 t = ((l >> 4) ^ r) & 0x0F0F0F0F; in br_des_do_invIP() [all …]
|
/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300desc.h | 94 #define AR_desc_len 0x000000ff 95 #define AR_rx_priority 0x00000100 96 #define AR_tx_qcu_num 0x00000f00 98 #define AR_ctrl_stat 0x00004000 100 #define AR_tx_rx_desc 0x00008000 102 #define AR_desc_id 0xffff0000 113 #define AR_buf_len 0x0fff0000 117 #define AR_tx_desc_id 0xffff0000 119 #define AR_tx_ptr_chk_sum 0x0000ffff 122 #define AR_frame_len 0x00000fff [all …]
|