sclp_sdias.h 850 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * SCLP "store data in absolute storage"
  4. *
  5. * Copyright IBM Corp. 2003, 2013
  6. */
  7. #ifndef SCLP_SDIAS_H
  8. #define SCLP_SDIAS_H
  9. #include "sclp.h"
  10. #define SDIAS_EQ_STORE_DATA 0x0
  11. #define SDIAS_EQ_SIZE 0x1
  12. #define SDIAS_DI_FCP_DUMP 0x0
  13. #define SDIAS_ASA_SIZE_32 0x0
  14. #define SDIAS_ASA_SIZE_64 0x1
  15. #define SDIAS_EVSTATE_ALL_STORED 0x0
  16. #define SDIAS_EVSTATE_NO_DATA 0x3
  17. #define SDIAS_EVSTATE_PART_STORED 0x10
  18. struct sdias_evbuf {
  19. struct evbuf_header hdr;
  20. u8 event_qual;
  21. u8 data_id;
  22. u64 reserved2;
  23. u32 event_id;
  24. u16 reserved3;
  25. u8 asa_size;
  26. u8 event_status;
  27. u32 reserved4;
  28. u32 blk_cnt;
  29. u64 asa;
  30. u32 reserved5;
  31. u32 fbn;
  32. u32 reserved6;
  33. u32 lbn;
  34. u16 reserved7;
  35. u16 dbs;
  36. } __packed;
  37. struct sdias_sccb {
  38. struct sccb_header hdr;
  39. struct sdias_evbuf evbuf;
  40. } __packed;
  41. #endif /* SCLP_SDIAS_H */