Home
last modified time | relevance | path

Searched refs:pool_id (Results 1 – 25 of 41) sorted by relevance

12

/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/
Ddp_tx_desc.c26 #define DP_TX_DESC_PAGE_DIVIDER(soc, num_desc_per_page, pool_id) \ argument
29 soc->tx_desc[pool_id].offset_filter = num_desc_per_page - 1; \
36 soc->tx_desc[pool_id].page_divider = (sig_bit - 1); \
40 #define DP_TX_DESC_PAGE_DIVIDER(soc, num_desc_per_page, pool_id) {} argument
84 dp_tx_desc_release(soc, tx_desc, tx_desc->pool_id); in dp_tx_desc_clean_up()
139 static void dp_tx_desc_pool_alloc_mem(struct dp_soc *soc, int8_t pool_id, in dp_tx_desc_pool_alloc_mem() argument
147 dp_global->spcl_tx_desc[soc->arch_id][pool_id] = in dp_tx_desc_pool_alloc_mem()
150 dp_global->tx_desc[soc->arch_id][pool_id] = in dp_tx_desc_pool_alloc_mem()
155 static void dp_tx_desc_pool_free_mem(struct dp_soc *soc, int8_t pool_id, in dp_tx_desc_pool_free_mem() argument
162 if (!dp_global->spcl_tx_desc[soc->arch_id][pool_id]) in dp_tx_desc_pool_free_mem()
[all …]
Ddp_tx_desc.h156 QDF_STATUS dp_tx_desc_pool_alloc(struct dp_soc *soc, uint8_t pool_id,
169 QDF_STATUS dp_tx_desc_pool_init(struct dp_soc *soc, uint8_t pool_id,
179 void dp_tx_desc_pool_free(struct dp_soc *soc, uint8_t pool_id,
189 void dp_tx_desc_pool_deinit(struct dp_soc *soc, uint8_t pool_id,
204 uint8_t pool_id);
228 uint8_t pool_id);
249 void dp_tx_ext_desc_pool_free_by_id(struct dp_soc *soc, uint8_t pool_id);
266 void dp_tx_ext_desc_pool_deinit_by_id(struct dp_soc *soc, uint8_t pool_id);
287 uint8_t pool_id);
312 uint8_t pool_id);
[all …]
Ddp_rx_desc.c81 uint32_t pool_id) in dp_rx_desc_pool_init_generic() argument
101 id = ((pool_id << DP_RX_DESC_POOL_ID_SHIFT) | in dp_rx_desc_pool_init_generic()
105 rx_desc_elem->rx_desc.pool_id = pool_id; in dp_rx_desc_pool_init_generic()
113 void dp_rx_desc_pool_init(struct dp_soc *soc, uint32_t pool_id, in dp_rx_desc_pool_init() argument
128 pool_id); in dp_rx_desc_pool_init()
216 void dp_rx_desc_nbuf_and_pool_free(struct dp_soc *soc, uint32_t pool_id, in dp_rx_desc_nbuf_and_pool_free() argument
261 uint32_t pool_id) in dp_rx_desc_pool_deinit() argument
272 soc->arch_ops.dp_rx_desc_pool_deinit(soc, rx_desc_pool, pool_id); in dp_rx_desc_pool_deinit()
310 uint32_t pool_id) in dp_rx_desc_pool_init_generic() argument
320 rx_desc_pool->array[i].rx_desc.cookie = i | (pool_id << 18); in dp_rx_desc_pool_init_generic()
[all …]
Ddp_rx_err.c320 *mac_id = rx_desc->pool_id; in dp_rx_msdus_drop()
321 pdev = dp_get_pdev_for_lmac_id(soc, rx_desc->pool_id); in dp_rx_msdus_drop()
324 soc, rx_desc->pool_id); in dp_rx_msdus_drop()
334 rx_desc_pool = &soc->rx_desc_buf[rx_desc->pool_id]; in dp_rx_msdus_drop()
736 rx_desc_pool = &soc->rx_desc_buf[rx_desc->pool_id]; in dp_rx_bar_frame_handle()
744 pdev = dp_get_pdev_for_lmac_id(soc, rx_desc->pool_id); in dp_rx_bar_frame_handle()
748 soc, rx_desc->pool_id); in dp_rx_bar_frame_handle()
759 rx_desc->pool_id); in dp_rx_bar_frame_handle()
841 uint8_t pool_id, in dp_rx_null_q_handle_invalid_peer_id_exception() argument
847 struct dp_pdev *pdev = dp_get_pdev_for_lmac_id(soc, pool_id); in dp_rx_null_q_handle_invalid_peer_id_exception()
[all …]
Ddp_rx.h152 uint8_t pool_id; member
573 uint8_t pool_id = DP_RX_DESC_MULTI_PAGE_COOKIE_GET_POOL_ID(cookie); in dp_get_rx_desc_from_cookie() local
579 if (qdf_unlikely(pool_id >= MAX_PDEV_CNT)) in dp_get_rx_desc_from_cookie()
582 rx_desc_pool = &pool[pool_id]; in dp_get_rx_desc_from_cookie()
595 uint8_t pool_id = DP_RX_DESC_MULTI_PAGE_COOKIE_GET_POOL_ID(cookie); in dp_get_rx_mon_status_desc_from_cookie() local
601 if (qdf_unlikely(pool_id >= NUM_RXDMA_STATUS_RINGS_PER_PDEV)) in dp_get_rx_mon_status_desc_from_cookie()
604 rx_desc_pool = &pool[pool_id]; in dp_get_rx_mon_status_desc_from_cookie()
660 void dp_rx_desc_pool_init(struct dp_soc *soc, uint32_t pool_id,
675 uint8_t pool_id = DP_RX_DESC_COOKIE_POOL_ID_GET(cookie); in dp_rx_cookie_2_va_rxdma_buf() local
679 if (qdf_unlikely(pool_id >= MAX_RXDESC_POOLS)) in dp_rx_cookie_2_va_rxdma_buf()
[all …]
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/rh/
Ddp_rh_tx.c97 uint8_t pool_id; in dp_tx_comp_find_tx_desc_rh() local
100 pool_id = (sw_cookie & DP_TX_DESC_ID_POOL_MASK) >> in dp_tx_comp_find_tx_desc_rh()
104 tx_desc = dp_tx_desc_find(soc, pool_id, in dp_tx_comp_find_tx_desc_rh()
110 if (tx_desc && tx_desc->pool_id != pool_id) { in dp_tx_comp_find_tx_desc_rh()
112 pool_id, tx_desc->pool_id); in dp_tx_comp_find_tx_desc_rh()
421 uint8_t pool_id) in dp_tx_tcl_desc_pool_alloc_rh() argument
429 if (pool_id > MAX_TXDESC_POOLS - 1) in dp_tx_tcl_desc_pool_alloc_rh()
433 tcl_desc_pool = &rh_soc->tcl_desc_pool[pool_id]; in dp_tx_tcl_desc_pool_alloc_rh()
460 static void dp_tx_tcl_desc_pool_free_rh(struct dp_soc *soc, uint8_t pool_id) in dp_tx_tcl_desc_pool_free_rh() argument
466 if (pool_id > MAX_TXDESC_POOLS - 1) in dp_tx_tcl_desc_pool_free_rh()
[all …]
Ddp_rh_tx.h113 uint8_t pool_id,
127 uint8_t pool_id, bool spcl_tx_desc);
152 uint8_t pool_id);
161 void dp_tx_desc_pool_free_rh(struct dp_soc *soc, uint8_t pool_id);
Ddp_rh_rx.h36 uint32_t pool_id);
48 uint32_t pool_id);
Ddp_rh_rx.c694 rx_desc->pool_id); in dp_rx_err_handler_rh()
874 rx_bufs_reaped[rx_desc->pool_id]++; in dp_rx_data_indication_handler()
938 dp_rx_add_to_free_desc_list(&head[rx_desc->pool_id], in dp_rx_data_indication_handler()
939 &tail[rx_desc->pool_id], rx_desc); in dp_rx_data_indication_handler()
1581 dp_rx_buffers_replenish_simple(soc, rx_desc->pool_id, in dp_rx_frag_indication_handler()
1583 &soc->rx_desc_buf[rx_desc->pool_id], in dp_rx_frag_indication_handler()
1586 if (dp_rx_buffer_pool_refill(soc, nbuf, rx_desc->pool_id)) in dp_rx_frag_indication_handler()
1598 uint32_t pool_id) in dp_rx_desc_pool_init_rh() argument
1600 return dp_rx_desc_pool_init_generic(soc, rx_desc_pool, pool_id); in dp_rx_desc_pool_init_rh()
1605 uint32_t pool_id) in dp_rx_desc_pool_deinit_rh() argument
/wlan-driver/qca-wifi-host-cmn/wbuff/src/
Dwbuff.c79 if (req[i].pool_id >= WBUFF_MAX_POOLS) in wbuff_is_valid_alloc_req()
97 static qdf_nbuf_t wbuff_prepare_nbuf(uint8_t module_id, uint8_t pool_id, in wbuff_prepare_nbuf() argument
103 struct wbuff_pool *wbuff_pool = &mod->wbuff_pool[pool_id]; in wbuff_prepare_nbuf()
111 dev_scratch |= ((pool_id << WBUFF_POOL_ID_SHIFT) | 1); in wbuff_prepare_nbuf()
247 uint8_t module_id = 0, pool_id = 0; in wbuff_module_init() local
257 for (pool_id = 0; pool_id < WBUFF_MAX_POOLS; pool_id++) in wbuff_module_init()
258 mod->wbuff_pool[pool_id].pool = NULL; in wbuff_module_init()
300 uint8_t pool_id; in wbuff_module_register() local
323 pool_id = req[i].pool_id; in wbuff_module_register()
326 wbuff_pool = &mod->wbuff_pool[pool_id]; in wbuff_module_register()
[all …]
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/li/
Ddp_li_tx.c41 uint8_t pool_id; in dp_tx_comp_get_params_from_hal_desc_li() local
45 pool_id = (tx_desc_id & DP_TX_DESC_ID_POOL_MASK) >> in dp_tx_comp_get_params_from_hal_desc_li()
49 *r_tx_desc = dp_tx_desc_find(soc, pool_id, in dp_tx_comp_get_params_from_hal_desc_li()
56 if ((*r_tx_desc)->pool_id != pool_id) { in dp_tx_comp_get_params_from_hal_desc_li()
58 pool_id, (*r_tx_desc)->pool_id); in dp_tx_comp_get_params_from_hal_desc_li()
235 dp_tx_desc_release(soc, tx_desc, tx_desc->pool_id); in dp_tx_process_htt_completion_li()
277 dp_tx_desc_release(soc, tx_desc, tx_desc->pool_id); in dp_tx_process_htt_completion_li()
596 uint8_t pool_id, in dp_tx_desc_pool_init_li() argument
605 tx_desc_pool = dp_get_spcl_tx_desc_pool(soc, pool_id); in dp_tx_desc_pool_init_li()
607 tx_desc_pool = dp_get_tx_desc_pool(soc, pool_id); in dp_tx_desc_pool_init_li()
[all …]
Ddp_li_rx.h68 uint32_t pool_id);
80 uint32_t pool_id);
200 uint8_t pool_id = DP_RX_DESC_COOKIE_POOL_ID_GET(cookie); in dp_rx_cookie_2_va_rxdma_buf_prefetch() local
205 if (qdf_unlikely(pool_id >= MAX_RXDESC_POOLS)) in dp_rx_cookie_2_va_rxdma_buf_prefetch()
208 rx_desc_pool = &soc->rx_desc_buf[pool_id]; in dp_rx_cookie_2_va_rxdma_buf_prefetch()
213 prefetch_desc = &soc->rx_desc_buf[pool_id].array[index].rx_desc; in dp_rx_cookie_2_va_rxdma_buf_prefetch()
353 uint8_t *rx_tlv_hdr, uint8_t pool_id,
Ddp_li_tx.h84 uint8_t pool_id,
98 uint8_t pool_id, bool spcl_tx_desc);
123 uint8_t pool_id);
132 void dp_tx_desc_pool_free_li(struct dp_soc *soc, uint8_t pool_id);
Ddp_li_rx.c351 rx_desc->pool_id); in dp_rx_process_li()
353 &head[rx_desc->pool_id], in dp_rx_process_li()
354 &tail[rx_desc->pool_id], in dp_rx_process_li()
446 rx_bufs_reaped[rx_desc->pool_id]++; in dp_rx_process_li()
506 dp_rx_add_to_free_desc_list(&head[rx_desc->pool_id], in dp_rx_process_li()
507 &tail[rx_desc->pool_id], rx_desc); in dp_rx_process_li()
971 uint32_t pool_id) in dp_rx_desc_pool_init_li() argument
973 return dp_rx_desc_pool_init_generic(soc, rx_desc_pool, pool_id); in dp_rx_desc_pool_init_li()
979 uint32_t pool_id) in dp_rx_desc_pool_deinit_li() argument
1216 rx_desc_pool = &soc->rx_desc_buf[rx_desc->pool_id]; in dp_rx_wbm_err_reap_desc_li()
[all …]
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/be/
Ddp_be_rx.c445 rx_desc->pool_id); in dp_rx_process_be()
447 &head[rx_desc->chip_id][rx_desc->pool_id], in dp_rx_process_be()
448 &tail[rx_desc->chip_id][rx_desc->pool_id], in dp_rx_process_be()
541 rx_bufs_reaped[rx_desc->chip_id][rx_desc->pool_id]++; in dp_rx_process_be()
543 (&head[rx_desc->chip_id][rx_desc->pool_id], in dp_rx_process_be()
544 &tail[rx_desc->chip_id][rx_desc->pool_id], in dp_rx_process_be()
563 rx_bufs_reaped[rx_desc->chip_id][rx_desc->pool_id]++; in dp_rx_process_be()
577 (&head[rx_desc->chip_id][rx_desc->pool_id], in dp_rx_process_be()
578 &tail[rx_desc->chip_id][rx_desc->pool_id], rx_desc); in dp_rx_process_be()
1061 uint32_t pool_id) in dp_rx_desc_pool_init_be_cc() argument
[all …]
Ddp_be_tx.h223 uint8_t pool_id,
236 uint8_t pool_id, bool spcl_tx_desc);
364 uint8_t pool_id);
373 void dp_tx_desc_pool_free_be(struct dp_soc *soc, uint8_t pool_id);
Ddp_be.h669 uint8_t pool_id) in dp_get_tx_cookie_t() argument
674 return dp_global->tx_cc_ctx[pool_id]; in dp_get_tx_cookie_t()
679 uint8_t pool_id) in dp_get_spcl_tx_cookie_t() argument
684 return dp_global->spcl_tx_cc_ctx[pool_id]; in dp_get_spcl_tx_cookie_t()
689 uint8_t pool_id) in dp_get_tx_cookie_t() argument
693 return &be_soc->tx_cc_ctx[pool_id]; in dp_get_tx_cookie_t()
698 uint8_t pool_id) in dp_get_spcl_tx_cookie_t() argument
702 return &be_soc->tx_cc_ctx[pool_id]; in dp_get_spcl_tx_cookie_t()
Ddp_be_rx.h109 uint32_t pool_id);
121 uint32_t pool_id);
727 uint8_t *rx_tlv_hdr, uint8_t pool_id,
979 uint8_t pool_id) in dp_rx_wbm_err_copy_desc_info_in_nbuf() argument
993 wbm_err.info_bit.pool_id = pool_id; in dp_rx_wbm_err_copy_desc_info_in_nbuf()
Ddp_be_tx.c410 dp_tx_desc_release(soc, tx_desc, tx_desc->pool_id); in dp_tx_process_htt_completion_be()
453 dp_tx_desc_release(soc, tx_desc, tx_desc->pool_id); in dp_tx_process_htt_completion_be()
1677 uint8_t pool_id, in dp_tx_desc_pool_init_be() argument
1693 tx_desc_pool = dp_get_spcl_tx_desc_pool(soc, pool_id); in dp_tx_desc_pool_init_be()
1694 cc_ctx = dp_get_spcl_tx_cookie_t(soc, pool_id); in dp_tx_desc_pool_init_be()
1696 tx_desc_pool = dp_get_tx_desc_pool(soc, pool_id);; in dp_tx_desc_pool_init_be()
1697 cc_ctx = dp_get_tx_cookie_t(soc, pool_id); in dp_tx_desc_pool_init_be()
1719 tx_desc->pool_id = pool_id; in dp_tx_desc_pool_init_be()
1731 uint8_t pool_id, bool spcl_tx_desc) in dp_tx_desc_pool_deinit_be() argument
1738 cc_ctx = dp_get_spcl_tx_cookie_t(soc, pool_id); in dp_tx_desc_pool_deinit_be()
[all …]
/wlan-driver/qca-wifi-host-cmn/wbuff/inc/
Dwbuff.h49 uint8_t pool_id; member
110 wbuff_buff_get(struct wbuff_mod_handle *hdl, uint8_t pool_id, uint32_t len,
147 wbuff_buff_get(struct wbuff_mod_handle *hdl, uint8_t pool_id, uint32_t len, in wbuff_buff_get() argument
/wlan-driver/fw-api/hw/qcn9224/v2/
Dtcl_entrance_from_ppe_ring.h55 pool_id : 6, member
90 pool_id : 6,
/wlan-driver/fw-api/hw/qcn6432/
Dtcl_entrance_from_ppe_ring.h46 pool_id : 6, // [23:18] member
81 pool_id : 6, // [23:18]
/wlan-driver/fw-api/hw/qca5332/
Dtcl_entrance_from_ppe_ring.h55 pool_id : 6, // [23:18] member
90 pool_id : 6, // [23:18]
/wlan-driver/fw-api/hw/qca5424/
Dtcl_entrance_from_ppe_ring.h48 pool_id : 6, member
83 pool_id : 6,
/wlan-driver/fw-api/hw/qcn9224/v1/
Dtcl_entrance_from_ppe_ring.h55 pool_id : 6, member
90 pool_id : 6,

12