linux/drivers/net/wireless/ath/ath12k/ce.c

// SPDX-License-Identifier: BSD-3-Clause-Clear
/*
 * Copyright (c) 2018-2021 The Linux Foundation. All rights reserved.
 * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
 */

#include "dp_rx.h"
#include "debug.h"
#include "hif.h"

const struct ce_attr ath12k_host_ce_config_qcn9274[] =;

const struct ce_attr ath12k_host_ce_config_wcn7850[] =;

static int ath12k_ce_rx_buf_enqueue_pipe(struct ath12k_ce_pipe *pipe,
					 struct sk_buff *skb, dma_addr_t paddr)
{}

static int ath12k_ce_rx_post_pipe(struct ath12k_ce_pipe *pipe)
{}

static int ath12k_ce_completed_recv_next(struct ath12k_ce_pipe *pipe,
					 struct sk_buff **skb, int *nbytes)
{}

static void ath12k_ce_recv_process_cb(struct ath12k_ce_pipe *pipe)
{}

static struct sk_buff *ath12k_ce_completed_send_next(struct ath12k_ce_pipe *pipe)
{}

static void ath12k_ce_send_done_cb(struct ath12k_ce_pipe *pipe)
{}

static void ath12k_ce_srng_msi_ring_params_setup(struct ath12k_base *ab, u32 ce_id,
						 struct hal_srng_params *ring_params)
{}

static int ath12k_ce_init_ring(struct ath12k_base *ab,
			       struct ath12k_ce_ring *ce_ring,
			       int ce_id, enum hal_ring_type type)
{}

static struct ath12k_ce_ring *
ath12k_ce_alloc_ring(struct ath12k_base *ab, int nentries, int desc_sz)
{}

static int ath12k_ce_alloc_pipe(struct ath12k_base *ab, int ce_id)
{}

void ath12k_ce_per_engine_service(struct ath12k_base *ab, u16 ce_id)
{}

void ath12k_ce_poll_send_completed(struct ath12k_base *ab, u8 pipe_id)
{}

int ath12k_ce_send(struct ath12k_base *ab, struct sk_buff *skb, u8 pipe_id,
		   u16 transfer_id)
{}

static void ath12k_ce_rx_pipe_cleanup(struct ath12k_ce_pipe *pipe)
{}

void ath12k_ce_cleanup_pipes(struct ath12k_base *ab)
{}

void ath12k_ce_rx_post_buf(struct ath12k_base *ab)
{}

void ath12k_ce_rx_replenish_retry(struct timer_list *t)
{}

static void ath12k_ce_shadow_config(struct ath12k_base *ab)
{}

void ath12k_ce_get_shadow_config(struct ath12k_base *ab,
				 u32 **shadow_cfg, u32 *shadow_cfg_len)
{}

int ath12k_ce_init_pipes(struct ath12k_base *ab)
{}

void ath12k_ce_free_pipes(struct ath12k_base *ab)
{}

int ath12k_ce_alloc_pipes(struct ath12k_base *ab)
{}

int ath12k_ce_get_attr_flags(struct ath12k_base *ab, int ce_id)
{}