Searched refs:tg3_ape_lock (Results 1 – 1 of 1) sorted by relevance
707 static int tg3_ape_lock(struct tg3 *tp, int locknum) in tg3_ape_lock() function812 if (tg3_ape_lock(tp, TG3_APE_LOCK_MEM)) in tg3_ape_event_lock()1130 tg3_ape_lock(tp, tp->phy_ape_lock); in __tg3_readphy()1193 tg3_ape_lock(tp, tp->phy_ape_lock); in __tg3_writephy()2816 if (tg3_ape_lock(tp, TG3_APE_LOCK_GPIO)) in tg3_pwrsrc_switch_to_vmain()2939 if (tg3_ape_lock(tp, TG3_APE_LOCK_GPIO)) in tg3_frob_aux_power_5717()9067 tg3_ape_lock(tp, TG3_APE_LOCK_GRC); in tg3_chip_reset()