Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/dsa/microchip/
H A 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()
147 ret = lan937x_cfg(dev, REG_SW_OPERATION, SW_RESET, true); in lan937x_reset_switch()
152 ret = lan937x_cfg(dev, REG_SW_LUE_CTRL_1, SW_LINK_AUTO_AGING, true); in lan937x_reset_switch()
373 lan937x_cfg(dev, REG_SW_MAC_CTRL_0, in lan937x_setup()
380 lan937x_cfg(dev, REG_SW_MAC_CTRL_1, NO_EXC_COLLISION_DROP, true); in lan937x_setup()
383 lan937x_cfg(dev, REG_SW_MAC_CTRL_6, SW_MIB_COUNTER_FREEZE, true); in lan937x_setup()
386 lan937x_cfg(dev, REG_SW_GLOBAL_OUTPUT_CTRL__1, in lan937x_setup()