Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/dsa/microchip/
Dksz_common.c670 u32 alu_table[4]; in ksz_port_fdb_add() local
696 read_table(ds, alu_table); in ksz_port_fdb_add()
699 alu_table[0] = ALU_V_STATIC_VALID; in ksz_port_fdb_add()
700 alu_table[1] |= BIT(port); in ksz_port_fdb_add()
702 alu_table[1] |= ALU_V_USE_FID; in ksz_port_fdb_add()
703 alu_table[2] = (vid << ALU_V_FID_S); in ksz_port_fdb_add()
704 alu_table[2] |= ((addr[0] << 8) | addr[1]); in ksz_port_fdb_add()
705 alu_table[3] = ((addr[2] << 24) | (addr[3] << 16)); in ksz_port_fdb_add()
706 alu_table[3] |= ((addr[4] << 8) | addr[5]); in ksz_port_fdb_add()
708 write_table(ds, alu_table); in ksz_port_fdb_add()
[all …]