Searched refs:ksz_write32 (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/drivers/net/dsa/microchip/ |
D | ksz9477.c | 135 ksz_write32(dev, REG_SW_VLAN_ENTRY__4, vlan_table[0]); in ksz9477_set_vlan_table() 136 ksz_write32(dev, REG_SW_VLAN_ENTRY_UNTAG__4, vlan_table[1]); in ksz9477_set_vlan_table() 137 ksz_write32(dev, REG_SW_VLAN_ENTRY_PORTS__4, vlan_table[2]); in ksz9477_set_vlan_table() 172 ksz_write32(dev, REG_SW_ALU_VAL_A, table[0]); in ksz9477_write_table() 173 ksz_write32(dev, REG_SW_ALU_VAL_B, table[1]); in ksz9477_write_table() 174 ksz_write32(dev, REG_SW_ALU_VAL_C, table[2]); in ksz9477_write_table() 175 ksz_write32(dev, REG_SW_ALU_VAL_D, table[3]); in ksz9477_write_table() 215 ksz_write32(dev, REG_SW_INT_MASK__4, SWITCH_INT_MASK); in ksz9477_reset_switch() 216 ksz_write32(dev, REG_SW_PORT_INT_MASK__4, 0x7F); in ksz9477_reset_switch() 601 ksz_write32(dev, REG_SW_ALU_INDEX_0, data); in ksz9477_port_fdb_add() [all …]
|
D | ksz_common.h | 233 static inline int ksz_write32(struct ksz_device *dev, u32 reg, u32 value) in ksz_write32() function 283 ksz_write32(dev, dev->dev_ops->get_port_addr(port, offset), data); in ksz_pwrite32()
|