18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * cx18 interrupt handling 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> 68c2ecf20Sopenharmony_ci * Copyright (C) 2008 Andy Walls <awalls@md.metrocast.net> 78c2ecf20Sopenharmony_ci */ 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci#define HW2_I2C1_INT (1 << 22) 108c2ecf20Sopenharmony_ci#define HW2_I2C2_INT (1 << 23) 118c2ecf20Sopenharmony_ci#define HW2_INT_CLR_STATUS 0xc730c4 128c2ecf20Sopenharmony_ci#define HW2_INT_MASK5_PCI 0xc730e4 138c2ecf20Sopenharmony_ci#define SW1_INT_SET 0xc73100 148c2ecf20Sopenharmony_ci#define SW1_INT_STATUS 0xc73104 158c2ecf20Sopenharmony_ci#define SW1_INT_ENABLE_PCI 0xc7311c 168c2ecf20Sopenharmony_ci#define SW2_INT_SET 0xc73140 178c2ecf20Sopenharmony_ci#define SW2_INT_STATUS 0xc73144 188c2ecf20Sopenharmony_ci#define SW2_INT_ENABLE_CPU 0xc73158 198c2ecf20Sopenharmony_ci#define SW2_INT_ENABLE_PCI 0xc7315c 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ciirqreturn_t cx18_irq_handler(int irq, void *dev_id); 22