/Zephyr-Core-3.6.0/subsys/usb/device_next/class/ |
D | usbd_uac2_macros.h | 28 #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, (&&)) 194 #define AUDIO_STREAMING_DATA_ENDPOINT_CONTROLS(node) \ argument 195 CONTROL_BITS(node, pitch_control, 0) | \ 196 CONTROL_BITS(node, data_overrun_control, 2) | \ 197 CONTROL_BITS(node, data_underrun_control, 4) [all …]
|
/Zephyr-Core-3.6.0/tests/unit/list/ |
D | dlist.c | 13 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 …]
|
D | sflist.c | 14 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 …]
|
D | slist.c | 14 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 …]
|
/Zephyr-Core-3.6.0/scripts/kconfig/ |
D | kconfigfunctions.py | 57 to an EDT node. If it finds an EDT node, it will look to see if that node 59 return the node's name in the devicetree. 64 node = edt.chosen_node(chosen) 65 if not node: 68 if "label" not in node.props: 69 return node.name 71 return node.props["label"].val 77 that points to an enabled node, and "n" otherwise 82 node = edt.chosen_node(chosen) 83 return "y" if node and node.status == "okay" else "n" [all …]
|
/Zephyr-Core-3.6.0/boards/posix/nrf_bsim/ |
D | nrf5340bsim_nrf5340_cpuapp.dts | 52 /delete-node/ memory@20000000; 54 /delete-node/ dcnf@0; 55 /delete-node/ oscillator@4000; 56 /delete-node/ regulator@4000; 57 /delete-node/ ctrlap@6000; 58 /delete-node/ i2c@8000; 59 /delete-node/ spi@8000; 60 /delete-node/ i2c@9000; 61 /delete-node/ spi@9000; 62 /delete-node/ spi@a000; [all …]
|
/Zephyr-Core-3.6.0/include/zephyr/sys/ |
D | dlist.h | 40 struct _dnode *next; /* ptr to next node (sys_dnode_t) */ 44 struct _dnode *prev; /* ptr to previous node (sys_dnode_t) */ 53 * @brief Doubly-linked list node structure. 71 * @param __dn A sys_dnode_t pointer to peek each node of the list 78 * @brief Provide the primitive to iterate on a list, from a node in the list 87 * Like SYS_DLIST_FOR_EACH_NODE(), but __dn already contains a node in the list 94 * @param __dn A sys_dnode_t pointer to peek each node of the list; 95 * it contains the starting node, or NULL to start from the head 116 * @param __dn A sys_dnode_t pointer to peek each node of the list 126 * @brief Provide the primitive to resolve the container of a list node [all …]
|
D | sflist.h | 15 * two bits of user "flags" for each node. They can be accessed and modified 49 /** Flagged single-linked list node structure. */ 75 * @param __sn A sys_sfnode_t pointer to peek each node of the list 81 * @brief Provide the primitive to iterate on a list, from a node in the list 90 * Like SYS_SFLIST_FOR_EACH_NODE(), but __dn already contains a node in the list 97 * @param __sn A sys_sfnode_t pointer to peek each node of the list 98 * it contains the starting node, or NULL to start from the head 116 * @param __sn A sys_sfnode_t pointer to peek each node of the list 123 * @brief Provide the primitive to resolve the container of a list node 201 * These are the only functions that do not treat the list/node pointers [all …]
|
D | slist.h | 38 /** 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(sys_snode_t *node) in z_snode_next_peek() argument [all …]
|
/Zephyr-Core-3.6.0/subsys/usb/device_next/ |
D | usbd_class_api.h | 25 * @param[in] node Pointer to USB device class node 29 static inline int usbd_class_request(struct usbd_class_node *const node, in usbd_class_request() argument 33 const struct usbd_class_api *api = node->api; in usbd_class_request() 36 return api->request(node, buf, err); in usbd_class_request() 56 * @param[in] node Pointer to USB device class node 62 static inline int usbd_class_control_to_host(struct usbd_class_node *const node, in usbd_class_control_to_host() argument 66 const struct usbd_class_api *api = node->api; in usbd_class_control_to_host() 69 return api->control_to_host(node, setup, buf); in usbd_class_control_to_host() 89 * @param[in] node Pointer to USB device class node 95 static inline int usbd_class_control_to_dev(struct usbd_class_node *const node, in usbd_class_control_to_dev() argument [all …]
|
/Zephyr-Core-3.6.0/doc/build/dts/ |
D | macros.bnf | 12 ; - 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-Core-3.6.0/scripts/dts/ |
D | gen_defines.py | 76 # The raw index into edt.compat2nodes[compat] is used for node 85 # singleton instance if there's just one enabled node of a 93 nodes, key=lambda node: 0 if node.status == "okay" else 1) 103 for node in sorted(edt.nodes, key=lambda node: node.dep_ordinal): 104 node.z_path_id = node_z_path_id(node) 108 for node in sorted(edt.nodes, key=lambda node: node.dep_ordinal): 109 if 'zephyr,memory-region' in node.props: 110 region = node.props['zephyr,memory-region'].val 113 f"between {regions[region].path} and {node.path}") 114 regions[region] = node [all …]
|
D | gen_dts_cmake.py | 76 # because it's not a valid character in DTS node paths or property 88 for node in chosen_nodes: 89 path = chosen_nodes[node].path 90 cmake_props.append(f'"DT_CHOSEN|{node}" "{path}"') 94 for node in edt.nodes: 95 path = node.path 96 for alias in node.aliases: 100 for node in edt.nodes: 101 cmake_props.append(f'"DT_NODE|{node.path}" TRUE') 103 for label in node.labels: [all …]
|
/Zephyr-Core-3.6.0/include/zephyr/sensing/ |
D | sensing_sensor.h | 113 #define SENSING_SENSOR_INFO_NAME(node, idx) \ argument 114 _CONCAT(_CONCAT(__sensing_sensor_info_, idx), DEVICE_DT_NAME_GET(node)) 116 #define SENSING_SENSOR_INFO_DEFINE(node, idx) \ argument 118 SENSING_SENSOR_INFO_NAME(node, idx)) = { \ 119 .type = DT_PROP_BY_IDX(node, sensor_types, idx), \ 120 .name = DT_NODE_FULL_NAME(node), \ 121 .friendly_name = DT_PROP(node, friendly_name), \ 122 .vendor = DT_NODE_VENDOR_OR(node, NULL), \ 123 .model = DT_NODE_MODEL_OR(node, NULL), \ 124 .minimal_interval = DT_PROP(node, minimal_interval),\ [all …]
|
/Zephyr-Core-3.6.0/tests/benchmarks/data_structure_perf/dlist_perf/src/ |
D | dlist_perf.c | 21 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-Core-3.6.0/tests/bsim/bluetooth/mesh/tests_scripts/beacon/ |
D | beacon_interval.sh | 8 # 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-Core-3.6.0/tests/bluetooth/controller/ctrl_tx_queue/src/ |
D | main.c | 34 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-Core-3.6.0/include/zephyr/devicetree/ |
D | io-channels.h | 27 * @brief Get the node identifier for the node referenced by an 36 * n: node { 45 * @param node_id node identifier for a node with an io-channels property 47 * @return the node identifier for the node referenced at index "idx" 54 * @brief Get the node identifier for the node referenced by an 63 * n: node { 73 * @param node_id node identifier for a node with an io-channels property 75 * as defined by the node's io-channel-names property 76 * @return the node identifier for the node referenced at the named element 84 * @param node_id node identifier for a node with an io-channels property [all …]
|
D | fixed-partitions.h | 26 * @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-Core-3.6.0/subsys/bluetooth/mesh/ |
D | delayable_msg.c | 27 sys_snode_t node; member 32 sys_snode_t node; member 58 sys_slist_append(list, &ctx->node); in put_ctx_to_busy_list() 63 curr_ctx = CONTAINER_OF(curr, struct delayable_msg_ctx, node); in put_ctx_to_busy_list() 66 sys_slist_prepend(list, &ctx->node); in put_ctx_to_busy_list() 68 sys_slist_insert(list, prev, &ctx->node); in put_ctx_to_busy_list() 75 sys_slist_append(list, &ctx->node); in put_ctx_to_busy_list() 81 sys_snode_t *node = sys_slist_peek_head(&access_delayable_msg.busy_ctx); in peek_pending_msg() local 83 if (node) { in peek_pending_msg() 84 pending_msg = CONTAINER_OF(node, struct delayable_msg_ctx, node); in peek_pending_msg() [all …]
|
/Zephyr-Core-3.6.0/scripts/dts/python-devicetree/tests/ |
D | test_edtlib.py | 50 …eprecated in 'properties:' in {hpath('test-bindings/deprecated.yaml')} for node /test-deprecated.", 51 "unit address and first address in 'reg' (0x1) don't match for /reg-zero-size-cells/node", 52 "unit address and first address in 'reg' (0x5) don't match for /reg-ranges/parent/node", 53 …address in 'reg' (0x30000000200000001) don't match for /reg-nested-ranges/grandparent/parent/node", 65 node = edt.get_node("/interrupt-parent-test/node") 67 assert node.interrupts == [ 68 …edtlib.ControllerAndData(node=node, controller=controller, data={'one': 1, 'two': 2, 'three': 3}, … 69 …edtlib.ControllerAndData(node=node, controller=controller, data={'one': 4, 'two': 5, 'three': 6}, … 72 node = edt.get_node("/interrupts-extended-test/node") 76 assert node.interrupts == [ [all …]
|
/Zephyr-Core-3.6.0/soc/arm/infineon_xmc/4xxx/ |
D | pinctrl_soc.h | 17 #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 …]
|
/Zephyr-Core-3.6.0/drivers/ethernet/ |
D | eth.h | 14 #define NODE_MAC_ADDR_OCTET(node, n) DT_PROP_BY_IDX(node, local_mac_address, n) argument 17 #define NODE_MAC_ADDR_NULL(node) \ argument 18 ((NODE_MAC_ADDR_OCTET(node, 0) == 0) && \ 19 (NODE_MAC_ADDR_OCTET(node, 1) == 0) && \ 20 (NODE_MAC_ADDR_OCTET(node, 2) == 0) && \ 21 (NODE_MAC_ADDR_OCTET(node, 3) == 0) && \ 22 (NODE_MAC_ADDR_OCTET(node, 4) == 0) && \ 23 (NODE_MAC_ADDR_OCTET(node, 5) == 0)) 25 /* Given a device tree node for an ethernet controller will 29 #define NODE_HAS_VALID_MAC_ADDR(node) \ argument [all …]
|
/Zephyr-Core-3.6.0/doc/build/kconfig/ |
D | preprocessor-functions.rst | 31 $(dt_alias_enabled,<node alias>) 45 $(dt_node_bool_prop,<node path>,<prop>) 46 $(dt_node_has_compat,<node path>,<compatible string>) 47 $(dt_node_has_prop,<node path>,<prop>) 48 $(dt_node_int_prop_hex,<node path>,<prop>[,<unit>]) 49 $(dt_node_int_prop_int,<node path>,<prop>[,<unit>]) 50 $(dt_node_parent,<node path>) 51 $(dt_node_reg_addr_hex,<node path>[,<index>,<unit>]) 52 $(dt_node_reg_addr_int,<node path>[,<index>,<unit>]) 53 $(dt_node_reg_size_hex,<node path>[,<index>,<unit>]) [all …]
|
/Zephyr-Core-3.6.0/lib/utils/ |
D | rb.c | 72 /* Searches the tree down to a node that is either identical with the 73 * "node" argument or has an empty/leaf child pointer where "node" 79 static int find_and_stack(struct rbtree *tree, struct rbnode *node, in find_and_stack() argument 86 while (stack[sz - 1] != node) { in find_and_stack() 87 uint8_t side = tree->lessthan_fn(node, stack[sz - 1]) ? 0U : 1U; in find_and_stack() 120 * of either node. That is, it effects the following transition (or 151 /* The node at the top of the provided stack is red, and its parent is 158 struct rbnode *node = stack[stacksz - 1]; in fix_extra_red() local 162 CHECK((get_child(node, 0U) == NULL) || in fix_extra_red() 163 is_black(get_child(node, 0U))); in fix_extra_red() [all …]
|