platform_pci_get_power_state
if (platform_pci_get_power_state(dev) == PCI_D3cold) {
state = platform_pci_get_power_state(dev);