Searched refs:dwpci (Results 1 – 1 of 1) sorted by relevance
38 struct dw_spi_pci *dwpci; in spi_pci_probe() local50 dwpci = kzalloc(sizeof(struct dw_spi_pci), GFP_KERNEL); in spi_pci_probe()51 if (!dwpci) { in spi_pci_probe()56 dwpci->pdev = pdev; in spi_pci_probe()57 dws = &dwpci->dws; in spi_pci_probe()94 pci_set_drvdata(pdev, dwpci); in spi_pci_probe()102 kfree(dwpci); in spi_pci_probe()110 struct dw_spi_pci *dwpci = pci_get_drvdata(pdev); in spi_pci_remove() local113 dw_spi_remove_host(&dwpci->dws); in spi_pci_remove()114 iounmap(dwpci->dws.regs); in spi_pci_remove()[all …]