zephyr/include/zephyr/sys
TOKITA Hiroshi 8eff4b6036 include: sys: util_macro: add IS_BIT_MASK()/IS_SHIFTED_BIT_MASK()
Add IS_BIT_MASK() macro for determining whether a value is set bits
continuously from the LSB.
This macro is not dependent on bit-width and works in contrast to
BIT_MASK() and BIT64_MASK().
IS_SHIFTED_BIT_MASK() is a version of IS_BIT_MASK() that allows setting
the start bit of continuous bits.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@fujitsu.com>
2023-01-10 09:23:14 +01:00
..
__assert.h assert: Add no-op stub for __ASSERT_POST_ACTION 2022-12-05 12:36:58 +01:00
arch_interface.h cache: Rework cache API 2022-12-01 13:40:56 -05:00
atomic.h include: fix the remaining legacy #include paths 2022-08-02 16:41:41 +01:00
atomic_arch.h
atomic_builtin.h
atomic_c.h
base64.h
bitarray.h doxygen: remove redundant usages of def 2022-08-09 12:29:28 +02:00
byteorder.h treewide: Use CONFIG_*_ENDIAN instead of __BYTE_ORDER__ 2022-10-28 19:23:46 +09:00
cbprintf.h tests: Enable qemu_xtensa logging tests 2022-11-04 11:02:27 -04:00
cbprintf_cxx.h lib: os: cbprintf: Interpret unsigned char pointer as string 2022-09-19 10:14:23 +00:00
cbprintf_enums.h lib: os: cbprint: enable tagged arguments for packaging 2022-06-08 00:15:55 +09:00
cbprintf_internal.h ARC: cbprintf: enforce proper alignment 2022-10-31 11:22:12 +01:00
check.h include: migrate includes to <zephyr/...> 2022-05-06 20:03:00 +02:00
crc.h include: sys: crc: add crc_by_type inline dispatch function 2022-11-29 09:32:28 +01:00
device_mmio.h doc: doxygen: restructure device model APIs 2022-09-07 10:36:25 +02:00
dlist.h include: migrate includes to <zephyr/...> 2022-05-06 20:03:00 +02:00
errno_private.h kernel: Allow Zephyr to use libc's internal errno 2022-05-12 19:06:48 -04:00
fdtable.h net: sockets: Prevent compiler error if warnings being treated as errors 2022-11-09 09:15:32 +00:00
heap_listener.h doc: doxygen: group heap APIs 2022-09-07 10:45:55 -04:00
kobject.h scripts: move gen_kobject_list.py to scripts/build/gen_kobject_list.py 2022-07-12 10:03:45 +02:00
libc-hooks.h libc/picolibc: Rework malloc arena setup 2022-06-30 10:33:24 +02:00
linear_range.h lib: linear_range: fix count for ranges with step 0 2022-12-27 13:12:55 +01:00
list_gen.h include: migrate includes to <zephyr/...> 2022-05-06 20:03:00 +02:00
math_extras.h include: migrate includes to <zephyr/...> 2022-05-06 20:03:00 +02:00
math_extras_impl.h include: migrate includes to <zephyr/...> 2022-05-06 20:03:00 +02:00
mem_blocks.h doc: doxygen: add memory management group 2022-09-07 10:36:25 +02:00
mem_manage.h doc: doxygen: add memory management group 2022-09-07 10:36:25 +02:00
mem_stats.h lib/os: add statistics tracking to mem_blocks 2022-07-12 13:59:26 +00:00
mpsc_packet.h
mpsc_pbuf.h lib: os: mpsc_pbuf: Use flag for buffer full indication 2022-12-29 10:33:29 +01:00
multi_heap.h
mutex.h include: migrate includes to <zephyr/...> 2022-05-06 20:03:00 +02:00
notify.h include: migrate includes to <zephyr/...> 2022-05-06 20:03:00 +02:00
onoff.h include: migrate includes to <zephyr/...> 2022-05-06 20:03:00 +02:00
p4wq.h include: migrate includes to <zephyr/...> 2022-05-06 20:03:00 +02:00
printk.h lib/printk: Use picolibc's snprintf/vsnprintf for snprintk/vsnprintk 2022-06-24 20:30:03 +02:00
rb.h
reboot.h include: migrate includes to <zephyr/...> 2022-05-06 20:03:00 +02:00
ring_buffer.h ring_buffer: Introduce RING_BUF_ITEM_SIZEOF 2022-09-20 09:08:14 +00:00
sem.h include: migrate includes to <zephyr/...> 2022-05-06 20:03:00 +02:00
sflist.h include: migrate includes to <zephyr/...> 2022-05-06 20:03:00 +02:00
slist.h
speculation.h
spsc_pbuf.h lib: os: spsc_pbuf: Improve data cache configuration 2022-07-18 12:21:16 -04:00
sys_heap.h everywhere: Fix legacy include paths 2022-07-18 16:16:47 +00:00
sys_io.h
time_units.h kernel: Option to assert on spin lock time 2022-10-18 14:14:12 +02:00
timeutil.h
util.h util: provide IS_ARRAY_ELEMENT, ARRAY_INDEX, ARRAY_INDEX_FLOOR 2022-09-09 13:20:12 -05:00
util_internal.h sys: util: add a Z_IS_EQ macro to compare integers 2022-08-04 17:35:39 +01:00
util_loops.h
util_macro.h include: sys: util_macro: add IS_BIT_MASK()/IS_SHIFTED_BIT_MASK() 2023-01-10 09:23:14 +01:00
winstream.h