static void xlnx_dp_set_dpdma(Object *obj, const char *name, Object *val,

                              Error **errp)

{

    XlnxDPState *s = XLNX_DP(obj);

    if (s->console) {

        DisplaySurface *surface = qemu_console_surface(s->console);

        XlnxDPDMAState *dma = XLNX_DPDMA(val);

        xlnx_dpdma_set_host_data_location(dma, DP_GRAPHIC_DMA_CHANNEL,

                                          surface_data(surface));

    }

}

static void xlnx_dp_set_dpdma(Object *obj, const char *name, Object *val,

                              Error **errp)

{

    XlnxDPState *s = XLNX_DP(obj);

    if (s->console) {

        DisplaySurface *surface = qemu_console_surface(s->console);

        XlnxDPDMAState *dma = XLNX_DPDMA(val);

        xlnx_dpdma_set_host_data_location(dma, DP_GRAPHIC_DMA_CHANNEL,

                                          surface_data(surface));

    }

}

static void xlnx_dp_set_dpdma(Object *obj, const char *name, Object *val,
static void FUNC_0(Object *VAR_0, const char *VAR_1, Object *VAR_2,

                              Error **VAR_3)

{

    XlnxDPState *s = XLNX_DP(VAR_0);

    if (s->console) {

        DisplaySurface *surface = qemu_console_surface(s->console);

        XlnxDPDMAState *dma = XLNX_DPDMA(VAR_2);

        xlnx_dpdma_set_host_data_location(dma, DP_GRAPHIC_DMA_CHANNEL,

                                          surface_data(surface));

    }

}

static void FUNC_0(Object *VAR_0, const char *VAR_1, Object *VAR_2,
Error **VAR_3)
{ XlnxDPState *s = XLNX_DP(VAR_0); if (s->console) { DisplaySurface *surface = qemu_console_surface(s->console); XlnxDPDMAState *dma = XLNX_DPDMA(VAR_2); xlnx_dpdma_set_host_data_location(dma, DP_GRAPHIC_DMA_CHANNEL,
surface_data(surface)); } }