Home
last modified time | relevance | path

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

/drivers/net/dsa/microchip/
Dksz9477.c463 u32 alu_table[4]; in ksz9477_fdb_add() local
489 ksz9477_read_table(dev, alu_table); in ksz9477_fdb_add()
492 alu_table[0] = ALU_V_STATIC_VALID; in ksz9477_fdb_add()
493 alu_table[1] |= BIT(port); in ksz9477_fdb_add()
495 alu_table[1] |= ALU_V_USE_FID; in ksz9477_fdb_add()
496 alu_table[2] = (vid << ALU_V_FID_S); in ksz9477_fdb_add()
497 alu_table[2] |= ((addr[0] << 8) | addr[1]); in ksz9477_fdb_add()
498 alu_table[3] = ((addr[2] << 24) | (addr[3] << 16)); in ksz9477_fdb_add()
499 alu_table[3] |= ((addr[4] << 8) | addr[5]); in ksz9477_fdb_add()
501 ksz9477_write_table(dev, alu_table); in ksz9477_fdb_add()
[all …]