Searched refs:dsa_towards_port (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/net/dsa/ |
D | switch.c | 132 return dp->index == dsa_towards_port(dp->ds, cpu_dp->ds->index, in dsa_port_host_address_match() 449 int port = dsa_towards_port(ds, info->dp->ds->index, info->dp->index); in dsa_switch_fdb_add() 461 int port = dsa_towards_port(ds, info->dp->ds->index, info->dp->index); in dsa_switch_fdb_del() 550 int port = dsa_towards_port(ds, info->dp->ds->index, info->dp->index); in dsa_switch_mdb_add() 562 int port = dsa_towards_port(ds, info->dp->ds->index, info->dp->index); in dsa_switch_mdb_del()
|
/linux-6.1.9/include/net/ |
D | dsa.h | 635 static inline unsigned int dsa_towards_port(struct dsa_switch *ds, int device, in dsa_towards_port() function 653 return dsa_towards_port(ds, cpu_dp->ds->index, cpu_dp->index); in dsa_upstream_port()
|
/linux-6.1.9/drivers/net/dsa/mv88e6xxx/ |
D | chip.c | 6654 map |= BIT(dsa_towards_port(ds, dp->ds->index, dp->index)); in mv88e6xxx_lag_sync_map()
|