Searched refs:dsa_upstream_port (Results 1 – 13 of 13) sorted by relevance
/openbmc/linux/include/net/ |
H A D | dsa.h | 635 static inline unsigned int dsa_upstream_port(struct dsa_switch *ds, int port) in dsa_upstream_port() function 652 return port == dsa_upstream_port(ds, port); in dsa_is_upstream_port() 667 return dsa_upstream_port(ds, dp->index); in dsa_switch_upstream_port()
|
/openbmc/linux/drivers/net/dsa/xrs700x/ |
H A D | xrs700x.c | 607 val &= ~BIT(dsa_upstream_port(ds, port)); in xrs700x_hsr_join() 670 val &= ~BIT(dsa_upstream_port(ds, port)); in xrs700x_hsr_leave()
|
/openbmc/linux/drivers/net/dsa/microchip/ |
H A D | lan937x_main.c | 203 member = BIT(dsa_upstream_port(ds, port)); in lan937x_port_setup()
|
H A D | ksz9477.c | 998 member = BIT(dsa_upstream_port(ds, port)); in ksz9477_port_setup()
|
H A D | ksz8795.c | 1320 member = BIT(dsa_upstream_port(ds, port)); in ksz8_port_setup()
|
H A D | ksz_common.c | 1791 cpu_port = BIT(dsa_upstream_port(ds, port)); in ksz_update_port_member()
|
/openbmc/linux/drivers/net/dsa/sja1105/ |
H A D | sja1105_flower.c | 376 int cpu = dsa_upstream_port(ds, port); in sja1105_cls_flower_add()
|
H A D | sja1105_main.c | 601 to = dsa_upstream_port(ds, from); in sja1105_init_l2_forwarding()
|
/openbmc/linux/drivers/net/dsa/mv88e6xxx/ |
H A D | ptp.c | 571 upstream = dsa_upstream_port(chip->ds, dp->index); in mv88e6xxx_ptp_setup()
|
H A D | chip.c | 3203 upstream_port = dsa_upstream_port(ds, port); in mv88e6xxx_setup_upstream_port() 6538 dsa_upstream_port(ds, port))) in mv88e6xxx_port_mirror_del()
|
/openbmc/linux/drivers/net/dsa/qca/ |
H A D | ar9331.c | 415 port_mask = BIT(dsa_upstream_port(ds, port)); in ar9331_sw_setup_port()
|
/openbmc/linux/net/dsa/ |
H A D | dsa.c | 1146 mdp_upstream = dsa_upstream_port(mds, mdp->index); in dsa_get_tag_protocol()
|
/openbmc/linux/drivers/net/dsa/hirschmann/ |
H A D | hellcreek.c | 592 int upstream = dsa_upstream_port(ds, port); in hellcreek_setup_vlan_membership()
|