void qusb_pci_init_one(QPCIBus *pcibus, struct qhc *hc, uint32_t devfn, int bar)

{

    hc->dev = qpci_device_find(pcibus, devfn);

    g_assert(hc->dev != NULL);

    qpci_device_enable(hc->dev);

    hc->base = qpci_iomap(hc->dev, bar, NULL);

    g_assert(hc->base != NULL);

}

void qusb_pci_init_one(QPCIBus *pcibus, struct qhc *hc, uint32_t devfn, int bar)

{

    hc->dev = qpci_device_find(pcibus, devfn);

    g_assert(hc->dev != NULL);

    qpci_device_enable(hc->dev);

    hc->base = qpci_iomap(hc->dev, bar, NULL);

    g_assert(hc->base != NULL);

}

    hc->base = qpci_iomap(hc->dev, bar, NULL);     g_assert(hc->base != NULL);
void FUNC_0(QPCIBus *VAR_0, struct qhc *VAR_1, uint32_t VAR_2, int VAR_3)

{

    VAR_1->dev = qpci_device_find(VAR_0, VAR_2);

    g_assert(VAR_1->dev != NULL);

    qpci_device_enable(VAR_1->dev);

    VAR_1->base = qpci_iomap(VAR_1->dev, VAR_3, NULL);

    g_assert(VAR_1->base != NULL);

}

void FUNC_0(QPCIBus *VAR_0, struct qhc *VAR_1, uint32_t VAR_2, int VAR_3)
{ VAR_1->dev = qpci_device_find(VAR_0, VAR_2); g_assert(VAR_1->dev != NULL); qpci_device_enable(VAR_1->dev); VAR_1->base = qpci_iomap(VAR_1->dev, VAR_3, NULL); g_assert(VAR_1->base != NULL); }