Home
last modified time | relevance | path

Searched refs:nodelabel (Results 1 – 23 of 23) sorted by relevance

/Zephyr-latest/drivers/pinctrl/
Dpinctrl_sam.c12 #define SAM_PORT_ADDR_OR_NONE(nodelabel) \ argument
13 IF_ENABLED(DT_NODE_EXISTS(DT_NODELABEL(nodelabel)), \
14 (DT_REG_ADDR(DT_NODELABEL(nodelabel)),))
17 #define SAM_PORT_CLOCKS_OR_NONE(nodelabel) \ argument
18 IF_ENABLED(DT_NODE_EXISTS(DT_NODELABEL(nodelabel)), \
19 (SAM_DT_CLOCK_PMC_CFG(0, DT_NODELABEL(nodelabel)),))
Dpinctrl_gd32_af.c37 #define GD32_PORT_ADDR_OR_NONE(nodelabel) \ argument
38 COND_CODE_1(DT_NODE_EXISTS(DT_NODELABEL(nodelabel)), \
39 (DT_REG_ADDR(DT_NODELABEL(nodelabel)),), ())
42 #define GD32_PORT_CLOCK_ID_OR_NONE(nodelabel) \ argument
43 COND_CODE_1(DT_NODE_EXISTS(DT_NODELABEL(nodelabel)), \
44 (DT_CLOCKS_CELL(DT_NODELABEL(nodelabel), id),), ())
Dpinctrl_sam0.c11 #define SAM_PORT_ADDR_OR_NONE(nodelabel) \ argument
12 IF_ENABLED(DT_NODE_EXISTS(DT_NODELABEL(nodelabel)), \
13 (DT_REG_ADDR(DT_NODELABEL(nodelabel)),))
Dpinctrl_gd32_afio.c27 #define GD32_PORT_ADDR_OR_NONE(nodelabel) \ argument
28 COND_CODE_1(DT_NODE_EXISTS(DT_NODELABEL(nodelabel)), \
29 (DT_REG_ADDR(DT_NODELABEL(nodelabel)),), ())
32 #define GD32_PORT_CLOCK_ID_OR_NONE(nodelabel) \ argument
33 COND_CODE_1(DT_NODE_EXISTS(DT_NODELABEL(nodelabel)), \
34 (DT_CLOCKS_CELL(DT_NODELABEL(nodelabel), id),), ())
Dpinctrl_nxp_s32.c22 #define SIUL2_BASE_OR_ZERO(nodelabel) \ argument
23 COND_CODE_1(DT_NODE_EXISTS(DT_NODELABEL(nodelabel)), \
24 (DT_REG_ADDR(DT_NODELABEL(nodelabel))), (0U))
Dpinctrl_max32.c12 #define ADI_MAX32_GET_PORT_ADDR_OR_NONE(nodelabel) \ argument
13 IF_ENABLED(DT_NODE_EXISTS(DT_NODELABEL(nodelabel)), \
14 (DT_REG_ADDR(DT_NODELABEL(nodelabel)),))
Dpinctrl_numicro.c36 #define NUMICRO_PORT_ADDR_OR_NONE(nodelabel) \ argument
37 IF_ENABLED(DT_NODE_EXISTS(DT_NODELABEL(nodelabel)), \
38 (DT_REG_ADDR(DT_NODELABEL(nodelabel)),))
Dpinctrl_esp32.c40 #define ESP32_GPIO_PORT_ADDR(nodelabel) \ argument
41 COND_CODE_1(DT_NODE_EXISTS(DT_NODELABEL(nodelabel)), \
42 (DT_REG_ADDR(DT_NODELABEL(nodelabel)),), \
/Zephyr-latest/kernel/
Ddevice.c72 const struct device *z_impl_device_get_by_dt_nodelabel(const char *nodelabel) in z_impl_device_get_by_dt_nodelabel() argument
75 if ((nodelabel == NULL) || (nodelabel[0] == '\0')) { in z_impl_device_get_by_dt_nodelabel()
98 if (strcmp(nodelabel, dev_nodelabel) == 0) { in z_impl_device_get_by_dt_nodelabel()
108 static inline const struct device *z_vrfy_device_get_by_dt_nodelabel(const char *nodelabel) in z_vrfy_device_get_by_dt_nodelabel() argument
112 if (k_usermode_string_copy(nl_copy, (char *)nodelabel, sizeof(nl_copy)) != 0) { in z_vrfy_device_get_by_dt_nodelabel()
/Zephyr-latest/include/zephyr/dt-bindings/rdc/
Dimx_rdc.h24 #define RDC_DT_VAL(nodelabel) DT_PROP(DT_NODELABEL(nodelabel), rdc) argument
/Zephyr-latest/drivers/pinctrl/renesas/smartbond/
Dpinctrl_smartbond.c11 #define GPIO_PORT_ENTRY(nodelabel) \ argument
12 { DT_REG_ADDR_BY_IDX(DT_NODELABEL(nodelabel), 1), \
13 DT_PROP(DT_NODELABEL(nodelabel), ngpios) }
/Zephyr-latest/drivers/clock_control/
Dclock_control_gd32.c45 #define TIMER_ID_OR_NONE(nodelabel) \ argument
46 COND_CODE_1(DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(nodelabel)), \
47 (DT_CLOCKS_CELL(DT_NODELABEL(nodelabel), id),), ())
/Zephyr-latest/subsys/shell/modules/
Ddevice_service.c108 const char *nodelabel = nl->nodelabels[j]; in cmd_device_list() local
110 shell_fprintf(sh, SHELL_NORMAL, " %s", nodelabel); in cmd_device_list()
/Zephyr-latest/doc/hardware/porting/
Dshields.rst42 to provide a device nodelabel is the form <device>_<shield>, for instance:
82 :file:`BOARD.dts` should define an alternate nodelabel for each connector interface.
/Zephyr-latest/drivers/gpio/
Dgpio_shell.c425 const char *nodelabel = nl->nodelabels[j]; in cmd_gpio_devices() local
427 shell_fprintf(sh, SHELL_NORMAL, " %s", nodelabel); in cmd_gpio_devices()
/Zephyr-latest/include/zephyr/
Ddevice.h929 __syscall const struct device *device_get_by_dt_nodelabel(const char *nodelabel);
Ddevicetree.h5286 #define DT_NODELABEL_STRING_ARRAY_ENTRY_INTERNAL(nodelabel) DT_STRINGIFY_INTERNAL(nodelabel), argument
/Zephyr-latest/scripts/dts/
Dgen_defines.py96 " ".join(f"fn({nodelabel})" for nodelabel in node.labels))
98 " ".join(f"fn({nodelabel}, __VA_ARGS__)" for nodelabel in node.labels))
/Zephyr-latest/tests/lib/devicetree/api/src/
Dmain.c1792 #define ENTRY(nodelabel) enum_ ## nodelabel, in ZTEST() argument
1793 #define VAR_PLUS(nodelabel, to_add) int nodelabel ## _added = enum_ ## nodelabel + to_add; in ZTEST() argument
/Zephyr-latest/doc/build/dts/
Dphandles.rst31 Notice how the ``&nodelabel`` devicetree syntax is similar to the "address of"
/Zephyr-latest/cmake/modules/
Dextensions.cmake3806 # Function for retrieving the node path for the node having nodelabel
3848 message(FATAL_ERROR "required nodelabel not found: ${DT_LABEL_NODELABEL}")
4800 # zephyr_linker_dts_memory(NODELABEL <nodelabel>)
4808 # matching the nodelabel exists and has status okay.
/Zephyr-latest/doc/releases/
Drelease-notes-2.7.rst739 * Added ``zephyr_udc0`` nodelabel to all boards with USB support to allow
Drelease-notes-3.3.rst2013 to provide a device nodelabel in the form ``<device>_<shield>``. In-tree shields