Lines Matching refs:hwcfg
399 unsigned int hwcfg = smsc911x_reg_read(pdata, HW_CFG); in smsc911x_phy_enable_external() local
402 hwcfg &= (~HW_CFG_PHY_CLK_SEL_); in smsc911x_phy_enable_external()
403 hwcfg |= HW_CFG_PHY_CLK_SEL_CLK_DIS_; in smsc911x_phy_enable_external()
404 smsc911x_reg_write(pdata, HW_CFG, hwcfg); in smsc911x_phy_enable_external()
408 hwcfg |= HW_CFG_EXT_PHY_EN_; in smsc911x_phy_enable_external()
409 smsc911x_reg_write(pdata, HW_CFG, hwcfg); in smsc911x_phy_enable_external()
412 hwcfg &= (~HW_CFG_PHY_CLK_SEL_); in smsc911x_phy_enable_external()
413 hwcfg |= HW_CFG_PHY_CLK_SEL_EXT_PHY_; in smsc911x_phy_enable_external()
414 smsc911x_reg_write(pdata, HW_CFG, hwcfg); in smsc911x_phy_enable_external()
417 hwcfg |= HW_CFG_SMI_SEL_; in smsc911x_phy_enable_external()
418 smsc911x_reg_write(pdata, HW_CFG, hwcfg); in smsc911x_phy_enable_external()
426 unsigned int hwcfg = smsc911x_reg_read(pdata, HW_CFG); in smsc911x_phy_initialise_external() local
435 } else if (hwcfg & HW_CFG_EXT_PHY_DET_) { in smsc911x_phy_initialise_external()