Home
last modified time | relevance | path

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

/subsys/net/l2/ethernet/dsa/
A Ddsa_user.c13 struct net_if *dsa_user_get_iface(struct net_if *iface, int port_idx) in dsa_user_get_iface() argument
25 if (port_idx < 0 || port_idx >= dsa_switch_ctx->num_ports) { in dsa_user_get_iface()
29 return dsa_switch_ctx->iface_user[port_idx]; in dsa_user_get_iface()
A Ddsa_port.c52 dsa_switch_ctx->iface_user[cfg->port_idx] = iface; in dsa_port_initialize()
81 snprintf(name, sizeof(name), "swp%d", cfg->port_idx); in dsa_port_iface_init()
A Ddsa_tag_netc.c78 header->tag.comTag.port = cfg->port_idx; in dsa_tag_netc_xmit()

Completed in 10 milliseconds