Home
last modified time | relevance | path

Searched refs:PORT_LEARN_DISABLE (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/drivers/net/dsa/microchip/
Dksz8795.c689 data &= ~(PORT_TX_ENABLE | PORT_RX_ENABLE | PORT_LEARN_DISABLE); in ksz8795_port_stp_state_set()
693 data |= PORT_LEARN_DISABLE; in ksz8795_port_stp_state_set()
698 data |= (PORT_RX_ENABLE | PORT_LEARN_DISABLE); in ksz8795_port_stp_state_set()
722 data |= PORT_LEARN_DISABLE; in ksz8795_port_stp_state_set()
770 if (!(learn[index] & PORT_LEARN_DISABLE)) in ksz8795_flush_dyn_mac_table()
772 learn[index] | PORT_LEARN_DISABLE); in ksz8795_flush_dyn_mac_table()
779 if (!(learn[index] & PORT_LEARN_DISABLE)) in ksz8795_flush_dyn_mac_table()
Dksz9477.c407 data &= ~(PORT_TX_ENABLE | PORT_RX_ENABLE | PORT_LEARN_DISABLE); in ksz9477_port_stp_state_set()
411 data |= PORT_LEARN_DISABLE; in ksz9477_port_stp_state_set()
416 data |= (PORT_RX_ENABLE | PORT_LEARN_DISABLE); in ksz9477_port_stp_state_set()
442 data |= PORT_LEARN_DISABLE; in ksz9477_port_stp_state_set()
484 if (!(data & PORT_LEARN_DISABLE)) in ksz9477_flush_dyn_mac_table()
486 data | PORT_LEARN_DISABLE); in ksz9477_flush_dyn_mac_table()
Dksz8795_reg.h160 #define PORT_LEARN_DISABLE BIT(0) macro
Dksz9477_reg.h1590 #define PORT_LEARN_DISABLE BIT(0) macro
/Linux-v5.10/drivers/net/ethernet/micrel/
Dksz884x.c576 #define PORT_LEARN_DISABLE 0x0100 macro
2780 data |= PORT_LEARN_DISABLE; in port_set_stp_state()
2789 data |= PORT_LEARN_DISABLE; in port_set_stp_state()
2794 data &= ~PORT_LEARN_DISABLE; in port_set_stp_state()
2798 data &= ~PORT_LEARN_DISABLE; in port_set_stp_state()
2806 data |= PORT_LEARN_DISABLE; in port_set_stp_state()
2810 data |= PORT_LEARN_DISABLE; in port_set_stp_state()