| /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) 78 #define WLAN_FC_STYPE_CFPOLL 6 99 #define WLAN_AUTH_FILS_PK 6 105 #define WLAN_CAPABILITY_ESS BIT(0) 106 #define WLAN_CAPABILITY_IBSS BIT(1) 107 #define WLAN_CAPABILITY_CF_POLLABLE BIT(2) 108 #define WLAN_CAPABILITY_CF_POLL_REQUEST BIT(3) [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());"> { 24 def immU6 : immU<6>; 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());"> { [all …]
|
| /freebsd/contrib/wpa/src/crypto/ |
| H A D | milenage.c | 2 * 3GPP AKA - Milenage algorithm (3GPP TS 35.205, .206, .207, .208) 3 * Copyright (c) 2006-2007 <j@w1.fi> 10 * EAP-AKA to be tested properly with real USIM cards. 26 * milenage_f1 - Milenage f1 and f1* algorithms 27 * @opc: OPc = 128-bit value derived from OP and K 28 * @k: K = 128-bit subscriber key 29 * @_rand: RAND = 128-bit random challenge 30 * @sqn: SQN = 48-bit sequence number 31 * @amf: AMF = 16-bit authentication management field 32 * @mac_a: Buffer for MAC-A = 64-bit network authentication code, or %NULL [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/sys/contrib/device-tree/Bindings/mfd/ |
| H A D | mc13xxx.txt | 4 - compatible : Should be "fsl,mc13783" or "fsl,mc13892" 7 - fsl,mc13xxx-uses-adc : Indicate the ADC is being used 8 - fsl,mc13xxx-uses-codec : Indicate the Audio Codec is being used 9 - fsl,mc13xxx-uses-rtc : Indicate the RTC is being used 10 - fsl,mc13xxx-uses-touch : Indicate the touchscreen controller is being used 12 Sub-nodes: 13 - codec: Contain the Audio Codec node. 14 - adc-port: Contain PMIC SSI port number used for ADC. 15 - dac-port: Contain PMIC SSI port number used for DAC. 16 - leds : Contain the led nodes and initial register values in property [all …]
|
| /freebsd/sys/contrib/dev/rtw89/ |
| H A D | txrx.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 18 #define DATA_RATE_VHT_HE_NSS_MASK GENMASK(6, 4) 28 if (rtwdev->chip->chip_gen == RTW89_CHIP_BE) in rtw89_get_data_rate_mode() 41 if (rtwdev->chip->chip_gen == RTW89_CHIP_BE) in rtw89_get_data_ht_mcs() 49 if (rtwdev->chip->chip_gen == RTW89_CHIP_BE) in rtw89_get_data_mcs() 62 if (rtwdev->chip->chip_gen == RTW89_CHIP_BE) in rtw89_get_data_nss() 71 #define RTW89_TXWD_BODY0_MORE_DATA BIT(23) 72 #define RTW89_TXWD_BODY0_WD_INFO_EN BIT(22) 73 #define RTW89_TXWD_BODY0_FW_DL BIT(20) 76 #define RTW89_TXWD_BODY0_STF_MODE BIT(10) [all …]
|
| H A D | pci.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 18 #define BAC_OOBS_SEL BIT(4) 20 #define B_BAC_EQ_SEL BIT(5) 24 #define B_PCIE_BIT_PSAVE BIT(15) 26 #define OFFSET_CAL_MODE BIT(13) 27 #define BAC_RX_TEST_EN BIT(6) 32 #define B_PCIE_BIT_PINOUT_DIS BIT(3) 37 #define B_PCIE_BIT_RD_SEL BIT(2) 54 #define B_AX_CLK_CALIB_EN BIT(12) 55 #define B_AX_CALIB_EN BIT(13) [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(14) 15 #define B_AX_ISO_EB2CORE BIT(8) 18 #define B_AX_FEN_BB_GLB_RSTN BIT(1) 19 #define B_AX_FEN_BBRSTB BIT(0) 22 #define B_AX_SOP_ASWRM BIT(31) 23 #define B_AX_SOP_PWMM_DSWR BIT(29) [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/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, -40, -46, -52}; 20 static const s8 lna_gain_table_1[16] = {10, 6, 2, -2, -6, -10, -14, -17, 21 -20, -24, -28, -31, -34, -37, -40, -44}; 26 ether_addr_copy(efuse->addr, map->e.mac_addr); in rtw8821ce_efuse_parsing() 32 ether_addr_copy(efuse->addr, map->u.mac_addr); in rtw8821cu_efuse_parsing() 38 ether_addr_copy(efuse->addr, map->s.mac_addr); in rtw8821cs_efuse_parsing() 50 struct rtw_hal *hal = &rtwdev->hal; in rtw8821c_read_efuse() 51 struct rtw_efuse *efuse = &rtwdev->efuse; in rtw8821c_read_efuse() [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_PCIEA BIT(6) 12 #define BIT_FEN_CPUEN BIT(2) 13 #define BIT_FEN_USBA BIT(2) 14 #define BIT_FEN_BB_GLB_RST BIT(1) 15 #define BIT_FEN_BB_RSTB BIT(0) 16 #define BIT_R_DIS_PRST BIT(6) [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> 62 #define ARMCLK 6 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/contrib/netbsd-tests/include/ |
| H A D | d_bitstring_8.out | 11 6 0 64 1 15 be: 0 -1 00000000 16 is: 0 -1 00000000 34 6 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/AMDGPU/ |
| H A D | SIInstrFormats.td | 1 //===-- SIInstrFormats.td - SI Instruction Encodings ----------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 16 // Low bits - basic encoding information. 17 field bit SALU = 0; 18 field bit VALU = 0; 21 field bit SOP1 = 0; 22 field bit SOP2 = 0; 23 field bit SOPC = 0; [all …]
|
| /freebsd/sys/dev/ixgbe/ |
| H A D | ixgbe_type_e610.h | 2 SPDX-License-Identifier: BSD-3-Clause 40 #ifndef BIT 41 #define BIT(a) (1UL << (a)) macro 42 #endif /* !BIT */ 50 #define DIVIDE_AND_ROUND_UP(a, b) (((a) + (b) - 1) / (b)) 55 * ROUND_UP - round up to next arbitrary multiple (not a power of 2) 77 (((~0UL) << (l)) & (~0UL >> (BITS_PER_LONG - 1 - (h)))) 80 (((~0ULL) << (l)) & (~0ULL >> (BITS_PER_LONG_LONG - 1 - (h)))) 97 * ixgbe_struct_size - size of struct with C99 flexible array member 103 (sizeof(*(ptr)) + sizeof(*(ptr)->field) * (num)) [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 //===----------------------------------------------------------------------===// 65 let Inst{29-20} = vtypei{9-0}; 66 let Inst{19-15} = uimm; 67 let Inst{14-12} = OPCFG.Value; 68 let Inst{11-7} = rd; 69 let Inst{6-0} = OPC_OP_V.Value; [all …]
|
| /freebsd/sys/contrib/dev/mediatek/mt76/mt7603/ |
| H A D | mac.h | 1 /* SPDX-License-Identifier: ISC */ 10 #define MT_RXD0_NORMAL_IP_SUM BIT(23) 11 #define MT_RXD0_NORMAL_UDP_TCP_SUM BIT(24) 12 #define MT_RXD0_NORMAL_GROUP_1 BIT(25) 13 #define MT_RXD0_NORMAL_GROUP_2 BIT(26) 14 #define MT_RXD0_NORMAL_GROUP_3 BIT(27) 15 #define MT_RXD0_NORMAL_GROUP_4 BIT(28) 29 #define MT_RXD1_NORMAL_HDR_TRANS BIT(23) 30 #define MT_RXD1_NORMAL_HDR_OFFSET BIT(22) 33 #define MT_RXD1_NORMAL_KEY_ID GENMASK(7, 6) [all …]
|
| /freebsd/sys/dev/ice/ |
| H A D | ice_adminq_cmd.h | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 87 #define ICE_AQC_DRIVER_UNLOADING BIT(0) 203 /* Manage MAC address, read command - indirect (0x0107) 208 #define ICE_AQC_MAN_MAC_LAN_ADDR_VALID BIT(4) 209 #define ICE_AQC_MAN_MAC_SAN_ADDR_VALID BIT(5) 210 #define ICE_AQC_MAN_MAC_PORT_ADDR_VALID BIT(6) [all...] |
| /freebsd/sys/contrib/dev/athk/ath12k/ |
| H A D | hal_rx.h | 1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */ 3 * Copyright (c) 2018-2021 The Linux Foundation. All rights reserved. 4 * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved. 245 #define HAL_RX_PPDU_END_USER_STATS_INFO1_FC_VALID BIT(9) 246 #define HAL_RX_PPDU_END_USER_STATS_INFO1_QOS_CTRL_VALID BIT(10) 247 #define HAL_RX_PPDU_END_USER_STATS_INFO1_HT_CTRL_VALID BIT(11) 298 #define HAL_RX_HT_SIG_INFO_INFO0_MCS GENMASK(6, 0) 299 #define HAL_RX_HT_SIG_INFO_INFO0_BW BIT(7) 302 #define HAL_RX_HT_SIG_INFO_INFO1_FEC_CODING BIT(6) 303 #define HAL_RX_HT_SIG_INFO_INFO1_GI BIT(7) [all …]
|
| /freebsd/sys/contrib/dev/mediatek/mt76/mt7615/ |
| H A D | mac.h | 1 /* SPDX-License-Identifier: ISC */ 15 #define MT_RXD0_NORMAL_IP_SUM BIT(23) 16 #define MT_RXD0_NORMAL_UDP_TCP_SUM BIT(24) 17 #define MT_RXD0_NORMAL_GROUP_1 BIT(25) 18 #define MT_RXD0_NORMAL_GROUP_2 BIT(26) 19 #define MT_RXD0_NORMAL_GROUP_3 BIT(27) 20 #define MT_RXD0_NORMAL_GROUP_4 BIT(28) 25 #define MT_RXD1_MID_AMSDU_FRAME BIT(1) 26 #define MT_RXD1_LAST_AMSDU_FRAME BIT(0) 27 #define MT_RXD1_NORMAL_HDR_TRANS BIT(23) [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/dev/mediatek/mt76/ |
| H A D | mt76_connac2_mac.h | 1 /* SPDX-License-Identifier: ISC */ 46 #define MT_TX_FREE_PAIR BIT(31) 55 #define MT_TXD1_LONG_FORMAT BIT(31) 56 #define MT_TXD1_TGID BIT(30) 58 #define MT_TXD1_AMSDU BIT(23) 63 #define MT_TXD1_ETH_802_3 BIT(15) 64 #define MT_TXD1_VTA BIT(10) 67 #define MT_TXD2_FIX_RATE BIT(31) 68 #define MT_TXD2_FIXED_RATE BIT(30) 72 #define MT_TXD2_HTC_VLD BIT(13) [all …]
|
| /freebsd/lib/libpmc/pmu-events/arch/x86/sapphirerapids/ |
| H A D | floating-point.json | 5 "Counter": "0,1,2,3,4,5,6,7", 9 "PEBScounters": "0,1,2,3,4,5,6,7", 16 "Counter": "0,1,2,3,4,5,6,7", 19 "PEBScounters": "0,1,2,3,4,5,6,7", 27 "Counter": "0,1,2,3,4,5,6,7", 30 "PEBScounters": "0,1,2,3,4,5,6,7", 37 "Counter": "0,1,2,3,4,5,6,7", 40 "PEBScounters": "0,1,2,3,4,5,6,7", 47 "Counter": "0,1,2,3,4,5,6,7", 50 "PEBScounters": "0,1,2,3,4,5,6,7", [all …]
|
| /freebsd/sys/dev/qat/qat_hw/qat_c4xxx/ |
| H A D | adf_c4xxx_inline.h | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 2 /* Copyright(c) 2007-2022 Intel Corporation */ 19 #define ADF_C4XXX_SADB_SIZE_BIT BIT(24) 21 ((accel_dev)->aram_info->sadb_region_size / 32) 24 /* SADB CTRL register bit offsets */ 25 #define ADF_C4XXX_SADB_BIT_OFFSET 6 39 #define ADF_C4XXX_STATS_REQUEST_ENABLED BIT(16) 40 #define ADF_C4XXX_STATS_REQUEST_DISABLED ~BIT(16) 45 #define ADF_C4XXX_MAC_STATS_READY BIT(0) 48 #define ADF_C4XXX_MAC_ERROR_TX_UNDERRUN BIT(6) [all …]
|
| /freebsd/lib/libpmc/pmu-events/arch/x86/icelakex/ |
| H A D | floating-point.json | 5 "Counter": "0,1,2,3,4,5,6,7", 8 "PEBScounters": "0,1,2,3,4,5,6,7", 15 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 17 "Counter": "0,1,2,3,4,5,6,7", 20 "PEBScounters": "0,1,2,3,4,5,6,7", 21 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 26 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 28 "Counter": "0,1,2,3,4,5,6,7", 31 "PEBScounters": "0,1,2,3,4,5,6,7", 32 …-bit packed single precision floating-point instructions retired; some instructions will count twi… [all …]
|