/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | pcic.c | 327 free_irq(ab->irq_num[irq_idx], &ab->ce.ce_pipe[i]); in ath11k_pcic_free_irq() 391 struct ath11k_ce_pipe *ce_pipe = from_tasklet(ce_pipe, t, intr_tq); in ath11k_pcic_ce_tasklet() local 392 int irq_idx = ATH11K_PCI_IRQ_CE0_OFFSET + ce_pipe->pipe_num; in ath11k_pcic_ce_tasklet() 394 ath11k_ce_per_engine_service(ce_pipe->ab, ce_pipe->pipe_num); in ath11k_pcic_ce_tasklet() 396 enable_irq(ce_pipe->ab->irq_num[irq_idx]); in ath11k_pcic_ce_tasklet() 401 struct ath11k_ce_pipe *ce_pipe = arg; in ath11k_pcic_ce_interrupt_handler() local 402 struct ath11k_base *ab = ce_pipe->ab; in ath11k_pcic_ce_interrupt_handler() 403 int irq_idx = ATH11K_PCI_IRQ_CE0_OFFSET + ce_pipe->pipe_num; in ath11k_pcic_ce_interrupt_handler() 409 ce_pipe->timestamp = jiffies; in ath11k_pcic_ce_interrupt_handler() 413 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 | hal.c | 1350 struct ath11k_ce_pipe *ce_pipe; in ath11k_hal_dump_srng_stats() local 1355 ce_pipe = &ab->ce.ce_pipe[i]; in ath11k_hal_dump_srng_stats() 1362 i, ce_pipe->pipe_num, in ath11k_hal_dump_srng_stats() 1363 jiffies_to_msecs(jiffies - ce_pipe->timestamp)); in ath11k_hal_dump_srng_stats() 1366 i, ce_pipe->pipe_num, in ath11k_hal_dump_srng_stats() 1367 (uintmax_t)jiffies_to_msecs(jiffies - ce_pipe->timestamp)); in ath11k_hal_dump_srng_stats()
|
H A D | ce.h | 185 struct ath11k_ce_pipe ce_pipe[CE_COUNT_MAX]; member
|
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | pci.c | 362 free_irq(ab->irq_num[irq_idx], &ab->ce.ce_pipe[i]); in ath12k_pci_free_irq() 411 struct ath12k_ce_pipe *ce_pipe = from_tasklet(ce_pipe, t, intr_tq); in ath12k_pci_ce_tasklet() local 413 ath12k_ce_per_engine_service(ce_pipe->ab, ce_pipe->pipe_num); in ath12k_pci_ce_tasklet() 415 ath12k_pci_ce_irq_enable(ce_pipe->ab, ce_pipe->pipe_num); in ath12k_pci_ce_tasklet() 420 struct ath12k_ce_pipe *ce_pipe = arg; in ath12k_pci_ce_interrupt_handler() local 423 ce_pipe->timestamp = jiffies; in ath12k_pci_ce_interrupt_handler() 425 ath12k_pci_ce_irq_disable(ce_pipe->ab, ce_pipe->pipe_num); in ath12k_pci_ce_interrupt_handler() 426 tasklet_schedule(&ce_pipe->intr_tq); in ath12k_pci_ce_interrupt_handler() 576 struct ath12k_ce_pipe *ce_pipe; in ath12k_pci_config_irq() local 597 ce_pipe = &ab->ce.ce_pipe[i]; in ath12k_pci_config_irq() [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 | 2189 struct ath12k_ce_pipe *ce_pipe; in ath12k_hal_dump_srng_stats() local 2194 ce_pipe = &ab->ce.ce_pipe[i]; in ath12k_hal_dump_srng_stats() 2200 i, ce_pipe->pipe_num, in ath12k_hal_dump_srng_stats() 2201 jiffies_to_msecs(jiffies - ce_pipe->timestamp)); in ath12k_hal_dump_srng_stats()
|
/freebsd/sys/contrib/dev/athk/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 | 813 struct ath10k_ce_pipe *ce_pipe = pipe->ce_hdl; in __ath10k_pci_rx_post_buf() local 836 ret = ce_pipe->ops->ce_rx_post_buf(ce_pipe, skb, paddr); in __ath10k_pci_rx_post_buf() 853 struct ath10k_ce_pipe *ce_pipe = pipe->ce_hdl; in ath10k_pci_rx_post_pipe() local 859 if (!ce_pipe->dest_ring) in ath10k_pci_rx_post_pipe() 863 num = __ath10k_ce_rx_num_free_bufs(ce_pipe); in ath10k_pci_rx_post_pipe() 1300 struct ath10k_ce_pipe *ce_pipe = pipe_info->ce_hdl; in ath10k_pci_process_htt_rx_cb() local 1347 ath10k_ce_rx_update_write_idx(ce_pipe, nentries); in ath10k_pci_process_htt_rx_cb() 1415 struct ath10k_ce_pipe *ce_pipe = pci_pipe->ce_hdl; in ath10k_pci_hif_tx_sg() local 1416 struct ath10k_ce_ring *src_ring = ce_pipe->src_ring; in ath10k_pci_hif_tx_sg() 1441 err = ath10k_ce_send_nolock(ce_pipe, in ath10k_pci_hif_tx_sg() [all …]
|