Lines Matching refs:pd_dev_save
1549 struct pch_pd_dev_save *pd_dev_save; in pch_spi_probe() local
1551 pd_dev_save = kzalloc(sizeof(*pd_dev_save), GFP_KERNEL); in pch_spi_probe()
1552 if (!pd_dev_save) in pch_spi_probe()
1569 pd_dev_save->num = id->driver_data; in pch_spi_probe()
1570 pd_dev_save->board_dat = board_dat; in pch_spi_probe()
1585 pd_dev_save->pd_save[i] = pd_dev; in pch_spi_probe()
1605 pci_set_drvdata(pdev, pd_dev_save); in pch_spi_probe()
1611 platform_device_unregister(pd_dev_save->pd_save[i]); in pch_spi_probe()
1618 kfree(pd_dev_save); in pch_spi_probe()
1626 struct pch_pd_dev_save *pd_dev_save = pci_get_drvdata(pdev); in pch_spi_remove() local
1630 for (i = 0; i < pd_dev_save->num; i++) in pch_spi_remove()
1631 platform_device_unregister(pd_dev_save->pd_save[i]); in pch_spi_remove()
1635 kfree(pd_dev_save->board_dat); in pch_spi_remove()
1636 kfree(pd_dev_save); in pch_spi_remove()
1643 struct pch_pd_dev_save *pd_dev_save = pci_get_drvdata(pdev); in pch_spi_suspend() local
1647 pd_dev_save->board_dat->suspend_sts = true; in pch_spi_suspend()
1665 struct pch_pd_dev_save *pd_dev_save = pci_get_drvdata(pdev); in pch_spi_resume() local
1679 pd_dev_save->board_dat->suspend_sts = false; in pch_spi_resume()