static void get_enum(Object *obj, Visitor *v, void *opaque,

                     const char *name, Error **errp)

{

    DeviceState *dev = DEVICE(obj);

    Property *prop = opaque;

    int *ptr = qdev_get_prop_ptr(dev, prop);



    visit_type_enum(v, ptr, prop->info->enum_table,

                    prop->info->name, prop->name, errp);

}

static void get_enum(Object *obj, Visitor *v, void *opaque,

                     const char *name, Error **errp)

{

    DeviceState *dev = DEVICE(obj);

    Property *prop = opaque;

    int *ptr = qdev_get_prop_ptr(dev, prop);



    visit_type_enum(v, ptr, prop->info->enum_table,

                    prop->info->name, prop->name, errp);

}

static void FUNC_0(Object *VAR_0, Visitor *VAR_1, void *VAR_2,

                     const char *VAR_3, Error **VAR_4)

{

    DeviceState *dev = DEVICE(VAR_0);

    Property *prop = VAR_2;

    int *VAR_5 = qdev_get_prop_ptr(dev, prop);



    visit_type_enum(VAR_1, VAR_5, prop->info->enum_table,

                    prop->info->VAR_3, prop->VAR_3, VAR_4);

}

static void FUNC_0(Object *VAR_0, Visitor *VAR_1, void *VAR_2,
const char *VAR_3, Error **VAR_4)
{ DeviceState *dev = DEVICE(VAR_0); Property *prop = VAR_2; int *VAR_5 = qdev_get_prop_ptr(dev, prop); visit_type_enum(VAR_1, VAR_5, prop->info->enum_table,
prop->info->VAR_3, prop->VAR_3, VAR_4); }