PageRenderTime 40ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

/drivers/net/wireless/tiwlan1251/CUDK/IPC/Linux/ipc_event.h

http://github.com/CyanogenMod/cm-kernel
C Header | 74 lines | 39 code | 16 blank | 19 comment | 0 complexity | 836bb2fc04475f65b3ded106d1189941 MD5 | raw file
Possible License(s): AGPL-1.0, GPL-2.0, LGPL-2.0
  1. /*******************************************************************************
  2. **+--------------------------------------------------------------------------+**
  3. **| |**
  4. **| Copyright 1998-2008 Texas Instruments, Inc. - http://www.ti.com/ |**
  5. **| |**
  6. **| Licensed under the Apache License, Version 2.0 (the "License"); |**
  7. **| you may not use this file except in compliance with the License. |**
  8. **| You may obtain a copy of the License at |**
  9. **| |**
  10. **| http://www.apache.org/licenses/LICENSE-2.0 |**
  11. **| |**
  12. **| Unless required by applicable law or agreed to in writing, software |**
  13. **| distributed under the License is distributed on an "AS IS" BASIS, |**
  14. **| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |**
  15. **| See the License for the specific language governing permissions and |**
  16. **| limitations under the License. |**
  17. **| |**
  18. **+--------------------------------------------------------------------------+**
  19. *******************************************************************************/
  20. #ifndef _IPC_EVENT
  21. #define _IPC_EVENT
  22. #include "ipc_event.h"
  23. #include "osTIType.h"
  24. #ifdef __cplusplus
  25. extern "C" {
  26. #endif /* __cplusplus */
  27. tiINT32 ipc_CreateInterface (tiVOID);
  28. typedef struct IPC_CONFIG_PARAMS
  29. {
  30. tiUINT32 len;
  31. tiINT32 (*F_ConfigNotification)(tiVOID* pCuData, tiUINT32 nDataSize);
  32. tiUINT32 enable;
  33. }IPC_CONFIG_PARAMS;
  34. typedef struct config_registry
  35. {
  36. tiUINT32 len;
  37. TI_HANDLE hReceiver;
  38. PVOID cfg_cb;
  39. tiUINT32 enable;
  40. }config_registry_t;
  41. typedef struct unbound_registry
  42. {
  43. TI_HANDLE hReceiver;
  44. PVOID cfg_cb;
  45. tiUINT32 enable;
  46. }unbound_registry_t;
  47. typedef struct _reg_clients
  48. {
  49. UINT32 EventCode;
  50. UINT32 ProcessId;
  51. }reg_clients_t;
  52. tiINT32 IPC_RegisterConfig(tiVOID* pEvParams, tiUINT32 EvParamsSize);
  53. tiINT32 ipc_interfaces_init(tiVOID);
  54. tiINT32 cnfg_open(tiVOID);
  55. #ifdef __cplusplus
  56. }
  57. #endif
  58. #endif