Searched refs:current_state (Results 1 – 16 of 16) sorted by relevance
/linux-4.19.296/drivers/pci/ |
D | pci-driver.c | 460 if (pci_dev->current_state == PCI_D0) in pci_device_remove() 461 pci_dev->current_state = PCI_UNKNOWN; in pci_device_remove() 493 if (kexec_in_progress && (pci_dev->current_state <= PCI_D3hot)) in pci_device_shutdown() 509 if (pci_dev->current_state != PCI_D0) { in pci_restore_standard_config() 542 if (pci_dev->current_state == PCI_D0) in pci_pm_set_unknown_state() 543 pci_dev->current_state = PCI_UNKNOWN; in pci_pm_set_unknown_state() 572 pci_power_t prev = pci_dev->current_state; in pci_legacy_suspend() 580 if (!pci_dev->state_saved && pci_dev->current_state != PCI_D0 in pci_legacy_suspend() 581 && pci_dev->current_state != PCI_UNKNOWN) { in pci_legacy_suspend() 582 WARN_ONCE(pci_dev->current_state != prev, in pci_legacy_suspend() [all …]
|
D | pci.c | 815 if (dev->current_state == state) in pci_raw_set_power_state() 828 if (state != PCI_D0 && dev->current_state <= PCI_D3cold in pci_raw_set_power_state() 829 && dev->current_state > state) { in pci_raw_set_power_state() 831 dev->current_state, state); in pci_raw_set_power_state() 846 switch (dev->current_state) { in pci_raw_set_power_state() 870 if (state == PCI_D3hot || dev->current_state == PCI_D3hot) in pci_raw_set_power_state() 872 else if (state == PCI_D2 || dev->current_state == PCI_D2) in pci_raw_set_power_state() 876 dev->current_state = (pmcsr & PCI_PM_CTRL_STATE_MASK); in pci_raw_set_power_state() 877 if (dev->current_state != state && printk_ratelimit()) in pci_raw_set_power_state() 879 dev->current_state); in pci_raw_set_power_state() [all …]
|
D | msi.c | 272 BUG_ON(dev->current_state != PCI_D0); in __pci_read_msi_msg() 302 if (dev->current_state != PCI_D0 || pci_dev_is_disconnected(dev)) { in __pci_write_msi_msg() 882 if (!dev || dev->no_msi || dev->current_state != PCI_D0) in pci_msi_supported()
|
D | pci-acpi.c | 436 if (pci_dev->current_state == PCI_D3cold) { in pci_acpi_wake_dev()
|
D | probe.c | 1681 dev->current_state = PCI_UNKNOWN; in pci_setup_device()
|
/linux-4.19.296/include/linux/soc/ti/ |
D | ti_sci_protocol.h | 108 bool *req_state, bool *current_state); 110 bool *req_state, bool *current_state); 112 bool *current_state); 177 bool *req_state, bool *current_state); 179 bool *req_state, bool *current_state);
|
/linux-4.19.296/include/net/ |
D | llc_c_st.h | 43 u8 current_state; member
|
/linux-4.19.296/drivers/hid/intel-ish-hid/ishtp/ |
D | hbm.c | 950 static uint32_t current_state; variable 970 current_state |= SUSPEND_STATE_BIT; in ishtp_send_suspend() 972 state_status_msg.states_status = current_state; in ishtp_send_suspend() 996 current_state &= ~SUSPEND_STATE_BIT; in ishtp_send_resume() 998 state_status_msg.states_status = current_state; in ishtp_send_resume()
|
/linux-4.19.296/drivers/clk/keystone/ |
D | sci-clk.c | 115 bool req_state, current_state; in sci_clk_is_prepared() local 120 ¤t_state); in sci_clk_is_prepared()
|
/linux-4.19.296/drivers/pci/pcie/ |
D | aspm.c | 460 if ((endpoint->current_state != PCI_D0) && in pcie_aspm_check_latency() 461 (endpoint->current_state != PCI_UNKNOWN)) in pcie_aspm_check_latency() 783 if (parent->current_state != PCI_D0 || child->current_state != PCI_D0) { in pcie_config_aspm_link()
|
/linux-4.19.296/drivers/xen/xenbus/ |
D | xenbus_client.c | 206 int current_state; in __xenbus_switch_state() local 221 err = xenbus_scanf(xbt, dev->nodename, "state", "%d", ¤t_state); in __xenbus_switch_state()
|
/linux-4.19.296/include/linux/ |
D | drbd_genl.h | 199 __u32_field(2, DRBD_F_REQUIRED, current_state)
|
D | pci.h | 328 pci_power_t current_state; /* Current operating state. In ACPI, member
|
/linux-4.19.296/drivers/pci/hotplug/ |
D | acpiphp_glue.c | 531 dev->current_state = PCI_D0; in enable_slot()
|
D | pciehp_hpc.c | 534 if (pdev->current_state == PCI_D3cold) in pciehp_isr()
|
/linux-4.19.296/drivers/message/fusion/ |
D | mptbase.c | 2193 u32 device_state = pdev->current_state; in mpt_resume()
|