Lines Matching refs:ksz_write32
103 ksz_write32(dev, REG_SW_VLAN_ENTRY__4, vlan_table[0]); in ksz9477_set_vlan_table()
104 ksz_write32(dev, REG_SW_VLAN_ENTRY_UNTAG__4, vlan_table[1]); in ksz9477_set_vlan_table()
105 ksz_write32(dev, REG_SW_VLAN_ENTRY_PORTS__4, vlan_table[2]); in ksz9477_set_vlan_table()
140 ksz_write32(dev, REG_SW_ALU_VAL_A, table[0]); in ksz9477_write_table()
141 ksz_write32(dev, REG_SW_ALU_VAL_B, table[1]); in ksz9477_write_table()
142 ksz_write32(dev, REG_SW_ALU_VAL_C, table[2]); in ksz9477_write_table()
143 ksz_write32(dev, REG_SW_ALU_VAL_D, table[3]); in ksz9477_write_table()
181 ksz_write32(dev, REG_SW_INT_MASK__4, SWITCH_INT_MASK); in ksz9477_reset_switch()
182 ksz_write32(dev, REG_SW_PORT_INT_MASK__4, 0x7F); in ksz9477_reset_switch()
545 ksz_write32(dev, REG_SW_ALU_INDEX_0, data); in ksz9477_fdb_add()
549 ksz_write32(dev, REG_SW_ALU_INDEX_1, data); in ksz9477_fdb_add()
552 ksz_write32(dev, REG_SW_ALU_CTRL__4, ALU_READ | ALU_START); in ksz9477_fdb_add()
576 ksz_write32(dev, REG_SW_ALU_CTRL__4, ALU_WRITE | ALU_START); in ksz9477_fdb_add()
601 ksz_write32(dev, REG_SW_ALU_INDEX_0, data); in ksz9477_fdb_del()
605 ksz_write32(dev, REG_SW_ALU_INDEX_1, data); in ksz9477_fdb_del()
608 ksz_write32(dev, REG_SW_ALU_CTRL__4, ALU_READ | ALU_START); in ksz9477_fdb_del()
642 ksz_write32(dev, REG_SW_ALU_CTRL__4, ALU_WRITE | ALU_START); in ksz9477_fdb_del()
690 ksz_write32(dev, REG_SW_ALU_CTRL__4, ALU_START | ALU_SEARCH); in ksz9477_fdb_dump()
725 ksz_write32(dev, REG_SW_ALU_CTRL__4, 0); in ksz9477_fdb_dump()
756 ksz_write32(dev, REG_SW_ALU_STAT_CTRL__4, data); in ksz9477_mdb_add()
800 ksz_write32(dev, REG_SW_ALU_STAT_CTRL__4, data); in ksz9477_mdb_add()
835 ksz_write32(dev, REG_SW_ALU_STAT_CTRL__4, data); in ksz9477_mdb_del()
877 ksz_write32(dev, REG_SW_ALU_STAT_CTRL__4, data); in ksz9477_mdb_del()
1149 ret = ksz_write32(dev, REG_SW_ALU_VAL_B, in ksz9477_enable_stp_addr()
1156 ret = ksz_write32(dev, REG_SW_ALU_STAT_CTRL__4, data); in ksz9477_enable_stp_addr()