irq-davinci-aintc.h (674B)
1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2/* 3 * Copyright (C) 2019 Texas Instruments 4 */ 5 6#ifndef _LINUX_IRQ_DAVINCI_AINTC_ 7#define _LINUX_IRQ_DAVINCI_AINTC_ 8 9#include <linux/ioport.h> 10 11/** 12 * struct davinci_aintc_config - configuration data for davinci-aintc driver. 13 * 14 * @reg: register range to map 15 * @num_irqs: number of HW interrupts supported by the controller 16 * @prios: an array of size num_irqs containing priority settings for 17 * each interrupt 18 */ 19struct davinci_aintc_config { 20 struct resource reg; 21 unsigned int num_irqs; 22 u8 *prios; 23}; 24 25void davinci_aintc_init(const struct davinci_aintc_config *config); 26 27#endif /* _LINUX_IRQ_DAVINCI_AINTC_ */