2 * Copyright (c) 2004-2011 Atheros Communications Inc.
4 * Permission to use, copy, modify, and/or distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
22 static inline int hif_read_write_sync(struct ath6kl
*ar
, u32 addr
, u8
*buf
,
25 return ar
->hif_ops
->read_write_sync(ar
, addr
, buf
, len
, request
);
28 static inline int hif_write_async(struct ath6kl
*ar
, u32 address
, u8
*buffer
,
29 u32 length
, u32 request
,
30 struct htc_packet
*packet
)
32 return ar
->hif_ops
->write_async(ar
, address
, buffer
, length
,
35 static inline void ath6kl_hif_irq_enable(struct ath6kl
*ar
)
37 return ar
->hif_ops
->irq_enable(ar
);
40 static inline void ath6kl_hif_irq_disable(struct ath6kl
*ar
)
42 return ar
->hif_ops
->irq_disable(ar
);
45 static inline struct hif_scatter_req
*hif_scatter_req_get(struct ath6kl
*ar
)
47 return ar
->hif_ops
->scatter_req_get(ar
);
50 static inline void hif_scatter_req_add(struct ath6kl
*ar
,
51 struct hif_scatter_req
*s_req
)
53 return ar
->hif_ops
->scatter_req_add(ar
, s_req
);
56 static inline int ath6kl_hif_enable_scatter(struct ath6kl
*ar
)
58 return ar
->hif_ops
->enable_scatter(ar
);
61 static inline int ath6kl_hif_scat_req_rw(struct ath6kl
*ar
,
62 struct hif_scatter_req
*scat_req
)
64 return ar
->hif_ops
->scat_req_rw(ar
, scat_req
);
67 static inline void ath6kl_hif_cleanup_scatter(struct ath6kl
*ar
)
69 return ar
->hif_ops
->cleanup_scatter(ar
);
This page took 0.047945 seconds and 5 git commands to generate.