uv_irq.h 967 B

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * This file is subject to the terms and conditions of the GNU General Public
  3. * License. See the file "COPYING" in the main directory of this archive
  4. * for more details.
  5. *
  6. * SGI UV IRQ definitions
  7. *
  8. * Copyright (C) 2008 Silicon Graphics, Inc. All rights reserved.
  9. */
  10. #ifndef _ASM_X86_UV_UV_IRQ_H
  11. #define _ASM_X86_UV_UV_IRQ_H
  12. /* If a generic version of this structure gets defined, eliminate this one. */
  13. struct uv_IO_APIC_route_entry {
  14. __u64 vector : 8,
  15. delivery_mode : 3,
  16. dest_mode : 1,
  17. delivery_status : 1,
  18. polarity : 1,
  19. __reserved_1 : 1,
  20. trigger : 1,
  21. mask : 1,
  22. __reserved_2 : 15,
  23. dest : 32;
  24. };
  25. extern struct irq_chip uv_irq_chip;
  26. extern int arch_enable_uv_irq(char *, unsigned int, int, int, unsigned long);
  27. extern void arch_disable_uv_irq(int, unsigned long);
  28. extern int uv_setup_irq(char *, int, int, unsigned long);
  29. extern void uv_teardown_irq(unsigned int, int, unsigned long);
  30. #endif /* _ASM_X86_UV_UV_IRQ_H */