entity.h 879 B

123456789101112131415161718192021222324252627282930
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /* $Id: entity.h,v 1.4 2004/03/21 17:26:01 armin Exp $ */
  3. #ifndef __DIVAS_USER_MODE_IDI_ENTITY__
  4. #define __DIVAS_USER_MODE_IDI_ENTITY__
  5. #define DIVA_UM_IDI_RC_PENDING 0x00000001
  6. #define DIVA_UM_IDI_REMOVE_PENDING 0x00000002
  7. #define DIVA_UM_IDI_TX_FLOW_CONTROL 0x00000004
  8. #define DIVA_UM_IDI_REMOVED 0x00000008
  9. #define DIVA_UM_IDI_ASSIGN_PENDING 0x00000010
  10. typedef struct _divas_um_idi_entity {
  11. struct list_head link;
  12. diva_um_idi_adapter_t *adapter; /* Back to adapter */
  13. ENTITY e;
  14. void *os_ref;
  15. dword status;
  16. void *os_context;
  17. int rc_count;
  18. diva_um_idi_data_queue_t data; /* definad by user 1 ... MAX */
  19. diva_um_idi_data_queue_t rc; /* two entries */
  20. BUFFERS XData;
  21. BUFFERS RData;
  22. byte buffer[2048 + 512];
  23. } divas_um_idi_entity_t;
  24. #endif