sde_hw_reg_dma_v1.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
  4. * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved.
  5. */
  6. #ifndef _SDE_HW_REG_DMA_V1_H
  7. #define _SDE_HW_REG_DMA_V1_H
  8. #include "sde_reg_dma.h"
  9. /**
  10. * init_v1() - initialize the reg dma v1 driver by installing v1 ops
  11. * @reg_dma - reg_dma hw info structure exposing capabilities.
  12. */
  13. int init_v1(struct sde_hw_reg_dma *reg_dma);
  14. /**
  15. * init_v11() - initialize the reg dma v11 driver by installing v11 ops
  16. * @reg_dma - reg_dma hw info structure exposing capabilities.
  17. */
  18. int init_v11(struct sde_hw_reg_dma *reg_dma);
  19. /**
  20. * init_v12() - initialize the reg dma v12 driver by installing v12 ops
  21. * @reg_dma - reg_dma hw info structure exposing capabilities.
  22. */
  23. int init_v12(struct sde_hw_reg_dma *reg_dma);
  24. /**
  25. * init_v2() - initialize the reg dma v2 driver by installing v2 ops
  26. * @reg_dma - reg_dma hw info structure exposing capabilities.
  27. */
  28. int init_v2(struct sde_hw_reg_dma *reg_dma);
  29. /**
  30. * init_v3() - initialize the reg dma v3 driver by installing v2 ops
  31. * @reg_dma - reg_dma hw info structure exposing capabilities.
  32. */
  33. int init_v3(struct sde_hw_reg_dma *reg_dma);
  34. /**
  35. * deinit_v1() - free up any resources allocated during the v1 reg dma init
  36. */
  37. void deinit_v1(void);
  38. #endif /* _SDE_HW_REG_DMA_V1_H */