/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_xarray.c | 42 #define NULL_VALUE (void *)0x1 49 __xa_erase(struct xarray *xa, uint32_t index) in __xa_erase() argument 53 XA_ASSERT_LOCKED(xa); in __xa_erase() 55 retval = radix_tree_delete(&xa->xa_head, index); in __xa_erase() 63 xa_erase(struct xarray *xa, uint32_t index) in xa_erase() argument 67 xa_lock(xa); in xa_erase() 68 retval = __xa_erase(xa, index); in xa_erase() 69 xa_unlock(xa); in xa_erase() 79 xa_load(struct xarray *xa, uint32_t index) in xa_load() argument 83 xa_lock(xa); in xa_load() [all …]
|
/freebsd/sys/contrib/openzfs/lib/libspl/include/os/freebsd/sys/ |
H A D | byteorder.h | 68 #define BSWAP_8(x) ((x) & 0xff) 69 #define BSWAP_16(x) ((x) & 0xffff) 70 #define BSWAP_32(x) ((x) & 0xffffffff) 78 #define BSWAP_8(x) ((x) & 0xff) 85 #define BMASK_8(x) ((x) & 0xff) 86 #define BMASK_16(x) ((x) & 0xffff) 87 #define BMASK_32(x) ((x) & 0xffffffff) 144 #define BE_IN8(xa) \ argument 145 *((uint8_t *)(xa)) 147 #define BE_IN16(xa) \ argument [all …]
|
/freebsd/sys/contrib/openzfs/lib/libspl/include/os/linux/sys/ |
H A D | byteorder.h | 99 #define BSWAP_8(x) ((x) & 0xff) 100 #define BSWAP_16(x) ((x) & 0xffff) 101 #define BSWAP_32(x) ((x) & 0xffffffff) 109 #define BSWAP_8(x) ((x) & 0xff) 116 #define BMASK_8(x) ((x) & 0xff) 117 #define BMASK_16(x) ((x) & 0xffff) 118 #define BMASK_32(x) ((x) & 0xffffffff) 175 #define BE_IN8(xa) \ argument 176 *((uint8_t *)(xa)) 178 #define BE_IN16(xa) \ argument [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/nxp/imx/ |
H A D | imxrt1170-pinfunc.h | 10 #define IMX_PAD_SION 0x40000000 17 #define IOMUXC_GPIO_LPSR_00_FLEXCAN3_TX 0x000 0x040 0x0 0x0 0x0 18 #define IOMUXC_GPIO_LPSR_00_MIC_CLK 0x000 0x040 0x0 0x1 0x0 19 #define IOMUXC_GPIO_LPSR_00_MQS_RIGHT 0x000 0x040 0x0 0x2 0x0 20 #define IOMUXC_GPIO_LPSR_00_ARM_CM4_EVENTO 0x000 0x040 0x0 0x3 0x0 21 #define IOMUXC_GPIO_LPSR_00_GPIO_MUX6_IO00 0x000 0x040 0x0 0x5 0x0 22 #define IOMUXC_GPIO_LPSR_00_LPUART12_TXD 0x000 0x040 0x0B0 0x6 0x0 23 #define IOMUXC_GPIO_LPSR_00_SAI4_MCLK 0x000 0x040 0x0C8 0x7 0x0 24 #define IOMUXC_GPIO_LPSR_00_GPIO12_IO00 0x000 0x040 0x0 0xA 0x0 26 #define IOMUXC_GPIO_LPSR_01_FLEXCAN3_RX 0x004 0x044 0x080 0x0 0x0 [all …]
|
H A D | imx7ulp-pinfunc.h | 15 #define IMX7ULP_PAD_PTC0__PTC0 0x0000 0x0000 0x1 0x0 16 #define IMX7ULP_PAD_PTC0__TRACE_D15 0x0000 0x0000 0xa 0x0 17 #define IMX7ULP_PAD_PTC0__LPUART4_CTS_B 0x0000 0x0244 0x4 0x1 18 #define IMX7ULP_PAD_PTC0__LPI2C4_SCL 0x0000 0x0278 0x5 0x1 19 #define IMX7ULP_PAD_PTC0__TPM4_CLKIN 0x0000 0x0298 0x6 0x1 20 #define IMX7ULP_PAD_PTC0__FB_AD0 0x0000 0x0000 0x9 0x0 21 #define IMX7ULP_PAD_PTC1__PTC1 0x0004 0x0000 0x1 0x0 22 #define IMX7ULP_PAD_PTC1__TRACE_D14 0x0004 0x0000 0xa 0x0 23 #define IMX7ULP_PAD_PTC1__LPUART4_RTS_B 0x0004 0x0000 0x4 0x0 24 #define IMX7ULP_PAD_PTC1__LPI2C4_SDA 0x0004 0x027c 0x5 0x1 [all …]
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | xarray.h | 38 ({ CTASSERT((min) == 0); (uint32_t)(max); }) 40 #define XA_FLAGS_ALLOC (1U << 0) 50 #define xa_limit_32b XA_LIMIT(0, 0xFFFFFFFF) 52 #define XA_ASSERT_LOCKED(xa) mtx_assert(&(xa)->xa_lock, MA_OWNED) argument 53 #define xa_lock(xa) mtx_lock(&(xa)->xa_lock) argument 54 #define xa_unlock(xa) mtx_unlock(&(xa)->xa_lock) argument 78 #define xa_for_each(xa, index, entry) \ argument 79 for ((entry) = NULL, (index) = 0; \ 80 ((entry) = xa_next(xa, &index, (entry) != NULL)) != NULL; ) 93 #define xa_store_irq(xa, index, ptr, gfp) \ argument [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCInstrMMA.td | 19 XX3Form_AT3_XAB6<opcode, !or(xo, 0x01), (outs acc:$AT), IOL, 29 XX3Form_AT3_XAB6<opcode, !or(xo, 0x01), (outs wacc:$AT), IOL, 47 opcode, !or(xo, 0x01), (outs acc:$AT), 64 opcode, !or(xo, 0x01), (outs wacc:$AT), 88 opcode, !or(xo, 0x01), (outs acc:$AT), 105 opcode, !or(xo, 0x01), (outs wacc:$AT), 129 opcode, !or(xo, 0x01), (outs acc:$AT), 145 opcode, !or(xo, 0x01), (outs wacc:$AT), 161 // Upper nibble of XO field for acc/non-acc version is 0x4/0x6. 171 opcode, !or(xo, 0x20), (outs acc:$AT), !con((ins acc:$ATi), IOL), [all …]
|
H A D | PPCInstrVSX.td | 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 51 // ** printing (for example: xxswapd for xxpermdi with 0x2 as the imm). ** 55 SDTCisVT<0, v4f32>, SDTCisPtrTy<1> 59 SDTCisVT<0, v2f64>, SDTCisVT<1, v4f32>, SDTCisPtrTy<2> 63 SDTCisVec<0>, SDTCisPtrTy<1> 68 SDTCisVT<0, v2f64>, SDTCisPtrTy<1> 70 def SDT_PPCstxvd2x : SDTypeProfile<0, 2, [ 71 SDTCisVT<0, v2f64>, SDTCisPtrTy<1> 74 SDTCisSameAs<0, 1> 77 SDTCisVec<0>, SDTCisVec<1>, SDTCisPtrTy<2> [all …]
|
/freebsd/contrib/gdtoa/ |
H A D | misc.c | 57 ACQUIRE_DTOA_LOCK(0); 58 /* The k > Kmax case does not need ACQUIRE_DTOA_LOCK(0), */ 60 if (k <= Kmax && (rv = freelist[k]) !=0) { 80 FREE_DTOA_LOCK(0); 81 rv->sign = rv->wds = 0; 101 ACQUIRE_DTOA_LOCK(0); 104 FREE_DTOA_LOCK(0); 122 return 0; 130 k = 0; 131 if (!(x & 0xffff)) { [all …]
|
H A D | sum.c | 42 ULong carry, *xc, *xa, *xb, *xe, y; local 52 carry = 0; 53 xa = a->x; 59 y = (*xa & 0xffff) + (*xb & 0xffff) + carry; 60 carry = (y & 0x10000) >> 16; 61 z = (*xa++ >> 16) + (*xb++ >> 16) + carry; 62 carry = (z & 0x10000) >> 16; 68 y = (*xa & 0xffff) + carry; 69 carry = (y & 0x10000) >> 16; 70 z = (*xa++ >> 16) + carry; [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/freescale/ |
H A D | imx8ulp-pinfunc.h | 13 #define MX8ULP_PAD_PTD0__PTD0 0x0000 0x0000 0x1 0x0 14 #define MX8ULP_PAD_PTD0__I2S6_RX_BCLK 0x0000 0x0B44 0x7 0x1 15 #define MX8ULP_PAD_PTD0__SDHC0_RESET_B 0x0000 0x0000 0x8 0x0 16 #define MX8ULP_PAD_PTD0__FLEXSPI2_B_DQS 0x0000 0x0974 0x9 0x1 17 #define MX8ULP_PAD_PTD0__CLKOUT2 0x0000 0x0000 0xa 0x0 18 #define MX8ULP_PAD_PTD0__EPDC0_SDCLK_B 0x0000 0x0000 0xb 0x0 19 #define MX8ULP_PAD_PTD0__LP_APD_DBG_MUX_0 0x0000 0x0000 0xc 0x0 20 #define MX8ULP_PAD_PTD0__CLKOUT1 0x0000 0x0000 0xd 0x0 21 #define MX8ULP_PAD_PTD0__DEBUG_MUX0_0 0x0000 0x0000 0xe 0x0 22 #define MX8ULP_PAD_PTD0__DEBUG_MUX1_0 0x0000 0x0000 0xf 0x0 [all …]
|
/freebsd/lib/libmd/ |
H A D | sha_locl.h | 83 case 0: l =((unsigned long)(*((c)++)))<<24; \ 93 l=0; \ 106 case 0: l =((unsigned long)(*((c)++)))<<24; \ 107 if (--len == 0) break; \ 109 if (--len == 0) break; \ 115 #define nl2c(l,c) (*((c)++)=(unsigned char)(((l)>>24)&0xff), \ 116 *((c)++)=(unsigned char)(((l)>>16)&0xff), \ 117 *((c)++)=(unsigned char)(((l)>> 8)&0xff), \ 118 *((c)++)=(unsigned char)(((l) )&0xff)) 129 case 0: l =((unsigned long)(*((c)++))); \ [all …]
|
/freebsd/contrib/one-true-awk/testdir/ |
H A D | T.re | 8 NF == 0 { 58 .a ~ xa 79 !~ xa 85 !~ xa 92 ^.a ~ xa 97 xa 100 ^.+a ~ xa 108 xa 112 xa 139 xa [all …]
|
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/ |
H A D | byteorder.h | 46 #define BSWAP_8(x) ((x) & 0xff) 47 #define BSWAP_16(x) ((x) & 0xffff) 48 #define BSWAP_32(x) ((x) & 0xffffffff) 53 #define BSWAP_8(x) ((x) & 0xff) 67 #define BE_IN8(xa) \ argument 68 *((uint8_t *)(xa)) 70 #define BE_IN16(xa) \ argument 71 (((uint16_t)BE_IN8(xa) << 8) | BE_IN8((uint8_t *)(xa)+1)) 73 #define BE_IN32(xa) \ argument 74 (((uint32_t)BE_IN16(xa) << 16) | BE_IN16((uint8_t *)(xa)+2))
|
/freebsd/crypto/openssh/ |
H A D | addr.c | 54 return masklen <= 32 ? 0 : -1; in masklen_valid() 56 return masklen <= 128 ? 0 : -1; in masklen_valid() 63 addr_xaddr_to_sa(const struct xaddr *xa, struct sockaddr *sa, socklen_t *len, in addr_xaddr_to_sa() argument 69 if (xa == NULL || sa == NULL || len == NULL) in addr_xaddr_to_sa() 72 switch (xa->af) { in addr_xaddr_to_sa() 76 memset(sa, '\0', sizeof(*in4)); in addr_xaddr_to_sa() 83 memcpy(&in4->sin_addr, &xa->v4, sizeof(in4->sin_addr)); in addr_xaddr_to_sa() 88 memset(sa, '\0', sizeof(*in6)); in addr_xaddr_to_sa() 95 memcpy(&in6->sin6_addr, &xa->v6, sizeof(in6->sin6_addr)); in addr_xaddr_to_sa() 97 in6->sin6_scope_id = xa->scope_id; in addr_xaddr_to_sa() [all …]
|
/freebsd/crypto/openssl/crypto/sha/ |
H A D | sha_local.h | 29 } while (0) 48 #define INIT_DATA_h0 0x67452301UL 49 #define INIT_DATA_h1 0xefcdab89UL 50 #define INIT_DATA_h2 0x98badcfeUL 51 #define INIT_DATA_h3 0x10325476UL 52 #define INIT_DATA_h4 0xc3d2e1f0UL 56 memset(c, 0, sizeof(*c)); in HASH_INIT() 65 #define K_00_19 0x5a827999UL 66 #define K_20_39 0x6ed9eba1UL 67 #define K_40_59 0x8f1bbcdcUL [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64CollectLOH.cpp | 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 19 // L1: adrp xA, sym@PAGE 20 // L2: add xB, xA, sym@PAGEOFF 28 // L1: adrp xA, sym@PAGE 31 // L1: adr xA, sym 41 // - The register argument (xA) used in the ADD instruction is defined 51 // L1: adrp xA, sym@PAGE 52 // L2: add xB, xA, sym@PAGEOFF 55 // L1: adrp xA, sym@GOTPAGE 56 // L2: ldr xB, [xA, sy [all...] |
/freebsd/crypto/heimdal/lib/wind/ |
H A D | bidi_table.c | 9 {0x5be, 1}, 10 {0x5c0, 1}, 11 {0x5c3, 1}, 12 {0x5d0, 0x1b}, 13 {0x5f0, 0x5}, 14 {0x61b, 1}, 15 {0x61f, 1}, 16 {0x621, 0x1a}, 17 {0x640, 0xb}, 18 {0x66d, 0x3}, [all …]
|
/freebsd/sys/contrib/device-tree/src/powerpc/fsl/ |
H A D | p2020ds.dtsi | 36 nor@0,0 { 40 reg = <0x0 0x0 0x8000000>; 44 ramdisk@0 { 45 reg = <0x0 0x03000000>; 50 reg = <0x03000000 0x00e00000>; 55 reg = <0x03e00000 0x00200000>; 60 reg = <0x04000000 0x00400000>; 65 reg = <0x04400000 0x03b00000>; 69 reg = <0x07f00000 0x00080000>; 74 reg = <0x07f80000 0x00080000>; [all …]
|
/freebsd/contrib/file/magic/Magdir/ |
H A D | ibm370 | 6 # "ibm370" said that 0x15d == 0535 was "ibm 370 pure executable". 10 # 0 short 0535 370 sysV executable 11 # >12 long >0 not stripped 12 # >22 short >0 - version %d 13 # >30 long >0 - 5.2 format 14 # 0 short 0530 370 sysV pure executable 15 # >12 long >0 not stripped 16 # >22 short >0 - version %d 17 # >30 long >0 - 5.2 format 21 0 beshort 0537 370 XA sysV executable [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/qcom/ |
H A D | pmr735d.dtsi | 13 polling-delay = <0>; 20 hysteresis = <0>; 26 hysteresis = <0>; 34 polling-delay = <0>; 41 hysteresis = <0>; 47 hysteresis = <0>; 59 reg = <0xa SPMI_USID>; 61 #size-cells = <0>; 65 reg = <0xa00>; 66 interrupts = <0xa 0xa 0x0 IRQ_TYPE_EDGE_BOTH>; [all …]
|
H A D | x1e80100-pmics.dtsi | 21 hysteresis = <0>; 27 hysteresis = <0>; 41 hysteresis = <0>; 47 hysteresis = <0>; 61 hysteresis = <0>; 67 hysteresis = <0>; 81 hysteresis = <0>; 87 hysteresis = <0>; 101 hysteresis = <0>; 107 hysteresis = <0>; [all …]
|
H A D | pmr735d_a.dtsi | 19 hysteresis = <0>; 25 hysteresis = <0>; 37 reg = <0xa SPMI_USID>; 39 #size-cells = <0>; 43 reg = <0xa00>; 44 interrupts = <0xa 0xa 0x0 IRQ_TYPE_EDGE_BOTH>; 45 #thermal-sensor-cells = <0>; 50 reg = <0x8800>; 52 gpio-ranges = <&pmr735d_k_gpios 0 0 2>;
|
/freebsd/sys/sys/ |
H A D | cdrio.h | 38 #define CDR_DB_RAW 0x0 /* 2352 bytes of raw data */ 39 #define CDR_DB_RAW_PQ 0x1 /* 2368 bytes raw data + P/Q subchan */ 40 #define CDR_DB_RAW_PW 0x2 /* 2448 bytes raw data + P-W subchan */ 41 #define CDR_DB_RAW_PW_R 0x3 /* 2448 bytes raw data + P-W raw sub */ 42 #define CDR_DB_RES_4 0x4 /* reserved */ 43 #define CDR_DB_RES_5 0x5 /* reserved */ 44 #define CDR_DB_RES_6 0x6 /* reserved */ 45 #define CDR_DB_VS_7 0x7 /* vendor specific */ 46 #define CDR_DB_ROM_MODE1 0x8 /* 2048 bytes Mode 1 (ISO/IEC 10149) */ 47 #define CDR_DB_ROM_MODE2 0x9 /* 2336 bytes Mode 2 (ISO/IEC 10149) */ [all …]
|
/freebsd/sys/dev/smc/ |
H A D | if_smcreg.h | 31 /* All Banks, Offset 0xe: Bank Select Register */ 32 #define BSR 0xe 33 #define BSR_BANK_MASK 0x0007 /* Which bank is currently selected */ 34 #define BSR_IDENTIFY 0x3300 /* Static value for identification */ 35 #define BSR_IDENTIFY_MASK 0xff00 37 /* Bank 0, Offset 0x0: Transmit Control Register */ 38 #define TCR 0x0 39 #define TCR_TXENA 0x0001 /* Enable/disable transmitter */ 40 #define TCR_LOOP 0x0002 /* Put the PHY into loopback mode */ 41 #define TCR_FORCOL 0x0004 /* Force a collision */ [all …]
|