ath9k_htc: Update to upstream's commit d19607454d656cb14d8c16dfbf161eebb542e8fe dated...
[linux-libre-firmware.git] / ath9k_htc / target_firmware / magpie_fw_dev / target / buf_pool / buf_pool_api.h
index b4ff2b585832fa38bbe3195dbe5ae31dad518a81..54cdd1d845ba52ac38888bb95f9affe1438a4623 100755 (executable)
@@ -34,9 +34,9 @@
  */
 /*
  * @File: buf_pool_api.h
- * 
+ *
  * @Abstract: BUF Pool api
- * 
+ *
  * @Notes:
  */
 
 /* 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_MAX                 = 10 
+    POOL_ID_MAX                 = 10
 } 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);
-            
+
     void (*_shutdown)(pool_handle_t handle);
-    
+
     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_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);
-    
+
         /* room to expand this table by another table */
-    void *pReserved;    
+    void *pReserved;
 };
 
 extern void buf_pool_module_install(struct buf_pool_api *apis);