• Home
  • Raw
  • Download

Lines Matching refs:pm_cap

548 	if (!dev->pm_cap)  in pci_raw_set_power_state()
570 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr); in pci_raw_set_power_state()
596 pci_write_config_word(dev, dev->pm_cap + PCI_PM_CTRL, pmcsr); in pci_raw_set_power_state()
605 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr); in pci_raw_set_power_state()
641 if (dev->pm_cap) { in pci_update_current_state()
654 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr); in pci_update_current_state()
690 if (error && !dev->pm_cap) /* Fall back to PCI_D0 */ in pci_platform_power_transition()
863 if (!dev->pm_cap) in pci_choose_state()
1281 if (dev->pm_cap) { in pci_enable_device_flags()
1283 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr); in pci_enable_device_flags()
1598 if (!dev->pm_cap) in pci_check_pme_status()
1601 pmcsr_pos = dev->pm_cap + PCI_PM_CTRL; in pci_check_pme_status()
1657 if (!dev->pm_cap) in pci_pme_capable()
1708 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr); in pci_pme_active()
1714 pci_write_config_word(dev, dev->pm_cap + PCI_PM_CTRL, pmcsr); in pci_pme_active()
1886 } else if (!dev->pm_cap) { in pci_target_state()
2059 dev->pm_cap = 0; in pci_pm_init()
2075 dev->pm_cap = pm; in pci_pm_init()
3216 if (!dev->pm_cap || dev->dev_flags & PCI_DEV_FLAGS_NO_PM_RESET) in pci_pm_reset()
3219 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &csr); in pci_pm_reset()
3231 pci_write_config_word(dev, dev->pm_cap + PCI_PM_CTRL, csr); in pci_pm_reset()
3236 pci_write_config_word(dev, dev->pm_cap + PCI_PM_CTRL, csr); in pci_pm_reset()