| /f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/ |
| H A D | byteorder.h | 58 #define BMASK_64(x) (x) argument 64 #define BE_8(x) BMASK_8(x) argument 65 #define BE_16(x) BMASK_16(x) argument 66 #define BE_32(x) BMASK_32(x) argument 67 #define BE_64(x) BMASK_64(x) argument 68 #define LE_8(x) BSWAP_8(x) argument 69 #define LE_16(x) BSWAP_16(x) argument 70 #define LE_32(x) BSWAP_32(x) argument 71 #define LE_64(x) BSWAP_64(x) argument 73 #define LE_8(x) BMASK_8(x) argument [all …]
|
| /f-stack/dpdk/lib/librte_eal/ppc/include/ |
| H A D | rte_byteorder.h | 81 #define rte_cpu_to_le_16(x) (x) argument 82 #define rte_cpu_to_le_32(x) (x) argument 83 #define rte_cpu_to_le_64(x) (x) argument 89 #define rte_le_to_cpu_16(x) (x) argument 90 #define rte_le_to_cpu_32(x) (x) argument 91 #define rte_le_to_cpu_64(x) (x) argument 103 #define rte_cpu_to_be_16(x) (x) argument 104 #define rte_cpu_to_be_32(x) (x) argument 105 #define rte_cpu_to_be_64(x) (x) argument 111 #define rte_be_to_cpu_16(x) (x) argument [all …]
|
| /f-stack/dpdk/lib/librte_eal/arm/include/ |
| H A D | rte_byteorder.h | 25 uint16_t x = _x; in rte_arch_bswap16() local 42 #define rte_cpu_to_le_16(x) (x) argument 43 #define rte_cpu_to_le_32(x) (x) argument 44 #define rte_cpu_to_le_64(x) (x) argument 50 #define rte_le_to_cpu_16(x) (x) argument 51 #define rte_le_to_cpu_32(x) (x) argument 52 #define rte_le_to_cpu_64(x) (x) argument 64 #define rte_cpu_to_be_16(x) (x) argument 65 #define rte_cpu_to_be_32(x) (x) argument 66 #define rte_cpu_to_be_64(x) (x) argument [all …]
|
| /f-stack/freebsd/contrib/octeon-sdk/ |
| H A D | cvmx-swap.h | 111 #define cvmx_cpu_to_le16(x) cvmx_swap16(x) argument 112 #define cvmx_cpu_to_le32(x) cvmx_swap32(x) argument 113 #define cvmx_cpu_to_le64(x) cvmx_swap64(x) argument 115 #define cvmx_cpu_to_be16(x) (x) argument 116 #define cvmx_cpu_to_be32(x) (x) argument 117 #define cvmx_cpu_to_be64(x) (x) argument 121 #define cvmx_cpu_to_le16(x) (x) argument 122 #define cvmx_cpu_to_le32(x) (x) argument 123 #define cvmx_cpu_to_le64(x) (x) argument 125 #define cvmx_cpu_to_be16(x) cvmx_swap16(x) argument [all …]
|
| /f-stack/dpdk/lib/librte_eal/x86/include/ |
| H A D | rte_byteorder.h | 28 uint16_t x = _x; in rte_arch_bswap16() local 43 uint32_t x = _x; in rte_arch_bswap32() local 73 #define rte_cpu_to_le_16(x) (x) argument 74 #define rte_cpu_to_le_32(x) (x) argument 75 #define rte_cpu_to_le_64(x) (x) argument 77 #define rte_cpu_to_be_16(x) rte_bswap16(x) argument 78 #define rte_cpu_to_be_32(x) rte_bswap32(x) argument 79 #define rte_cpu_to_be_64(x) rte_bswap64(x) argument 81 #define rte_le_to_cpu_16(x) (x) argument 82 #define rte_le_to_cpu_32(x) (x) argument [all …]
|
| /f-stack/dpdk/drivers/net/cxgbe/base/ |
| H A D | t4_regs.h | 64 #define V_QID(x) ((x) << S_QID) argument 68 #define V_DBPRIO(x) ((x) << S_DBPRIO) argument 73 #define V_PIDX(x) ((x) << S_PIDX) argument 378 #define V_BUSY(x) ((x) << S_BUSY) argument 397 #define V_BIR(x) ((x) << S_BIR) argument 554 #define V_TOS(x) ((x) << S_TOS) argument 558 #define V_VLAN(x) ((x) << S_VLAN) argument 615 #define V_PF(x) ((x) << S_PF) argument 624 #define V_VF(x) ((x) << S_VF) argument 907 #define V_OP(x) ((x) << S_OP) argument [all …]
|
| H A D | t4fw_interface.h | 93 #define G_FW_WR_IMMDLEN(x) \ argument 529 #define G_FW_RESET_CMD_HALT(x) \ argument 547 #define G_FW_HELLO_CMD_ERR(x) \ argument 554 #define G_FW_HELLO_CMD_INIT(x) \ argument 740 #define G_FW_PARAMS_MNEM(x) \ argument 908 #define G_FW_IQ_CMD_ALLOC(x) \ argument 928 #define G_FW_IQ_CMD_IQSTOP(x) \ argument 959 #define G_FW_IQ_CMD_IQANUD(x) \ argument 1311 #define G_FW_VI_CMD_ALLOC(x) \ argument 1350 #define G_FW_VI_CMD_PORTID(x) \ argument [all …]
|
| /f-stack/freebsd/sys/ |
| H A D | endian.h | 61 #define bswap16(x) __bswap16(x) argument 62 #define bswap32(x) __bswap32(x) argument 63 #define bswap64(x) __bswap64(x) argument 70 #define htobe16(x) bswap16((x)) argument 71 #define htobe32(x) bswap32((x)) argument 72 #define htobe64(x) bswap64((x)) argument 77 #define be16toh(x) bswap16((x)) argument 78 #define be32toh(x) bswap32((x)) argument 79 #define be64toh(x) bswap64((x)) argument 87 #define htole16(x) bswap16((x)) argument [all …]
|
| H A D | agpio.h | 46 #define AGP_MODE_GET_RQ(x) (((x) & 0xff000000U) >> 24) argument 47 #define AGP_MODE_GET_ARQSZ(x) (((x) & 0x0000e000U) >> 13) argument 48 #define AGP_MODE_GET_CAL(x) (((x) & 0x00001c00U) >> 10) argument 49 #define AGP_MODE_GET_SBA(x) (((x) & 0x00000200U) >> 9) argument 50 #define AGP_MODE_GET_AGP(x) (((x) & 0x00000100U) >> 8) argument 51 #define AGP_MODE_GET_GART_64(x) (((x) & 0x00000080U) >> 7) argument 53 #define AGP_MODE_GET_FW(x) (((x) & 0x00000010U) >> 4) argument 54 #define AGP_MODE_GET_MODE_3(x) (((x) & 0x00000008U) >> 3) argument 55 #define AGP_MODE_GET_RATE(x) ((x) & 0x00000007U) argument 74 #define AGP_MODE_GET_4G(x) AGP_MODE_GET_OVER_4G(x) argument [all …]
|
| /f-stack/freebsd/mips/include/ |
| H A D | endian.h | 74 #define __is_constant(x) __builtin_constant_p(x) argument 113 #define __bswap16(x) ((__uint16_t)(__is_constant((x)) ? \ argument 115 #define __bswap32(x) ((__uint32_t)(__is_constant((x)) ? \ argument 121 #define __htonl(x) ((__uint32_t)(x)) argument 122 #define __htons(x) ((__uint16_t)(x)) argument 123 #define __ntohl(x) ((__uint32_t)(x)) argument 124 #define __ntohs(x) ((__uint16_t)(x)) argument 136 #define __ntohl(x) (__bswap32((x))) argument 137 #define __ntohs(x) (__bswap16((x))) argument 138 #define __htonl(x) (__bswap32((x))) argument [all …]
|
| /f-stack/freebsd/contrib/openzfs/lib/libspl/include/os/linux/sys/ |
| H A D | byteorder.h | 61 #define ntohl(x) (x) argument 62 #define ntohs(x) (x) argument 63 #define htonl(x) (x) argument 64 #define htons(x) (x) argument 104 #define BMASK_64(x) (x) argument 110 #define BE_8(x) BMASK_8(x) argument 111 #define BE_16(x) BMASK_16(x) argument 112 #define BE_32(x) BMASK_32(x) argument 113 #define BE_64(x) BMASK_64(x) argument 114 #define LE_8(x) BSWAP_8(x) argument [all …]
|
| H A D | sysmacros.h | 55 #define P2ALIGN(x, align) ((x) & -(align)) argument 62 #define P2NPHASE_TYPED(x, align, type) \ argument 64 #define ISP2(x) (((x) & ((x) - 1)) == 0) argument 78 #define P2ALIGN_TYPED(x, align, type) \ argument 80 #define P2PHASE_TYPED(x, align, type) \ argument 82 #define P2NPHASE_TYPED(x, align, type) \ argument 84 #define P2ROUNDUP_TYPED(x, align, type) \ argument 86 #define P2END_TYPED(x, align, type) \ argument 90 #define P2CROSS_TYPED(x, y, align, type) \ argument 92 #define P2SAMEHIGHBIT_TYPED(x, y, type) \ argument [all …]
|
| /f-stack/freebsd/arm/include/ |
| H A D | endian.h | 64 #define __ntohl(x) ((__uint32_t)(x)) argument 65 #define __ntohs(x) ((__uint16_t)(x)) argument 66 #define __htonl(x) ((__uint32_t)(x)) argument 67 #define __htons(x) ((__uint16_t)(x)) argument 71 #define __ntohl(x) (__bswap32(x)) argument 117 #define __bswap32_constant(x) \ argument 123 #define __bswap16_constant(x) \ argument 127 #define __bswap16(x) \ argument 132 #define __bswap32(x) \ argument 138 #define __bswap16(x) __bswap16_var(x) argument [all …]
|
| /f-stack/freebsd/contrib/openzfs/include/sys/ |
| H A D | space_map.h | 174 #define SM_PREFIX_DECODE(x) BF64_DECODE(x, 62, 2) argument 175 #define SM_PREFIX_ENCODE(x) BF64_ENCODE(x, 62, 2) argument 177 #define SM_DEBUG_ACTION_DECODE(x) BF64_DECODE(x, 60, 2) argument 178 #define SM_DEBUG_ACTION_ENCODE(x) BF64_ENCODE(x, 60, 2) argument 179 #define SM_DEBUG_SYNCPASS_DECODE(x) BF64_DECODE(x, 50, 10) argument 180 #define SM_DEBUG_SYNCPASS_ENCODE(x) BF64_ENCODE(x, 50, 10) argument 181 #define SM_DEBUG_TXG_DECODE(x) BF64_DECODE(x, 0, 50) argument 182 #define SM_DEBUG_TXG_ENCODE(x) BF64_ENCODE(x, 0, 50) argument 186 #define SM_TYPE_DECODE(x) BF64_DECODE(x, 15, 1) argument 187 #define SM_TYPE_ENCODE(x) BF64_ENCODE(x, 15, 1) argument [all …]
|
| /f-stack/freebsd/contrib/openzfs/module/icp/asm-x86_64/aes/ |
| H A D | aes_amd64.S | 230 #define f3(x) [[f2(x)] ^ [x]] argument 231 #define f9(x) [[f8(x)] ^ [x]] argument 232 #define fb(x) [[f8(x)] ^ [f2(x)] ^ [x]] argument 242 #define enc_vals(x) \ argument 276 #define dec_vals(x) \ argument 324 #define tab_0(x) (tptr,x,8) argument 325 #define tab_1(x) 3(tptr,x,8) argument 326 #define tab_2(x) 2(tptr,x,8) argument 327 #define tab_3(x) 1(tptr,x,8) argument 328 #define tab_f(x) 1(tptr,x,8) argument [all …]
|
| /f-stack/dpdk/drivers/net/ixgbe/base/ |
| H A D | ixgbe_vf.h | 28 #define IXGBE_VTEITR(x) (0x00820 + (4 * (x))) argument 29 #define IXGBE_VTIVAR(x) (0x00120 + (4 * (x))) argument 31 #define IXGBE_VTRSCINT(x) (0x00180 + (4 * (x))) argument 33 #define IXGBE_VFRDBAL(x) (0x01000 + (0x40 * (x))) argument 34 #define IXGBE_VFRDBAH(x) (0x01004 + (0x40 * (x))) argument 35 #define IXGBE_VFRDLEN(x) (0x01008 + (0x40 * (x))) argument 36 #define IXGBE_VFRDH(x) (0x01010 + (0x40 * (x))) argument 37 #define IXGBE_VFRDT(x) (0x01018 + (0x40 * (x))) argument 45 #define IXGBE_VFTDH(x) (0x02010 + (0x40 * (x))) argument 60 #define IXGBE_VFRSSRK(x) (0x3100 + ((x) * 4)) argument [all …]
|
| /f-stack/freebsd/i386/include/ |
| H A D | asm.h | 52 #define PIC_PLT(x) x@PLT argument 53 #define PIC_GOT(x) x@GOT(%ebx) argument 54 #define PIC_GOTOFF(x) x@GOTOFF(%ebx) argument 58 #define PIC_PLT(x) x argument 59 #define PIC_GOTOFF(x) x argument 75 #define _ENTRY(x) _START_ENTRY; \ argument 81 #define ALTENTRY(x) _ENTRY(x); \ argument 91 #define ENTRY(x) _ENTRY(x); \ argument 102 #define ALTENTRY(x) _ENTRY(x) argument 103 #define ENTRY(x) _ENTRY(x) argument [all …]
|
| /f-stack/freebsd/amd64/include/ |
| H A D | asm.h | 44 #define PIC_PLT(x) x@PLT argument 45 #define PIC_GOT(x) x@GOTPCREL(%rip) argument 47 #define PIC_PLT(x) x argument 62 #define _ENTRY(x) _START_ENTRY; \ argument 67 #define ALTENTRY(x) _ENTRY(x); \ argument 77 #define ENTRY(x) _ENTRY(x); \ argument 88 #define ALTENTRY(x) _ENTRY(x) argument 89 #define ENTRY(x) _ENTRY(x) argument 92 #define END(x) .size x, . - x; .cfi_endproc argument 103 #define RCSID(x) .text; .asciz x argument
|
| /f-stack/freebsd/arm64/include/ |
| H A D | endian.h | 57 #define __ntohl(x) (__bswap32(x)) argument 58 #define __ntohs(x) (__bswap16(x)) argument 59 #define __htonl(x) (__bswap32(x)) argument 60 #define __htons(x) (__bswap16(x)) argument 63 __bswap64(__uint64_t x) in __bswap64() 97 #define __bswap32_constant(x) \ argument 103 #define __bswap16_constant(x) \ argument 107 #define __bswap16(x) \ argument 112 #define __bswap32(x) \ argument 118 #define __bswap16(x) __bswap16_var(x) argument [all …]
|
| /f-stack/freebsd/contrib/libfdt/ |
| H A D | libfdt_env.h | 80 #define EXTRACT_BYTE(x, n) ((unsigned long long)((uint8_t *)&x)[n]) argument 81 #define CPU_TO_FDT16(x) ((EXTRACT_BYTE(x, 0) << 8) | EXTRACT_BYTE(x, 1)) argument 82 #define CPU_TO_FDT32(x) ((EXTRACT_BYTE(x, 0) << 24) | (EXTRACT_BYTE(x, 1) << 16) | \ argument 84 #define CPU_TO_FDT64(x) ((EXTRACT_BYTE(x, 0) << 56) | (EXTRACT_BYTE(x, 1) << 48) | \ argument 89 static inline uint16_t fdt16_to_cpu(fdt16_t x) in fdt16_to_cpu() 93 static inline fdt16_t cpu_to_fdt16(uint16_t x) in cpu_to_fdt16() 98 static inline uint32_t fdt32_to_cpu(fdt32_t x) in fdt32_to_cpu() 102 static inline fdt32_t cpu_to_fdt32(uint32_t x) in cpu_to_fdt32() 107 static inline uint64_t fdt64_to_cpu(fdt64_t x) in fdt64_to_cpu() 111 static inline fdt64_t cpu_to_fdt64(uint64_t x) in cpu_to_fdt64()
|
| /f-stack/freebsd/contrib/openzfs/lib/libspl/include/os/freebsd/sys/ |
| H A D | byteorder.h | 65 #define BSWAP_8(x) ((x) & 0xff) argument 70 #define BMASK_8(x) ((x) & 0xff) argument 73 #define BMASK_64(x) (x) argument 79 #define BE_8(x) BMASK_8(x) argument 80 #define BE_16(x) BMASK_16(x) argument 81 #define BE_32(x) BMASK_32(x) argument 82 #define BE_64(x) BMASK_64(x) argument 83 #define LE_8(x) BSWAP_8(x) argument 84 #define LE_16(x) BSWAP_16(x) argument 85 #define LE_32(x) BSWAP_32(x) argument [all …]
|
| /f-stack/freebsd/arm64/nvidia/tegra210/ |
| H A D | tegra210_xusbpadctl.c | 138 #define USB2_OTG_PAD_CTL1_SPARE(x) (((x) & 0x0F) << 7) argument 147 #define USB2_BIAS_PAD_CTL0_SPARE(x) (((x) & 0xF) << 25) argument 151 #define USB2_BIAS_PAD_CTL0_ADJRPU(x) (((x) & 0x7) << 12) argument 166 #define USB2_BIAS_PAD_CTL1_PCTRL(x) (((x) & 0x3F) << 6) argument 169 #define XUSB_PADCTL_HSIC_PAD_CTL0(x) (0x300 + (x) * 0x20) argument 190 #define XUSB_PADCTL_HSIC_PAD_CTL1(x) (0x304 + (x) * 0x20) argument 191 #define HSIC_PAD_CTL1_RTERM(x) (((x) & 0xF) << 12) argument 192 #define HSIC_PAD_CTL1_HSIC_OPT(x) (((x) & 0xF) << 8) argument 193 #define HSIC_PAD_CTL1_TX_SLEW(x) (((x) & 0xF) << 4) argument 194 #define HSIC_PAD_CTL1_TX_RTUNEP(x) (((x) & 0xF) << 0) argument [all …]
|
| /f-stack/freebsd/contrib/openzfs/include/os/linux/spl/sys/ |
| H A D | byteorder.h | 39 #define BSWAP_8(x) ((x) & 0xff) argument 40 #define BSWAP_16(x) ((BSWAP_8(x) << 8) | BSWAP_8((x) >> 8)) argument 41 #define BSWAP_32(x) ((BSWAP_16(x) << 16) | BSWAP_16((x) >> 16)) argument 42 #define BSWAP_64(x) ((BSWAP_32(x) << 32) | BSWAP_32((x) >> 32)) argument 44 #define LE_16(x) cpu_to_le16(x) argument 45 #define LE_32(x) cpu_to_le32(x) argument 46 #define LE_64(x) cpu_to_le64(x) argument 47 #define BE_16(x) cpu_to_be16(x) argument 48 #define BE_32(x) cpu_to_be32(x) argument 49 #define BE_64(x) cpu_to_be64(x) argument
|
| /f-stack/freebsd/contrib/ipfilter/netinet/ |
| H A D | ip_compat.h | 15 # define __P(x) x argument 172 # define SPL_X(x) ; argument 173 # define SPL_NET(x) ; argument 174 # define SPL_IMP(x) ; argument 349 # define PANIC(x,y) ; argument 351 # define SPL_NET(x) ; argument 352 # define SPL_IMP(x) ; argument 353 # define SPL_X(x) ; argument 596 # define ASSERT(x) argument 651 # define SPL_INT(x) argument [all …]
|
| /f-stack/dpdk/drivers/common/dpaax/ |
| H A D | compat.h | 67 #define __stringify_1(x) #x argument 232 __bswap_48(uint64_t x) in __bswap_48() 246 __bswap_40(uint64_t x) in __bswap_40() 259 __bswap_24(uint32_t x) in __bswap_24() 289 #define cpu_to_be48(x) (x) argument 290 #define be48_to_cpu(x) (x) argument 292 #define cpu_to_be40(x) (x) argument 293 #define be40_to_cpu(x) (x) argument 295 #define cpu_to_be24(x) (x) argument 296 #define be24_to_cpu(x) (x) argument [all …]
|