raw/ifpga: introduce IRQ functions