| /src/sys/contrib/dev/athk/ath11k/ |
| H A D | pcic.c | 352 free_irq(ab->irq_num[irq_idx], &ab->ce.ce_pipe[i]); in ath11k_pcic_free_irq() 416 struct ath11k_ce_pipe *ce_pipe = from_tasklet(ce_pipe, t, intr_tq); in ath11k_pcic_ce_tasklet() local 417 int irq_idx = ATH11K_PCI_IRQ_CE0_OFFSET + ce_pipe->pipe_num; in ath11k_pcic_ce_tasklet() 419 ath11k_ce_per_engine_service(ce_pipe->ab, ce_pipe->pipe_num); in ath11k_pcic_ce_tasklet() 421 enable_irq(ce_pipe->ab->irq_num[irq_idx]); in ath11k_pcic_ce_tasklet() 426 struct ath11k_ce_pipe *ce_pipe = arg; in ath11k_pcic_ce_interrupt_handler() local 427 struct ath11k_base *ab = ce_pipe->ab; in ath11k_pcic_ce_interrupt_handler() 428 int irq_idx = ATH11K_PCI_IRQ_CE0_OFFSET + ce_pipe->pipe_num; in ath11k_pcic_ce_interrupt_handler() 434 ce_pipe->timestamp = jiffies; in ath11k_pcic_ce_interrupt_handler() 438 tasklet_schedule(&ce_pipe->intr_tq); in ath11k_pcic_ce_interrupt_handler() [all …]
|
| H A D | ahb.c | 214 struct ath11k_ce_pipe *ce_pipe = &ab->ce.ce_pipe[i]; in ath11k_ahb_kill_tasklets() local 219 tasklet_kill(&ce_pipe->intr_tq); in ath11k_ahb_kill_tasklets() 461 free_irq(ab->irq_num[irq_idx], &ab->ce.ce_pipe[i]); in ath11k_ahb_free_irq() 469 struct ath11k_ce_pipe *ce_pipe = from_tasklet(ce_pipe, t, intr_tq); in ath11k_ahb_ce_tasklet() local 471 ath11k_ce_per_engine_service(ce_pipe->ab, ce_pipe->pipe_num); in ath11k_ahb_ce_tasklet() 473 ath11k_ahb_ce_irq_enable(ce_pipe->ab, ce_pipe->pipe_num); in ath11k_ahb_ce_tasklet() 478 struct ath11k_ce_pipe *ce_pipe = arg; in ath11k_ahb_ce_interrupt_handler() local 481 ce_pipe->timestamp = jiffies; in ath11k_ahb_ce_interrupt_handler() 483 ath11k_ahb_ce_irq_disable(ce_pipe->ab, ce_pipe->pipe_num); in ath11k_ahb_ce_interrupt_handler() 485 tasklet_schedule(&ce_pipe->intr_tq); in ath11k_ahb_ce_interrupt_handler() [all …]
|
| H A D | ce.c | 651 struct ath11k_ce_pipe *pipe = &ab->ce.ce_pipe[ce_id]; in ath11k_ce_alloc_pipe() 690 struct ath11k_ce_pipe *pipe = &ab->ce.ce_pipe[ce_id]; in ath11k_ce_per_engine_service() 702 struct ath11k_ce_pipe *pipe = &ab->ce.ce_pipe[pipe_id]; in ath11k_ce_poll_send_completed() 713 struct ath11k_ce_pipe *pipe = &ab->ce.ce_pipe[pipe_id]; in ath11k_ce_send() 873 pipe = &ab->ce.ce_pipe[pipe_num]; in ath11k_ce_cleanup_pipes() 891 pipe = &ab->ce.ce_pipe[i]; in ath11k_ce_rx_post_buf() 922 pipe = &ab->ce.ce_pipe[i]; in ath11k_ce_init_pipes() 981 pipe = &ab->ce.ce_pipe[i]; in ath11k_ce_free_pipes() 1037 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 | 1425 struct ath11k_ce_pipe *ce_pipe; in ath11k_hal_dump_srng_stats() local 1430 ce_pipe = &ab->ce.ce_pipe[i]; in ath11k_hal_dump_srng_stats() 1437 i, ce_pipe->pipe_num, in ath11k_hal_dump_srng_stats() 1438 jiffies_to_msecs(jiffies - ce_pipe->timestamp)); in ath11k_hal_dump_srng_stats() 1441 i, ce_pipe->pipe_num, in ath11k_hal_dump_srng_stats() 1442 (uintmax_t)jiffies_to_msecs(jiffies - ce_pipe->timestamp)); in ath11k_hal_dump_srng_stats()
|
| /src/sys/contrib/dev/athk/ath12k/ |
| H A D | ahb.c | 152 struct ath12k_ce_pipe *ce_pipe = &ab->ce.ce_pipe[i]; in ath12k_ahb_cancel_workqueue() local 157 cancel_work_sync(&ce_pipe->intr_wq); in ath12k_ahb_cancel_workqueue() 507 struct ath12k_ce_pipe *ce_pipe = from_work(ce_pipe, work, intr_wq); in ath12k_ahb_ce_workqueue() local 509 ath12k_ce_per_engine_service(ce_pipe->ab, ce_pipe->pipe_num); in ath12k_ahb_ce_workqueue() 511 ath12k_ahb_ce_irq_enable(ce_pipe->ab, ce_pipe->pipe_num); in ath12k_ahb_ce_workqueue() 516 struct ath12k_ce_pipe *ce_pipe = arg; in ath12k_ahb_ce_interrupt_handler() local 519 ce_pipe->timestamp = jiffies; in ath12k_ahb_ce_interrupt_handler() 521 ath12k_ahb_ce_irq_disable(ce_pipe->ab, ce_pipe->pipe_num); in ath12k_ahb_ce_interrupt_handler() 523 queue_work(system_bh_wq, &ce_pipe->intr_wq); in ath12k_ahb_ce_interrupt_handler() 643 struct ath12k_ce_pipe *ce_pipe = &ab->ce.ce_pipe[i]; in ath12k_ahb_config_irq() local [all …]
|
| H A D | pci.c | 397 free_irq(ab->irq_num[irq_idx], &ab->ce.ce_pipe[i]); in ath12k_pci_free_irq() 462 struct ath12k_ce_pipe *ce_pipe = from_work(ce_pipe, work, intr_wq); in ath12k_pci_ce_workqueue() local 463 int irq_idx = ATH12K_PCI_IRQ_CE0_OFFSET + ce_pipe->pipe_num; in ath12k_pci_ce_workqueue() 465 ath12k_ce_per_engine_service(ce_pipe->ab, ce_pipe->pipe_num); in ath12k_pci_ce_workqueue() 467 enable_irq(ce_pipe->ab->irq_num[irq_idx]); in ath12k_pci_ce_workqueue() 472 struct ath12k_ce_pipe *ce_pipe = arg; in ath12k_pci_ce_interrupt_handler() local 473 struct ath12k_base *ab = ce_pipe->ab; in ath12k_pci_ce_interrupt_handler() 474 int irq_idx = ATH12K_PCI_IRQ_CE0_OFFSET + ce_pipe->pipe_num; in ath12k_pci_ce_interrupt_handler() 480 ce_pipe->timestamp = jiffies; in ath12k_pci_ce_interrupt_handler() 484 queue_work(system_bh_wq, &ce_pipe->intr_wq); in ath12k_pci_ce_interrupt_handler() [all …]
|
| H A D | ce.c | 669 struct ath12k_ce_pipe *pipe = &ab->ce.ce_pipe[ce_id]; in ath12k_ce_alloc_pipe() 708 struct ath12k_ce_pipe *pipe = &ab->ce.ce_pipe[ce_id]; in ath12k_ce_per_engine_service() 719 struct ath12k_ce_pipe *pipe = &ab->ce.ce_pipe[pipe_id]; in ath12k_ce_poll_send_completed() 728 struct ath12k_ce_pipe *pipe = &ab->ce.ce_pipe[pipe_id]; in ath12k_ce_send() 834 pipe = &ab->ce.ce_pipe[pipe_num]; in ath12k_ce_cleanup_pipes() 851 pipe = &ab->ce.ce_pipe[i]; in ath12k_ce_rx_post_buf() 922 pipe = &ab->ce.ce_pipe[i]; in ath12k_ce_init_pipes() 980 pipe = &ab->ce.ce_pipe[i]; in ath12k_ce_free_pipes() 1029 pipe = &ab->ce.ce_pipe[i]; in ath12k_ce_alloc_pipes()
|
| H A D | ce.h | 170 struct ath12k_ce_pipe ce_pipe[CE_COUNT_MAX]; member
|
| H A D | hal.c | 2630 struct ath12k_ce_pipe *ce_pipe; in ath12k_hal_dump_srng_stats() local 2635 ce_pipe = &ab->ce.ce_pipe[i]; in ath12k_hal_dump_srng_stats() 2641 i, ce_pipe->pipe_num, in ath12k_hal_dump_srng_stats() 2642 jiffies_to_msecs(jiffies - ce_pipe->timestamp)); in ath12k_hal_dump_srng_stats()
|
| /src/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() 693 struct ath10k_ce_pipe *ce_pipe; in ath10k_snoc_hif_tx_sg() local 697 ce_pipe = snoc_pipe->ce_hdl; in ath10k_snoc_hif_tx_sg() 705 err = ath10k_ce_send_nolock(ce_pipe, in ath10k_snoc_hif_tx_sg() 719 err = ath10k_ce_send_nolock(ce_pipe, in ath10k_snoc_hif_tx_sg() 734 __ath10k_ce_send_revert(ce_pipe); in ath10k_snoc_hif_tx_sg() [all …]
|
| H A D | pci.c | 815 struct ath10k_ce_pipe *ce_pipe = pipe->ce_hdl; in __ath10k_pci_rx_post_buf() local 838 ret = ce_pipe->ops->ce_rx_post_buf(ce_pipe, skb, paddr); in __ath10k_pci_rx_post_buf() 855 struct ath10k_ce_pipe *ce_pipe = pipe->ce_hdl; in ath10k_pci_rx_post_pipe() local 861 if (!ce_pipe->dest_ring) in ath10k_pci_rx_post_pipe() 865 num = __ath10k_ce_rx_num_free_bufs(ce_pipe); in ath10k_pci_rx_post_pipe() 1303 struct ath10k_ce_pipe *ce_pipe = pipe_info->ce_hdl; in ath10k_pci_process_htt_rx_cb() local 1350 ath10k_ce_rx_update_write_idx(ce_pipe, nentries); in ath10k_pci_process_htt_rx_cb() 1418 struct ath10k_ce_pipe *ce_pipe = pci_pipe->ce_hdl; in ath10k_pci_hif_tx_sg() local 1419 struct ath10k_ce_ring *src_ring = ce_pipe->src_ring; in ath10k_pci_hif_tx_sg() 1444 err = ath10k_ce_send_nolock(ce_pipe, in ath10k_pci_hif_tx_sg() [all …]
|