Lines Matching refs:force_reset
4768 static int tg3_setup_copper_phy(struct tg3 *tp, bool force_reset) in tg3_setup_copper_phy() argument
4797 force_reset = true; in tg3_setup_copper_phy()
4799 if (force_reset) in tg3_setup_copper_phy()
4934 !force_reset) { in tg3_setup_copper_phy()
5702 static int tg3_setup_fiber_phy(struct tg3 *tp, bool force_reset) in tg3_setup_fiber_phy() argument
5805 static int tg3_setup_fiber_mii_phy(struct tg3 *tp, bool force_reset) in tg3_setup_fiber_mii_phy() argument
5819 if (force_reset) in tg3_setup_fiber_mii_phy()
5859 if (force_reset) in tg3_setup_fiber_mii_phy()
5875 if ((tp->link_config.autoneg == AUTONEG_ENABLE) && !force_reset && in tg3_setup_fiber_mii_phy()
6059 static int tg3_setup_phy(struct tg3 *tp, bool force_reset) in tg3_setup_phy() argument
6065 err = tg3_setup_fiber_phy(tp, force_reset); in tg3_setup_phy()
6067 err = tg3_setup_fiber_mii_phy(tp, force_reset); in tg3_setup_phy()
6069 err = tg3_setup_copper_phy(tp, force_reset); in tg3_setup_phy()