sde_hw_reg_dma_v1.h 1.1 KB

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