irq-davinci-cp-intc.h 616 B

12345678910111213141516171819202122232425
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. /*
  3. * Copyright (C) 2019 Texas Instruments
  4. */
  5. #ifndef _LINUX_IRQ_DAVINCI_CP_INTC_
  6. #define _LINUX_IRQ_DAVINCI_CP_INTC_
  7. #include <linux/ioport.h>
  8. /**
  9. * struct davinci_cp_intc_config - configuration data for davinci-cp-intc
  10. * driver.
  11. *
  12. * @reg: register range to map
  13. * @num_irqs: number of HW interrupts supported by the controller
  14. */
  15. struct davinci_cp_intc_config {
  16. struct resource reg;
  17. unsigned int num_irqs;
  18. };
  19. int davinci_cp_intc_init(const struct davinci_cp_intc_config *config);
  20. #endif /* _LINUX_IRQ_DAVINCI_CP_INTC_ */