Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pci/hotplug/
H A Dpciehp_hpc.c169 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 Dpnv_php.c45 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 Dpcie.c367 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 Deeh_pe.c658 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 Dpci-bridge-emul.c235 [PCI_EXP_SLTCTL / 4] = {
H A Daccess.c389 case PCI_EXP_SLTCTL: in pcie_capability_reg_implemented()
H A Dpci.c1588 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 Dquirks.c5493 pcie_capability_read_word(pdev, PCI_EXP_SLTCTL, &cap[i++]); in quirk_intel_qat_vf_cap()
/openbmc/linux/drivers/pci/pcie/
H A Dportdrv.c232 pcie_capability_clear_word(dev, PCI_EXP_SLTCTL, in get_port_device_capability()
/openbmc/linux/include/uapi/linux/
H A Dpci_regs.h598 #define PCI_EXP_SLTCTL 0x18 /* Slot Control */ macro
/openbmc/qemu/include/standard-headers/linux/
H A Dpci_regs.h599 #define PCI_EXP_SLTCTL 0x18 /* Slot Control */ macro
/openbmc/linux/drivers/pci/controller/
H A Dpci-mvebu.c654 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 Dcobalt-driver.c228 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 Dfw_reset.c341 err = pcie_capability_read_word(bridge, PCI_EXP_SLTCTL, &reg16); in mlx5_check_hotplug_interrupt()