Home
last modified time | relevance | path

Searched refs:mirror_mask (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_mirror.c22 if (lan966x->mirror_mask[ingress] & BIT(port->chip_port)) { in lan966x_mirror_port_add()
41 lan966x->mirror_mask[ingress] |= BIT(port->chip_port); in lan966x_mirror_port_add()
51 lan_wr(lan966x->mirror_mask[0], lan966x, in lan966x_mirror_port_add()
71 if (!(lan966x->mirror_mask[ingress] & BIT(port->chip_port))) { in lan966x_mirror_port_del()
77 lan966x->mirror_mask[ingress] &= ~BIT(port->chip_port); in lan966x_mirror_port_del()
84 lan_wr(lan966x->mirror_mask[0], lan966x, in lan966x_mirror_port_del()
H A Dlan966x_main.h331 u32 mirror_mask[2]; member