sde_hw_reg_dma_v1.h 913 B

1234567891011121314151617181920212223242526272829303132
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2017-2019, 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. * deinit_v1() - free up any resources allocated during the v1 reg dma init
  25. */
  26. void deinit_v1(void);
  27. #endif /* _SDE_HW_REG_DMA_V1_H */