28 "hif %s sync addr 0x%x buf 0x%p len %d request 0x%x\n",
30 addr, buf, len, request);
32 return ar->
hif_ops->read_write_sync(ar, addr, buf, len, request);
40 "hif write async addr 0x%x buf 0x%p len %d request 0x%x\n",
41 address, buffer, length, request);
43 return ar->
hif_ops->write_async(ar, address, buffer, length,
46 static inline void ath6kl_hif_irq_enable(
struct ath6kl *ar)
50 return ar->
hif_ops->irq_enable(ar);
53 static inline void ath6kl_hif_irq_disable(
struct ath6kl *ar)
57 return ar->
hif_ops->irq_disable(ar);
62 return ar->
hif_ops->scatter_req_get(ar);
65 static inline void hif_scatter_req_add(
struct ath6kl *ar,
68 return ar->
hif_ops->scatter_req_add(ar, s_req);
71 static inline int ath6kl_hif_enable_scatter(
struct ath6kl *ar)
73 return ar->
hif_ops->enable_scatter(ar);
76 static inline int ath6kl_hif_scat_req_rw(
struct ath6kl *ar,
79 return ar->
hif_ops->scat_req_rw(ar, scat_req);
82 static inline void ath6kl_hif_cleanup_scatter(
struct ath6kl *ar)
84 return ar->
hif_ops->cleanup_scatter(ar);
87 static inline int ath6kl_hif_suspend(
struct ath6kl *ar,
92 return ar->
hif_ops->suspend(ar, wow);
99 static inline int ath6kl_hif_diag_read32(
struct ath6kl *ar,
u32 address,
102 return ar->
hif_ops->diag_read32(ar, address, value);
109 static inline int ath6kl_hif_diag_write32(
struct ath6kl *ar,
u32 address,
112 return ar->
hif_ops->diag_write32(ar, address, value);
115 static inline int ath6kl_hif_bmi_read(
struct ath6kl *ar,
u8 *buf,
u32 len)
117 return ar->
hif_ops->bmi_read(ar, buf, len);
120 static inline int ath6kl_hif_bmi_write(
struct ath6kl *ar,
u8 *buf,
u32 len)
122 return ar->
hif_ops->bmi_write(ar, buf, len);
125 static inline int ath6kl_hif_resume(
struct ath6kl *ar)
129 return ar->
hif_ops->resume(ar);
132 static inline int ath6kl_hif_power_on(
struct ath6kl *ar)
136 return ar->
hif_ops->power_on(ar);
139 static inline int ath6kl_hif_power_off(
struct ath6kl *ar)
143 return ar->
hif_ops->power_off(ar);
146 static inline void ath6kl_hif_stop(
struct ath6kl *ar)
153 static inline int ath6kl_hif_pipe_send(
struct ath6kl *ar,
159 return ar->
hif_ops->pipe_send(ar, pipe, hdr_buf, buf);
162 static inline void ath6kl_hif_pipe_get_default(
struct ath6kl *ar,
163 u8 *ul_pipe,
u8 *dl_pipe)
167 ar->
hif_ops->pipe_get_default(ar, ul_pipe, dl_pipe);
170 static inline int ath6kl_hif_pipe_map_service(
struct ath6kl *ar,
176 return ar->
hif_ops->pipe_map_service(ar, service_id, ul_pipe, dl_pipe);
179 static inline u16 ath6kl_hif_pipe_get_free_queue_number(
struct ath6kl *ar,
184 return ar->
hif_ops->pipe_get_free_queue_number(ar, pipe);