Searched refs:ksz_write8 (Results 1 – 4 of 4) sorted by relevance
/drivers/net/dsa/microchip/ |
D | ksz9477.c | 84 ksz_write8(dev, REG_SW_VLAN_CTRL, VLAN_READ | VLAN_START); in ksz9477_get_vlan_table() 97 ksz_write8(dev, REG_SW_VLAN_CTRL, 0); in ksz9477_get_vlan_table() 117 ksz_write8(dev, REG_SW_VLAN_CTRL, VLAN_START | VLAN_WRITE); in ksz9477_set_vlan_table() 126 ksz_write8(dev, REG_SW_VLAN_CTRL, 0); in ksz9477_set_vlan_table() 189 ksz_write8(dev, REG_SW_LUE_CTRL_1, data8); in ksz9477_reset_switch() 206 ksz_write8(dev, REG_SW_GLOBAL_OUTPUT_CTRL__1, data8); in ksz9477_reset_switch() 267 ksz_write8(dev, REG_SW_MAC_CTRL_6, SW_MIB_COUNTER_FLUSH); in ksz9477_port_init_cnt() 975 ret = ksz_write8(dev, REG_SW_LUE_CTRL_3, value); in ksz9477_set_ageing_time() 988 return ksz_write8(dev, REG_SW_LUE_CTRL_0, value); in ksz9477_set_ageing_time() 1188 ret = ksz_write8(dev, REG_SW_GLOBAL_SERIAL_CTRL_0, data8); in ksz9477_switch_init()
|
D | ksz_common.h | 409 static inline int ksz_write8(struct ksz_device *dev, u32 reg, u8 value) in ksz_write8() function 478 return ksz_write8(dev, dev->dev_ops->get_port_addr(port, offset), data); in ksz_pwrite8()
|
D | lan937x_main.c | 258 ret = ksz_write8(dev, REG_SW_AGE_PERIOD__1, value); in lan937x_set_ageing_time()
|
D | ksz8795.c | 52 ret = ksz_write8(dev, regs[REG_IND_BYTE], data); in ksz8_ind_write8() 71 ksz_write8(dev, REG_POWER_MANAGEMENT_1, in ksz8_reset_switch() 73 ksz_write8(dev, REG_POWER_MANAGEMENT_1, 0); in ksz8_reset_switch()
|