static struct dpll_ctl_s  *omap_dpll_init(MemoryRegion *memory,

                           target_phys_addr_t base, omap_clk clk)

{

    struct dpll_ctl_s *s = g_malloc0(sizeof(*s));

    memory_region_init_io(&s->iomem, &omap_dpll_ops, s, "omap-dpll", 0x100);



    s->dpll = clk;

    omap_dpll_reset(s);



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

    return s;

}

static struct dpll_ctl_s  *omap_dpll_init(MemoryRegion *memory,

                           target_phys_addr_t base, omap_clk clk)

{

    struct dpll_ctl_s *s = g_malloc0(sizeof(*s));

    memory_region_init_io(&s->iomem, &omap_dpll_ops, s, "omap-dpll", 0x100);



    s->dpll = clk;

    omap_dpll_reset(s);



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

    return s;

}

static struct dpll_ctl_s  *FUNC_0(MemoryRegion *VAR_0,

                           target_phys_addr_t VAR_1, omap_clk VAR_2)

{

    struct dpll_ctl_s *VAR_3 = g_malloc0(sizeof(*VAR_3));

    memory_region_init_io(&VAR_3->iomem, &omap_dpll_ops, VAR_3, "omap-dpll", 0x100);



    VAR_3->dpll = VAR_2;

    omap_dpll_reset(VAR_3);



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

    return VAR_3;

}

static struct dpll_ctl_s  *FUNC_0(MemoryRegion *VAR_0,
target_phys_addr_t VAR_1, omap_clk VAR_2)
{ struct dpll_ctl_s *VAR_3 = g_malloc0(sizeof(*VAR_3)); memory_region_init_io(&VAR_3->iomem, &omap_dpll_ops, VAR_3, "omap-dpll", 0x100); VAR_3->dpll = VAR_2; omap_dpll_reset(VAR_3); memory_region_add_subregion(VAR_0, VAR_1, &VAR_3->iomem); return VAR_3; }