Searched refs:dsa_upstream_port (Results 1 – 9 of 9) sorted by relevance
/linux/include/net/ |
H A D | dsa.h | 658 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 D | ksz9477.c | 1060 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 D | ksz8.c | 1653 member = BIT(dsa_upstream_port(ds, port)); in ksz8_port_setup()
|
H A D | ksz_common.c | 2190 cpu_port = BIT(dsa_upstream_port(ds, port)); in ksz_update_port_member()
|
/linux/drivers/net/dsa/sja1105/ |
H A D | sja1105_flower.c | 379 int cpu = dsa_upstream_port(ds, port); in sja1105_cls_flower_add()
|
H A D | sja1105_main.c | 602 to = dsa_upstream_port(ds, from); in sja1105_init_l2_forwarding()
|
/linux/drivers/net/dsa/mv88e6xxx/ |
H A D | ptp.c | 575 upstream = dsa_upstream_port(chip->ds, dp->index); in mv88e6xxx_ptp_setup()
|
H A D | chip.c | 3308 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 D | ar9331.c | 415 port_mask = BIT(dsa_upstream_port(ds, port)); in ar9331_sw_setup_port()
|