linux/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/irq_local.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Support for Intel Camera Imaging ISP subsystem.
 * Copyright (c) 2010-2015, Intel Corporation.
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms and conditions of the GNU General Public License,
 * version 2, as published by the Free Software Foundation.
 *
 * This program is distributed in the hope it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 * more details.
 */

#ifndef __IRQ_LOCAL_H_INCLUDED__
#define __IRQ_LOCAL_H_INCLUDED__

#include "irq_global.h"

#include <irq_controller_defs.h>

/* IRQ0_ID */
#include "hive_isp_css_defs.h"
#define HIVE_GP_DEV_IRQ_NUM_IRQS
/* IRQ1_ID */
#include "input_formatter_subsystem_defs.h"
#define HIVE_IFMT_IRQ_NUM_IRQS
/* IRQ2_ID */
#include "input_system_defs.h"
/* IRQ3_ID */
#include "input_selector_defs.h"

#define IRQ_ID_OFFSET
#define IRQ0_ID_OFFSET
#define IRQ1_ID_OFFSET
#define IRQ2_ID_OFFSET
#define IRQ3_ID_OFFSET
#define IRQ_END_OFFSET

#define IRQ0_ID_N_CHANNEL
#define IRQ1_ID_N_CHANNEL
#define IRQ2_ID_N_CHANNEL
#define IRQ3_ID_N_CHANNEL

enum virq_id {};

struct virq_info {};

#endif /* __IRQ_LOCAL_H_INCLUDED__ */