Home
last modified time | relevance | path

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

/Zephyr-Core-3.6.0/drivers/ethernet/
Deth_adin2111.c951 #define ADIN2111_PORT_MAC(adin_n, port_n) \ argument
952 DT_PROP(DT_CHILD(DT_DRV_INST(adin_n), port##port_n), local_mac_address)
954 #define ADIN2111_PORT_DEVICE_INIT_INSTANCE(parent_n, port_n, phy_n, name) \ argument
955 static struct adin2111_port_data name##_port_data_##port_n = { \
958 static const struct adin2111_port_config name##_port_config_##port_n = { \
961 .port_idx = port_n, \
964 NET_DEVICE_INIT_INSTANCE(name##_port_##port_n, "port_" ADIN2111_XSTR(port_n), port_n, \
965 NULL, NULL, &name##_port_data_##port_n, \
966 &name##_port_config_##port_n, CONFIG_ETH_INIT_PRIORITY, \