struct omap_uwire_s *omap_uwire_init(MemoryRegion *system_memory,

                target_phys_addr_t base,

                qemu_irq *irq, qemu_irq dma, omap_clk clk)

{

    struct omap_uwire_s *s = (struct omap_uwire_s *)

            g_malloc0(sizeof(struct omap_uwire_s));



    s->txirq = irq[0];

    s->rxirq = irq[1];

    s->txdrq = dma;

    omap_uwire_reset(s);



    memory_region_init_io(&s->iomem, &omap_uwire_ops, s, "omap-uwire", 0x800);

    memory_region_add_subregion(system_memory, base, &s->iomem);



    return s;

}

struct omap_uwire_s *omap_uwire_init(MemoryRegion *system_memory,

                target_phys_addr_t base,

                qemu_irq *irq, qemu_irq dma, omap_clk clk)

{

    struct omap_uwire_s *s = (struct omap_uwire_s *)

            g_malloc0(sizeof(struct omap_uwire_s));



    s->txirq = irq[0];

    s->rxirq = irq[1];

    s->txdrq = dma;

    omap_uwire_reset(s);



    memory_region_init_io(&s->iomem, &omap_uwire_ops, s, "omap-uwire", 0x800);

    memory_region_add_subregion(system_memory, base, &s->iomem);



    return s;

}

struct omap_uwire_s *FUNC_0(MemoryRegion *VAR_0,

                target_phys_addr_t VAR_1,

                qemu_irq *VAR_2, qemu_irq VAR_3, omap_clk VAR_4)

{

    struct omap_uwire_s *VAR_5 = (struct omap_uwire_s *)

            g_malloc0(sizeof(struct omap_uwire_s));



    VAR_5->txirq = VAR_2[0];

    VAR_5->rxirq = VAR_2[1];

    VAR_5->txdrq = VAR_3;

    omap_uwire_reset(VAR_5);



    memory_region_init_io(&VAR_5->iomem, &omap_uwire_ops, VAR_5, "omap-uwire", 0x800);

    memory_region_add_subregion(VAR_0, VAR_1, &VAR_5->iomem);



    return VAR_5;

}

struct omap_uwire_s *FUNC_0(MemoryRegion *VAR_0,
target_phys_addr_t VAR_1,
qemu_irq *VAR_2, qemu_irq VAR_3, omap_clk VAR_4)
{ struct omap_uwire_s *VAR_5 = (struct omap_uwire_s *)
g_malloc0(sizeof(struct omap_uwire_s)); VAR_5->txirq = VAR_2[0]; VAR_5->rxirq = VAR_2[1]; VAR_5->txdrq = VAR_3; omap_uwire_reset(VAR_5); memory_region_init_io(&VAR_5->iomem, &omap_uwire_ops, VAR_5, "omap-uwire", 0x800); memory_region_add_subregion(VAR_0, VAR_1, &VAR_5->iomem); return VAR_5; }