Lines Matching +full:irqs +full:- +full:map +full:- +full:range
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * arch/powerpc/platforms/embedded6xx/flipper-pic.c
6 * Copyright (C) 2004-2009 The GameCube Linux Team
9 #define DRV_MODULE_NAME "flipper-pic"
20 #include "flipper-pic.h"
84 .name = "flipper-pic",
101 irq_set_chip_data(virq, h->host_data); in flipper_pic_map()
108 .map = flipper_pic_map,
118 /* mask and ack all IRQs */ in __flipper_quiesce()
136 if (!of_device_is_compatible(pi, "nintendo,flipper-pi")) { in flipper_pic_init()
143 pr_err("no io memory range found\n"); in flipper_pic_init()
165 void __iomem *io_base = flipper_irq_host->host_data; in flipper_pic_get_irq()
172 return 0; /* no more IRQs pending */ in flipper_pic_get_irq()
187 np = of_find_compatible_node(NULL, NULL, "nintendo,flipper-pic"); in flipper_pic_probe()
204 * flipper_quiesce() - quiesce flipper irq controller
211 void __iomem *io_base = flipper_irq_host->host_data; in flipper_quiesce()
223 if (flipper_irq_host && flipper_irq_host->host_data) { in flipper_platform_reset()
224 io_base = flipper_irq_host->host_data; in flipper_platform_reset()
230 * Returns non-zero if the reset button is pressed.
237 if (flipper_irq_host && flipper_irq_host->host_data) { in flipper_is_reset_button_pressed()
238 io_base = flipper_irq_host->host_data; in flipper_is_reset_button_pressed()