Lines Matching refs:pd_dev_save
1530 struct pch_pd_dev_save *pd_dev_save; in pch_spi_probe() local
1532 pd_dev_save = kzalloc(sizeof(*pd_dev_save), GFP_KERNEL); in pch_spi_probe()
1533 if (!pd_dev_save) in pch_spi_probe()
1550 pd_dev_save->num = id->driver_data; in pch_spi_probe()
1551 pd_dev_save->board_dat = board_dat; in pch_spi_probe()
1566 pd_dev_save->pd_save[i] = pd_dev; in pch_spi_probe()
1586 pci_set_drvdata(pdev, pd_dev_save); in pch_spi_probe()
1592 platform_device_unregister(pd_dev_save->pd_save[i]); in pch_spi_probe()
1599 kfree(pd_dev_save); in pch_spi_probe()
1607 struct pch_pd_dev_save *pd_dev_save = pci_get_drvdata(pdev); in pch_spi_remove() local
1611 for (i = 0; i < pd_dev_save->num; i++) in pch_spi_remove()
1612 platform_device_unregister(pd_dev_save->pd_save[i]); in pch_spi_remove()
1616 kfree(pd_dev_save->board_dat); in pch_spi_remove()
1617 kfree(pd_dev_save); in pch_spi_remove()
1622 struct pch_pd_dev_save *pd_dev_save = dev_get_drvdata(dev); in pch_spi_suspend() local
1626 pd_dev_save->board_dat->suspend_sts = true; in pch_spi_suspend()
1633 struct pch_pd_dev_save *pd_dev_save = dev_get_drvdata(dev); in pch_spi_resume() local
1638 pd_dev_save->board_dat->suspend_sts = false; in pch_spi_resume()