lima_dlbu.h 527 B

1234567891011121314151617181920
  1. /* SPDX-License-Identifier: GPL-2.0 OR MIT */
  2. /* Copyright 2018-2019 Qiang Yu <yuq825@gmail.com> */
  3. #ifndef __LIMA_DLBU_H__
  4. #define __LIMA_DLBU_H__
  5. struct lima_ip;
  6. struct lima_device;
  7. void lima_dlbu_enable(struct lima_device *dev, int num_pp);
  8. void lima_dlbu_disable(struct lima_device *dev);
  9. void lima_dlbu_set_reg(struct lima_ip *ip, u32 *reg);
  10. int lima_dlbu_resume(struct lima_ip *ip);
  11. void lima_dlbu_suspend(struct lima_ip *ip);
  12. int lima_dlbu_init(struct lima_ip *ip);
  13. void lima_dlbu_fini(struct lima_ip *ip);
  14. #endif