Home
last modified time | relevance | path

Searched refs:_n (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/drivers/misc/devmux/
Ddevmux.c154 #define DEVMUX_PHANDLE_DEVICES(_n) \ argument
155 DT_INST_FOREACH_PROP_ELEM_SEP(_n, devices, DEVMUX_PHANDLE_TO_DEVICE, (,))
157 #define DEVMUX_SELECTED(_n) DT_INST_PROP(_n, selected) argument
159 #define DEVMUX_DEFINE(_n) \ argument
160 BUILD_ASSERT(DT_INST_PROP_OR(_n, zephyr_mutable, 0), \
162 BUILD_ASSERT(DT_INST_PROP_LEN(_n, devices) > 0, "devices array must have non-zero size"); \
163 BUILD_ASSERT(DT_INST_PROP_LEN(_n, devices) <= INT_MAX, \
165 BUILD_ASSERT(DEVMUX_SELECTED(_n) >= 0, "selected must be > 0"); \
166 BUILD_ASSERT(DEVMUX_SELECTED(_n) < DT_INST_PROP_LEN(_n, devices), \
168 static const struct device *demux_devs_##_n[] = {DEVMUX_PHANDLE_DEVICES(_n)}; \
[all …]
/Zephyr-latest/tests/subsys/fs/common/
Dtest_fs_util.h181 #define TESTFS_BCMD_ENTER_DIR(_n) { \ argument
183 .name = _n, \
189 #define TESTFS_BCMD_FILE(_n, _val, _sz) { \ argument
191 .name = _n, \
200 #define TESTFS_BCMD_EXIT_DIR(_n) { \ argument
/Zephyr-latest/tests/bluetooth/audio/ccid/src/
Dmain.c58 #define CCID_DEFINE(_n, ...) \ argument
60 NULL, UINT_TO_POINTER(_n))
/Zephyr-latest/tests/kernel/common/src/
Derrno.c46 static void errno_thread(void *_n, void *_my_errno, void *_unused) in errno_thread() argument
48 int n = POINTER_TO_INT(_n); in errno_thread()
/Zephyr-latest/include/zephyr/sys/
Dutil_macro.h49 #define BIT64(_n) (1ULL << (_n)) argument
/Zephyr-latest/include/zephyr/bluetooth/
Dgatt.h781 #define _BT_GATT_SERVICE_ARRAY_ITEM(_n, _) BT_GATT_SERVICE(attrs_##_n) argument
/Zephyr-latest/subsys/bluetooth/audio/
Dascs.c3109 #define BT_ASCS_ASE_SNK_DEFINE(_n, ...) BT_ASCS_ASE_DEFINE(BT_UUID_ASCS_ASE_SNK, (_n) + 1) argument
3110 #define BT_ASCS_ASE_SRC_DEFINE(_n, ...) BT_ASCS_ASE_DEFINE(BT_UUID_ASCS_ASE_SRC, (_n) + 1 + \ argument