Searched refs:P_MIRROR_CTRL (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/drivers/net/dsa/microchip/ |
D | ksz8795.c | 670 ksz_pread8(dev, port, P_MIRROR_CTRL, &data); in ksz8795_cfg_port_member() 673 ksz_pwrite8(dev, port, P_MIRROR_CTRL, data); in ksz8795_cfg_port_member() 881 ksz_port_cfg(dev, port, P_MIRROR_CTRL, PORT_MIRROR_RX, true); in ksz8795_port_mirror_add() 884 ksz_port_cfg(dev, port, P_MIRROR_CTRL, PORT_MIRROR_TX, true); in ksz8795_port_mirror_add() 888 ksz_port_cfg(dev, port, P_MIRROR_CTRL, PORT_MIRROR_SNIFFER, false); in ksz8795_port_mirror_add() 892 ksz_port_cfg(dev, mirror->to_local_port, P_MIRROR_CTRL, in ksz8795_port_mirror_add() 905 ksz_port_cfg(dev, port, P_MIRROR_CTRL, PORT_MIRROR_RX, false); in ksz8795_port_mirror_del() 908 ksz_port_cfg(dev, port, P_MIRROR_CTRL, PORT_MIRROR_TX, false); in ksz8795_port_mirror_del() 912 ksz_pread8(dev, port, P_MIRROR_CTRL, &data); in ksz8795_port_mirror_del() 915 ksz_port_cfg(dev, mirror->to_local_port, P_MIRROR_CTRL, in ksz8795_port_mirror_del()
|
D | ksz9477.c | 939 ksz_port_cfg(dev, port, P_MIRROR_CTRL, PORT_MIRROR_RX, true); in ksz9477_port_mirror_add() 941 ksz_port_cfg(dev, port, P_MIRROR_CTRL, PORT_MIRROR_TX, true); in ksz9477_port_mirror_add() 943 ksz_port_cfg(dev, port, P_MIRROR_CTRL, PORT_MIRROR_SNIFFER, false); in ksz9477_port_mirror_add() 946 ksz_port_cfg(dev, mirror->to_local_port, P_MIRROR_CTRL, in ksz9477_port_mirror_add() 961 ksz_port_cfg(dev, port, P_MIRROR_CTRL, PORT_MIRROR_RX, false); in ksz9477_port_mirror_del() 963 ksz_port_cfg(dev, port, P_MIRROR_CTRL, PORT_MIRROR_TX, false); in ksz9477_port_mirror_del() 965 ksz_pread8(dev, port, P_MIRROR_CTRL, &data); in ksz9477_port_mirror_del() 968 ksz_port_cfg(dev, mirror->to_local_port, P_MIRROR_CTRL, in ksz9477_port_mirror_del()
|
D | ksz8795_reg.h | 865 #define P_MIRROR_CTRL REG_PORT_CTRL_1 macro
|
D | ksz9477_reg.h | 1634 #define P_MIRROR_CTRL REG_PORT_MRI_MIRROR_CTRL macro
|