static void omap_screen_dump(void *opaque, const char *filename, bool cswitch,

                             Error **errp)

{

    struct omap_lcd_panel_s *omap_lcd = opaque;

    DisplaySurface *surface = qemu_console_surface(omap_lcd->con);



    omap_update_display(opaque);

    if (omap_lcd && surface_data(surface))

        omap_ppm_save(filename, surface_data(surface),

                    omap_lcd->width, omap_lcd->height,

                    surface_stride(surface), errp);

}

static void omap_screen_dump(void *opaque, const char *filename, bool cswitch,

                             Error **errp)

{

    struct omap_lcd_panel_s *omap_lcd = opaque;

    DisplaySurface *surface = qemu_console_surface(omap_lcd->con);



    omap_update_display(opaque);

    if (omap_lcd && surface_data(surface))

        omap_ppm_save(filename, surface_data(surface),

                    omap_lcd->width, omap_lcd->height,

                    surface_stride(surface), errp);

}

static void FUNC_0(void *VAR_0, const char *VAR_1, bool VAR_2,

                             Error **VAR_3)

{

    struct omap_lcd_panel_s *VAR_4 = VAR_0;

    DisplaySurface *surface = qemu_console_surface(VAR_4->con);



    omap_update_display(VAR_0);

    if (VAR_4 && surface_data(surface))

        omap_ppm_save(VAR_1, surface_data(surface),

                    VAR_4->width, VAR_4->height,

                    surface_stride(surface), VAR_3);

}

static void FUNC_0(void *VAR_0, const char *VAR_1, bool VAR_2,
Error **VAR_3)
{ struct omap_lcd_panel_s *VAR_4 = VAR_0; DisplaySurface *surface = qemu_console_surface(VAR_4->con); omap_update_display(VAR_0); if (VAR_4 && surface_data(surface))
omap_ppm_save(VAR_1, surface_data(surface),
VAR_4->width, VAR_4->height,
surface_stride(surface), VAR_3); }