Home
last modified time | relevance | path

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

/openbmc/qemu/hw/pci/
H A Dpcie.c43 static bool pcie_sltctl_powered_off(uint16_t sltctl) in pcie_sltctl_powered_off() argument
45 return (sltctl & PCI_EXP_SLTCTL_PCC) == PCI_EXP_SLTCTL_PWR_OFF in pcie_sltctl_powered_off()
46 && (sltctl & PCI_EXP_SLTCTL_PIC) == PCI_EXP_SLTCTL_PWR_IND_OFF; in pcie_sltctl_powered_off()
400 uint16_t sltctl = pci_get_word(exp_cap + PCI_EXP_SLTCTL); in hotplug_event_update_event_status() local
403 dev->exp.hpev_notified = (sltctl & PCI_EXP_SLTCTL_HPIE) && in hotplug_event_update_event_status()
404 (sltsta & sltctl & PCI_EXP_HP_EV_SUPPORTED); in hotplug_event_update_event_status()
464 uint16_t sltctl = pci_get_word(exp_cap + PCI_EXP_SLTCTL); in pcie_cap_update_power() local
468 power = (sltctl & PCI_EXP_SLTCTL_PCC) == PCI_EXP_SLTCTL_PWR_ON; in pcie_cap_update_power()
617 uint16_t sltctl = pci_get_word(exp_cap + PCI_EXP_SLTCTL); in pcie_cap_slot_unplug_request_cb() local
633 if ((sltctl & PCI_EXP_SLTCTL_PIC) == PCI_EXP_SLTCTL_PWR_IND_BLINK) { in pcie_cap_slot_unplug_request_cb()
[all …]