Searched refs:mutex_for_hw_init (Results 1 – 3 of 3) sorted by relevance
57 rtlpriv->mutex_for_hw_init = other_rtlpriv->mutex_for_hw_init; in rtl92du_init_shared_data()60 !rtlpriv->mutex_for_power_on_off || !rtlpriv->mutex_for_hw_init) in rtl92du_init_shared_data()75 rtlpriv->mutex_for_hw_init = in rtl92du_init_shared_data()76 kzalloc(sizeof(*rtlpriv->mutex_for_hw_init), GFP_KERNEL); in rtl92du_init_shared_data()79 !rtlpriv->mutex_for_power_on_off || !rtlpriv->mutex_for_hw_init) { in rtl92du_init_shared_data()83 kfree(rtlpriv->mutex_for_hw_init); in rtl92du_init_shared_data()87 rtlpriv->mutex_for_hw_init = NULL; in rtl92du_init_shared_data()92 mutex_init(rtlpriv->mutex_for_hw_init); in rtl92du_init_shared_data()108 if (rtlpriv->mutex_for_hw_init) in rtl92du_deinit_shared_data()109 mutex_destroy(rtlpriv->mutex_for_hw_init); in rtl92du_deinit_shared_data()[all …]
644 mutex_lock(rtlpriv->mutex_for_hw_init); in rtl92du_hw_init()651 mutex_unlock(rtlpriv->mutex_for_hw_init); in rtl92du_hw_init()662 mutex_unlock(rtlpriv->mutex_for_hw_init); in rtl92du_hw_init()672 mutex_unlock(rtlpriv->mutex_for_hw_init); in rtl92du_hw_init()851 mutex_unlock(rtlpriv->mutex_for_hw_init); in rtl92du_hw_init()
2753 struct mutex *mutex_for_hw_init; /* for hardware init */ member