Searched refs:tso_num_seg_pool (Results 1 – 4 of 4) sorted by relevance
636 pdev->tso_num_seg_pool.num_seg_pool_size = i; in ol_tso_num_seg_list_init()637 qdf_spinlock_create(&pdev->tso_num_seg_pool.tso_num_seg_mutex); in ol_tso_num_seg_list_init()642 pdev->tso_num_seg_pool.freelist = c_element; in ol_tso_num_seg_list_init()647 pdev->tso_num_seg_pool.num_seg_pool_size = i; in ol_tso_num_seg_list_init()648 pdev->tso_num_seg_pool.num_free = i; in ol_tso_num_seg_list_init()649 qdf_spinlock_create(&pdev->tso_num_seg_pool. in ol_tso_num_seg_list_init()664 pdev->tso_num_seg_pool.num_seg_pool_size = i; in ol_tso_num_seg_list_init()665 pdev->tso_num_seg_pool.num_free = i; in ol_tso_num_seg_list_init()666 qdf_spinlock_create(&pdev->tso_num_seg_pool.tso_num_seg_mutex); in ol_tso_num_seg_list_init()670 pdev->tso_num_seg_pool.num_seg_pool_size = num_seg; in ol_tso_num_seg_list_init()[all …]
1118 qdf_spin_lock_bh(&pdev->tso_num_seg_pool.tso_num_seg_mutex); in ol_tso_num_seg_alloc()1119 if (pdev->tso_num_seg_pool.freelist) { in ol_tso_num_seg_alloc()1120 pdev->tso_num_seg_pool.num_free--; in ol_tso_num_seg_alloc()1121 tso_num_seg = pdev->tso_num_seg_pool.freelist; in ol_tso_num_seg_alloc()1122 pdev->tso_num_seg_pool.freelist = in ol_tso_num_seg_alloc()1123 pdev->tso_num_seg_pool.freelist->next; in ol_tso_num_seg_alloc()1125 qdf_spin_unlock_bh(&pdev->tso_num_seg_pool.tso_num_seg_mutex); in ol_tso_num_seg_alloc()1143 qdf_spin_lock_bh(&pdev->tso_num_seg_pool.tso_num_seg_mutex); in ol_tso_num_seg_free()1144 tso_num_seg->next = pdev->tso_num_seg_pool.freelist; in ol_tso_num_seg_free()1145 pdev->tso_num_seg_pool.freelist = tso_num_seg; in ol_tso_num_seg_free()[all …]
1053 } tso_num_seg_pool; member
657 struct dp_tx_tso_num_seg_pool_s *tso_num_seg_pool; in dp_tx_tso_num_seg_pool_alloc_by_id() local662 tso_num_seg_pool = &soc->tx_tso_num_seg[pool_id]; in dp_tx_tso_num_seg_pool_alloc_by_id()663 tso_num_seg_pool->num_free = 0; in dp_tx_tso_num_seg_pool_alloc_by_id()665 &tso_num_seg_pool->desc_pages, in dp_tx_tso_num_seg_pool_alloc_by_id()669 if (!tso_num_seg_pool->desc_pages.num_pages) { in dp_tx_tso_num_seg_pool_alloc_by_id()703 struct dp_tx_tso_num_seg_pool_s *tso_num_seg_pool; in dp_tx_tso_num_seg_pool_free_by_id() local705 tso_num_seg_pool = &soc->tx_tso_num_seg[pool_id]; in dp_tx_tso_num_seg_pool_free_by_id()707 &tso_num_seg_pool->desc_pages, in dp_tx_tso_num_seg_pool_free_by_id()723 struct dp_tx_tso_num_seg_pool_s *tso_num_seg_pool; in dp_tx_tso_num_seg_pool_init_by_id() local727 tso_num_seg_pool = &soc->tx_tso_num_seg[pool_id]; in dp_tx_tso_num_seg_pool_init_by_id()[all …]