Home
last modified time | relevance | path

Searched refs:spci (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/tests/qtest/libqos/
H A Dsdhci.c83 return qpci_io_readw(&spci->dev, spci->mem_bar, reg); in sdhci_pci_readw()
89 return qpci_io_readq(&spci->dev, spci->mem_bar, reg); in sdhci_pci_readq()
95 return qpci_io_writeq(&spci->dev, spci->mem_bar, reg, val); in sdhci_pci_writeq()
100 QSDHCI_PCI *spci = object; in sdhci_pci_get_driver() local
102 return &spci->sdhci; in sdhci_pci_get_driver()
112 qpci_device_enable(&spci->dev); in sdhci_pci_start_hw()
118 qpci_iounmap(&spci->dev, spci->mem_bar); in sdhci_destructor()
128 spci->mem_bar = qpci_iomap(&spci->dev, 0, &barsize); in sdhci_pci_create()
129 spci->sdhci.readw = sdhci_pci_readw; in sdhci_pci_create()
130 spci->sdhci.readq = sdhci_pci_readq; in sdhci_pci_create()
[all …]
/openbmc/linux/arch/powerpc/platforms/52xx/
H A Dlite5200_pm.c96 static char spci[0x200]; variable
106 _memcpy_fromio(spci, pci, 0x200); in lite5200_save_regs()
117 _memcpy_toio(pci, spci, 0x200); in lite5200_restore_regs()
/openbmc/qemu/docs/devel/
H A Dqgraph.rst463 QSDHCI_PCI *spci = object;
465 return &spci->sdhci;
476 QSDHCI_PCI *spci = g_new0(QSDHCI_PCI, 1);
480 qpci_device_init(&spci->dev, bus, addr);
483 spci->sdhci.readw = sdhci_pci_readw;
484 spci->sdhci.readq = sdhci_pci_readq;
485 spci->sdhci.writeq = sdhci_pci_writeq;
488 spci->obj.get_driver = sdhci_pci_get_driver;
490 spci->obj.start_hw = sdhci_pci_start_hw;
491 spci->obj.destructor = sdhci_destructor;
[all …]