Home
last modified time | relevance | path

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

/drivers/net/dsa/microchip/
Dksz9477.c662 u32 static_table[4]; in ksz9477_mdb_add() local
693 ksz9477_read_table(dev, static_table); in ksz9477_mdb_add()
695 if (static_table[0] & ALU_V_STATIC_VALID) { in ksz9477_mdb_add()
697 if (((static_table[2] >> ALU_V_FID_S) == mdb->vid) && in ksz9477_mdb_add()
698 ((static_table[2] & ALU_V_MAC_ADDR_HI) == mac_hi) && in ksz9477_mdb_add()
699 static_table[3] == mac_lo) { in ksz9477_mdb_add()
716 static_table[0] = ALU_V_STATIC_VALID; in ksz9477_mdb_add()
717 static_table[1] |= BIT(port); in ksz9477_mdb_add()
719 static_table[1] |= ALU_V_USE_FID; in ksz9477_mdb_add()
720 static_table[2] = (mdb->vid << ALU_V_FID_S); in ksz9477_mdb_add()
[all …]