Home
last modified time | relevance | path

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

/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/
H A Ddp_rx_buffer_pool.c96 struct rx_buff_pool *buff_pool; in dp_rx_buffer_pool_nbuf_free() local
102 buff_pool = &soc->rx_buff_pool[mac_id]; in dp_rx_buffer_pool_nbuf_free()
104 if (qdf_likely(qdf_nbuf_queue_head_qlen(&buff_pool->emerg_nbuf_q) >= in dp_rx_buffer_pool_nbuf_free()
106 !buff_pool->is_initialized) in dp_rx_buffer_pool_nbuf_free()
111 qdf_nbuf_queue_head_enqueue_tail(&buff_pool->emerg_nbuf_q, nbuf); in dp_rx_buffer_pool_nbuf_free()
117 struct rx_refill_buff_pool *buff_pool; in dp_rx_refill_buff_pool_enqueue() local
131 buff_pool = &soc->rx_refill_buff_pool; in dp_rx_refill_buff_pool_enqueue()
133 if (!buff_pool->is_initialized) in dp_rx_refill_buff_pool_enqueue()
136 head = buff_pool->head; in dp_rx_refill_buff_pool_enqueue()
137 tail = buff_pool->tail; in dp_rx_refill_buff_pool_enqueue()
[all …]
H A Ddp_rx_buffer_pool.h108 struct rx_refill_buff_pool *buff_pool = &soc->rx_refill_buff_pool; in dp_rx_schedule_refill_thread() local
109 uint16_t head = buff_pool->head; in dp_rx_schedule_refill_thread()
110 uint16_t tail = buff_pool->tail; in dp_rx_schedule_refill_thread()
113 if (!buff_pool->is_initialized) in dp_rx_schedule_refill_thread()
119 num_refill = (buff_pool->max_bufq_len - head + tail - 1); in dp_rx_schedule_refill_thread()