static void kill_channel(DBDMA_channel *ch)

{

    DBDMA_DPRINTF("kill_channel\n");



    ch->regs[DBDMA_STATUS] |= cpu_to_be32(DEAD);

    ch->regs[DBDMA_STATUS] &= cpu_to_be32(~ACTIVE);



    qemu_irq_raise(ch->irq);

}

static void kill_channel(DBDMA_channel *ch)

{

    DBDMA_DPRINTF("kill_channel\n");



    ch->regs[DBDMA_STATUS] |= cpu_to_be32(DEAD);

    ch->regs[DBDMA_STATUS] &= cpu_to_be32(~ACTIVE);



    qemu_irq_raise(ch->irq);

}

static void FUNC_0(DBDMA_channel *VAR_0)

{

    DBDMA_DPRINTF("FUNC_0\n");



    VAR_0->regs[DBDMA_STATUS] |= cpu_to_be32(DEAD);

    VAR_0->regs[DBDMA_STATUS] &= cpu_to_be32(~ACTIVE);



    qemu_irq_raise(VAR_0->irq);

}

static void FUNC_0(DBDMA_channel *VAR_0)
{ DBDMA_DPRINTF("FUNC_0\n"); VAR_0->regs[DBDMA_STATUS] |= cpu_to_be32(DEAD); VAR_0->regs[DBDMA_STATUS] &= cpu_to_be32(~ACTIVE); qemu_irq_raise(VAR_0->irq); }