static void sdhci_sysbus_realize(DeviceState *dev, Error ** errp)

{

    SDHCIState *s = SYSBUS_SDHCI(dev);

    SysBusDevice *sbd = SYS_BUS_DEVICE(dev);



    sdhci_common_realize(s, errp);

    if (errp && *errp) {

        return;

    }



    if (s->dma_mr) {


        address_space_init(s->dma_as, s->dma_mr, "sdhci-dma");

    } else {

        /* use system_memory() if property "dma" not set */

        s->dma_as = &address_space_memory;

    }



    sysbus_init_irq(sbd, &s->irq);

    sysbus_init_mmio(sbd, &s->iomem);

}
static void sdhci_sysbus_realize(DeviceState *dev, Error ** errp)

{

    SDHCIState *s = SYSBUS_SDHCI(dev);

    SysBusDevice *sbd = SYS_BUS_DEVICE(dev);



    sdhci_common_realize(s, errp);

    if (errp && *errp) {

        return;

    }



    if (s->dma_mr) {


        address_space_init(s->dma_as, s->dma_mr, "sdhci-dma");

    } else {

        

        s->dma_as = &address_space_memory;

    }



    sysbus_init_irq(sbd, &s->irq);

    sysbus_init_mmio(sbd, &s->iomem);

}
static void FUNC_0(DeviceState *VAR_0, Error ** VAR_1)

{

    SDHCIState *s = SYSBUS_SDHCI(VAR_0);

    SysBusDevice *sbd = SYS_BUS_DEVICE(VAR_0);



    sdhci_common_realize(s, VAR_1);

    if (VAR_1 && *VAR_1) {

        return;

    }



    if (s->dma_mr) {


        address_space_init(s->dma_as, s->dma_mr, "sdhci-dma");

    } else {

        

        s->dma_as = &address_space_memory;

    }



    sysbus_init_irq(sbd, &s->irq);

    sysbus_init_mmio(sbd, &s->iomem);

}
static void FUNC_0(DeviceState *VAR_0, Error ** VAR_1)
{ SDHCIState *s = SYSBUS_SDHCI(VAR_0); SysBusDevice *sbd = SYS_BUS_DEVICE(VAR_0); sdhci_common_realize(s, VAR_1); if (VAR_1 && *VAR_1) { return; } if (s->dma_mr) { address_space_init(s->dma_as, s->dma_mr, "sdhci-dma"); } else { s->dma_as = &address_space_memory; } sysbus_init_irq(sbd, &s->irq); sysbus_init_mmio(sbd, &s->iomem); }