Home
last modified time | relevance | path

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

/drivers/net/dsa/microchip/
Dksz9477.c791 u32 static_table[4]; in ksz9477_port_mdb_add() local
817 ksz9477_read_table(dev, static_table); in ksz9477_port_mdb_add()
819 if (static_table[0] & ALU_V_STATIC_VALID) { in ksz9477_port_mdb_add()
821 if (((static_table[2] >> ALU_V_FID_S) == mdb->vid) && in ksz9477_port_mdb_add()
822 ((static_table[2] & ALU_V_MAC_ADDR_HI) == mac_hi) && in ksz9477_port_mdb_add()
823 static_table[3] == mac_lo) { in ksz9477_port_mdb_add()
840 static_table[0] = ALU_V_STATIC_VALID; in ksz9477_port_mdb_add()
841 static_table[1] |= BIT(port); in ksz9477_port_mdb_add()
843 static_table[1] |= ALU_V_USE_FID; in ksz9477_port_mdb_add()
844 static_table[2] = (mdb->vid << ALU_V_FID_S); in ksz9477_port_mdb_add()
[all …]