linux/drivers/net/wireless/ath/ath12k/hif.h

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

#ifndef ATH12K_HIF_H
#define ATH12K_HIF_H

#include "core.h"

struct ath12k_hif_ops {};

static inline int ath12k_hif_map_service_to_pipe(struct ath12k_base *ab, u16 service_id,
						 u8 *ul_pipe, u8 *dl_pipe)
{}

static inline int ath12k_hif_get_user_msi_vector(struct ath12k_base *ab,
						 char *user_name,
						 int *num_vectors,
						 u32 *user_base_data,
						 u32 *base_vector)
{}

static inline void ath12k_hif_get_msi_address(struct ath12k_base *ab,
					      u32 *msi_addr_lo,
					      u32 *msi_addr_hi)
{}

static inline void ath12k_hif_get_ce_msi_idx(struct ath12k_base *ab, u32 ce_id,
					     u32 *msi_data_idx)
{}

static inline void ath12k_hif_ce_irq_enable(struct ath12k_base *ab)
{}

static inline void ath12k_hif_ce_irq_disable(struct ath12k_base *ab)
{}

static inline void ath12k_hif_irq_enable(struct ath12k_base *ab)
{}

static inline void ath12k_hif_irq_disable(struct ath12k_base *ab)
{}

static inline int ath12k_hif_suspend(struct ath12k_base *ab)
{}

static inline int ath12k_hif_resume(struct ath12k_base *ab)
{}

static inline int ath12k_hif_start(struct ath12k_base *ab)
{}

static inline void ath12k_hif_stop(struct ath12k_base *ab)
{}

static inline u32 ath12k_hif_read32(struct ath12k_base *ab, u32 address)
{}

static inline void ath12k_hif_write32(struct ath12k_base *ab, u32 address,
				      u32 data)
{}

static inline int ath12k_hif_power_up(struct ath12k_base *ab)
{}

static inline void ath12k_hif_power_down(struct ath12k_base *ab, bool is_suspend)
{}

static inline int ath12k_hif_panic_handler(struct ath12k_base *ab)
{}

#endif /* ATH12K_HIF_H */