Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/dsa/microchip/
Dksz9477.c536 u32 alu_table[4]; in ksz9477_fdb_add() local
562 ksz9477_read_table(dev, alu_table); in ksz9477_fdb_add()
565 alu_table[0] = ALU_V_STATIC_VALID; in ksz9477_fdb_add()
566 alu_table[1] |= BIT(port); in ksz9477_fdb_add()
568 alu_table[1] |= ALU_V_USE_FID; in ksz9477_fdb_add()
569 alu_table[2] = (vid << ALU_V_FID_S); in ksz9477_fdb_add()
570 alu_table[2] |= ((addr[0] << 8) | addr[1]); in ksz9477_fdb_add()
571 alu_table[3] = ((addr[2] << 24) | (addr[3] << 16)); in ksz9477_fdb_add()
572 alu_table[3] |= ((addr[4] << 8) | addr[5]); in ksz9477_fdb_add()
574 ksz9477_write_table(dev, alu_table); in ksz9477_fdb_add()
[all …]