Searched refs:cc_ctx (Results 1 – 4 of 4) sorted by relevance
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/be/ |
H A D | dp_be.c | 427 struct dp_hw_cookie_conversion_t *cc_ctx, in dp_hw_cookie_conversion_attach() argument 447 &cc_ctx->page_pool, qdf_page_size, in dp_hw_cookie_conversion_attach() 449 if (!cc_ctx->page_pool.dma_pages) { in dp_hw_cookie_conversion_attach() 453 cc_ctx->page_desc_base = qdf_mem_malloc( in dp_hw_cookie_conversion_attach() 455 if (!cc_ctx->page_desc_base) { in dp_hw_cookie_conversion_attach() 461 cc_ctx->cmem_offset = dp_desc_pool_get_cmem_base(chip_id, desc_pool_id, in dp_hw_cookie_conversion_attach() 465 spt_desc = cc_ctx->page_desc_base; in dp_hw_cookie_conversion_attach() 466 dma_page = cc_ctx->page_pool.dma_pages; in dp_hw_cookie_conversion_attach() 482 cc_ctx->total_page_num = num_spt_pages; in dp_hw_cookie_conversion_attach() 483 qdf_spinlock_create(&cc_ctx->cc_lock); in dp_hw_cookie_conversion_attach() [all …]
|
H A D | dp_be_rx.c | 1063 struct dp_hw_cookie_conversion_t *cc_ctx; in dp_rx_desc_pool_init_be_cc() local 1076 cc_ctx = &be_soc->rx_cc_ctx[pool_id]; in dp_rx_desc_pool_init_be_cc() 1078 page_desc = &cc_ctx->page_desc_base[0]; in dp_rx_desc_pool_init_be_cc() 1082 if (ppt_idx >= cc_ctx->total_page_num) { in dp_rx_desc_pool_init_be_cc() 1086 page_desc = &cc_ctx->page_desc_base[ppt_idx++]; in dp_rx_desc_pool_init_be_cc() 1115 struct dp_hw_cookie_conversion_t *cc_ctx; in dp_rx_desc_pool_init_be_cc() local 1128 cc_ctx = &be_soc->rx_cc_ctx[pool_id]; in dp_rx_desc_pool_init_be_cc() 1130 page_desc = &cc_ctx->page_desc_base[0]; in dp_rx_desc_pool_init_be_cc() 1139 if (ppt_idx >= cc_ctx->total_page_num) { in dp_rx_desc_pool_init_be_cc() 1143 page_desc = &cc_ctx->page_desc_base[ppt_idx++]; in dp_rx_desc_pool_init_be_cc() [all …]
|
H A D | dp_be.h | 771 struct dp_hw_cookie_conversion_t *cc_ctx, 780 struct dp_hw_cookie_conversion_t *cc_ctx); 783 struct dp_hw_cookie_conversion_t *cc_ctx); 786 struct dp_hw_cookie_conversion_t *cc_ctx);
|
H A D | dp_be_tx.c | 1681 struct dp_hw_cookie_conversion_t *cc_ctx; in dp_tx_desc_pool_init_be() local 1694 cc_ctx = dp_get_spcl_tx_cookie_t(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() 1700 page_desc = &cc_ctx->page_desc_base[0]; in dp_tx_desc_pool_init_be() 1703 if (ppt_idx >= cc_ctx->total_page_num) { in dp_tx_desc_pool_init_be() 1707 page_desc = &cc_ctx->page_desc_base[ppt_idx++]; in dp_tx_desc_pool_init_be() 1735 struct dp_hw_cookie_conversion_t *cc_ctx; in dp_tx_desc_pool_deinit_be() local 1738 cc_ctx = dp_get_spcl_tx_cookie_t(soc, pool_id); in dp_tx_desc_pool_deinit_be() 1740 cc_ctx = dp_get_tx_cookie_t(soc, pool_id); in dp_tx_desc_pool_deinit_be() 1742 for (i = 0; i < cc_ctx->total_page_num; i++) { in dp_tx_desc_pool_deinit_be() [all …]
|