Searched refs:mutex_for_power_on_off (Results 1 – 4 of 4) sorted by relevance
56 rtlpriv->mutex_for_power_on_off = other_rtlpriv->mutex_for_power_on_off; in rtl92du_init_shared_data()60 !rtlpriv->mutex_for_power_on_off || !rtlpriv->mutex_for_hw_init) in rtl92du_init_shared_data()73 rtlpriv->mutex_for_power_on_off = in rtl92du_init_shared_data()74 kzalloc(sizeof(*rtlpriv->mutex_for_power_on_off), GFP_KERNEL); in rtl92du_init_shared_data()79 !rtlpriv->mutex_for_power_on_off || !rtlpriv->mutex_for_hw_init) { in rtl92du_init_shared_data()82 kfree(rtlpriv->mutex_for_power_on_off); in rtl92du_init_shared_data()86 rtlpriv->mutex_for_power_on_off = NULL; in rtl92du_init_shared_data()91 mutex_init(rtlpriv->mutex_for_power_on_off); in rtl92du_init_shared_data()106 if (rtlpriv->mutex_for_power_on_off) in rtl92du_deinit_shared_data()107 mutex_destroy(rtlpriv->mutex_for_power_on_off); in rtl92du_deinit_shared_data()[all …]
2723 mutex_lock(rtlpriv->mutex_for_power_on_off); in rtl92du_phy_set_poweron()2732 mutex_unlock(rtlpriv->mutex_for_power_on_off); in rtl92du_phy_set_poweron()2739 mutex_lock(rtlpriv->mutex_for_power_on_off); in rtl92du_phy_set_poweron()2742 mutex_unlock(rtlpriv->mutex_for_power_on_off); in rtl92du_phy_set_poweron()3001 mutex_lock(rtlpriv->mutex_for_power_on_off); in rtl92du_phy_check_poweroff()3014 mutex_unlock(rtlpriv->mutex_for_power_on_off); in rtl92du_phy_check_poweroff()3020 mutex_unlock(rtlpriv->mutex_for_power_on_off); in rtl92du_phy_check_poweroff()
1097 mutex_lock(rtlpriv->mutex_for_power_on_off); in _rtl92du_poweroff_adapter()1101 mutex_unlock(rtlpriv->mutex_for_power_on_off); in _rtl92du_poweroff_adapter()
2752 struct mutex *mutex_for_power_on_off; /* for power on/off */ member