Lines Matching refs:lwiphy

7121 	struct lkpi_wiphy *lwiphy;  local
7125 lwiphy = container_of(work, struct lkpi_wiphy, wwk);
7126 wiphy = LWIPHY_TO_WIPHY(lwiphy);
7130 LKPI_80211_LWIPHY_WORK_LOCK(lwiphy);
7131 wk = list_first_entry_or_null(&lwiphy->wwk_list, struct wiphy_work, entry);
7134 LKPI_80211_LWIPHY_WORK_UNLOCK(lwiphy);
7141 if (!list_empty(&lwiphy->wwk_list))
7143 LKPI_80211_LWIPHY_WORK_UNLOCK(lwiphy);
7154 struct lkpi_wiphy *lwiphy; local
7156 lwiphy = WIPHY_TO_LWIPHY(wiphy);
7158 LKPI_80211_LWIPHY_WORK_LOCK(lwiphy);
7161 list_add_tail(&wwk->entry, &lwiphy->wwk_list);
7162 LKPI_80211_LWIPHY_WORK_UNLOCK(lwiphy);
7169 queue_work(system_wq, &lwiphy->wwk);
7175 struct lkpi_wiphy *lwiphy; local
7177 lwiphy = WIPHY_TO_LWIPHY(wiphy);
7179 LKPI_80211_LWIPHY_WORK_LOCK(lwiphy);
7183 LKPI_80211_LWIPHY_WORK_UNLOCK(lwiphy);
7189 struct lkpi_wiphy *lwiphy; local
7192 lwiphy = WIPHY_TO_LWIPHY(wiphy);
7193 LKPI_80211_LWIPHY_WORK_LOCK(lwiphy);
7196 LKPI_80211_LWIPHY_WORK_UNLOCK(lwiphy);
7200 while (!list_empty(&lwiphy->wwk_list)) {
7202 wk = list_first_entry(&lwiphy->wwk_list, struct wiphy_work,
7205 LKPI_80211_LWIPHY_WORK_UNLOCK(lwiphy);
7207 LKPI_80211_LWIPHY_WORK_LOCK(lwiphy);
7211 LKPI_80211_LWIPHY_WORK_UNLOCK(lwiphy);
7250 struct lkpi_wiphy *lwiphy; local
7253 lwiphy = kzalloc(sizeof(*lwiphy) + priv_len, GFP_KERNEL);
7254 if (lwiphy == NULL)
7256 lwiphy->ops = ops;
7258 LKPI_80211_LWIPHY_WORK_LOCK_INIT(lwiphy);
7259 INIT_LIST_HEAD(&lwiphy->wwk_list);
7260 INIT_WORK(&lwiphy->wwk, lkpi_wiphy_work);
7262 wiphy = LWIPHY_TO_WIPHY(lwiphy);
7273 struct lkpi_wiphy *lwiphy; local
7281 lwiphy = WIPHY_TO_LWIPHY(wiphy);
7282 LKPI_80211_LWIPHY_WORK_LOCK_DESTROY(lwiphy);
7284 kfree(lwiphy);