Lines Matching refs:pipe

387 static int __ath10k_pci_rx_post_buf(struct ath10k_pci_pipe *pipe)  in __ath10k_pci_rx_post_buf()  argument
389 struct ath10k *ar = pipe->hif_ce_state; in __ath10k_pci_rx_post_buf()
391 struct ath10k_ce_pipe *ce_pipe = pipe->ce_hdl; in __ath10k_pci_rx_post_buf()
398 skb = dev_alloc_skb(pipe->buf_sz); in __ath10k_pci_rx_post_buf()
427 static void __ath10k_pci_rx_post_pipe(struct ath10k_pci_pipe *pipe) in __ath10k_pci_rx_post_pipe() argument
429 struct ath10k *ar = pipe->hif_ce_state; in __ath10k_pci_rx_post_pipe()
431 struct ath10k_ce_pipe *ce_pipe = pipe->ce_hdl; in __ath10k_pci_rx_post_pipe()
436 if (pipe->buf_sz == 0) in __ath10k_pci_rx_post_pipe()
444 ret = __ath10k_pci_rx_post_buf(pipe); in __ath10k_pci_rx_post_pipe()
454 static void ath10k_pci_rx_post_pipe(struct ath10k_pci_pipe *pipe) in ath10k_pci_rx_post_pipe() argument
456 struct ath10k *ar = pipe->hif_ce_state; in ath10k_pci_rx_post_pipe()
460 __ath10k_pci_rx_post_pipe(pipe); in ath10k_pci_rx_post_pipe()
983 static u16 ath10k_pci_hif_get_free_queue_number(struct ath10k *ar, u8 pipe) in ath10k_pci_hif_get_free_queue_number() argument
989 return ath10k_ce_num_free_src_entries(ar_pci->pipe_info[pipe].ce_hdl); in ath10k_pci_hif_get_free_queue_number()
1051 static void ath10k_pci_hif_send_complete_check(struct ath10k *ar, u8 pipe, in ath10k_pci_hif_send_complete_check() argument
1065 resources = ath10k_pci_hif_get_free_queue_number(ar, pipe); in ath10k_pci_hif_send_complete_check()
1071 if (resources > (host_ce_config_wlan[pipe].src_nentries >> 1)) in ath10k_pci_hif_send_complete_check()
1074 ath10k_ce_per_engine_service(ar, pipe); in ath10k_pci_hif_send_complete_check()
1691 struct ath10k_pci_pipe *pipe; in ath10k_pci_alloc_pipes() local
1695 pipe = &ar_pci->pipe_info[i]; in ath10k_pci_alloc_pipes()
1696 pipe->ce_hdl = &ar_pci->ce_states[i]; in ath10k_pci_alloc_pipes()
1697 pipe->pipe_num = i; in ath10k_pci_alloc_pipes()
1698 pipe->hif_ce_state = ar; in ath10k_pci_alloc_pipes()
1711 ar_pci->ce_diag = pipe->ce_hdl; in ath10k_pci_alloc_pipes()
1715 pipe->buf_sz = (size_t)(host_ce_config_wlan[i].src_sz_max); in ath10k_pci_alloc_pipes()
2117 struct ath10k_pci_pipe *pipe = (struct ath10k_pci_pipe *)ptr; in ath10k_pci_ce_tasklet() local
2118 struct ath10k_pci *ar_pci = pipe->ar_pci; in ath10k_pci_ce_tasklet()
2120 ath10k_ce_per_engine_service(ar_pci->ar, pipe->pipe_num); in ath10k_pci_ce_tasklet()