Home
last modified time | relevance | path

Searched refs:tx_credit (Results 1 – 5 of 5) sorted by relevance

/drivers/net/wireless/iwmc3200wifi/
Dtx.c88 static int iwm_tx_credit_get(struct iwm_tx_credit *tx_credit, int id) in iwm_tx_credit_get() argument
90 struct pool_entry *pool = &tx_credit->pools[id]; in iwm_tx_credit_get()
91 struct spool_entry *spool = &tx_credit->spools[pool->sid]; in iwm_tx_credit_get()
105 if (npages <= iwm_tx_credit_get(&iwm->tx_credit, id)) in iwm_tx_credit_ok()
108 set_bit(id, &iwm->tx_credit.full_pools_map); in iwm_tx_credit_ok()
112 iwm_tx_credit_get(&iwm->tx_credit, id)); in iwm_tx_credit_ok()
126 pool = &iwm->tx_credit.pools[id]; in iwm_tx_credit_inc()
127 spool = &iwm->tx_credit.spools[pool->sid]; in iwm_tx_credit_inc()
151 if (test_bit(id, &iwm->tx_credit.full_pools_map) && in iwm_tx_credit_inc()
153 clear_bit(id, &iwm->tx_credit.full_pools_map); in iwm_tx_credit_inc()
[all …]
Diwm.h278 struct iwm_tx_credit tx_credit; member
Ddebugfs.c192 struct iwm_tx_credit *credit = &iwm->tx_credit; in iwm_debugfs_tx_credit_read()
Dmain.c265 spin_lock_init(&iwm->tx_credit.lock); in iwm_priv_init()
Drx.c183 spin_lock(&iwm->tx_credit.lock); in iwm_ntf_tx_credit_update()
195 spin_unlock(&iwm->tx_credit.lock); in iwm_ntf_tx_credit_update()