/freebsd/contrib/wpa/src/common/ |
H A D | ieee802_11_defs.h | 3 * Copyright (c) 2002-2019, Jouni Malinen <j@w1.fi> 4 * Copyright (c) 2007-2008 Intel Corporation 39 #define WLAN_GET_SEQ_FRAG(seq) ((seq) & (BIT(3) | BIT(2) | BIT(1) | BIT(0))) 41 (((seq) & (~(BIT(3) | BIT(2) | BIT(1) | BIT(0)))) >> 4) 54 #define WLAN_FC_STYPE_PROBE_RESP 5 77 #define WLAN_FC_STYPE_CFACK 5 98 #define WLAN_AUTH_FILS_SK_PFS 5 105 #define WLAN_CAPABILITY_ESS BIT(0) 106 #define WLAN_CAPABILITY_IBSS BIT(1) 107 #define WLAN_CAPABILITY_CF_POLLABLE BIT(2) [all …]
|
/freebsd/sys/dev/dpaa2/ |
H A D | dpaa2_ni_dpkg.h | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause AND BSD-2-Clause 4 * Copyright © 2013-2015 Freescale Semiconductor, Inc. 41 * Copyright © 2021-2022 Dmitry Salychev 68 #define BIT(x) (1ul << (x)) macro 71 * DPKG_NUM_OF_MASKS - Number of masks per key extraction 76 * DPKG_MAX_NUM_OF_EXTRACTS - Number of extractions per key profile 81 * enum dpkg_extract_from_hdr_type - Selecting extraction by header types 93 * enum dpkg_extract_type - Enumeration for selecting extraction type 96 * @DPKG_EXTRACT_FROM_PARSE: Extract from parser-result; [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARC/ |
H A D | ARCInstrFormats.td | 1 //===- ARCInstrFormats.td - ARC Instruction Formats --------*- tablegen -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 21 "\n return isUInt<"#BSz#">(N->getSExtValue());"> { 27 "\n return isInt<"#BSz#">(N->getSExtValue());"> { 31 // e.g. s3 field may encode the signed integers values -1 .. 6 34 "\n return isInt<"#BSz#">(N->getSExtValue());"> { 64 class ExtMode<bit mode, string instSfx, string asmSfx> { [all …]
|
/freebsd/sys/contrib/dev/rtw88/ |
H A D | rtw8821c.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 2 /* Copyright(c) 2018-2019 Realtek Corporation 19 static const s8 lna_gain_table_0[8] = {22, 8, -6, -22, -31, -4 [all...] |
H A D | reg.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 2 /* Copyright(c) 2018-2019 Realtek Corporation 9 #define BIT_FEN_EN_25_1 BIT(13) 10 #define BIT_FEN_ELDR BIT(12) 11 #define BIT_FEN_CPUEN BIT(2) 12 #define BIT_FEN_BB_GLB_RST BIT( [all...] |
H A D | rtw8822b.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 2 /* Copyright(c) 2018-2019 Realtek Corporation 26 ether_addr_copy(efuse->addr, map->e.mac_addr); in rtw8822be_efuse_parsing() 32 ether_addr_copy(efuse->addr, map-> in rtw8822bu_efuse_parsing() [all...] |
/freebsd/crypto/openssl/test/recipes/ |
H A D | 20-test_dhparam.t | 2 # Copyright 2020-2022 The OpenSSL Project Authors. All Rights Reserved. 24 my $fipsconf = srctop_file("test", "fips-and-base.cnf"); 29 my $gen = shift; #2, 5 or something else (0 is "something else")? 37 if (-T $file) { 42 if ($firstline eq "-----BEGIN DH PARAMETERS-----") { 44 } elsif ($firstline eq "-----BEGIN X9.42 DH PARAMETERS-----") { 60 my @textdata = run(app(['openssl', 'dhparam', '-in', $file, '-noout', 61 '-text', '-inform', $format]), capture => 1); 73 if (defined $textdata[0] && $textdata[0] =~ /DH Parameters: \((\d+) bit\)/) { 77 if ($gen == 2 || $gen == 5) { [all …]
|
/freebsd/sys/contrib/dev/rtw89/ |
H A D | txrx.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 19 #define DATA_RATE_NSS_MASK_V1 GENMASK(7, 5) 27 if (rtwdev->chip->chip_gen == RTW89_CHIP_BE) in rtw89_get_data_rate_mode() 40 if (rtwdev->chip->chip_ge in rtw89_get_data_ht_mcs() [all...] |
H A D | pci.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 16 #define OOBS_SEN_MASK GENMASK(5, 1) 18 #define BAC_OOBS_SEL BIT(4) 20 #define B_BAC_EQ_SEL BIT(5) 22 #define B_PCIE_BIT_PSAVE BIT(1 [all...] |
H A D | reg.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 2 /* Copyright(c) 2019-2020 Realtek Corporation 9 #define B_AX_AUTOLOAD_SUS BIT(5) 13 #define B_AX_PWC_EV2EF_B15 BIT(15) 14 #define B_AX_PWC_EV2EF_B14 BIT(1 [all...] |
H A D | fw.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 2 /* Copyright(c) 2019-2020 Realtek Corporation 16 RTW89_FWDL_RSVD0 = 5, 26 #define RTW89_C2HREG_HDR_ACK BIT(7) 38 #define RTW89_C2HREG_PHYCAP_W0_ACK BIT(7) 91 #define RTW89_H2CREG_SCH_TX_EN_W1_BAND BIT(1 [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVInstrFormatsV.td | 1 //===-- RISCVInstrFormatsV.td - RISC-V V Instruction Formats -*- tablegen -*-=// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // This file describes the RISC-V V extension instruction formats. 11 //===----------------------------------------------------------------------===// 38 class RISCVLSUMOP<bits<5> val> { 39 bits<5> Value = val; 59 bits<5> uimm; 60 bits<5> rd; 65 let Inst{29-20} = vtypei{9-0}; [all …]
|
/freebsd/sys/dev/clk/rockchip/ |
H A D | rk3328_cru.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2018-2021 Emmanuel Vadot <manu@freebsd.org> 61 #define PLL_NPLL 5 256 /* Bit 3 bus_src_clk_en */ 257 /* Bit 4 clk_ddrphy_src_en */ 258 /* Bit 5 clk_ddrpd_src_en */ 259 /* Bit 6 clk_ddrmon_en */ 260 /* Bit 7-8 unused */ 261 /* Bit 9 testclk_en */ [all …]
|
/freebsd/sys/contrib/dev/mediatek/mt76/ |
H A D | mt76_connac3_mac.h | 1 /* SPDX-License-Identifier: ISC */ 28 #define MT_RXD0_MESH BIT(18) 29 #define MT_RXD0_MHCP BIT(19) 31 #define MT_RXD0_NORMAL_IP_SUM BIT(23) 32 #define MT_RXD0_NORMAL_UDP_TCP_SUM BIT(24) 40 #define MT_RXD1_NORMAL_GROUP_1 BIT(16) 41 #define MT_RXD1_NORMAL_GROUP_2 BIT(17) 42 #define MT_RXD1_NORMAL_GROUP_3 BIT(18) 43 #define MT_RXD1_NORMAL_GROUP_4 BIT(19) 44 #define MT_RXD1_NORMAL_GROUP_5 BIT(20) [all …]
|
H A D | mt76_connac2_mac.h | 1 /* SPDX-License-Identifier: ISC */ 41 #define MT_TX_FREE_PAIR BIT(31) 50 #define MT_TXD1_LONG_FORMAT BIT(31) 51 #define MT_TXD1_TGID BIT(30) 53 #define MT_TXD1_AMSDU BIT(23) 58 #define MT_TXD1_ETH_802_3 BIT(15) 59 #define MT_TXD1_VTA BIT(10) 62 #define MT_TXD2_FIX_RATE BIT(31) 63 #define MT_TXD2_FIXED_RATE BIT(30) 67 #define MT_TXD2_HTC_VLD BIT(13) [all …]
|
H A D | mt76x02_regs.h | 1 /* SPDX-License-Identifier: ISC */ 15 #define MT_CMB_CTRL_XTAL_RDY BIT(22) 16 #define MT_CMB_CTRL_PLL_LD BIT(23) 19 #define MT_EFUSE_CTRL_AOUT GENMASK(5, 0) 24 #define MT_EFUSE_CTRL_KICK BIT(30) 25 #define MT_EFUSE_CTRL_SEL BIT(31) 31 #define MT_COEXCFG0_COEX_EN BIT(0) 34 #define MT_WLAN_FUN_CTRL_WLAN_EN BIT(0) 35 #define MT_WLAN_FUN_CTRL_WLAN_CLK_EN BIT(1) 36 #define MT_WLAN_FUN_CTRL_WLAN_RESET_RF BIT(2) [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMInstrFormats.td | 1 //===-- ARMInstrFormats.td - ARM Instruction Formats -------*- tablegen -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 //===----------------------------------------------------------------------===// 15 // ad-hoc solution used to emit machine instruction encodings by our machine 27 def DPSoRegRegFrm : Format<5>; 76 // UnaryDP - Indicates this is a unary data processing instruction, i.e. 78 class UnaryDP { bit isUnaryDataProc = 1; } 80 // Xform16Bit - Indicates this Thumb2 instruction may be transformed into 81 // a 16-bit Thumb instruction if certain conditions are met. [all …]
|
/freebsd/contrib/netbsd-tests/include/ |
H A D | d_bitstring_8.out | 10 5 0 32 1 15 be: 0 -1 00000000 16 is: 0 -1 00000000 33 5 0 38 be: 0 -1 00000000 39 is: 0 -1 00000000 46 be: 0 -1 00000000 47 is: 0 -1 00000000 50 be: 0 -1 00000000 51 is: 0 -1 00000000 [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCInstrFormats.td | 1 //===- PowerPCInstrFormats.td - PowerPC Instruction Formats --*- tablegen -*-=// 5 // SPDX-License-Identifier: Apache-2. [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64InstrFormats.td | 1 //===- AArch64InstrFormats.td - AArch64 Instruction Formats --*- tblgen -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 //===----------------------------------------------------------------------===// 14 // ad-hoc solution used to emit machine instruction encodings by our machine 35 def DestructiveBinary : DestructiveInstTypeEnum<5>; 56 def SMEMatrixTileQ : SMEMatrixTypeEnum<5>; 63 // If a bit is set, then if the corresponding bit in the 68 // as to make it more obvious what it means in ARM-land. 75 bit isWhile = 0; [all …]
|
/freebsd/sys/dev/flash/flexspi/ |
H A D | flex_spi.h | 1 /*- 29 #define BIT(x) (1 << (x)) macro 35 #define FSPI_MCR0_LEARN_EN BIT(15) 36 #define FSPI_MCR0_SCRFRUN_EN BIT(14) 37 #define FSPI_MCR0_OCTCOMB_EN BIT(13) 38 #define FSPI_MCR0_DOZE_EN BIT(12) 39 #define FSPI_MCR0_HSEN BIT(11) 40 #define FSPI_MCR0_SERCLKDIV BIT(8) 41 #define FSPI_MCR0_ATDF_EN BIT(7) 42 #define FSPI_MCR0_ARDF_EN BIT(6) [all …]
|
/freebsd/lib/libpmc/pmu-events/arch/x86/cascadelakex/ |
H A D | floating-point.json | 3 …"BriefDescription": "Counts once for most SIMD 128-bit packed computational double precision float… 5 "CounterHTOff": "0,1,2,3,4,5,6,7", 8 …-bit packed computational double precision floating-point instructions retired; some instructions … 13 …"BriefDescription": "Counts once for most SIMD 128-bit packed computational single precision float… 15 "CounterHTOff": "0,1,2,3,4,5,6,7", 18 …-bit packed computational single precision floating-point instructions retired; some instructions … 23 …"BriefDescription": "Counts once for most SIMD 256-bit packed double computational precision float… 25 "CounterHTOff": "0,1,2,3,4,5,6,7", 28 …-bit packed double computational precision floating-point instructions retired; some instructions … 33 …"BriefDescription": "Counts once for most SIMD 256-bit packed single computational precision float… [all …]
|
/freebsd/sys/contrib/device-tree/include/dt-bindings/mfd/ |
H A D | stm32f4-rcc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 15 #define STM32F4_RCC_AHB1_GPIOF 5 34 #define STM32F4_AHB1_RESET(bit) (STM32F4_RCC_AHB1_##bit + (0x10 * 8)) argument 35 #define STM32F4_AHB1_CLOCK(bit) (STM32F4_RCC_AHB1_##bit) argument 40 #define STM32F4_RCC_AHB2_HASH 5 44 #define STM32F4_AHB2_RESET(bit) (STM32F4_RCC_AHB2_##bit + (0x14 * 8)) argument 45 #define STM32F4_AHB2_CLOCK(bit) (STM32F4_RCC_AHB2_##bit + 0x20) argument 51 #define STM32F4_AHB3_RESET(bit) (STM32F4_RCC_AHB3_##bit + (0x18 * 8)) argument 52 #define STM32F4_AHB3_CLOCK(bit) (STM32F4_RCC_AHB3_##bit + 0x40) argument 60 #define STM32F4_RCC_APB1_TIM7 5 [all …]
|
/freebsd/sys/dev/sfxge/common/ |
H A D | efx_regs.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2007-2016 Solarflare Communications Inc. 48 * FR_AB_EE_VPD_CFG0_REG_SF(128bit): 54 * FR_AB_EE_VPD_CFG0_REG(128bit): 81 #define FRF_AB_EE_VPD_AD_SIZE_WIDTH 5 82 #define FRF_AB_EE_VPD_ACCESS_ON_LBN 5 94 * FR_AB_PCIE_SD_CTL0123_REG_SF(128bit): 100 * FR_AB_PCIE_SD_CTL0123_REG(128bit): 162 * FR_AB_PCIE_SD_CTL45_REG_SF(128bit): [all …]
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/ |
H A D | regs.h | 1 /* SPDX-License-Identifier: ISC */ 35 #define MT_HW_INFO_BASE ((dev)->reg_map[MT_HW_BASE]) 40 #define MT_TOP_3NSS BIT(24) 45 #define MT_TOP_MISC2 ((dev)->reg_map[MT_TOP_CFG_BASE] + 0x134) 49 #define MT_TOP_MISC2_FW_PWR_ON BIT(1) 59 #define MT_MCU_PCIE_REMAP_2 ((dev)->reg_map[MT_PCIE_REMAP_2]) 62 #define MT_PCIE_REMAP_BASE_2 ((dev)->reg_map[MT_PCIE_REMAP_BASE2]) 69 #define MT_HIF(ofs) ((dev)->reg_map[MT_HIF_BASE] + (ofs)) 71 #define MT_HIF_LOGIC_RST_N BIT(4) 74 #define MT_PDMA_AXI_SLPPROT_ENABLE BIT(0) [all …]
|