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

/* SPDX-License-Identifier: ISC */
/*
 * Copyright (c) 2005-2011 Atheros Communications Inc.
 * Copyright (c) 2011-2015,2017 Qualcomm Atheros, Inc.
 */

#ifndef _HIF_H_
#define _HIF_H_

#include <linux/kernel.h>
#include "core.h"
#include "bmi.h"
#include "debug.h"

/* Types of fw logging mode */
enum ath_dbg_mode {};

struct ath10k_hif_sg_item {};

struct ath10k_hif_ops {};

static inline int ath10k_hif_tx_sg(struct ath10k *ar, u8 pipe_id,
				   struct ath10k_hif_sg_item *items,
				   int n_items)
{}

static inline int ath10k_hif_diag_read(struct ath10k *ar, u32 address, void *buf,
				       size_t buf_len)
{}

static inline int ath10k_hif_diag_write(struct ath10k *ar, u32 address,
					const void *data, int nbytes)
{}

static inline int ath10k_hif_exchange_bmi_msg(struct ath10k *ar,
					      void *request, u32 request_len,
					      void *response, u32 *response_len)
{}

static inline int ath10k_hif_start(struct ath10k *ar)
{}

static inline void ath10k_hif_stop(struct ath10k *ar)
{}

static inline int ath10k_hif_start_post(struct ath10k *ar)
{}

static inline int ath10k_hif_get_htt_tx_complete(struct ath10k *ar)
{}

static inline int ath10k_hif_map_service_to_pipe(struct ath10k *ar,
						 u16 service_id,
						 u8 *ul_pipe, u8 *dl_pipe)
{}

static inline void ath10k_hif_get_default_pipe(struct ath10k *ar,
					       u8 *ul_pipe, u8 *dl_pipe)
{}

static inline void ath10k_hif_send_complete_check(struct ath10k *ar,
						  u8 pipe_id, int force)
{}

static inline u16 ath10k_hif_get_free_queue_number(struct ath10k *ar,
						   u8 pipe_id)
{}

static inline int ath10k_hif_power_up(struct ath10k *ar,
				      enum ath10k_firmware_mode fw_mode)
{}

static inline void ath10k_hif_power_down(struct ath10k *ar)
{}

static inline int ath10k_hif_suspend(struct ath10k *ar)
{}

static inline int ath10k_hif_resume(struct ath10k *ar)
{}

static inline u32 ath10k_hif_read32(struct ath10k *ar, u32 address)
{}

static inline void ath10k_hif_write32(struct ath10k *ar,
				      u32 address, u32 data)
{}

static inline int ath10k_hif_fetch_cal_eeprom(struct ath10k *ar,
					      void **data,
					      size_t *data_len)
{}

static inline int ath10k_hif_get_target_info(struct ath10k *ar,
					     struct bmi_target_info *tgt_info)
{}

static inline int ath10k_hif_set_target_log_mode(struct ath10k *ar,
						 u8 fw_log_mode)
{}
#endif /* _HIF_H_ */