static struct omap_eac_s *omap_eac_init(struct omap_target_agent_s *ta,

                qemu_irq irq, qemu_irq *drq, omap_clk fclk, omap_clk iclk)

{

    struct omap_eac_s *s = (struct omap_eac_s *)

            g_malloc0(sizeof(struct omap_eac_s));



    s->irq = irq;

    s->codec.rxdrq = *drq ++;

    s->codec.txdrq = *drq;

    omap_eac_reset(s);



    AUD_register_card("OMAP EAC", &s->codec.card);



    memory_region_init_io(&s->iomem, NULL, &omap_eac_ops, s, "omap.eac",

                          omap_l4_region_size(ta, 0));

    omap_l4_attach(ta, 0, &s->iomem);



    return s;

}

static struct omap_eac_s *omap_eac_init(struct omap_target_agent_s *ta,

                qemu_irq irq, qemu_irq *drq, omap_clk fclk, omap_clk iclk)

{

    struct omap_eac_s *s = (struct omap_eac_s *)

            g_malloc0(sizeof(struct omap_eac_s));



    s->irq = irq;

    s->codec.rxdrq = *drq ++;

    s->codec.txdrq = *drq;

    omap_eac_reset(s);



    AUD_register_card("OMAP EAC", &s->codec.card);



    memory_region_init_io(&s->iomem, NULL, &omap_eac_ops, s, "omap.eac",

                          omap_l4_region_size(ta, 0));

    omap_l4_attach(ta, 0, &s->iomem);



    return s;

}

    struct omap_eac_s *s = (struct omap_eac_s *)             g_malloc0(sizeof(struct omap_eac_s));
static struct omap_eac_s *FUNC_0(struct omap_target_agent_s *VAR_0,

                qemu_irq VAR_1, qemu_irq *VAR_2, omap_clk VAR_3, omap_clk VAR_4)

{

    struct omap_eac_s *VAR_5 = (struct omap_eac_s *)

            g_malloc0(sizeof(struct omap_eac_s));



    VAR_5->VAR_1 = VAR_1;

    VAR_5->codec.rxdrq = *VAR_2 ++;

    VAR_5->codec.txdrq = *VAR_2;

    omap_eac_reset(VAR_5);



    AUD_register_card("OMAP EAC", &VAR_5->codec.card);



    memory_region_init_io(&VAR_5->iomem, NULL, &omap_eac_ops, VAR_5, "omap.eac",

                          omap_l4_region_size(VAR_0, 0));

    omap_l4_attach(VAR_0, 0, &VAR_5->iomem);



    return VAR_5;

}

static struct omap_eac_s *FUNC_0(struct omap_target_agent_s *VAR_0,
qemu_irq VAR_1, qemu_irq *VAR_2, omap_clk VAR_3, omap_clk VAR_4)
{ struct omap_eac_s *VAR_5 = (struct omap_eac_s *)
g_malloc0(sizeof(struct omap_eac_s)); VAR_5->VAR_1 = VAR_1; VAR_5->codec.rxdrq = *VAR_2 ++; VAR_5->codec.txdrq = *VAR_2; omap_eac_reset(VAR_5); AUD_register_card("OMAP EAC", &VAR_5->codec.card); memory_region_init_io(&VAR_5->iomem, NULL, &omap_eac_ops, VAR_5, "omap.eac",
omap_l4_region_size(VAR_0, 0)); omap_l4_attach(VAR_0, 0, &VAR_5->iomem); return VAR_5; }