Lines Matching defs:pipe
491 static int __ath10k_snoc_rx_post_buf(struct ath10k_snoc_pipe *pipe)
493 struct ath10k_ce_pipe *ce_pipe = pipe->ce_hdl;
494 struct ath10k *ar = pipe->hif_ce_state;
500 skb = dev_alloc_skb(pipe->buf_sz);
530 static void ath10k_snoc_rx_post_pipe(struct ath10k_snoc_pipe *pipe)
532 struct ath10k *ar = pipe->hif_ce_state;
535 struct ath10k_ce_pipe *ce_pipe = pipe->ce_hdl;
538 if (pipe->buf_sz == 0)
548 ret = __ath10k_snoc_rx_post_buf(pipe);
601 ath10k_dbg(ar, ATH10K_DBG_SNOC, "snoc rx ce pipe %d len %d\n",
617 /* CE4 polling needs to be done whenever CE pipe which transports
748 static u16 ath10k_snoc_hif_get_free_queue_number(struct ath10k *ar, u8 pipe)
754 return ath10k_ce_num_free_src_entries(ar_snoc->pipe_info[pipe].ce_hdl);
757 static void ath10k_snoc_hif_send_complete_check(struct ath10k *ar, u8 pipe,
765 resources = ath10k_snoc_hif_get_free_queue_number(ar, pipe);
767 if (resources > (host_ce_config_wlan[pipe].src_nentries >> 1))
770 ath10k_ce_per_engine_service(ar, pipe);
822 ath10k_dbg(ar, ATH10K_DBG_SNOC, "snoc hif get default pipe\n");
957 ath10k_err(ar, "failed to initialize copy engine pipe %d: %d\n",
1387 struct ath10k_snoc_pipe *pipe;
1393 pipe = &ar_snoc->pipe_info[i];
1394 pipe->ce_hdl = &ce->ce_states[i];
1395 pipe->pipe_num = i;
1396 pipe->hif_ce_state = ar;
1400 ath10k_err(ar, "failed to allocate copy engine pipe %d: %d\n",
1405 pipe->buf_sz = host_ce_config_wlan[i].src_sz_max;