Home
last modified time | relevance | path

Searched refs:P_MIRROR_CTRL (Results 1 – 4 of 4) sorted by relevance

/drivers/net/dsa/microchip/
Dksz9477.c839 ksz_pread8(dev, p, P_MIRROR_CTRL, &data); in ksz9477_port_mirror_add()
849 ksz_port_cfg(dev, port, P_MIRROR_CTRL, PORT_MIRROR_RX, true); in ksz9477_port_mirror_add()
851 ksz_port_cfg(dev, port, P_MIRROR_CTRL, PORT_MIRROR_TX, true); in ksz9477_port_mirror_add()
854 ksz_port_cfg(dev, mirror->to_local_port, P_MIRROR_CTRL, in ksz9477_port_mirror_add()
870 ksz_port_cfg(dev, port, P_MIRROR_CTRL, PORT_MIRROR_RX, false); in ksz9477_port_mirror_del()
872 ksz_port_cfg(dev, port, P_MIRROR_CTRL, PORT_MIRROR_TX, false); in ksz9477_port_mirror_del()
877 ksz_pread8(dev, p, P_MIRROR_CTRL, &data); in ksz9477_port_mirror_del()
887 ksz_port_cfg(dev, mirror->to_local_port, P_MIRROR_CTRL, in ksz9477_port_mirror_del()
Dksz8795.c940 ksz_pread8(dev, port, P_MIRROR_CTRL, &data); in ksz8_cfg_port_member()
943 ksz_pwrite8(dev, port, P_MIRROR_CTRL, data); in ksz8_cfg_port_member()
1240 ksz_port_cfg(dev, port, P_MIRROR_CTRL, PORT_MIRROR_RX, true); in ksz8_port_mirror_add()
1243 ksz_port_cfg(dev, port, P_MIRROR_CTRL, PORT_MIRROR_TX, true); in ksz8_port_mirror_add()
1247 ksz_port_cfg(dev, port, P_MIRROR_CTRL, PORT_MIRROR_SNIFFER, false); in ksz8_port_mirror_add()
1251 ksz_port_cfg(dev, mirror->to_local_port, P_MIRROR_CTRL, in ksz8_port_mirror_add()
1263 ksz_port_cfg(dev, port, P_MIRROR_CTRL, PORT_MIRROR_RX, false); in ksz8_port_mirror_del()
1266 ksz_port_cfg(dev, port, P_MIRROR_CTRL, PORT_MIRROR_TX, false); in ksz8_port_mirror_del()
1270 ksz_pread8(dev, port, P_MIRROR_CTRL, &data); in ksz8_port_mirror_del()
1273 ksz_port_cfg(dev, mirror->to_local_port, P_MIRROR_CTRL, in ksz8_port_mirror_del()
Dksz8795_reg.h762 #define P_MIRROR_CTRL REG_PORT_CTRL_1 macro
Dksz9477_reg.h1579 #define P_MIRROR_CTRL REG_PORT_MRI_MIRROR_CTRL macro