Home
last modified time | relevance | path

Searched refs:rba (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/pcie/
Drx.c538 struct iwl_rb_allocator *rba = &trans_pcie->rba; in iwl_pcie_rx_allocator() local
540 int pending = atomic_read(&rba->req_pending); in iwl_pcie_rx_allocator()
545 spin_lock(&rba->lock); in iwl_pcie_rx_allocator()
547 list_replace_init(&rba->rbd_empty, &local_empty); in iwl_pcie_rx_allocator()
548 spin_unlock(&rba->lock); in iwl_pcie_rx_allocator()
595 atomic_dec(&rba->req_pending); in iwl_pcie_rx_allocator()
599 pending = atomic_read(&rba->req_pending); in iwl_pcie_rx_allocator()
606 spin_lock(&rba->lock); in iwl_pcie_rx_allocator()
608 list_splice_tail(&local_allocated, &rba->rbd_allocated); in iwl_pcie_rx_allocator()
610 list_splice_tail_init(&rba->rbd_empty, &local_empty); in iwl_pcie_rx_allocator()
[all …]
Dtrans.c1951 if (trans_pcie->rba.alloc_wq) { in iwl_trans_pcie_free()
1952 destroy_workqueue(trans_pcie->rba.alloc_wq); in iwl_trans_pcie_free()
1953 trans_pcie->rba.alloc_wq = NULL; in iwl_trans_pcie_free()
3460 trans_pcie->rba.alloc_wq = alloc_workqueue("rb_allocator", in iwl_trans_pcie_alloc()
3462 if (!trans_pcie->rba.alloc_wq) { in iwl_trans_pcie_alloc()
3466 INIT_WORK(&trans_pcie->rba.rx_alloc, iwl_pcie_rx_allocator_work); in iwl_trans_pcie_alloc()
3613 destroy_workqueue(trans_pcie->rba.alloc_wq); in iwl_trans_pcie_alloc()
Dinternal.h518 struct iwl_rb_allocator rba; member