Home
last modified time | relevance | path

Searched refs:dsa_upstream_port (Results 1 – 9 of 9) sorted by relevance

/linux/include/net/
H A Ddsa.h658 static inline unsigned int dsa_upstream_port(struct dsa_switch *ds, int port) in dsa_upstream_port() function
675 return port == dsa_upstream_port(ds, port); in dsa_is_upstream_port()
690 return dsa_upstream_port(ds, dp->index); in dsa_switch_upstream_port()
/linux/drivers/net/dsa/microchip/
H A Dksz9477.c1060 member = BIT(dsa_upstream_port(ds, port)); in ksz9477_port_setup()
1266 hsr_ports |= BIT(dsa_upstream_port(ds, port)); in ksz9477_hsr_join()
1298 ksz9477_cfg_port_member(dev, port, BIT(dsa_upstream_port(ds, port))); in ksz9477_hsr_leave()
H A Dksz8.c1653 member = BIT(dsa_upstream_port(ds, port)); in ksz8_port_setup()
H A Dksz_common.c2190 cpu_port = BIT(dsa_upstream_port(ds, port)); in ksz_update_port_member()
/linux/drivers/net/dsa/sja1105/
H A Dsja1105_flower.c379 int cpu = dsa_upstream_port(ds, port); in sja1105_cls_flower_add()
H A Dsja1105_main.c602 to = dsa_upstream_port(ds, from); in sja1105_init_l2_forwarding()
/linux/drivers/net/dsa/mv88e6xxx/
H A Dptp.c575 upstream = dsa_upstream_port(chip->ds, dp->index); in mv88e6xxx_ptp_setup()
H A Dchip.c3308 upstream_port = dsa_upstream_port(ds, port); in mv88e6xxx_setup_upstream_port()
6680 dsa_upstream_port(ds, port))) in mv88e6xxx_port_mirror_del()
/linux/drivers/net/dsa/qca/
H A Dar9331.c415 port_mask = BIT(dsa_upstream_port(ds, port)); in ar9331_sw_setup_port()