/openbmc/linux/drivers/net/wireless/ath/ath11k/ |
H A D | pcic.c | 319 free_irq(ab->irq_num[irq_idx], &ab->ce.ce_pipe[i]); in ath11k_pcic_free_irq() 383 struct ath11k_ce_pipe *ce_pipe = from_tasklet(ce_pipe, t, intr_tq); in ath11k_pcic_ce_tasklet() local 384 int irq_idx = ATH11K_PCI_IRQ_CE0_OFFSET + ce_pipe->pipe_num; in ath11k_pcic_ce_tasklet() 386 ath11k_ce_per_engine_service(ce_pipe->ab, ce_pipe->pipe_num); in ath11k_pcic_ce_tasklet() 388 enable_irq(ce_pipe->ab->irq_num[irq_idx]); in ath11k_pcic_ce_tasklet() 393 struct ath11k_ce_pipe *ce_pipe = arg; in ath11k_pcic_ce_interrupt_handler() local 394 struct ath11k_base *ab = ce_pipe->ab; in ath11k_pcic_ce_interrupt_handler() 395 int irq_idx = ATH11K_PCI_IRQ_CE0_OFFSET + ce_pipe->pipe_num; in ath11k_pcic_ce_interrupt_handler() 401 ce_pipe->timestamp = jiffies; in ath11k_pcic_ce_interrupt_handler() 405 tasklet_schedule(&ce_pipe->intr_tq); in ath11k_pcic_ce_interrupt_handler() [all …]
|
H A D | ahb.c | 213 struct ath11k_ce_pipe *ce_pipe = &ab->ce.ce_pipe[i]; in ath11k_ahb_kill_tasklets() local 218 tasklet_kill(&ce_pipe->intr_tq); in ath11k_ahb_kill_tasklets() 459 free_irq(ab->irq_num[irq_idx], &ab->ce.ce_pipe[i]); in ath11k_ahb_free_irq() 467 struct ath11k_ce_pipe *ce_pipe = from_tasklet(ce_pipe, t, intr_tq); in ath11k_ahb_ce_tasklet() local 469 ath11k_ce_per_engine_service(ce_pipe->ab, ce_pipe->pipe_num); in ath11k_ahb_ce_tasklet() 471 ath11k_ahb_ce_irq_enable(ce_pipe->ab, ce_pipe->pipe_num); in ath11k_ahb_ce_tasklet() 476 struct ath11k_ce_pipe *ce_pipe = arg; in ath11k_ahb_ce_interrupt_handler() local 479 ce_pipe->timestamp = jiffies; in ath11k_ahb_ce_interrupt_handler() 481 ath11k_ahb_ce_irq_disable(ce_pipe->ab, ce_pipe->pipe_num); in ath11k_ahb_ce_interrupt_handler() 483 tasklet_schedule(&ce_pipe->intr_tq); in ath11k_ahb_ce_interrupt_handler() [all …]
|
H A D | ce.c | 652 struct ath11k_ce_pipe *pipe = &ab->ce.ce_pipe[ce_id]; in ath11k_ce_alloc_pipe() 691 struct ath11k_ce_pipe *pipe = &ab->ce.ce_pipe[ce_id]; in ath11k_ce_per_engine_service() 703 struct ath11k_ce_pipe *pipe = &ab->ce.ce_pipe[pipe_id]; in ath11k_ce_poll_send_completed() 714 struct ath11k_ce_pipe *pipe = &ab->ce.ce_pipe[pipe_id]; in ath11k_ce_send() 874 pipe = &ab->ce.ce_pipe[pipe_num]; in ath11k_ce_cleanup_pipes() 892 pipe = &ab->ce.ce_pipe[i]; in ath11k_ce_rx_post_buf() 923 pipe = &ab->ce.ce_pipe[i]; in ath11k_ce_init_pipes() 982 pipe = &ab->ce.ce_pipe[i]; in ath11k_ce_free_pipes() 1038 pipe = &ab->ce.ce_pipe[i]; in ath11k_ce_alloc_pipes()
|
H A D | ce.h | 186 struct ath11k_ce_pipe ce_pipe[CE_COUNT_MAX]; member
|
H A D | hal.c | 1334 struct ath11k_ce_pipe *ce_pipe; in ath11k_hal_dump_srng_stats() local 1339 ce_pipe = &ab->ce.ce_pipe[i]; in ath11k_hal_dump_srng_stats() 1345 i, ce_pipe->pipe_num, in ath11k_hal_dump_srng_stats() 1346 jiffies_to_msecs(jiffies - ce_pipe->timestamp)); in ath11k_hal_dump_srng_stats()
|
/openbmc/linux/drivers/net/wireless/ath/ath12k/ |
H A D | pci.c | 350 free_irq(ab->irq_num[irq_idx], &ab->ce.ce_pipe[i]); in ath12k_pci_free_irq() 401 struct ath12k_ce_pipe *ce_pipe = from_tasklet(ce_pipe, t, intr_tq); in ath12k_pci_ce_tasklet() local 403 ath12k_ce_per_engine_service(ce_pipe->ab, ce_pipe->pipe_num); in ath12k_pci_ce_tasklet() 405 ath12k_pci_ce_irq_enable(ce_pipe->ab, ce_pipe->pipe_num); in ath12k_pci_ce_tasklet() 410 struct ath12k_ce_pipe *ce_pipe = arg; in ath12k_pci_ce_interrupt_handler() local 411 struct ath12k_base *ab = ce_pipe->ab; in ath12k_pci_ce_interrupt_handler() 417 ce_pipe->timestamp = jiffies; in ath12k_pci_ce_interrupt_handler() 419 ath12k_pci_ce_irq_disable(ce_pipe->ab, ce_pipe->pipe_num); in ath12k_pci_ce_interrupt_handler() 420 tasklet_schedule(&ce_pipe->intr_tq); in ath12k_pci_ce_interrupt_handler() 577 struct ath12k_ce_pipe *ce_pipe; in ath12k_pci_config_irq() local [all …]
|
H A D | ce.c | 582 struct ath12k_ce_pipe *pipe = &ab->ce.ce_pipe[ce_id]; in ath12k_ce_alloc_pipe() 621 struct ath12k_ce_pipe *pipe = &ab->ce.ce_pipe[ce_id]; in ath12k_ce_per_engine_service() 632 struct ath12k_ce_pipe *pipe = &ab->ce.ce_pipe[pipe_id]; in ath12k_ce_poll_send_completed() 641 struct ath12k_ce_pipe *pipe = &ab->ce.ce_pipe[pipe_id]; in ath12k_ce_send() 747 pipe = &ab->ce.ce_pipe[pipe_num]; in ath12k_ce_cleanup_pipes() 764 pipe = &ab->ce.ce_pipe[i]; in ath12k_ce_rx_post_buf() 835 pipe = &ab->ce.ce_pipe[i]; in ath12k_ce_init_pipes() 893 pipe = &ab->ce.ce_pipe[i]; in ath12k_ce_free_pipes() 942 pipe = &ab->ce.ce_pipe[i]; in ath12k_ce_alloc_pipes()
|
H A D | ce.h | 159 struct ath12k_ce_pipe ce_pipe[CE_COUNT_MAX]; member
|
H A D | hal.c | 2176 struct ath12k_ce_pipe *ce_pipe; in ath12k_hal_dump_srng_stats() local 2181 ce_pipe = &ab->ce.ce_pipe[i]; in ath12k_hal_dump_srng_stats() 2187 i, ce_pipe->pipe_num, in ath12k_hal_dump_srng_stats() 2188 jiffies_to_msecs(jiffies - ce_pipe->timestamp)); in ath12k_hal_dump_srng_stats()
|
/openbmc/linux/drivers/net/wireless/ath/ath10k/ |
H A D | snoc.c | 493 struct ath10k_ce_pipe *ce_pipe = pipe->ce_hdl; in __ath10k_snoc_rx_post_buf() local 518 ret = ce_pipe->ops->ce_rx_post_buf(ce_pipe, skb, paddr); in __ath10k_snoc_rx_post_buf() 535 struct ath10k_ce_pipe *ce_pipe = pipe->ce_hdl; in ath10k_snoc_rx_post_pipe() local 541 if (!ce_pipe->dest_ring) in ath10k_snoc_rx_post_pipe() 545 num = __ath10k_ce_rx_num_free_bufs(ce_pipe); in ath10k_snoc_rx_post_pipe() 692 struct ath10k_ce_pipe *ce_pipe; in ath10k_snoc_hif_tx_sg() local 696 ce_pipe = snoc_pipe->ce_hdl; in ath10k_snoc_hif_tx_sg() 704 err = ath10k_ce_send_nolock(ce_pipe, in ath10k_snoc_hif_tx_sg() 718 err = ath10k_ce_send_nolock(ce_pipe, in ath10k_snoc_hif_tx_sg() 733 __ath10k_ce_send_revert(ce_pipe); in ath10k_snoc_hif_tx_sg() [all …]
|
H A D | pci.c | 769 struct ath10k_ce_pipe *ce_pipe = pipe->ce_hdl; in __ath10k_pci_rx_post_buf() local 792 ret = ce_pipe->ops->ce_rx_post_buf(ce_pipe, skb, paddr); in __ath10k_pci_rx_post_buf() 809 struct ath10k_ce_pipe *ce_pipe = pipe->ce_hdl; in ath10k_pci_rx_post_pipe() local 815 if (!ce_pipe->dest_ring) in ath10k_pci_rx_post_pipe() 819 num = __ath10k_ce_rx_num_free_bufs(ce_pipe); in ath10k_pci_rx_post_pipe() 1241 struct ath10k_ce_pipe *ce_pipe = pipe_info->ce_hdl; in ath10k_pci_process_htt_rx_cb() local 1288 ath10k_ce_rx_update_write_idx(ce_pipe, nentries); in ath10k_pci_process_htt_rx_cb() 1356 struct ath10k_ce_pipe *ce_pipe = pci_pipe->ce_hdl; in ath10k_pci_hif_tx_sg() local 1357 struct ath10k_ce_ring *src_ring = ce_pipe->src_ring; in ath10k_pci_hif_tx_sg() 1382 err = ath10k_ce_send_nolock(ce_pipe, in ath10k_pci_hif_tx_sg() [all …]
|