Home
last modified time | relevance | path

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

/drivers/net/wireless/iwmc3200wifi/
Dtx.c92 int spool_pages; in iwm_tx_credit_get() local
95 spool_pages = spool->max_pages - spool->alloc_pages + in iwm_tx_credit_get()
98 return min(pool->max_pages - pool->alloc_pages, spool_pages); in iwm_tx_credit_get()
139 int spool_pages = pool->alloc_pages - pool->min_pages; in iwm_tx_credit_inc() local
140 spool_pages = min(spool_pages, freed_pages); in iwm_tx_credit_inc()
141 spool->alloc_pages -= spool_pages; in iwm_tx_credit_inc()
168 int spool_pages; in iwm_tx_credit_dec() local
178 spool_pages = pool->alloc_pages + alloc_pages - pool->min_pages; in iwm_tx_credit_dec()
182 else if (spool_pages > 0) in iwm_tx_credit_dec()
183 spool->alloc_pages += spool_pages; in iwm_tx_credit_dec()