Searched refs:slave_num (Results 1 – 2 of 2) sorted by relevance
186 struct net_if *dsa_get_slave_port(struct net_if *iface, int slave_num) in dsa_get_slave_port() argument199 if (slave_num < 0 || slave_num >= dsa_ctx->num_slave_ports) { in dsa_get_slave_port()203 return dsa_ctx->iface_slave[slave_num]; in dsa_get_slave_port()
207 struct net_if *dsa_get_slave_port(struct net_if *iface, int slave_num);