zephyr/include
Martí Bolívar 9c229a417c devicetree: add DT_FOREACH_PROP_ELEM(node_id, prop, fn)
It can be convenient to "iterate" over the elements of a property, in
the same way it is convenient to "iterate" over enabled instances.

Add a new macro for doing this, along with a DT_INST_FOREACH_PROP_ELEM
variant.

This is likely to be more convenient than UTIL_LISTIFY or FOR_EACH in
some situations because:

- it handles inputs of any length
- compiler error messages will be shorter and more self-contained
- it is easier to use with phandle-array type properties, which
  require more complicated macro boilerplate when used with
  util_macro.h APIs

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2021-04-22 15:32:10 +02:00
..
app_memory arm/arm64: Make ARM64 a standalone architecture 2021-03-31 10:34:33 -05:00
arch kernel: add an architecture specific structs header 2021-04-21 09:03:47 -04:00
audio audio: dmic: fix compile error on arm gcc 8 2021-02-16 15:29:16 +03:00
bluetooth Bluetooth: services: Adds OTS name length checks 2021-04-22 11:32:25 +02:00
canbus canbus: isotp: add fixed addressing feature 2021-04-06 16:44:34 -04:00
console device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
crypto device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
data doc: fix @param usage in callbacks 2020-12-18 12:18:28 +01:00
debug debug: coredump: remove z_ prefix for stuff used outside subsys 2021-01-21 22:08:59 -05:00
devicetree devicetree: spi: clean up DT_SPI_DEV_CS_GPIOS_CTLR 2021-03-30 07:06:48 -05:00
dfu modules: introduce MCUBOOT_BOOTUTIL module 2021-01-14 18:03:38 +01:00
disk include: disk_access: Add a compat warning 2021-03-26 08:59:47 -04:00
display device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
drivers drivers: clock_control: add R-Car CPG MSSR driver 2021-04-22 10:38:45 +02:00
dt-bindings include: Add Renesas clock control driver 2021-04-22 10:38:45 +02:00
fs include/fs: fixed typo in fs_file_t_init() description 2021-02-05 07:32:20 -05:00
ipc ipc: RPMsg service to register multiple endpoints 2021-01-19 22:07:09 +01:00
kernel kernel: mmu: collect more demand paging statistics 2021-04-06 16:43:55 -04:00
linker net: Introduce new NETWORK_RAM_SECTIONS() macro for common-ram.ld 2021-04-20 08:29:49 -04:00
logging logging: add log_output_timestamp_to_us() helper function 2021-04-20 18:21:26 -04:00
lorawan lorawan: add callback for datarate changes 2021-02-28 16:36:57 -05:00
mgmt doc: fix @param usage in callbacks 2020-12-18 12:18:28 +01:00
modbus modbus: add raw ADU support 2021-03-19 15:50:21 +01:00
net net: if: Check iface before setting/getting interface MTU 2021-04-20 13:44:39 -04:00
portability portability: move cmsis api headers 2021-04-20 08:45:05 -04:00
posix sys: eventfd: Add locking to eventfd_read/write functions 2021-04-15 07:16:51 -05:00
power power: doc: Create a subgroup to constraint API 2021-03-22 12:42:30 -04:00
random random: Add syscalls for random subsystem 2020-07-08 21:05:36 -04:00
settings settings: disallow modifying the content of a static subtree name 2020-07-27 19:03:44 +02:00
shell shell: Add support for logging v2 2021-04-19 10:59:23 -04:00
stats zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
storage storage/flash_map: Add macro to get string label from DTS 2021-03-30 09:01:20 -05:00
sys lib: os: cbprintf: Suppress sizeof-array-decay warning 2021-04-22 07:42:58 -04:00
task_wdt task_wdt: add task-level watchdog subsystem 2021-03-15 12:24:54 +01:00
timing timing: guard the header with CONFIG_TIMING_FUNCTIONS 2021-04-06 16:43:55 -04:00
toolchain toolchain: add llvm abstraction 2021-04-22 07:42:58 -04:00
tracing tracing: remove cpu_stats in favor of thread runtime stats 2021-04-16 15:31:24 -04:00
usb usb: dfu: give wait_for_usb_dfu an argument 2021-03-22 12:55:56 +01:00
zephyr zephyr: Remove support for deprecated int types 2021-03-05 04:56:13 -06:00
cache.h cache: libmetal: Redirect sys_cache_flush() 2021-01-19 14:31:02 -05:00
device.h kernel/arch: cleanup function definitions 2021-04-01 05:34:17 -04:00
devicetree.h devicetree: add DT_FOREACH_PROP_ELEM(node_id, prop, fn) 2021-04-22 15:32:10 +02:00
ec_host_cmd.h include: remove enum build assert 2020-10-02 11:44:39 +02:00
emul.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
exc_handle.h kernel: rename z_arch_ to arch_ 2019-11-07 15:21:46 -08:00
fatal.h doc: fix misspelling in API doxygen comments 2019-10-29 06:00:14 +01:00
generated_dts_board.h license: add missing SPDX headers 2021-02-11 08:05:16 -05:00
init.h kernel/arch: cleanup function definitions 2021-04-01 05:34:17 -04:00
irq.h irq: document requirement that irq_lock/unlock provides a memory barrier 2021-01-26 13:42:17 -05:00
irq_nextlevel.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
irq_offload.h irq: Change offload API to take a constant parameter 2020-09-02 13:48:13 +02:00
kernel.h kernel: Allow k_poll on message queues 2021-04-17 07:47:26 -04:00
kernel_includes.h kernel: move thread definitions to thread.h 2021-01-13 18:18:42 -05:00
kernel_structs.h kernel: add an architecture specific structs header 2021-04-21 09:03:47 -04:00
kernel_version.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
mempool_heap.h kernel: Remove z_mem_pool wrapper internals 2020-12-07 21:50:14 -05:00
ptp_clock.h include: Move ptp_clock.h to drivers/ptp_clock.h 2021-03-25 10:09:33 +02:00
sched_priq.h cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
shared_irq.h drivers: intc: shared_irq: remove internal structs from header 2021-04-13 13:03:33 -04:00
spinlock.h kernel: fix usage of KERNEL_COHERENCE macro 2021-02-03 10:42:04 -05:00
sw_isr_table.h irq: Change dynamic API to take a constant parameter 2020-09-02 13:48:13 +02:00
sys_clock.h kernel: remove tickless idle 2021-03-19 11:22:17 -04:00
syscall.h userspace: rename _is_user_context -> k_is_user_context 2021-04-01 05:34:17 -04:00
syscall_handler.h kernel: Cleanup logger setup in kernel files 2020-11-27 09:56:34 -05:00
timeout_q.h kernel/arch: cleanup function definitions 2021-04-01 05:34:17 -04:00
toolchain.h toolchain: add llvm abstraction 2021-04-22 07:42:58 -04:00
wait_q.h headers: Refactor kernel and arch headers. 2019-11-06 16:07:32 -08:00
zephyr.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00