#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)
{ … }
static inline int ath6kl_hif_diag_read32(struct ath6kl *ar, u32 address,
u32 *value)
{ … }
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