Lines Matching refs:ar
24 static inline int hif_read_write_sync(struct ath6kl *ar, u32 addr, u8 *buf, in hif_read_write_sync() argument
32 return ar->hif_ops->read_write_sync(ar, addr, buf, len, request); in hif_read_write_sync()
35 static inline int hif_write_async(struct ath6kl *ar, u32 address, u8 *buffer, in hif_write_async() argument
43 return ar->hif_ops->write_async(ar, address, buffer, length, in hif_write_async()
46 static inline void ath6kl_hif_irq_enable(struct ath6kl *ar) in ath6kl_hif_irq_enable() argument
50 return ar->hif_ops->irq_enable(ar); in ath6kl_hif_irq_enable()
53 static inline void ath6kl_hif_irq_disable(struct ath6kl *ar) in ath6kl_hif_irq_disable() argument
57 return ar->hif_ops->irq_disable(ar); in ath6kl_hif_irq_disable()
60 static inline struct hif_scatter_req *hif_scatter_req_get(struct ath6kl *ar) in hif_scatter_req_get() argument
62 return ar->hif_ops->scatter_req_get(ar); in hif_scatter_req_get()
65 static inline void hif_scatter_req_add(struct ath6kl *ar, in hif_scatter_req_add() argument
68 return ar->hif_ops->scatter_req_add(ar, s_req); in hif_scatter_req_add()
71 static inline int ath6kl_hif_enable_scatter(struct ath6kl *ar) in ath6kl_hif_enable_scatter() argument
73 return ar->hif_ops->enable_scatter(ar); in ath6kl_hif_enable_scatter()
76 static inline int ath6kl_hif_scat_req_rw(struct ath6kl *ar, in ath6kl_hif_scat_req_rw() argument
79 return ar->hif_ops->scat_req_rw(ar, scat_req); in ath6kl_hif_scat_req_rw()
82 static inline void ath6kl_hif_cleanup_scatter(struct ath6kl *ar) in ath6kl_hif_cleanup_scatter() argument
84 return ar->hif_ops->cleanup_scatter(ar); in ath6kl_hif_cleanup_scatter()
87 static inline int ath6kl_hif_suspend(struct ath6kl *ar, in ath6kl_hif_suspend() argument
92 return ar->hif_ops->suspend(ar, wow); in ath6kl_hif_suspend()
99 static inline int ath6kl_hif_diag_read32(struct ath6kl *ar, u32 address, in ath6kl_hif_diag_read32() argument
102 return ar->hif_ops->diag_read32(ar, address, value); in ath6kl_hif_diag_read32()
109 static inline int ath6kl_hif_diag_write32(struct ath6kl *ar, u32 address, in ath6kl_hif_diag_write32() argument
112 return ar->hif_ops->diag_write32(ar, address, value); in ath6kl_hif_diag_write32()
115 static inline int ath6kl_hif_bmi_read(struct ath6kl *ar, u8 *buf, u32 len) in ath6kl_hif_bmi_read() argument
117 return ar->hif_ops->bmi_read(ar, buf, len); in ath6kl_hif_bmi_read()
120 static inline int ath6kl_hif_bmi_write(struct ath6kl *ar, u8 *buf, u32 len) in ath6kl_hif_bmi_write() argument
122 return ar->hif_ops->bmi_write(ar, buf, len); in ath6kl_hif_bmi_write()
125 static inline int ath6kl_hif_resume(struct ath6kl *ar) in ath6kl_hif_resume() argument
129 return ar->hif_ops->resume(ar); in ath6kl_hif_resume()
132 static inline int ath6kl_hif_power_on(struct ath6kl *ar) in ath6kl_hif_power_on() argument
136 return ar->hif_ops->power_on(ar); in ath6kl_hif_power_on()
139 static inline int ath6kl_hif_power_off(struct ath6kl *ar) in ath6kl_hif_power_off() argument
143 return ar->hif_ops->power_off(ar); in ath6kl_hif_power_off()
146 static inline void ath6kl_hif_stop(struct ath6kl *ar) in ath6kl_hif_stop() argument
150 ar->hif_ops->stop(ar); in ath6kl_hif_stop()
153 static inline int ath6kl_hif_pipe_send(struct ath6kl *ar, in ath6kl_hif_pipe_send() argument
159 return ar->hif_ops->pipe_send(ar, pipe, hdr_buf, buf); in ath6kl_hif_pipe_send()
162 static inline void ath6kl_hif_pipe_get_default(struct ath6kl *ar, in ath6kl_hif_pipe_get_default() argument
167 ar->hif_ops->pipe_get_default(ar, ul_pipe, dl_pipe); in ath6kl_hif_pipe_get_default()
170 static inline int ath6kl_hif_pipe_map_service(struct ath6kl *ar, in ath6kl_hif_pipe_map_service() argument
176 return ar->hif_ops->pipe_map_service(ar, service_id, ul_pipe, dl_pipe); in ath6kl_hif_pipe_map_service()
179 static inline u16 ath6kl_hif_pipe_get_free_queue_number(struct ath6kl *ar, in ath6kl_hif_pipe_get_free_queue_number() argument
184 return ar->hif_ops->pipe_get_free_queue_number(ar, pipe); in ath6kl_hif_pipe_get_free_queue_number()