Lines Matching defs:pipe
490 static int __ath10k_snoc_rx_post_buf(struct ath10k_snoc_pipe *pipe)
492 struct ath10k_ce_pipe *ce_pipe = pipe->ce_hdl;
493 struct ath10k *ar = pipe->hif_ce_state;
499 skb = dev_alloc_skb(pipe->buf_sz);
529 static void ath10k_snoc_rx_post_pipe(struct ath10k_snoc_pipe *pipe)
531 struct ath10k *ar = pipe->hif_ce_state;
534 struct ath10k_ce_pipe *ce_pipe = pipe->ce_hdl;
537 if (pipe->buf_sz == 0)
547 ret = __ath10k_snoc_rx_post_buf(pipe);
600 ath10k_dbg(ar, ATH10K_DBG_SNOC, "snoc rx ce pipe %d len %d\n",
616 /* CE4 polling needs to be done whenever CE pipe which transports
747 static u16 ath10k_snoc_hif_get_free_queue_number(struct ath10k *ar, u8 pipe)
753 return ath10k_ce_num_free_src_entries(ar_snoc->pipe_info[pipe].ce_hdl);
756 static void ath10k_snoc_hif_send_complete_check(struct ath10k *ar, u8 pipe,
764 resources = ath10k_snoc_hif_get_free_queue_number(ar, pipe);
766 if (resources > (host_ce_config_wlan[pipe].src_nentries >> 1))
769 ath10k_ce_per_engine_service(ar, pipe);
821 ath10k_dbg(ar, ATH10K_DBG_SNOC, "snoc hif get default pipe\n");
955 ath10k_err(ar, "failed to initialize copy engine pipe %d: %d\n",
1348 struct ath10k_snoc_pipe *pipe;
1354 pipe = &ar_snoc->pipe_info[i];
1355 pipe->ce_hdl = &ce->ce_states[i];
1356 pipe->pipe_num = i;
1357 pipe->hif_ce_state = ar;
1361 ath10k_err(ar, "failed to allocate copy engine pipe %d: %d\n",
1366 pipe->buf_sz = host_ce_config_wlan[i].src_sz_max;