Searched refs:ksz_regmap_8 (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/net/dsa/microchip/ |
H A D | ksz_common.h | 463 static inline struct regmap *ksz_regmap_8(struct ksz_device *dev) in ksz_regmap_8() function 481 int ret = regmap_read(ksz_regmap_8(dev), reg, &value); in ksz_read8() 536 ret = regmap_write(ksz_regmap_8(dev), reg, value); in ksz_write8() 610 ret = regmap_update_bits(ksz_regmap_8(dev), offset, mask, val); in ksz_rmw8()
|
H A D | ksz9477.c | 24 regmap_update_bits(ksz_regmap_8(dev), addr, bits, set ? bits : 0); in ksz_cfg() 30 regmap_update_bits(ksz_regmap_8(dev), PORT_CTRL_ADDR(port, offset), in ksz_port_cfg() 63 return regmap_read_poll_timeout(ksz_regmap_8(dev), REG_SW_VLAN_CTRL, in ksz9477_wait_vlan_ctrl_ready() 173 regmap_update_bits(ksz_regmap_8(dev), REG_SW_GLOBAL_SERIAL_CTRL_0, in ksz9477_reset_switch() 430 regmap_update_bits(ksz_regmap_8(dev), REG_SW_LUE_CTRL_2, in ksz9477_flush_dyn_mac_table()
|
H A D | ksz8.c | 38 regmap_update_bits(ksz_regmap_8(dev), addr, bits, set ? bits : 0); in ksz_cfg() 44 regmap_update_bits(ksz_regmap_8(dev), PORT_CTRL_ADDR(port, offset), in ksz_port_cfg() 1898 regmap_update_bits(ksz_regmap_8(dev), REG_SW_CTRL_1, in ksz8_setup() 1905 regmap_update_bits(ksz_regmap_8(dev), REG_SW_CTRL_2, in ksz8_setup()
|
H A D | ksz_common.c | 2776 regmap_update_bits(ksz_regmap_8(dev), regs[S_MULTICAST_CTRL], in ksz_setup() 2831 regmap_update_bits(ksz_regmap_8(dev), regs[S_START_CTRL], in ksz_setup()
|