Home
last modified time | relevance | path

Searched full:node (Results 1 – 25 of 2706) sorted by relevance

12345678910>>...109

/Zephyr-4.3.0/subsys/usb/device_next/class/
Dusbd_uac2_macros.h28 #define ARRAY_ELEMENT_LESS_THAN_NEXT(node, prop, idx) \ argument
29 COND_CODE_1(IS_EQ(idx, UTIL_DEC(DT_PROP_LEN(node, prop))), \
31 ((DT_PROP_BY_IDX(node, prop, idx) < \
32 DT_PROP_BY_IDX(node, prop, UTIL_INC(idx)))))
33 #define IS_ARRAY_SORTED(node, prop) \ argument
34 DT_FOREACH_PROP_ELEM_SEP(node, prop, ARRAY_ELEMENT_LESS_THAN_NEXT, (&&))
118 #define DESCRIPTOR_NAME(prefix, node) uac2_## prefix ## _ ## node argument
231 #define AUDIO_STREAMING_DATA_ENDPOINT_CONTROLS(node) \ argument
232 CONTROL_BITS(node, pitch_control, 0) | \
233 CONTROL_BITS(node, data_overrun_control, 2) | \
[all …]
/Zephyr-4.3.0/tests/unit/list/
Dslist.c14 sys_snode_t node; member
25 sys_snode_t *node; in verify_emptyness() local
48 SYS_SLIST_FOR_EACH_NODE(list, node) { in verify_emptyness()
56 SYS_SLIST_FOR_EACH_NODE_SAFE(list, node, s_node) { in verify_emptyness()
65 SYS_SLIST_FOR_EACH_CONTAINER(list, cnode, node) { in verify_emptyness()
74 SYS_SLIST_FOR_EACH_CONTAINER_SAFE(list, cnode, s_cnode, node) { in verify_emptyness()
87 sys_snode_t *node; in verify_content_amount() local
110 SYS_SLIST_FOR_EACH_NODE(list, node) { in verify_content_amount()
119 SYS_SLIST_FOR_EACH_NODE_SAFE(list, node, s_node) { in verify_content_amount()
128 SYS_SLIST_FOR_EACH_CONTAINER(list, cnode, node) { in verify_content_amount()
[all …]
Ddlist.c13 sys_dnode_t node; member
24 sys_dnode_t *node; in verify_emptyness() local
47 SYS_DLIST_FOR_EACH_NODE(list, node) { in verify_emptyness()
55 SYS_DLIST_FOR_EACH_NODE_SAFE(list, node, s_node) { in verify_emptyness()
64 SYS_DLIST_FOR_EACH_CONTAINER(list, cnode, node) { in verify_emptyness()
73 SYS_DLIST_FOR_EACH_CONTAINER_SAFE(list, cnode, s_cnode, node) { in verify_emptyness()
86 sys_dnode_t *node; in verify_content_amount() local
109 SYS_DLIST_FOR_EACH_NODE(list, node) { in verify_content_amount()
118 SYS_DLIST_FOR_EACH_NODE_SAFE(list, node, s_node) { in verify_content_amount()
127 SYS_DLIST_FOR_EACH_CONTAINER(list, cnode, node) { in verify_content_amount()
[all …]
Dsflist.c14 sys_sfnode_t node; member
25 sys_sfnode_t *node; in verify_emptyness() local
48 SYS_SFLIST_FOR_EACH_NODE(list, node) { in verify_emptyness()
56 SYS_SFLIST_FOR_EACH_NODE_SAFE(list, node, s_node) { in verify_emptyness()
65 SYS_SFLIST_FOR_EACH_CONTAINER(list, cnode, node) { in verify_emptyness()
74 SYS_SFLIST_FOR_EACH_CONTAINER_SAFE(list, cnode, s_cnode, node) { in verify_emptyness()
87 sys_sfnode_t *node; in verify_content_amount() local
110 SYS_SFLIST_FOR_EACH_NODE(list, node) { in verify_content_amount()
119 SYS_SFLIST_FOR_EACH_NODE_SAFE(list, node, s_node) { in verify_content_amount()
128 SYS_SFLIST_FOR_EACH_CONTAINER(list, cnode, node) { in verify_content_amount()
[all …]
/Zephyr-4.3.0/dts/arm/nxp/
Dnxp_mcxe315.dtsi55 /delete-node/ flexcan@310000;
56 /delete-node/ flexcan@314000;
57 /delete-node/ flexcan@318000;
58 /delete-node/ emac@480000;
59 /delete-node/ sai@36c000;
60 /delete-node/ sai@4dc000;
61 /delete-node/ lpuart@338000;
62 /delete-node/ lpuart@33c000;
63 /delete-node/ lpuart@340000;
64 /delete-node/ lpuart@344000;
[all …]
Dnxp_mcxe316.dtsi55 /delete-node/ flexcan@310000;
56 /delete-node/ flexcan@314000;
57 /delete-node/ flexcan@318000;
58 /delete-node/ emac@480000;
59 /delete-node/ sai@36c000;
60 /delete-node/ sai@4dc000;
61 /delete-node/ lpuart@338000;
62 /delete-node/ lpuart@33c000;
63 /delete-node/ lpuart@340000;
64 /delete-node/ lpuart@344000;
[all …]
Dnxp_mcxe317.dtsi73 /delete-node/ emac@480000;
74 /delete-node/ sai@36c000;
75 /delete-node/ sai@4dc000;
76 /delete-node/ lpuart@48c000;
77 /delete-node/ lpuart@490000;
78 /delete-node/ lpuart@494000;
79 /delete-node/ lpuart@498000;
80 /delete-node/ lpuart@49c000;
81 /delete-node/ lpuart@4a0000;
82 /delete-node/ lpuart@4a4000;
[all …]
/Zephyr-4.3.0/include/zephyr/drivers/stepper/
Dstepper_trinamic.h109 #define CHECK_RAMP_DT_DATA(node) \ argument
110 COND_CODE_1(DT_PROP_EXISTS(node, vstart), \
111 BUILD_ASSERT(IN_RANGE(DT_PROP(node, vstart), TMC_RAMP_VSTART_MIN, \
113 COND_CODE_1(DT_PROP_EXISTS(node, v1), \
114 BUILD_ASSERT(IN_RANGE(DT_PROP(node, v1), TMC_RAMP_V1_MIN, \
116 COND_CODE_1(DT_PROP_EXISTS(node, vmax), \
117 BUILD_ASSERT(IN_RANGE(DT_PROP(node, vmax), TMC_RAMP_VMAX_MIN, \
119 COND_CODE_1(DT_PROP_EXISTS(node, a1), \
120 BUILD_ASSERT(IN_RANGE(DT_PROP(node, a1), TMC_RAMP_A1_MIN, \
122 COND_CODE_1(DT_PROP_EXISTS(node, amax), \
[all …]
/Zephyr-4.3.0/include/zephyr/sys/
Ddlist.h39 struct _dnode *next; /* ptr to next node (sys_dnode_t) */
43 struct _dnode *prev; /* ptr to previous node (sys_dnode_t) */
52 * @brief Doubly-linked list node structure.
70 * @param __dn A sys_dnode_t pointer to peek each node of the list
77 * @brief Provide the primitive to iterate on a list, from a node in the list
86 * Like SYS_DLIST_FOR_EACH_NODE(), but __dn already contains a node in the list
93 * @param __dn A sys_dnode_t pointer to peek each node of the list;
94 * it contains the starting node, or NULL to start from the head
115 * @param __dn A sys_dnode_t pointer to peek each node of the list
125 * @brief Provide the primitive to resolve the container of a list node
[all …]
Dsflist.h15 * user "flags" bits for each node. They can be accessed and modified
43 /** Flagged single-linked list node structure. */
69 * @param __sn A sys_sfnode_t pointer to peek each node of the list
75 * @brief Provide the primitive to iterate on a list, from a node in the list
84 * Like SYS_SFLIST_FOR_EACH_NODE(), but __dn already contains a node in the list
91 * @param __sn A sys_sfnode_t pointer to peek each node of the list
92 * it contains the starting node, or NULL to start from the head
110 * @param __sn A sys_sfnode_t pointer to peek each node of the list
117 * @brief Provide the primitive to resolve the container of a list node
195 * These are the only functions that do not treat the list/node pointers
[all …]
Dslist.h38 /** Single-linked list node structure. */
64 * @param __sn A sys_snode_t pointer to peek each node of the list
70 * @brief Provide the primitive to iterate on a list, from a node in the list
79 * Like SYS_SLIST_FOR_EACH_NODE(), but __dn already contains a node in the list
86 * @param __sn A sys_snode_t pointer to peek each node of the list
87 * it contains the starting node, or NULL to start from the head
105 * @param __sn A sys_snode_t pointer to peek each node of the list
112 * @brief Provide the primitive to resolve the container of a list node
190 * These are the only functions that do not treat the list/node pointers
211 static inline sys_snode_t *z_snode_next_peek(const sys_snode_t *node) in z_snode_next_peek() argument
[all …]
/Zephyr-4.3.0/boards/native/nrf_bsim/
Dnrf54lm20bsim_nrf54lm20a_cpuapp.dts25 /delete-node/ cpus;
26 /delete-node/ sw-pwm;
29 /delete-node/ memory@20000000;
30 /delete-node/ memory@20067c00;
33 /delete-node/ vpr@4c000;
34 /delete-node/ interrupt-controller@f0000000;
35 /delete-node/ spi@4d000;
36 /delete-node/ usbhs@5a000;
37 /delete-node/ i2c@c6000;
38 /delete-node/ spi@c6000;
[all …]
Dnrf5340bsim_nrf5340_cpuapp.dts51 /delete-node/ dcnf@0;
52 /delete-node/ oscillator@4000;
53 /delete-node/ regulator@4000;
54 /delete-node/ ctrlap@6000;
55 /delete-node/ i2c@8000;
56 /delete-node/ spi@8000;
57 /delete-node/ i2c@9000;
58 /delete-node/ spi@9000;
59 /delete-node/ spi@a000;
60 /delete-node/ i2c@b000;
[all …]
Dnrf54l15bsim_nrf54l15_cpuapp.dts25 /delete-node/ cpus;
26 /delete-node/ sw-pwm;
29 /delete-node/ memory@20000000;
30 /delete-node/ memory@2002f000;
33 /delete-node/ vpr@4c000;
34 /delete-node/ mailbox@0;
35 /delete-node/ interrupt-controller@f0000000;
36 /delete-node/ i2c@c6000;
37 /delete-node/ spi@c6000;
38 /delete-node/ i2c@c7000;
[all …]
/Zephyr-4.3.0/scripts/dts/
Dgen_defines.py51 sorted_nodes = sorted(edt.nodes, key=lambda node: node.dep_ordinal)
55 for node in sorted_nodes:
56 node.z_path_id = node_z_path_id(node)
60 for node in sorted_nodes:
61 if 'zephyr,memory-region' in node.props:
62 region = node.props['zephyr,memory-region'].val
65 f"between {regions[region].path} and {node.path}")
66 regions[region] = node
68 for node in sorted_nodes:
69 write_node_comment(node)
[all …]
/Zephyr-4.3.0/soc/silabs/common/
Dpinctrl_soc.h46 #define Z_PINCTRL_SILABS_MODE_INIT(node) \ argument
47 (DT_PROP(node, drive_push_pull) ? (4 + DT_PROP(node, silabs_alternate_port_control)) \
48 : DT_PROP(node, drive_open_source) ? (6 + DT_PROP(node, bias_pull_down)) \
49 : DT_PROP(node, drive_open_drain) \
50 ? (8 + DT_PROP(node, silabs_input_filter) + 2 * DT_PROP(node, bias_pull_up) + \
51 4 * DT_PROP(node, silabs_alternate_port_control)) \
52 : DT_PROP(node, input_enable) \
53 ? ((DT_PROP(node, bias_pull_down) || DT_PROP(node, bias_pull_up)) \
54 ? (2 + DT_PROP(node, silabs_input_filter)) \
58 #define Z_PINCTRL_SILABS_DOUT_INIT(node) \ argument
[all …]
/Zephyr-4.3.0/include/zephyr/sensing/
Dsensing_sensor.h78 sys_snode_t snode; /**< Node in the singly-linked list of connections. */
121 * This macro generates a name for a sensor info structure based on a node and an index.
123 * @param node The devicetree node identifier.
126 #define SENSING_SENSOR_INFO_NAME(node, idx) \ argument
127 _CONCAT(_CONCAT(__sensing_sensor_info_, idx), DEVICE_DT_NAME_GET(node))
132 * This macro defines a sensor info structure based on a node and an index.
136 * @param node The devicetree node identifier.
139 #define SENSING_SENSOR_INFO_DEFINE(node, idx) \ argument
141 SENSING_SENSOR_INFO_NAME(node, idx)) = { \
142 .type = DT_PROP_BY_IDX(node, sensor_types, idx), \
[all …]
/Zephyr-4.3.0/scripts/kconfig/
Dkconfigfunctions.py61 to an EDT node. If it finds an EDT node, it will look to see if that node
63 return the node's name in the devicetree.
68 node = edt.chosen_node(chosen)
69 if not node:
72 if "label" not in node.props:
73 return node.name
75 return node.props["label"].val
81 that points to an enabled node, and "n" otherwise
86 node = edt.chosen_node(chosen)
87 return "y" if node and node.status == "okay" else "n"
[all …]
/Zephyr-4.3.0/doc/build/dts/
Dmacros.bnf12 ; - a <node-macro>, generated for a particular node
14 dt-macro = node-macro / other-macro
17 ; node-macro: a macro related to a node
20 node-macro = property-macro
21 ; A macro about the pinctrl properties in a node.
22 node-macro =/ pinctrl-macro
23 ; A macro about the GPIO hog properties in a node.
24 node-macro =/ gpiohogs-macro
25 ; EXISTS macro: node exists in the devicetree
26 node-macro =/ %s"DT_N" path-id %s"_EXISTS"
[all …]
/Zephyr-4.3.0/tests/benchmarks/data_structure_perf/dlist_perf/src/
Ddlist_perf.c21 sys_dnode_t node; member
26 * @brief Test whether dlist node struct is embeddedable
30 * dlist node.Appending nodes into the doubly-linked list
47 /* Initialize an user-defiend structure of contains dlist node */ in ZTEST()
62 sys_dlist_append(&test_list, &data_node[i].node); in ZTEST()
67 SYS_DLIST_FOR_EACH_CONTAINER(&test_list, cnode, node) { in ZTEST()
78 SYS_DLIST_FOR_EACH_CONTAINER_SAFE(&test_list, cnode, s_cnode, node) { in ZTEST()
107 sys_dnode_t *node, *s_node; in ZTEST() local
123 sys_dlist_append(&test_list, &data_node[i].node); in ZTEST()
128 SYS_DLIST_FOR_EACH_NODE(&test_list, node) { in ZTEST()
[all …]
/Zephyr-4.3.0/tests/bsim/bluetooth/mesh/tests_scripts/beacon/
Dbeacon_interval.sh8 # setup two device, tx node provisioned node, rx node is not provisioned and only has
11 # tx node is able to adapt observed beacon interval and able to send at least one
12 # SNB in 600s. And veify tx node doesnn't send SNB faster than 10s.
14 # 1- rx node waits for the tx node to send the first SNB,
15 # rx node sends two SNBs with 20ms period, verifies that tx node only sends SNB 10s later,
16 # after rx node sends out beacon. rx node skips the 3rd SNB and verifies that tx nodes keeps
18 # 2- rx node sends SNBs with 4s period for 600s and verifies that tx node doesn't send any
/Zephyr-4.3.0/include/zephyr/devicetree/
Dfixed-partitions.h26 * @brief Get a node identifier for a fixed partition with
46 * DT_NODE_BY_FIXED_PARTITION_LABEL(mcuboot) // node identifier for boot_partition
47 * DT_NODE_BY_FIXED_PARTITION_LABEL(image_0) // node identifier for slot0_partition
50 * @return a node identifier for the partition with that label property
58 * @return 1 if any "fixed-partitions" child node has the given label,
65 * @brief Test if fixed-partition compatible node exists
67 * @param node_id DTS node to test
68 * @return 1 if node exists and is fixed-partition compatible, 0 otherwise.
75 * @param node_id node identifier for a fixed-partitions child node
81 * @brief Get the node identifier of the flash memory for a partition
[all …]
/Zephyr-4.3.0/tests/bluetooth/controller/ctrl_tx_queue/src/
Dmain.c34 struct node_tx *node; in ZTEST() local
40 node = ull_tx_q_dequeue(&tx_q); in ZTEST()
41 zassert_equal_ptr(node, NULL, ""); in ZTEST()
52 struct node_tx *node; in ZTEST() local
64 node = ull_tx_q_dequeue(&tx_q); in ZTEST()
65 zassert_equal_ptr(node, &ctrl_nodes1[i], NULL); in ZTEST()
69 node = ull_tx_q_dequeue(&tx_q); in ZTEST()
70 zassert_equal_ptr(node, NULL, ""); in ZTEST()
81 struct node_tx *node; in ZTEST() local
93 node = ull_tx_q_dequeue(&tx_q); in ZTEST()
[all …]
/Zephyr-4.3.0/drivers/ethernet/
Deth.h15 #define NODE_MAC_ADDR_OCTET(node, n) DT_PROP_BY_IDX(node, local_mac_address, n) argument
18 #define NODE_MAC_ADDR_NULL(node) \ argument
19 ((NODE_MAC_ADDR_OCTET(node, 0) == 0) && \
20 (NODE_MAC_ADDR_OCTET(node, 1) == 0) && \
21 (NODE_MAC_ADDR_OCTET(node, 2) == 0) && \
22 (NODE_MAC_ADDR_OCTET(node, 3) == 0) && \
23 (NODE_MAC_ADDR_OCTET(node, 4) == 0) && \
24 (NODE_MAC_ADDR_OCTET(node, 5) == 0))
26 /* Given a device tree node for an ethernet controller will
30 #define NODE_HAS_VALID_MAC_ADDR(node) \ argument
[all …]
/Zephyr-4.3.0/soc/infineon/cat3/xmc4xxx/
Dpinctrl_soc.h17 #define Z_PINCTRL_STATE_PIN_INIT(node, pr, idx) \ argument
18 (DT_PROP_BY_PHANDLE_IDX(node, pr, idx, pinmux) | \
19 DT_PROP_BY_PHANDLE_IDX(node, pr, idx, bias_pull_down) << XMC4XXX_PULL_DOWN_POS | \
20 DT_PROP_BY_PHANDLE_IDX(node, pr, idx, bias_pull_up) << XMC4XXX_PULL_UP_POS | \
21 DT_PROP_BY_PHANDLE_IDX(node, pr, idx, drive_push_pull) << XMC4XXX_PUSH_PULL_POS | \
22 DT_PROP_BY_PHANDLE_IDX(node, pr, idx, drive_open_drain) << XMC4XXX_OPEN_DRAIN_POS | \
23 DT_PROP_BY_PHANDLE_IDX(node, pr, idx, output_high) << XMC4XXX_OUT_HIGH_POS | \
24 DT_PROP_BY_PHANDLE_IDX(node, pr, idx, output_low) << XMC4XXX_OUT_LOW_POS | \
25 DT_PROP_BY_PHANDLE_IDX(node, pr, idx, invert_input) << XMC4XXX_INV_INPUT_POS | \
26 DT_ENUM_IDX(DT_PHANDLE_BY_IDX(node, pr, idx), drive_strength) << XMC4XXX_DRIVE_POS | \
[all …]

12345678910>>...109