Home
last modified time | relevance | path

Searched refs:tx_policy_cache (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.10/drivers/staging/wfx/
Ddata_tx.c74 static int wfx_tx_policy_find(struct tx_policy_cache *cache, in wfx_tx_policy_find()
88 static void wfx_tx_policy_use(struct tx_policy_cache *cache, in wfx_tx_policy_use()
95 static int wfx_tx_policy_release(struct tx_policy_cache *cache, in wfx_tx_policy_release()
109 struct tx_policy_cache *cache = &wvif->tx_policy_cache; in wfx_tx_policy_get()
145 struct tx_policy_cache *cache = &wvif->tx_policy_cache; in wfx_tx_policy_put()
159 struct tx_policy *policies = wvif->tx_policy_cache.cache; in wfx_tx_policy_upload()
164 spin_lock_bh(&wvif->tx_policy_cache.lock); in wfx_tx_policy_upload()
165 for (i = 0; i < ARRAY_SIZE(wvif->tx_policy_cache.cache); ++i) { in wfx_tx_policy_upload()
171 if (i < ARRAY_SIZE(wvif->tx_policy_cache.cache)) { in wfx_tx_policy_upload()
174 spin_unlock_bh(&wvif->tx_policy_cache.lock); in wfx_tx_policy_upload()
[all …]
Dwfx.h77 struct tx_policy_cache tx_policy_cache; member
Ddata_tx.h28 struct tx_policy_cache { struct
/Linux-v5.10/drivers/net/wireless/st/cw1200/
Dtxrx.c213 static int tx_policy_find(struct tx_policy_cache *cache, in tx_policy_find()
234 static inline void tx_policy_use(struct tx_policy_cache *cache, in tx_policy_use()
241 static inline int tx_policy_release(struct tx_policy_cache *cache, in tx_policy_release()
253 struct tx_policy_cache *cache = &priv->tx_policy_cache; in tx_policy_clean()
283 struct tx_policy_cache *cache = &priv->tx_policy_cache; in tx_policy_init()
301 struct tx_policy_cache *cache = &priv->tx_policy_cache; in tx_policy_get()
340 struct tx_policy_cache *cache = &priv->tx_policy_cache; in tx_policy_put()
354 struct tx_policy_cache *cache = &priv->tx_policy_cache; in tx_policy_upload()
Dcw1200.h272 struct tx_policy_cache tx_policy_cache; member
Ddebug.c198 spin_lock_bh(&priv->tx_policy_cache.lock); in cw1200_status_show()
200 list_for_each(item, &priv->tx_policy_cache.used) in cw1200_status_show()
202 spin_unlock_bh(&priv->tx_policy_cache.lock); in cw1200_status_show()
Dtxrx.h38 struct tx_policy_cache { struct
Dsta.c426 spin_lock_bh(&priv->tx_policy_cache.lock); in cw1200_config()
432 spin_unlock_bh(&priv->tx_policy_cache.lock); in cw1200_config()