Searched refs:ksz_write8 (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/drivers/net/dsa/microchip/ |
D | ksz9477.c | 107 ksz_write8(dev, REG_SW_VLAN_CTRL, VLAN_READ | VLAN_START); in ksz9477_get_vlan_table() 120 ksz_write8(dev, REG_SW_VLAN_CTRL, 0); in ksz9477_get_vlan_table() 140 ksz_write8(dev, REG_SW_VLAN_CTRL, VLAN_START | VLAN_WRITE); in ksz9477_set_vlan_table() 149 ksz_write8(dev, REG_SW_VLAN_CTRL, 0); in ksz9477_set_vlan_table() 212 ksz_write8(dev, REG_SW_LUE_CTRL_1, data8); in ksz9477_reset_switch() 226 ksz_write8(dev, REG_SW_GLOBAL_OUTPUT_CTRL__1, in ksz9477_reset_switch() 289 ksz_write8(dev, REG_SW_MAC_CTRL_6, SW_MIB_COUNTER_FLUSH); in ksz9477_port_init_cnt() 1444 ret = ksz_write8(dev, REG_SW_GLOBAL_SERIAL_CTRL_0, data8); in ksz9477_switch_detect()
|
D | ksz_common.h | 230 static inline int ksz_write8(struct ksz_device *dev, u32 reg, u8 value) in ksz_write8() function 278 ksz_write8(dev, dev->dev_ops->get_port_addr(port, offset), data); in ksz_pwrite8()
|
D | ksz8795.c | 80 ksz_write8(dev, REG_POWER_MANAGEMENT_1, in ksz8795_reset_switch() 82 ksz_write8(dev, REG_POWER_MANAGEMENT_1, 0); in ksz8795_reset_switch() 974 ksz_write8(dev, REG_PORT_5_CTRL_6, data8); in ksz8795_port_setup()
|