Home
last modified time | relevance | path

Searched refs:FOR_EACH (Results 1 – 25 of 29) sorted by relevance

12

/Zephyr-latest/samples/subsys/zbus/benchmark/src/
Dmsg_sub.c27 FOR_EACH(CREATE_OBSERVER, (;), CONSUMERS_NAME_LIST);
29 FOR_EACH(CREATE_OBSERVATIONS, (;), CONSUMERS_NAME_LIST);
56 FOR_EACH(CREATE_THREADS, (;), CONSUMERS_NAME_LIST);
Dsub.c27 FOR_EACH(CREATE_OBSERVER, (;), CONSUMERS_NAME_LIST);
29 FOR_EACH(CREATE_OBSERVATIONS, (;), CONSUMERS_NAME_LIST);
70 FOR_EACH(CREATE_THREADS, (;), CONSUMERS_NAME_LIST);
Dlis.c29 FOR_EACH(CREATE_OBSERVER, (;), CONSUMERS_NAME_LIST);
31 FOR_EACH(CREATE_OBSERVATIONS, (;), CONSUMERS_NAME_LIST);
/Zephyr-latest/soc/andestech/ae350/
Dpma.c84 FOR_EACH(SWITCH_CASE_PMAADDR_WRITE, (;), 0, 1, 2, 3, 4, 5, 6, 7, in write_pmaaddr_csr()
104 FOR_EACH(SWITCH_CASE_PMACFG_READ, (;), 0, 1, 2, 3); in write_pmacfg_entry()
117 FOR_EACH(SWITCH_CASE_PMACFG_WRITE, (;), 0, 1, 2, 3); in write_pmacfg_entry()
/Zephyr-latest/
D.clang-format5 # git grep -h '^#define [^[:space:]]*FOR_EACH[^[:space:]]*(' include/ \
6 # | sed "s,^#define \([^[:space:]]*FOR_EACH[^[:space:]]*\)(.*$, - '\1'," \
37 - 'FOR_EACH'
/Zephyr-latest/include/zephyr/sys/
Dutil_macro.h344 Z_LIST_DROP_FIRST(FOR_EACH(Z_LIST_NO_EMPTIES, (), __VA_ARGS__))
493 #define FOR_EACH(F, sep, ...) \ macro
556 FOR_EACH(F, term, LIST_DROP_EMPTY(__VA_ARGS__)) \
Dcbprintf_internal.h189 (FOR_EACH(Z_CBPRINTF_IS_NONE_CHAR_PTR, (+), __VA_ARGS__)) \
1024 FOR_EACH(Z_CBPRINTF_TAGGED_ARGS_3, (,), __VA_ARGS__), \
/Zephyr-latest/soc/nordic/
Dvalidate_rram_partitions.c76 FOR_EACH(CHECK_RRAM_NODE_COMPATIBLE, (;), RRAM_NODES_LIST);
92 FOR_EACH(CHECK_RRAM_PARTITION_WITHIN_PARENT, (;), RRAM_PARTITION_LIST);
/Zephyr-latest/tests/kernel/threads/no-multithreading/src/
Dmain.c97 FOR_EACH(SYS_INIT_CREATE, (;), PRE_KERNEL_1, PRE_KERNEL_2, POST_KERNEL);
/Zephyr-latest/tests/unit/util/
Dmain.c281 FOR_EACH(FOR_EACH_MACRO_TEST, (;), 1, 2, 3); in ZTEST()
287 uint8_t test0[] = { 0, FOR_EACH(FOR_EACH_MACRO_TEST2, (,))}; in ZTEST()
291 uint8_t test1[] = { 0, FOR_EACH(FOR_EACH_MACRO_TEST2, (,), 1)}; in ZTEST()
419 FOR_EACH(STRINGIFY, (,), TEST_FIXED_LIST) in ZTEST()
432 FOR_EACH(FOO_2, (;), FOR_EACH(FOO_1, (,), 0, 1, 2)); in ZTEST()
469 i = GET_ARG_N(3, FOR_EACH(TEST_MACRO, (), 1, 2, 3, 4, 5)); in ZTEST()
478 #define TEST_MACRO2(...) FOR_EACH(TEST_MACRO, (), __VA_ARGS__) in ZTEST()
/Zephyr-latest/include/zephyr/arch/xtensa/
Darch.h226 FOR_EACH(_SET_ONE_TLB, (;), 0, 1, 2, 3, 4, 5, 6, 7); \
/Zephyr-latest/tests/drivers/dma/loop_transfer/src/
Dtest_dma_loop.c484 FOR_EACH(TEST_LOOP, (), DMA_LIST);
493 FOR_EACH(TEST_LOOP_SUSPEND_RESUME, (), DMA_LIST);
502 FOR_EACH(TEST_LOOP_REPEATED_START_STOP, (), DMA_LIST);
/Zephyr-latest/subsys/testsuite/ztest/include/zephyr/
Dztress.h180 FOR_EACH(Z_ZTRESS_GET_HANDLER_DATA, (,), __VA_ARGS__) \
/Zephyr-latest/tests/drivers/dma/chan_blen_transfer/src/
Dtest_dma.c134 FOR_EACH(TEST_TASK, (), DMA_LIST);
/Zephyr-latest/drivers/interrupt_controller/
Dintc_shared_irq.c155 (FOR_EACH(F1, (+), DT_INST_SUPPORTS_DEP_ORDS(n)) - 1)
/Zephyr-latest/drivers/dma/
Ddma_nxp_sof_host_dma.c23 FOR_EACH(_SOF_HOST_DMA_CHANNEL_DECLARE,\
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/
Dradio_df.c36 FOR_EACH(fn, sep, 0, 1, 2, 3, 4, 5, 6, 7)
/Zephyr-latest/samples/userspace/shared_mem/src/
Dmain.c34 FOR_EACH(K_APPMEM_PARTITION_DEFINE, (;), user_part, red_part, enc_part, blk_part, ct_part);
/Zephyr-latest/arch/riscv/core/
Dpmp.c114 FOR_EACH(PMPADDR_READ, (;), 0, 1, 2, 3, 4, 5, 6, 7); in dump_pmp_regs()
116 FOR_EACH(PMPADDR_READ, (;), 8, 9, 10, 11, 12, 13, 14, 15); in dump_pmp_regs()
/Zephyr-latest/include/zephyr/drivers/
Dw1.h46 (FOR_EACH(F1, (+), DT_SUPPORTS_DEP_ORDS(node_id)) - 1)
/Zephyr-latest/include/zephyr/net/
Dnet_pkt_filter.h205 .tests = { FOR_EACH(Z_NPF_TEST_ADDR, (,), __VA_ARGS__) }, \
/Zephyr-latest/subsys/mgmt/ec_host_cmd/
Dec_host_cmd_handler.c27 FOR_EACH(EC_HOST_CMD_ADD_CHOSEN, (+), EC_HOST_CMD_CHOSEN_BACKEND_LIST) \
/Zephyr-latest/drivers/gpio/
Dgpio_rzt2m.c424 FOR_EACH(RZT2M_INIT_IRQ, (), LISTIFY(NS_IRQ_COUNT, RZT2M_GPIO_VALUE_IDENTITY, (,))) in rzt2m_gpio_common_init()
/Zephyr-latest/include/zephyr/zbus/
Dzbus.h348 #define ZBUS_CHAN_DECLARE(...) FOR_EACH(_ZBUS_CHAN_EXTERN, (;), __VA_ARGS__)
/Zephyr-latest/include/zephyr/bluetooth/audio/
Daudio.h214 ((enum bt_audio_codec_cap_chan_count)((FOR_EACH(BIT, (|), __VA_ARGS__)) >> 1))

12