Home
last modified time | relevance | path

Searched defs:bit (Results 1 – 25 of 316) sorted by relevance

12345678910>>...13

/freebsd/contrib/sendmail/include/sm/
H A Dbitops.h34 # define _BITWORD(bit) (((unsigned char)(bit) / (BYTEBITS * sizeof (int))) & BITMAPMAX) argument
35 # define _BITBIT(bit) ((unsigned int)1 << ((unsigned char)(bit) % (BYTEBITS * sizeof (int)))) argument
40 # define bitidx(bit) ((unsigned int) (bit) & 0xff) argument
43 # define bitnset(bit, map) ((map)[_BITWORD(bit)] & _BITBIT(bit)) argument
46 # define setbitn(bit, map) (map)[_BITWORD(bit)] |= _BITBIT(bit) argument
49 # define clrbitn(bit, map) (map)[_BITWORD(bit)] &= ~_BITBIT(bit) argument
55 # define bitset(bit, word) (((word) & (bit)) != 0) argument
/freebsd/sys/contrib/device-tree/include/dt-bindings/mfd/
H A Dstm32f4-rcc.h34 #define STM32F4_AHB1_RESET(bit) (STM32F4_RCC_AHB1_##bit + (0x10 * 8)) argument
35 #define STM32F4_AHB1_CLOCK(bit) (STM32F4_RCC_AHB1_##bit) argument
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
81 #define STM32F4_APB1_RESET(bit) (STM32F4_RCC_APB1_##bit + (0x20 * 8)) argument
82 #define STM32F4_APB1_CLOCK(bit) (STM32F4_RCC_APB1_##bit + 0x80) argument
105 #define STM32F4_APB2_RESET(bit) (STM32F4_RCC_APB2_##bit + (0x24 * 8)) argument
106 #define STM32F4_APB2_CLOCK(bit) (STM32F4_RCC_APB2_##bit + 0xA0) argument
H A Dstm32f7-rcc.h34 #define STM32F7_AHB1_RESET(bit) (STM32F7_RCC_AHB1_##bit + (0x10 * 8)) argument
35 #define STM32F7_AHB1_CLOCK(bit) (STM32F7_RCC_AHB1_##bit) argument
45 #define STM32F7_AHB2_RESET(bit) (STM32F7_RCC_AHB2_##bit + (0x14 * 8)) argument
46 #define STM32F7_AHB2_CLOCK(bit) (STM32F7_RCC_AHB2_##bit + 0x20) argument
52 #define STM32F7_AHB3_RESET(bit) (STM32F7_RCC_AHB3_##bit + (0x18 * 8)) argument
53 #define STM32F7_AHB3_CLOCK(bit) (STM32F7_RCC_AHB3_##bit + 0x40) argument
87 #define STM32F7_APB1_RESET(bit) (STM32F7_RCC_APB1_##bit + (0x20 * 8)) argument
88 #define STM32F7_APB1_CLOCK(bit) (STM32F7_RCC_APB1_##bit + 0x80) argument
113 #define STM32F7_APB2_RESET(bit) (STM32F7_RCC_APB2_##bit + (0x24 * 8)) argument
114 #define STM32F7_APB2_CLOCK(bit) (STM32F7_RCC_APB2_##bit + 0xA0) argument
H A Dstm32h7-rcc.h17 #define STM32H7_AHB3_RESET(bit) (STM32H7_RCC_AHB3_##bit + (0x7C * 8)) argument
28 #define STM32H7_AHB1_RESET(bit) (STM32H7_RCC_AHB1_##bit + (0x80 * 8)) argument
37 #define STM32H7_AHB2_RESET(bit) (STM32H7_RCC_AHB2_##bit + (0x84 * 8)) argument
56 #define STM32H7_AHB4_RESET(bit) (STM32H7_RCC_AHB4_##bit + (0x88 * 8)) argument
62 #define STM32H7_APB3_RESET(bit) (STM32H7_RCC_APB3_##bit + (0x8C * 8)) argument
90 #define STM32H7_APB1L_RESET(bit) (STM32H7_RCC_APB1L_##bit + (0x90 * 8)) argument
99 #define STM32H7_APB1H_RESET(bit) (STM32H7_RCC_APB1H_##bit + (0x94 * 8)) argument
118 #define STM32H7_APB2_RESET(bit) (STM32H7_RCC_APB2_##bit + (0x98 * 8)) argument
134 #define STM32H7_APB4_RESET(bit) (STM32H7_RCC_APB4_##bit + (0x9C * 8)) argument
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/Utility/
H A DInstructionUtils.h36 static inline uint32_t Bit32(const uint32_t bits, const uint32_t bit) { in Bit32()
40 static inline uint64_t Bit64(const uint64_t bits, const uint32_t bit) { in Bit64()
55 static inline void SetBit32(uint32_t &bits, const uint32_t bit, in SetBit32()
73 static inline uint64_t MaskUpToBit(const uint64_t bit) { in MaskUpToBit()
89 static inline bool BitIsSet(const uint64_t value, const uint64_t bit) { in BitIsSet()
93 static inline bool BitIsClear(const uint64_t value, const uint64_t bit) { in BitIsClear()
/freebsd/sys/contrib/openzfs/module/zstd/lib/common/
H A Dcpu.h112 #define X(name, r, bit) \ argument
118 #define C(name, bit) X(name, f1c, bit) argument
149 #define D(name, bit) X(name, f1d, bit) argument
182 #define B(name, bit) X(name, f7b, bit) argument
208 #define C(name, bit) X(name, f7c, bit) argument
/freebsd/sys/contrib/zstd/lib/common/
H A Dcpu.h110 #define X(name, r, bit) \ argument
116 #define C(name, bit) X(name, f1c, bit) argument
147 #define D(name, bit) X(name, f1d, bit) argument
180 #define B(name, bit) X(name, f7b, bit) argument
206 #define C(name, bit) X(name, f7c, bit) argument
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dbitops.h127 int bit; find_first_bit() local
149 int bit; find_first_zero_bit() local
172 int bit; find_last_bit() local
198 int bit; find_next_bit() local
238 int bit; find_next_zero_bit() local
291 test_and_clear_bit(long bit,volatile unsigned long * var) test_and_clear_bit() argument
306 __test_and_clear_bit(long bit,volatile unsigned long * var) __test_and_clear_bit() argument
321 test_and_set_bit(long bit,volatile unsigned long * var) test_and_set_bit() argument
336 __test_and_set_bit(long bit,volatile unsigned long * var) __test_and_set_bit() argument
401 for_each_set_bit(bit,addr,size) global() argument
406 for_each_clear_bit(bit,addr,size) global() argument
[all...]
H A Dwait_bit.h45 clear_and_wake_up_bit(int bit, void *word) in clear_and_wake_up_bit()
52 bit_waitqueue(void *word, int bit) in bit_waitqueue()
/freebsd/contrib/wpa/src/utils/
H A Dbitfield.c40 void bitfield_set(struct bitfield *bf, size_t bit) in bitfield_set()
48 void bitfield_clear(struct bitfield *bf, size_t bit) in bitfield_clear()
56 int bitfield_is_set(struct bitfield *bf, size_t bit) in bitfield_is_set()
/freebsd/sys/dev/qat/qat_api/include/
H A Dcpa_types.h170 #define CPA_BITMAP_BIT_TEST(bitmask, bit) \ argument
178 #define CPA_BITMAP_BIT_SET(bitmask, bit) \ argument
186 #define CPA_BITMAP_BIT_CLEAR(bitmask, bit) \ argument
/freebsd/sys/xen/
H A Dxen-os.h123 xen_test_bit(int bit,volatile xen_ulong_t * addr) xen_test_bit() argument
131 xen_set_bit(int bit,volatile xen_ulong_t * addr) xen_set_bit() argument
137 xen_clear_bit(int bit,volatile xen_ulong_t * addr) xen_clear_bit() argument
/freebsd/contrib/jemalloc/include/jemalloc/internal/
H A Dbitmap.h195 bitmap_get(bitmap_t *bitmap, const bitmap_info_t *binfo, size_t bit) { in bitmap_get()
206 bitmap_set(bitmap_t *bitmap, const bitmap_info_t *binfo, size_t bit) { in bitmap_set()
246 size_t bit = 0; in bitmap_ffu() local
286 size_t bit; in bitmap_ffu() local
302 size_t bit; in bitmap_sfu() local
331 bitmap_unset(bitmap_t *bitmap, const bitmap_info_t *binfo, size_t bit) { in bitmap_unset()
/freebsd/crypto/heimdal/kadmin/
H A Dutil.c107 parse_attributes (const char *resp, krb5_flags *attr, int *mask, int bit) in parse_attributes()
129 edit_attributes (const char *prompt, krb5_flags *attr, int *mask, int bit) in edit_attributes()
237 parse_timet (const char *resp, krb5_timestamp *value, int *mask, int bit) in parse_timet()
258 edit_timet (const char *prompt, krb5_timestamp *value, int *mask, int bit) in edit_timet()
323 parse_deltat (const char *resp, krb5_deltat *value, int *mask, int bit) in parse_deltat()
345 edit_deltat (const char *prompt, krb5_deltat *value, int *mask, int bit) in edit_deltat()
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DFlags.h96 bool Test(ValueType bit) const { return (m_flags & bit) != 0; } in Test()
111 bool IsClear(ValueType bit) const { return (m_flags & bit) == 0; } in IsClear()
/freebsd/contrib/bzip2/
H A Dunzcrash.c64 void flip_bit ( int bit ) in flip_bit()
78 int bit; in main() local
/freebsd/sys/dev/iavf/
H A Diavf_lib.h338 iavf_set_state(volatile u32 *s, enum iavf_state bit) in iavf_set_state()
352 iavf_clear_state(volatile u32 *s, enum iavf_state bit) in iavf_clear_state()
368 iavf_testandset_state(volatile u32 *s, enum iavf_state bit) in iavf_testandset_state()
384 iavf_testandclear_state(volatile u32 *s, enum iavf_state bit) in iavf_testandclear_state()
402 iavf_test_state(volatile u32 *s, enum iavf_state bit) in iavf_test_state()
/freebsd/sys/contrib/dev/rtw88/
H A Dhci.h117 static inline void rtw_write8_set(struct rtw_dev *rtwdev, u32 addr, u8 bit) in rtw_write8_set()
125 static inline void rtw_write16_set(struct rtw_dev *rtwdev, u32 addr, u16 bit) in rtw_write16_set()
133 static inline void rtw_write32_set(struct rtw_dev *rtwdev, u32 addr, u32 bit) in rtw_write32_set()
141 static inline void rtw_write8_clr(struct rtw_dev *rtwdev, u32 addr, u8 bit) in rtw_write8_clr()
149 static inline void rtw_write16_clr(struct rtw_dev *rtwdev, u32 addr, u16 bit) in rtw_write16_clr()
157 static inline void rtw_write32_clr(struct rtw_dev *rtwdev, u32 addr, u32 bit) in rtw_write32_clr()
/freebsd/sys/netinet/
H A Dip_output.c1183 #define OPTSET(bit) do { \ in ip_ctloutput() argument
1192 #define OPTSET2(bit, val) do { \ in ip_ctloutput() argument
1400 #define OPTBIT(bit) (inp->inp_flags & bit ? 1 : 0) in ip_ctloutput() argument
1401 #define OPTBIT2(bit) (in in ip_ctloutput() argument
[all...]
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Dutil.h57 mt76_wcid_mask_set(u32 *mask, u16 bit) in mt76_wcid_mask_set()
64 mt76_wcid_mask_clear(u32 *mask, u16 bit) in mt76_wcid_mask_clear()
/freebsd/tools/test/stress2/misc/
H A Dmsetdomain.sh88 mask = ~(1 << bit); heredoc
H A Dsendmsg.sh113 mask = ~(1 << bit); heredoc
/freebsd/crypto/openssl/crypto/
H A Dmem_sec.c327 size_t bit = (sh.arena_size + ptr - sh.arena) / sh.minsize; in sh_getlist() local
341 size_t bit; in sh_testbit() local
352 size_t bit; in sh_clearbit() local
364 size_t bit; in sh_setbit() local
600 size_t bit; in sh_find_my_buddy() local
/freebsd/contrib/openbsm/bin/auditreduce/
H A Dauditreduce.h70 #define SETOPT(optmask, bit) (optmask |= bit) argument
71 #define ISOPTSET(optmask, bit) (optmask & bit) argument
/freebsd/sys/dev/iicbus/gpio/
H A Dtca64xx.c346 uint8_t bit, val, addr; in tca64xx_pin_getflags() local
377 uint8_t bit, val, addr, pins, inv_val; in tca64xx_pin_setflags() local
442 uint8_t bit, addr, pins, reg_pvalue; in tca64xx_pin_get() local
468 uint8_t bit, addr, pins, value; in tca64xx_pin_set() local
513 uint8_t bit, addr, pins, value; in tca64xx_pin_toggle() local

12345678910>>...13