Searched refs:NODE_MAC_ADDR_OCTET (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/drivers/ethernet/ |
D | eth.h | 14 #define NODE_MAC_ADDR_OCTET(node, n) DT_PROP_BY_IDX(node, local_mac_address, n) macro 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))
|
D | eth_stm32_hal.c | 900 mac_addr[3] = NODE_MAC_ADDR_OCTET(DT_DRV_INST(0), 3); in generate_mac() 901 mac_addr[4] = NODE_MAC_ADDR_OCTET(DT_DRV_INST(0), 4); in generate_mac() 902 mac_addr[5] = NODE_MAC_ADDR_OCTET(DT_DRV_INST(0), 5); in generate_mac()
|