Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/dsa/microchip/
Dlan937x_main.c21 static int lan937x_cfg(struct ksz_device *dev, u32 addr, u8 bits, bool set) in lan937x_cfg() function
39 ret = lan937x_cfg(dev, REG_GLOBAL_CTRL_0, SW_PHY_REG_BLOCK, false); in lan937x_enable_spi_indirect_access()
150 ret = lan937x_cfg(dev, REG_SW_OPERATION, SW_RESET, true); in lan937x_reset_switch()
155 ret = lan937x_cfg(dev, REG_SW_LUE_CTRL_1, SW_LINK_AUTO_AGING, true); in lan937x_reset_switch()
379 ret = lan937x_cfg(dev, REG_SW_MAC_CTRL_0, (SW_PAUSE_UNH_MODE | in lan937x_setup()
388 ret = lan937x_cfg(dev, REG_SW_MAC_CTRL_1, NO_EXC_COLLISION_DROP, true); in lan937x_setup()
393 ret = lan937x_cfg(dev, REG_SW_MAC_CTRL_6, SW_MIB_COUNTER_FREEZE, true); in lan937x_setup()
398 ret = lan937x_cfg(dev, REG_SW_GLOBAL_OUTPUT_CTRL__1, in lan937x_setup()