Home
last modified time | relevance | path

Searched refs:lan937x_cfg (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/net/dsa/microchip/
H A Dlan937x_main.c102 static int lan937x_cfg(struct ksz_device *dev, u32 addr, u8 bits, bool set) in lan937x_cfg() function
230 ret = lan937x_cfg(dev, REG_GLOBAL_CTRL_0, SW_PHY_REG_BLOCK, false); in lan937x_mdio_bus_preinit()
351 ret = lan937x_cfg(dev, REG_SW_OPERATION, SW_RESET, true); in lan937x_reset_switch()
356 ret = lan937x_cfg(dev, REG_SW_LUE_CTRL_1, SW_LINK_AUTO_AGING, true); in lan937x_reset_switch()
629 ret = lan937x_cfg(dev, REG_SW_MAC_CTRL_0, (SW_PAUSE_UNH_MODE | in lan937x_setup()
638 ret = lan937x_cfg(dev, REG_SW_MAC_CTRL_1, NO_EXC_COLLISION_DROP, true); in lan937x_setup()
643 ret = lan937x_cfg(dev, REG_SW_MAC_CTRL_6, SW_MIB_COUNTER_FREEZE, true); in lan937x_setup()
648 ret = lan937x_cfg(dev, REG_SW_GLOBAL_OUTPUT_CTRL__1, in lan937x_setup()