/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/Utils/ |
H A D | AArch64SMEAttributes.cpp | 17 Bitmask |= M; in set() 19 Bitmask &= ~M; in set() 26 assert(!(isNewZA() && (Bitmask & SME_ABI_Routine)) && in set() 46 set(SMEAttrs(*F).Bitmask | SMEAttrs(F->getName()).Bitmask); in SMEAttrs() 50 SMEAttrs::SMEAttrs(StringRef FuncName) : Bitmask(0) { in SMEAttrs() 52 Bitmask |= (SMEAttrs::SM_Compatible | SMEAttrs::SME_ABI_Routine); in SMEAttrs() 54 Bitmask |= SMEAttrs::SM_Compatible | encodeZAState(StateValue::In) | in SMEAttrs() 58 Bitmask |= SMEAttrs::SM_Compatible; in SMEAttrs() 62 Bitmask = 0; in SMEAttrs() 64 Bitmask |= SM_Enabled; in SMEAttrs() [all …]
|
H A D | AArch64SMEAttributes.h | 26 unsigned Bitmask; variable 51 SMEAttrs(unsigned Mask = Normal) : Bitmask(0) { set(Mask); } 60 bool hasStreamingBody() const { return Bitmask & SM_Body; } in hasStreamingBody() 61 bool hasStreamingInterface() const { return Bitmask & SM_Enabled; } in hasStreamingInterface() 66 return Bitmask & SM_Compatible; in hasStreamingCompatibleInterface() 80 static StateValue decodeZAState(unsigned Bitmask) { in decodeZAState() argument 81 return static_cast<StateValue>((Bitmask & ZA_Mask) >> ZA_Shift); in decodeZAState() 87 bool isNewZA() const { return decodeZAState(Bitmask) == StateValue::New; } in isNewZA() 88 bool isInZA() const { return decodeZAState(Bitmask) == StateValue::In; } in isInZA() 89 bool isOutZA() const { return decodeZAState(Bitmask) == StateValue::Out; } in isOutZA() [all …]
|
/freebsd/sys/contrib/ncsw/Peripherals/FM/MAC/ |
H A D | tgec.h | 68 #define GET_EXCEPTION_FLAG(bitMask, exception) switch (exception){ \ argument 70 bitMask = TGEC_IMASK_MDIO_SCAN_EVENT ; break; \ 72 bitMask = TGEC_IMASK_MDIO_CMD_CMPL ; break; \ 74 bitMask = TGEC_IMASK_REM_FAULT ; break; \ 76 bitMask = TGEC_IMASK_LOC_FAULT ; break; \ 78 bitMask = TGEC_IMASK_TX_ECC_ER ; break; \ 80 bitMask = TGEC_IMASK_TX_FIFO_UNFL ; break; \ 82 bitMask = TGEC_IMASK_TX_FIFO_OVFL ; break; \ 84 bitMask = TGEC_IMASK_TX_ER ; break; \ 86 bitMask = TGEC_IMASK_RX_FIFO_OVFL ; break; \ [all …]
|
H A D | dtsec.h | 65 #define GET_EXCEPTION_FLAG(bitMask, exception) switch (exception){ \ argument 67 bitMask = DTSEC_IMASK_BREN; break; \ 69 bitMask = DTSEC_IMASK_RXCEN; break; \ 71 bitMask = DTSEC_IMASK_GTSCEN ; break; \ 73 bitMask = DTSEC_IMASK_BTEN ; break; \ 75 bitMask = DTSEC_IMASK_TXCEN ; break; \ 77 bitMask = DTSEC_IMASK_TXEEN ; break; \ 79 bitMask = DTSEC_IMASK_LCEN ; break; \ 81 bitMask = DTSEC_IMASK_CRLEN ; break; \ 83 bitMask = DTSEC_IMASK_XFUNEN ; break; \ [all …]
|
H A D | memac.h | 54 #define GET_EXCEPTION_FLAG(bitMask, exception) switch (exception){ \ argument 56 bitMask = MEMAC_IMASK_TECC_ER; break; \ 58 bitMask = MEMAC_IMASK_RECC_ER; break; \ 60 bitMask = MEMAC_IMASK_TSECC_ER; break; \ 62 bitMask = MEMAC_IMASK_MGI; break; \ 63 default: bitMask = 0;break;}
|
/freebsd/sys/contrib/ncsw/Peripherals/QM/ |
H A D | qm.h | 79 #define GET_EXCEPTION_FLAG(bitMask, exception) switch(exception){ \ argument 81 bitMask = QM_EX_CORENET_INITIATOR_DATA; break; \ 83 bitMask = QM_EX_CORENET_TARGET_DATA; break; \ 85 bitMask = QM_EX_CORENET_INVALID_TARGET_TRANSACTION; break; \ 87 bitMask = QM_EX_PFDR_THRESHOLD; break; \ 89 bitMask = QM_EX_PFDR_ENQUEUE_BLOCKED; break; \ 91 bitMask = QM_EX_SINGLE_ECC; break; \ 93 bitMask = QM_EX_MULTI_ECC; break; \ 95 bitMask = QM_EX_INVALID_COMMAND; break; \ 97 bitMask = QM_EX_DEQUEUE_DCP; break; \ [all …]
|
/freebsd/crypto/openssh/ |
H A D | xmss_hash.c | 96 unsigned char bitmask[2*n]; in hash_h() local 106 prf(bitmask, byte_addr, pub_seed, n); in hash_h() 109 prf(bitmask+n, byte_addr, pub_seed, n); in hash_h() 111 buf[i] = in[i] ^ bitmask[i]; in hash_h() 120 unsigned char bitmask[n]; in hash_f() local 130 prf(bitmask, byte_addr, pub_seed, n); in hash_f() 133 buf[i] = in[i] ^ bitmask[i]; in hash_f()
|
/freebsd/lib/libsys/ |
H A D | poll.2 | 114 bitmask. 120 bitmask. 127 bitmask at the same time. 135 bitmask to be reported. 143 bitmask. 224 bitmask to the 226 bitmask.
|
/freebsd/sys/contrib/ncsw/Peripherals/FM/ |
H A D | fm.h | 81 #define GET_EXCEPTION_FLAG(bitMask, exception) \ argument 84 bitMask = FM_EX_DMA_BUS_ERROR; break; \ 86 bitMask = FM_EX_DMA_SINGLE_PORT_ECC; break; \ 88 bitMask = FM_EX_DMA_READ_ECC; break; \ 90 bitMask = FM_EX_DMA_SYSTEM_WRITE_ECC; break; \ 92 bitMask = FM_EX_DMA_FM_WRITE_ECC; break; \ 94 bitMask = FM_EX_FPM_STALL_ON_TASKS; break; \ 96 bitMask = FM_EX_FPM_SINGLE_ECC; break; \ 98 bitMask = FM_EX_FPM_DOUBLE_ECC; break; \ 100 bitMask = FM_EX_QMI_SINGLE_ECC; break; \ [all …]
|
/freebsd/sys/contrib/openzfs/module/lua/ |
H A D | lgc.h | 79 #define bitmask(b) (1<<(b)) macro 80 #define bit2mask(b1,b2) (bitmask(b1) | bitmask(b2)) 81 #define l_setbit(x,b) setbits(x, bitmask(b)) 82 #define resetbit(x,b) resetbits(x, bitmask(b)) 83 #define testbit(x,b) testbits(x, bitmask(b)) 102 (!testbits((x)->gch.marked, WHITEBITS | bitmask(BLACKBIT)))
|
/freebsd/sys/contrib/ncsw/Peripherals/FM/MACSEC/ |
H A D | fm_macsec_master.c | 332 uint32_t bitMask = 0; in MacsecConfigException() local 337 GET_USER_EXCEPTION_FLAG(bitMask, exception); in MacsecConfigException() 338 if (bitMask) in MacsecConfigException() 341 p_FmMacsec->userExceptions |= bitMask; in MacsecConfigException() 343 p_FmMacsec->userExceptions &= ~bitMask; in MacsecConfigException() 396 uint32_t bitMask; in MacsecSetException() local 401 GET_USER_EXCEPTION_FLAG(bitMask, exception); in MacsecSetException() 402 if (bitMask) in MacsecSetException() 405 p_FmMacsec->userExceptions |= bitMask; in MacsecSetException() 407 p_FmMacsec->userExceptions &= ~bitMask; in MacsecSetException() [all …]
|
H A D | fm_macsec_secy.h | 53 #define GET_EXCEPTION_FLAG(bitMask, exception) switch (exception){ \ argument 55 bitMask = FM_MACSEC_SECY_EX_FRAME_DISCARDED; break; \ 56 default: bitMask = 0;break;} 64 #define GET_EVENT_FLAG(bitMask, event) switch (event){ \ argument 66 bitMask = FM_MACSEC_SECY_EV_NEXT_PN; break; \ 67 default: bitMask = 0;break;}
|
H A D | fm_macsec_master.h | 60 #define GET_EXCEPTION_FLAG(bitMask, exception, id) switch (exception){ \ argument 62 bitMask = FM_MACSEC_EX_TX_SC(id); break; \ 64 bitMask = FM_MACSEC_EX_ECC; break; \ 65 default: bitMask = 0;break;} 70 #define GET_USER_EXCEPTION_FLAG(bitMask, exception) switch (exception){ \ argument 72 bitMask = FM_MACSEC_USER_EX_SINGLE_BIT_ECC; break; \ 74 bitMask = FM_MACSEC_USER_EX_MULTI_BIT_ECC; break; \ 75 default: bitMask = 0;break;} 84 #define GET_EVENT_FLAG(bitMask, event, id) switch (event){ \ argument 86 bitMask = FM_MACSEC_EV_TX_SC_NEXT_PN(id); break; \ [all …]
|
/freebsd/contrib/lua/src/ |
H A D | lgc.h | 63 #define bitmask(b) (1<<(b)) macro 64 #define bit2mask(b1,b2) (bitmask(b1) | bitmask(b2)) 65 #define l_setbit(x,b) setbits(x, bitmask(b)) 66 #define resetbit(x,b) resetbits(x, bitmask(b)) 67 #define testbit(x,b) testbits(x, bitmask(b)) 90 (!testbits((x)->marked, WHITEBITS | bitmask(BLACKBIT)))
|
/freebsd/share/man/man4/ |
H A D | gpio.4 | 129 This is a bitmask of the pins on the 156 This is a bitmask of pins on the GPIO board that we would like to expose 158 To expose pin 0, 4 and 7, use the bitmask of 161 This is a bitmask of pins on the GPIO board that will be set to ON at host 163 To set pin 2, 5 and 13 to be set ON at boot, use the bitmask of
|
/freebsd/usr.sbin/ppp/ |
H A D | pred.c | 69 int i, bitmask; in compress() local 76 for (bitmask = 1, i = 0; i < 8 && len; i++, bitmask <<= 1) { in compress() 78 flags |= bitmask; /* Guess was right - don't output */ in compress() 103 int i, bitmask; in decompress() local 110 for (i = 0, bitmask = 1; i < 8; i++, bitmask <<= 1) { in decompress() 111 if (flags & bitmask) { in decompress()
|
/freebsd/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_fs_counters.c | 527 unsigned long *bitmask; member 540 return bitmap_weight(bulk->bitmask, bulk->bulk_len); in mlx5_fc_bulk_get_free_fcs_amount() 559 bulk->bitmask = kvcalloc(BITS_TO_LONGS(bulk_len), sizeof(unsigned long), in mlx5_fc_bulk_create() 561 if (!bulk->bitmask) in mlx5_fc_bulk_create() 572 set_bit(i, bulk->bitmask); in mlx5_fc_bulk_create() 578 kvfree(bulk->bitmask); in mlx5_fc_bulk_create() 594 kvfree(bulk->bitmask); in mlx5_fc_bulk_destroy() 602 int free_fc_index = find_first_bit(bulk->bitmask, bulk->bulk_len); in mlx5_fc_bulk_acquire_fc() 607 clear_bit(free_fc_index, bulk->bitmask); in mlx5_fc_bulk_acquire_fc() 615 if (test_bit(fc_index, bulk->bitmask)) in mlx5_fc_bulk_release_fc() [all...] |
/freebsd/sys/contrib/ncsw/Peripherals/FM/Pcd/ |
H A D | fm_pcd.h | 93 #define GET_FM_PCD_EXCEPTION_FLAG(bitMask, exception) \ argument 96 bitMask = FM_EX_KG_DOUBLE_ECC; break; \ 98 bitMask = FM_PCD_EX_PLCR_DOUBLE_ECC; break; \ 100 bitMask = FM_EX_KG_KEYSIZE_OVERFLOW; break; \ 102 bitMask = FM_PCD_EX_PLCR_INIT_ENTRY_ERROR; break; \ 104 bitMask = FM_PCD_EX_PLCR_PRAM_SELF_INIT_COMPLETE; break; \ 106 bitMask = FM_PCD_EX_PLCR_ATOMIC_ACTION_COMPLETE; break; \ 108 bitMask = FM_PCD_EX_PRS_DOUBLE_ECC; break; \ 110 bitMask = FM_PCD_EX_PRS_SINGLE_ECC; break; \ 111 default: bitMask = 0;break;}
|
/freebsd/sys/dev/ath/ath_hal/ |
H A D | ah_regdomain.h | 24 * BMLEN defines the size of the bitmask used to hold frequency 29 #define BMLEN 2 /* 2 x 64 bits in each channel bitmask */ 145 uint64_t dfsMask; /* DFS bitmask for 5Ghz tables */ 146 uint64_t pscan; /* Bitmask for passive scan */
|
/freebsd/sys/dev/qat/qat_api/include/ |
H A D | cpa_types.h | 170 #define CPA_BITMAP_BIT_TEST(bitmask, bit) \ argument 171 ((bitmask[(bit)/32]) & (0x1 << ((bit)%32))) 178 #define CPA_BITMAP_BIT_SET(bitmask, bit) \ argument 179 (bitmask[(bit)/32] |= (0x1 << ((bit)%32))) 186 #define CPA_BITMAP_BIT_CLEAR(bitmask, bit) \ argument 187 (bitmask[(bit)/32] &= ~(0x1 << ((bit)%32)))
|
/freebsd/share/man/man3/ |
H A D | qmath.3 | 138 .Xr Q_CRAWMASK 3 control bitmask 139 .Xr Q_SRAWMASK 3 sign bitmask 146 .Xr Q_IFRAWMASK 3 integer/fractional bitmask 157 .Xr Q_IRAWMASK 3 integer bitmask 165 .Xr Q_FRAWMASK 3 fractional bitmask
|
/freebsd/sys/dev/bwi/ |
H A D | bitops.h | 40 * __BIT(n): Return a bitmask with bit m set, where the least 43 * __BITS(m, n): Return a bitmask with bits m through n, inclusive, 47 * A "bitfield" is a span of consecutive bits defined by a bitmask,
|
/freebsd/sys/contrib/device-tree/Bindings/display/tegra/ |
H A D | nvidia,tegra114-mipi.txt | 10 - #nvidia,mipi-calibrate-cells: Should be 1. The cell is a bitmask of the pads 14 phandle to refer to the calibration controller node and a bitmask of the pads
|
/freebsd/sys/powerpc/powerpc/ |
H A D | cpu.c | 469 const char *bitmask; in cpu_6xx_setup() local 542 bitmask = HID0_7450_BITMASK; in cpu_6xx_setup() 545 bitmask = HID0_BITMASK; in cpu_6xx_setup() 549 printf("cpu%d: HID0 %b\n", cpuid, (int)hid0, bitmask); in cpu_6xx_setup() 610 const char *bitmask; in cpu_booke_setup() local 616 bitmask = HID0_E500MC_BITMASK; in cpu_booke_setup() 621 bitmask = HID0_E5500_BITMASK; in cpu_booke_setup() 634 bitmask = HID0_E500_BITMASK; in cpu_booke_setup() 637 printf("cpu%d: HID0 %b\n", cpuid, (int)hid0, bitmask); in cpu_booke_setup()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | DetectDeadLanes.h | 44 /// Contains a bitmask of which lanes of a given virtual register are 67 /// the bitmask based on the operands subregister, and puts the register into 71 /// Given a bitmask \p UsedLanes for the used lanes on a def output of a
|