Searched refs:BITS_PER_LONG (Results 1 – 9 of 9) sorted by relevance
/Zephyr-latest/tests/posix/signals/src/ |
D | main.c | 84 WRITE_BIT(target.sig[1], (signo)-BITS_PER_LONG, 1); in ZTEST() 94 WRITE_BIT(target.sig[signo / BITS_PER_LONG], signo % BITS_PER_LONG, 1); in ZTEST() 145 WRITE_BIT(target.sig[1], (signo)-BITS_PER_LONG, 0); in ZTEST() 155 WRITE_BIT(target.sig[signo / BITS_PER_LONG], signo % BITS_PER_LONG, 0); in ZTEST() 185 set.sig[1] = BIT((SIGRTMIN)-BITS_PER_LONG); in ZTEST() 187 WRITE_BIT(set.sig[SIGRTMAX / BITS_PER_LONG], SIGRTMAX % BITS_PER_LONG, 1); in ZTEST()
|
/Zephyr-latest/subsys/testsuite/ztest/src/ |
D | ztest_mock.c | 79 #define DEFINE_BITFIELD(name, bits) unsigned long(name)[DIV_ROUND_UP(bits, BITS_PER_LONG)] 84 const size_t words = DIV_ROUND_UP(bits, BITS_PER_LONG); in sys_bitfield_find_first_clear() 99 return cnt * BITS_PER_LONG; in sys_bitfield_find_first_clear() 102 (cnt * BITS_PER_LONG) + __builtin_ffsl(neg_bitmap) - 1; in sys_bitfield_find_first_clear()
|
/Zephyr-latest/lib/posix/options/ |
D | signal.c | 14 #define SIGNO_WORD_IDX(_signo) (_signo / BITS_PER_LONG) 15 #define SIGNO_WORD_BIT(_signo) (_signo & BIT_MASK(LOG2(BITS_PER_LONG)))
|
/Zephyr-latest/include/zephyr/drivers/i3c/ |
D | addresses.h | 60 unsigned long slots[((I3C_MAX_ADDR + 1) * 2) / BITS_PER_LONG];
|
/Zephyr-latest/include/zephyr/sys/ |
D | util.h | 57 # error Missing required predefined macros for BITS_PER_LONG calculation 70 #define BITS_PER_LONG (__CHAR_BIT__ * __SIZEOF_LONG__) macro 80 (((~0UL) - (1UL << (l)) + 1) & (~0UL >> (BITS_PER_LONG - 1 - (h))))
|
/Zephyr-latest/include/zephyr/posix/ |
D | signal.h | 56 unsigned long sig[DIV_ROUND_UP(_NSIG, BITS_PER_LONG)];
|
/Zephyr-latest/include/zephyr/ |
D | kernel_structs.h | 36 #define PRIQ_BITMAP_SIZE (DIV_ROUND_UP(K_NUM_THREAD_PRIO, BITS_PER_LONG))
|
/Zephyr-latest/drivers/i3c/ |
D | i3c_common.c | 50 idx = bitpos / BITS_PER_LONG; in i3c_addr_slots_set() 51 bitpos %= BITS_PER_LONG; in i3c_addr_slots_set() 76 idx = bitpos / BITS_PER_LONG; in i3c_addr_slots_status() 77 bitpos %= BITS_PER_LONG; in i3c_addr_slots_status()
|
/Zephyr-latest/arch/x86/zefi/ |
D | efi.h | 33 #define EFI_STATUS(_status) (_status | BIT((BITS_PER_LONG-1)))
|