19 #include <linux/module.h>
29 .name =
"ams-delta-fiq"
43 static unsigned int irq_counter[16];
49 int gpio, irq_num, fiq_count;
59 for (gpio = AMS_DELTA_GPIO_PIN_KEYBRD_CLK;
60 gpio <= AMS_DELTA_GPIO_PIN_HOOK_SWITCH; gpio++) {
64 while (irq_counter[gpio] < fiq_count) {
65 if (gpio != AMS_DELTA_GPIO_PIN_KEYBRD_CLK) {
86 void *fiqhandler_start;
87 unsigned int fiqhandler_length;
94 pr_info(
"Installing fiq handler from %p, length 0x%x\n",
95 fiqhandler_start, fiqhandler_length);
99 pr_err(
"ams_delta_init_fiq(): couldn't claim FIQ, ret=%d\n",
107 pr_err(
"Failed to get deferred_fiq IRQ, ret=%d\n", retval);
148 set_fiq_regs(&FIQ_regs);