Home
last modified time | relevance | path

Searched refs:ce_ring (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/net/wireless/ath/ath11k/
H A Dce.c602 ce_ring->hal_ring_id = ret; in ath11k_ce_init_ring()
608 ce_ring->hal_ring_id); in ath11k_ce_init_ring()
616 struct ath11k_ce_ring *ce_ring; in ath11k_ce_alloc_ring() local
619 ce_ring = kzalloc(struct_size(ce_ring, skb, nentries), GFP_KERNEL); in ath11k_ce_alloc_ring()
620 if (ce_ring == NULL) in ath11k_ce_alloc_ring()
623 ce_ring->nentries = nentries; in ath11k_ce_alloc_ring()
634 kfree(ce_ring); in ath11k_ce_alloc_ring()
647 return ce_ring; in ath11k_ce_alloc_ring()
989 ce_ring = pipe->src_ring; in ath11k_ce_free_pipes()
1001 ce_ring = pipe->dest_ring; in ath11k_ce_free_pipes()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath12k/
H A Dce.c500 params.num_entries = ce_ring->nentries; in ath12k_ce_init_ring()
538 ce_ring->hal_ring_id = ret; in ath12k_ce_init_ring()
546 struct ath12k_ce_ring *ce_ring; in ath12k_ce_alloc_ring() local
549 ce_ring = kzalloc(struct_size(ce_ring, skb, nentries), GFP_KERNEL); in ath12k_ce_alloc_ring()
550 if (!ce_ring) in ath12k_ce_alloc_ring()
553 ce_ring->nentries = nentries; in ath12k_ce_alloc_ring()
554 ce_ring->nentries_mask = nentries - 1; in ath12k_ce_alloc_ring()
564 kfree(ce_ring); in ath12k_ce_alloc_ring()
570 ce_ring->base_addr_owner_space = in ath12k_ce_alloc_ring()
574 ce_ring->base_addr_ce_space = ALIGN(ce_ring->base_addr_ce_space_unaligned, in ath12k_ce_alloc_ring()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath10k/
H A Dsnoc.c850 struct ath10k_ce_ring *ce_ring; in ath10k_snoc_rx_pipe_cleanup() local
857 ce_ring = ce_pipe->dest_ring; in ath10k_snoc_rx_pipe_cleanup()
859 if (!ce_ring) in ath10k_snoc_rx_pipe_cleanup()
865 for (i = 0; i < ce_ring->nentries; i++) { in ath10k_snoc_rx_pipe_cleanup()
866 skb = ce_ring->per_transfer_context[i]; in ath10k_snoc_rx_pipe_cleanup()
870 ce_ring->per_transfer_context[i] = NULL; in ath10k_snoc_rx_pipe_cleanup()
882 struct ath10k_ce_ring *ce_ring; in ath10k_snoc_tx_pipe_cleanup() local
889 ce_ring = ce_pipe->src_ring; in ath10k_snoc_tx_pipe_cleanup()
891 if (!ce_ring) in ath10k_snoc_tx_pipe_cleanup()
897 for (i = 0; i < ce_ring->nentries; i++) { in ath10k_snoc_tx_pipe_cleanup()
[all …]
H A Dpci.c1977 struct ath10k_ce_ring *ce_ring; in ath10k_pci_rx_pipe_cleanup() local
1983 ce_ring = ce_pipe->dest_ring; in ath10k_pci_rx_pipe_cleanup()
1985 if (!ce_ring) in ath10k_pci_rx_pipe_cleanup()
1991 for (i = 0; i < ce_ring->nentries; i++) { in ath10k_pci_rx_pipe_cleanup()
1992 skb = ce_ring->per_transfer_context[i]; in ath10k_pci_rx_pipe_cleanup()
1996 ce_ring->per_transfer_context[i] = NULL; in ath10k_pci_rx_pipe_cleanup()
2009 struct ath10k_ce_ring *ce_ring; in ath10k_pci_tx_pipe_cleanup() local
2015 ce_ring = ce_pipe->src_ring; in ath10k_pci_tx_pipe_cleanup()
2017 if (!ce_ring) in ath10k_pci_tx_pipe_cleanup()
2023 for (i = 0; i < ce_ring->nentries; i++) { in ath10k_pci_tx_pipe_cleanup()
[all …]