static void nop(DBDMA_channel *ch)

{

    dbdma_cmd *current = &ch->current;



    if (conditional_wait(ch))

        goto wait;



    current->xfer_status = cpu_to_le16(be32_to_cpu(ch->regs[DBDMA_STATUS]));

    dbdma_cmdptr_save(ch);



    conditional_interrupt(ch);

    conditional_branch(ch);



wait:

    qemu_bh_schedule(dbdma_bh);

}

static void nop(DBDMA_channel *ch)

{

    dbdma_cmd *current = &ch->current;



    if (conditional_wait(ch))

        goto wait;



    current->xfer_status = cpu_to_le16(be32_to_cpu(ch->regs[DBDMA_STATUS]));

    dbdma_cmdptr_save(ch);



    conditional_interrupt(ch);

    conditional_branch(ch);



wait:

    qemu_bh_schedule(dbdma_bh);

}

static void FUNC_0(DBDMA_channel *VAR_0)

{

    dbdma_cmd *current = &VAR_0->current;



    if (conditional_wait(VAR_0))

        goto wait;



    current->xfer_status = cpu_to_le16(be32_to_cpu(VAR_0->regs[DBDMA_STATUS]));

    dbdma_cmdptr_save(VAR_0);



    conditional_interrupt(VAR_0);

    conditional_branch(VAR_0);



wait:

    qemu_bh_schedule(dbdma_bh);

}

static void FUNC_0(DBDMA_channel *VAR_0)
{ dbdma_cmd *current = &VAR_0->current; if (conditional_wait(VAR_0))
goto wait; current->xfer_status = cpu_to_le16(be32_to_cpu(VAR_0->regs[DBDMA_STATUS])); dbdma_cmdptr_save(VAR_0); conditional_interrupt(VAR_0); conditional_branch(VAR_0); wait:
qemu_bh_schedule(dbdma_bh); }