mali_kbase_irq_internal.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. *
  3. * (C) COPYRIGHT 2014-2015 ARM Limited. All rights reserved.
  4. *
  5. * This program is free software and is provided to you under the terms of the
  6. * GNU General Public License version 2 as published by the Free Software
  7. * Foundation, and any use by you of this program is subject to the terms
  8. * of such GNU licence.
  9. *
  10. * A copy of the licence is included with the program, and can also be obtained
  11. * from Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
  12. * Boston, MA 02110-1301, USA.
  13. *
  14. */
  15. /*
  16. * Backend specific IRQ APIs
  17. */
  18. #ifndef _KBASE_IRQ_INTERNAL_H_
  19. #define _KBASE_IRQ_INTERNAL_H_
  20. int kbase_install_interrupts(struct kbase_device *kbdev);
  21. void kbase_release_interrupts(struct kbase_device *kbdev);
  22. /**
  23. * kbase_synchronize_irqs - Ensure that all IRQ handlers have completed
  24. * execution
  25. * @kbdev: The kbase device
  26. */
  27. void kbase_synchronize_irqs(struct kbase_device *kbdev);
  28. int kbasep_common_test_interrupt_handlers(
  29. struct kbase_device * const kbdev);
  30. #endif // ifndef _KBASE_IRQ_INTERNAL_H_