projects
/
linux-libre-firmware.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Makefile: Install ath9k_htc firmware directly in $(prefix)
[linux-libre-firmware.git]
/
ath9k_htc
/
target_firmware
/
magpie_fw_dev
/
target
/
buf_pool
/
buf_pool_api.h
diff --git
a/ath9k_htc/target_firmware/magpie_fw_dev/target/buf_pool/buf_pool_api.h
b/ath9k_htc/target_firmware/magpie_fw_dev/target/buf_pool/buf_pool_api.h
index b4ff2b585832fa38bbe3195dbe5ae31dad518a81..54cdd1d845ba52ac38888bb95f9affe1438a4623 100755
(executable)
--- a/
ath9k_htc/target_firmware/magpie_fw_dev/target/buf_pool/buf_pool_api.h
+++ b/
ath9k_htc/target_firmware/magpie_fw_dev/target/buf_pool/buf_pool_api.h
@@
-34,9
+34,9
@@
*/
/*
* @File: buf_pool_api.h
*/
/*
* @File: buf_pool_api.h
- *
+ *
* @Abstract: BUF Pool api
* @Abstract: BUF Pool api
- *
+ *
* @Notes:
*/
* @Notes:
*/
@@
-48,11
+48,11
@@
/* endpoint defines */
typedef enum
{
/* endpoint defines */
typedef enum
{
- POOL_ID_HTC_CONTROL = 0,
- POOL_ID_WMI_SVC_CMD_REPLY = 1,
+ POOL_ID_HTC_CONTROL = 0,
+ POOL_ID_WMI_SVC_CMD_REPLY = 1,
POOL_ID_WMI_SVC_EVENT = 2,
POOL_ID_WLAN_RX_BUF = 3,
POOL_ID_WMI_SVC_EVENT = 2,
POOL_ID_WLAN_RX_BUF = 3,
- POOL_ID_MAX = 10
+ POOL_ID_MAX = 10
} BUF_POOL_ID;
typedef void* pool_handle_t;
} BUF_POOL_ID;
typedef void* pool_handle_t;
@@
-60,19
+60,19
@@
typedef void* pool_handle_t;
/* hardware API table structure (API descriptions below) */
struct buf_pool_api {
pool_handle_t (*_init)(adf_os_handle_t handle);
/* hardware API table structure (API descriptions below) */
struct buf_pool_api {
pool_handle_t (*_init)(adf_os_handle_t handle);
-
+
void (*_shutdown)(pool_handle_t handle);
void (*_shutdown)(pool_handle_t handle);
-
+
void (*_create_pool)(pool_handle_t handle, BUF_POOL_ID poolId, int nItems, int nSize);
void (*_create_pool)(pool_handle_t handle, BUF_POOL_ID poolId, int nItems, int nSize);
-
+
adf_nbuf_t (*_alloc_buf)(pool_handle_t handle, BUF_POOL_ID poolId, int reserve);
adf_nbuf_t (*_alloc_buf)(pool_handle_t handle, BUF_POOL_ID poolId, int reserve);
-
+
adf_nbuf_t (*_alloc_buf_align)(pool_handle_t handle, BUF_POOL_ID poolId, int reserve, int align);
adf_nbuf_t (*_alloc_buf_align)(pool_handle_t handle, BUF_POOL_ID poolId, int reserve, int align);
-
+
void (*_free_buf)(pool_handle_t handle, BUF_POOL_ID poolId, adf_nbuf_t buf);
void (*_free_buf)(pool_handle_t handle, BUF_POOL_ID poolId, adf_nbuf_t buf);
-
+
/* room to expand this table by another table */
/* room to expand this table by another table */
- void *pReserved;
+ void *pReserved;
};
extern void buf_pool_module_install(struct buf_pool_api *apis);
};
extern void buf_pool_module_install(struct buf_pool_api *apis);