Searched refs:lan937x_cfg (Results 1 – 1 of 1) sorted by relevance
/drivers/net/dsa/microchip/ |
D | lan937x_main.c | 20 static int lan937x_cfg(struct ksz_device *dev, u32 addr, u8 bits, bool set) in lan937x_cfg() function 38 ret = lan937x_cfg(dev, REG_GLOBAL_CTRL_0, SW_PHY_REG_BLOCK, false); in lan937x_enable_spi_indirect_access() 146 ret = lan937x_cfg(dev, REG_SW_OPERATION, SW_RESET, true); in lan937x_reset_switch() 151 ret = lan937x_cfg(dev, REG_SW_LUE_CTRL_1, SW_LINK_AUTO_AGING, true); in lan937x_reset_switch() 360 lan937x_cfg(dev, REG_SW_MAC_CTRL_0, in lan937x_setup() 367 lan937x_cfg(dev, REG_SW_MAC_CTRL_1, NO_EXC_COLLISION_DROP, true); in lan937x_setup() 370 lan937x_cfg(dev, REG_SW_MAC_CTRL_6, SW_MIB_COUNTER_FREEZE, true); in lan937x_setup() 373 lan937x_cfg(dev, REG_SW_GLOBAL_OUTPUT_CTRL__1, in lan937x_setup()
|