/openbmc/linux/drivers/pci/hotplug/ |
H A D | pciehp_hpc.c | 169 pcie_capability_read_word(pdev, PCI_EXP_SLTCTL, &slot_ctrl); in pcie_do_write_cmd() 181 pcie_capability_write_word(pdev, PCI_EXP_SLTCTL, slot_ctrl); in pcie_do_write_cmd() 356 pcie_capability_read_word(pdev, PCI_EXP_SLTCTL, &slot_ctrl); in pciehp_get_raw_indicator_status() 369 pcie_capability_read_word(pdev, PCI_EXP_SLTCTL, &slot_ctrl); in pciehp_get_attention_status() 525 pci_pcie_cap(ctrl->pcie->port) + PCI_EXP_SLTCTL, cmd); in pciehp_set_indicators() 544 pci_pcie_cap(ctrl->pcie->port) + PCI_EXP_SLTCTL, in pciehp_power_on_slot() 558 pci_pcie_cap(ctrl->pcie->port) + PCI_EXP_SLTCTL, in pciehp_power_off_slot() 816 pci_pcie_cap(ctrl->pcie->port) + PCI_EXP_SLTCTL, cmd); in pcie_enable_notification() 829 pci_pcie_cap(ctrl->pcie->port) + PCI_EXP_SLTCTL, 0); in pcie_disable_notification() 916 pci_pcie_cap(ctrl->pcie->port) + PCI_EXP_SLTCTL, 0); in pciehp_reset_slot() [all …]
|
H A D | pnv_php.c | 45 pcie_capability_read_word(pdev, PCI_EXP_SLTCTL, &ctrl); in pnv_php_disable_irq() 49 pcie_capability_write_word(pdev, PCI_EXP_SLTCTL, ctrl); in pnv_php_disable_irq() 439 pcie_capability_clear_and_set_word(bridge, PCI_EXP_SLTCTL, mask, new); in pnv_php_set_attention_state() 877 pcie_capability_read_word(pdev, PCI_EXP_SLTCTL, &ctrl); in pnv_php_init_irq() 887 pcie_capability_write_word(pdev, PCI_EXP_SLTCTL, ctrl); in pnv_php_init_irq()
|
/openbmc/qemu/hw/pci/ |
H A D | pcie.c | 367 uint16_t sltctl = pci_get_word(exp_cap + PCI_EXP_SLTCTL); in hotplug_event_update_event_status() 414 pci_word_test_and_clear_mask(exp_cap + PCI_EXP_SLTCTL, in pcie_cap_slot_enable_power() 431 uint16_t sltctl = pci_get_word(exp_cap + PCI_EXP_SLTCTL); in pcie_cap_update_power() 584 uint16_t sltctl = pci_get_word(exp_cap + PCI_EXP_SLTCTL); in pcie_cap_slot_unplug_request_cb() 677 pci_word_test_and_set_mask(dev->wmask + pos + PCI_EXP_SLTCTL, in pcie_cap_slot_init() 715 pci_word_test_and_clear_mask(exp_cap + PCI_EXP_SLTCTL, in pcie_cap_slot_reset() 723 pci_word_test_and_set_mask(exp_cap + PCI_EXP_SLTCTL, in pcie_cap_slot_reset() 736 pci_word_test_and_set_mask(exp_cap + PCI_EXP_SLTCTL, in pcie_cap_slot_reset() 760 *slt_ctl = pci_get_word(exp_cap + PCI_EXP_SLTCTL); in pcie_cap_slot_get() 817 if (!ranges_overlap(addr, len, pos + PCI_EXP_SLTCTL, 2)) { in pcie_cap_slot_write_config() [all …]
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | eeh_pe.c | 658 eeh_ops->read_config(edev, cap + PCI_EXP_SLTCTL, 2, &val); in eeh_bridge_check_link() 663 eeh_ops->write_config(edev, cap + PCI_EXP_SLTCTL, 2, val); in eeh_bridge_check_link()
|
/openbmc/linux/drivers/pci/ |
H A D | pci-bridge-emul.c | 235 [PCI_EXP_SLTCTL / 4] = {
|
H A D | access.c | 389 case PCI_EXP_SLTCTL: in pcie_capability_reg_implemented()
|
H A D | pci.c | 1588 pcie_capability_read_word(dev, PCI_EXP_SLTCTL, &cap[i++]); in pci_save_pcie_state() 1635 pcie_capability_write_word(dev, PCI_EXP_SLTCTL, cap[i++]); in pci_restore_pcie_state()
|
H A D | quirks.c | 5493 pcie_capability_read_word(pdev, PCI_EXP_SLTCTL, &cap[i++]); in quirk_intel_qat_vf_cap()
|
/openbmc/linux/drivers/pci/pcie/ |
H A D | portdrv.c | 232 pcie_capability_clear_word(dev, PCI_EXP_SLTCTL, in get_port_device_capability()
|
/openbmc/linux/include/uapi/linux/ |
H A D | pci_regs.h | 598 #define PCI_EXP_SLTCTL 0x18 /* Slot Control */ macro
|
/openbmc/qemu/include/standard-headers/linux/ |
H A D | pci_regs.h | 599 #define PCI_EXP_SLTCTL 0x18 /* Slot Control */ macro
|
/openbmc/linux/drivers/pci/controller/ |
H A D | pci-mvebu.c | 654 case PCI_EXP_SLTCTL: { in mvebu_pci_bridge_emul_pcie_conf_read() 815 case PCI_EXP_SLTCTL: in mvebu_pci_bridge_emul_pcie_conf_write()
|
/openbmc/linux/drivers/media/pci/cobalt/ |
H A D | cobalt-driver.c | 228 pcie_capability_read_word(pci_dev, PCI_EXP_SLTCTL, &ctrl); in cobalt_pcie_status_show()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | fw_reset.c | 341 err = pcie_capability_read_word(bridge, PCI_EXP_SLTCTL, ®16); in mlx5_check_hotplug_interrupt()
|