Searched refs:monitor_port (Results 1 – 2 of 2) sorted by relevance
12 struct lan966x_port *monitor_port; in lan966x_mirror_port_add() local20 monitor_port = netdev_priv(action->dev); in lan966x_mirror_port_add()29 lan966x->mirror_monitor != monitor_port) { in lan966x_mirror_port_add()35 if (port == monitor_port) { in lan966x_mirror_port_add()43 lan966x->mirror_monitor = monitor_port; in lan966x_mirror_port_add()44 lan_wr(BIT(monitor_port->chip_port), lan966x, ANA_MIRRORPORTS); in lan966x_mirror_port_add()
2099 int monitor_port; in mt753x_port_mirror_add() local2109 monitor_port = MT753X_MIRROR_PORT_GET(priv->id, val); in mt753x_port_mirror_add()2111 monitor_port != mirror->to_local_port) in mt753x_port_mirror_add()