Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/pcie/
Drx.c516 struct iwl_rb_allocator *rba = &trans_pcie->rba; in iwl_pcie_rx_allocator() local
518 int pending = atomic_read(&rba->req_pending); in iwl_pcie_rx_allocator()
523 spin_lock_bh(&rba->lock); in iwl_pcie_rx_allocator()
525 list_replace_init(&rba->rbd_empty, &local_empty); in iwl_pcie_rx_allocator()
526 spin_unlock_bh(&rba->lock); in iwl_pcie_rx_allocator()
575 atomic_dec(&rba->req_pending); in iwl_pcie_rx_allocator()
579 pending = atomic_read(&rba->req_pending); in iwl_pcie_rx_allocator()
586 spin_lock_bh(&rba->lock); in iwl_pcie_rx_allocator()
588 list_splice_tail(&local_allocated, &rba->rbd_allocated); in iwl_pcie_rx_allocator()
590 list_splice_tail_init(&rba->rbd_empty, &local_empty); in iwl_pcie_rx_allocator()
[all …]
Dtrans.c2010 if (trans_pcie->rba.alloc_wq) { in iwl_trans_pcie_free()
2011 destroy_workqueue(trans_pcie->rba.alloc_wq); in iwl_trans_pcie_free()
2012 trans_pcie->rba.alloc_wq = NULL; in iwl_trans_pcie_free()
3570 trans_pcie->rba.alloc_wq = alloc_workqueue("rb_allocator", in iwl_trans_pcie_alloc()
3572 if (!trans_pcie->rba.alloc_wq) { in iwl_trans_pcie_alloc()
3576 INIT_WORK(&trans_pcie->rba.rx_alloc, iwl_pcie_rx_allocator_work); in iwl_trans_pcie_alloc()
3692 destroy_workqueue(trans_pcie->rba.alloc_wq); in iwl_trans_pcie_alloc()
Dinternal.h352 struct iwl_rb_allocator rba; member