linux/drivers/net/wireless/ath/ath6kl/hif-ops.h

/*
 * Copyright (c) 2004-2011 Atheros Communications Inc.
 * Copyright (c) 2011 Qualcomm Atheros, Inc.
 *
 * Permission to use, copy, modify, and/or distribute this software for any
 * purpose with or without fee is hereby granted, provided that the above
 * copyright notice and this permission notice appear in all copies.
 *
 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 */

#ifndef HIF_OPS_H
#define HIF_OPS_H

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

static inline int hif_read_write_sync(struct ath6kl *ar, u32 addr, u8 *buf,
				      u32 len, u32 request)
{}

static inline int hif_write_async(struct ath6kl *ar, u32 address, u8 *buffer,
				  u32 length, u32 request,
				  struct htc_packet *packet)
{}
static inline void ath6kl_hif_irq_enable(struct ath6kl *ar)
{}

static inline void ath6kl_hif_irq_disable(struct ath6kl *ar)
{}

static inline struct hif_scatter_req *hif_scatter_req_get(struct ath6kl *ar)
{}

static inline void hif_scatter_req_add(struct ath6kl *ar,
				       struct hif_scatter_req *s_req)
{}

static inline int ath6kl_hif_enable_scatter(struct ath6kl *ar)
{}

static inline int ath6kl_hif_scat_req_rw(struct ath6kl *ar,
					 struct hif_scatter_req *scat_req)
{}

static inline void ath6kl_hif_cleanup_scatter(struct ath6kl *ar)
{}

static inline int ath6kl_hif_suspend(struct ath6kl *ar,
				     struct cfg80211_wowlan *wow)
{}

/*
 * Read from the ATH6KL through its diagnostic window. No cooperation from
 * the Target is required for this.
 */
static inline int ath6kl_hif_diag_read32(struct ath6kl *ar, u32 address,
					 u32 *value)
{}

/*
 * Write to the ATH6KL through its diagnostic window. No cooperation from
 * the Target is required for this.
 */
static inline int ath6kl_hif_diag_write32(struct ath6kl *ar, u32 address,
					  __le32 value)
{}

static inline int ath6kl_hif_bmi_read(struct ath6kl *ar, u8 *buf, u32 len)
{}

static inline int ath6kl_hif_bmi_write(struct ath6kl *ar, u8 *buf, u32 len)
{}

static inline int ath6kl_hif_resume(struct ath6kl *ar)
{}

static inline int ath6kl_hif_power_on(struct ath6kl *ar)
{}

static inline int ath6kl_hif_power_off(struct ath6kl *ar)
{}

static inline void ath6kl_hif_stop(struct ath6kl *ar)
{}

static inline int ath6kl_hif_pipe_send(struct ath6kl *ar,
				       u8 pipe, struct sk_buff *hdr_buf,
				       struct sk_buff *buf)
{}

static inline void ath6kl_hif_pipe_get_default(struct ath6kl *ar,
					       u8 *ul_pipe, u8 *dl_pipe)
{}

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

static inline u16 ath6kl_hif_pipe_get_free_queue_number(struct ath6kl *ar,
							u8 pipe)
{}

#endif