Lines Matching refs:rx_pool
269 struct rx_desc_pool *rx_pool; in dp_ipa_handle_rx_buf_pool_smmu_mapping() local
285 rx_pool = &soc->rx_desc_buf[pdev_id]; in dp_ipa_handle_rx_buf_pool_smmu_mapping()
288 qdf_spin_lock_bh(&rx_pool->lock); in dp_ipa_handle_rx_buf_pool_smmu_mapping()
290 num_desc = rx_pool->pool_size; in dp_ipa_handle_rx_buf_pool_smmu_mapping()
291 num_desc_per_page = rx_pool->desc_pages.num_element_per_page; in dp_ipa_handle_rx_buf_pool_smmu_mapping()
295 if (qdf_unlikely(!(rx_pool->desc_pages.cacheable_pages))) in dp_ipa_handle_rx_buf_pool_smmu_mapping()
297 rx_desc_elem = dp_rx_desc_find(page_id, offset, rx_pool); in dp_ipa_handle_rx_buf_pool_smmu_mapping()
317 rx_pool->buf_size, in dp_ipa_handle_rx_buf_pool_smmu_mapping()
321 qdf_spin_unlock_bh(&rx_pool->lock); in dp_ipa_handle_rx_buf_pool_smmu_mapping()
334 struct rx_desc_pool *rx_pool; in dp_ipa_handle_rx_buf_pool_smmu_mapping() local
346 rx_pool = &soc->rx_desc_buf[pdev_id]; in dp_ipa_handle_rx_buf_pool_smmu_mapping()
349 qdf_spin_lock_bh(&rx_pool->lock); in dp_ipa_handle_rx_buf_pool_smmu_mapping()
351 for (i = 0; i < rx_pool->pool_size; i++) { in dp_ipa_handle_rx_buf_pool_smmu_mapping()
352 if ((!(rx_pool->array[i].rx_desc.in_use)) || in dp_ipa_handle_rx_buf_pool_smmu_mapping()
353 rx_pool->array[i].rx_desc.unmapped) in dp_ipa_handle_rx_buf_pool_smmu_mapping()
356 nbuf = rx_pool->array[i].rx_desc.nbuf; in dp_ipa_handle_rx_buf_pool_smmu_mapping()
371 __dp_ipa_handle_buf_smmu_mapping(soc, nbuf, rx_pool->buf_size, in dp_ipa_handle_rx_buf_pool_smmu_mapping()
375 qdf_spin_unlock_bh(&rx_pool->lock); in dp_ipa_handle_rx_buf_pool_smmu_mapping()