Lines Matching refs:slave
1065 #define NET_SLAVE_DEVICE_INIT_INSTANCE(slave, n) \ argument
1066 const struct dsa_slave_config dsa_0_slave_##slave##_config = { \
1067 .mac_addr = DT_PROP_OR(slave, local_mac_address, {0}) \
1069 NET_DEVICE_INIT_INSTANCE(CONCAT(dsa_slave_port_, slave), \
1075 &dsa_0_slave_##slave##_config, \
1082 #define NET_SLAVE_DEVICE_0_INIT_INSTANCE(slave) \ argument
1083 NET_SLAVE_DEVICE_INIT_INSTANCE(slave, 0)
1084 #define NET_SLAVE_DEVICE_1_INIT_INSTANCE(slave) \ argument
1085 NET_SLAVE_DEVICE_INIT_INSTANCE(slave, 1)
1086 #define NET_SLAVE_DEVICE_2_INIT_INSTANCE(slave) \ argument
1087 NET_SLAVE_DEVICE_INIT_INSTANCE(slave, 2)
1088 #define NET_SLAVE_DEVICE_3_INIT_INSTANCE(slave) \ argument
1089 NET_SLAVE_DEVICE_INIT_INSTANCE(slave, 3)
1090 #define NET_SLAVE_DEVICE_4_INIT_INSTANCE(slave) \ argument
1091 NET_SLAVE_DEVICE_INIT_INSTANCE(slave, 4)