Searched refs:P_MIRROR_CTRL (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.4/drivers/net/dsa/microchip/ |
D | ksz8795.c | 669 ksz_pread8(dev, port, P_MIRROR_CTRL, &data); in ksz8795_cfg_port_member() 672 ksz_pwrite8(dev, port, P_MIRROR_CTRL, data); in ksz8795_cfg_port_member() 885 ksz_port_cfg(dev, port, P_MIRROR_CTRL, PORT_MIRROR_RX, true); in ksz8795_port_mirror_add() 888 ksz_port_cfg(dev, port, P_MIRROR_CTRL, PORT_MIRROR_TX, true); in ksz8795_port_mirror_add() 892 ksz_port_cfg(dev, port, P_MIRROR_CTRL, PORT_MIRROR_SNIFFER, false); in ksz8795_port_mirror_add() 896 ksz_port_cfg(dev, mirror->to_local_port, P_MIRROR_CTRL, in ksz8795_port_mirror_add() 909 ksz_port_cfg(dev, port, P_MIRROR_CTRL, PORT_MIRROR_RX, false); in ksz8795_port_mirror_del() 912 ksz_port_cfg(dev, port, P_MIRROR_CTRL, PORT_MIRROR_TX, false); in ksz8795_port_mirror_del() 916 ksz_pread8(dev, port, P_MIRROR_CTRL, &data); in ksz8795_port_mirror_del() 919 ksz_port_cfg(dev, mirror->to_local_port, P_MIRROR_CTRL, in ksz8795_port_mirror_del()
|
D | ksz9477.c | 943 ksz_port_cfg(dev, port, P_MIRROR_CTRL, PORT_MIRROR_RX, true); in ksz9477_port_mirror_add() 945 ksz_port_cfg(dev, port, P_MIRROR_CTRL, PORT_MIRROR_TX, true); in ksz9477_port_mirror_add() 947 ksz_port_cfg(dev, port, P_MIRROR_CTRL, PORT_MIRROR_SNIFFER, false); in ksz9477_port_mirror_add() 950 ksz_port_cfg(dev, mirror->to_local_port, P_MIRROR_CTRL, in ksz9477_port_mirror_add() 965 ksz_port_cfg(dev, port, P_MIRROR_CTRL, PORT_MIRROR_RX, false); in ksz9477_port_mirror_del() 967 ksz_port_cfg(dev, port, P_MIRROR_CTRL, PORT_MIRROR_TX, false); in ksz9477_port_mirror_del() 969 ksz_pread8(dev, port, P_MIRROR_CTRL, &data); in ksz9477_port_mirror_del() 972 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
|