Home
last modified time | relevance | path

Searched refs:current_state (Results 1 – 16 of 16) sorted by relevance

/linux-4.19.296/drivers/pci/
Dpci-driver.c460 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 …]
Dpci.c815 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 …]
Dmsi.c272 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()
Dpci-acpi.c436 if (pci_dev->current_state == PCI_D3cold) { in pci_acpi_wake_dev()
Dprobe.c1681 dev->current_state = PCI_UNKNOWN; in pci_setup_device()
/linux-4.19.296/include/linux/soc/ti/
Dti_sci_protocol.h108 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/
Dllc_c_st.h43 u8 current_state; member
/linux-4.19.296/drivers/hid/intel-ish-hid/ishtp/
Dhbm.c950 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/
Dsci-clk.c115 bool req_state, current_state; in sci_clk_is_prepared() local
120 &current_state); in sci_clk_is_prepared()
/linux-4.19.296/drivers/pci/pcie/
Daspm.c460 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/
Dxenbus_client.c206 int current_state; in __xenbus_switch_state() local
221 err = xenbus_scanf(xbt, dev->nodename, "state", "%d", &current_state); in __xenbus_switch_state()
/linux-4.19.296/include/linux/
Ddrbd_genl.h199 __u32_field(2, DRBD_F_REQUIRED, current_state)
Dpci.h328 pci_power_t current_state; /* Current operating state. In ACPI, member
/linux-4.19.296/drivers/pci/hotplug/
Dacpiphp_glue.c531 dev->current_state = PCI_D0; in enable_slot()
Dpciehp_hpc.c534 if (pdev->current_state == PCI_D3cold) in pciehp_isr()
/linux-4.19.296/drivers/message/fusion/
Dmptbase.c2193 u32 device_state = pdev->current_state; in mpt_resume()