Searched refs:sltsta (Results 1 – 1 of 1) sorted by relevance
401 uint16_t sltsta = pci_get_word(exp_cap + PCI_EXP_SLTSTA); in hotplug_event_update_event_status() local404 (sltsta & sltctl & PCI_EXP_HP_EV_SUPPORTED); in hotplug_event_update_event_status()497 uint16_t sltsta = pci_get_word(exp_cap + PCI_EXP_SLTSTA); in pcie_cap_slot_plug_common() local499 PCIE_DEV_PRINTF(PCI_DEVICE(dev), "hotplug state: 0x%x\n", sltsta); in pcie_cap_slot_plug_common()500 if (sltsta & PCI_EXP_SLTSTA_EIS) { in pcie_cap_slot_plug_common()825 uint16_t sltsta = pci_get_word(exp_cap + PCI_EXP_SLTSTA); in pcie_cap_slot_write_config() local844 sltsta = (sltsta & ~PCIE_SLOT_EVENTS) | (old_slt_sta & PCIE_SLOT_EVENTS); in pcie_cap_slot_write_config()845 pci_set_word(exp_cap + PCI_EXP_SLTSTA, sltsta); in pcie_cap_slot_write_config()856 sltsta ^= PCI_EXP_SLTSTA_EIS; /* toggle PCI_EXP_SLTSTA_EIS bit */ in pcie_cap_slot_write_config()857 pci_set_word(exp_cap + PCI_EXP_SLTSTA, sltsta); in pcie_cap_slot_write_config()[all …]