intel.h 645 B

123456789101112131415161718192021222324252627
  1. // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
  2. // Copyright(c) 2015-17 Intel Corporation.
  3. #ifndef __SDW_INTEL_LOCAL_H
  4. #define __SDW_INTEL_LOCAL_H
  5. /**
  6. * struct sdw_intel_res - Soundwire link resources
  7. * @registers: Link IO registers base
  8. * @shim: Audio shim pointer
  9. * @alh: ALH (Audio Link Hub) pointer
  10. * @irq: Interrupt line
  11. * @ops: Shim callback ops
  12. * @arg: Shim callback ops argument
  13. *
  14. * This is set as pdata for each link instance.
  15. */
  16. struct sdw_intel_link_res {
  17. void __iomem *registers;
  18. void __iomem *shim;
  19. void __iomem *alh;
  20. int irq;
  21. const struct sdw_intel_ops *ops;
  22. void *arg;
  23. };
  24. #endif /* __SDW_INTEL_LOCAL_H */