Lines Matching refs:node
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))
29 #define NODE_HAS_VALID_MAC_ADDR(node) \ argument
30 UTIL_AND(DT_NODE_HAS_PROP(node, local_mac_address),\
31 (!NODE_MAC_ADDR_NULL(node)))