Searched refs:PCI_EXP_LNKCTL2 (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | pcie.c | 1199 ret = pcie_capability_read_word(parent, PCI_EXP_LNKCTL2, &lnkctl2); in do_pcie_gen3_transition() 1210 ret = pcie_capability_clear_and_set_word(parent, PCI_EXP_LNKCTL2, in do_pcie_gen3_transition() 1223 ret = pcie_capability_clear_and_set_word(dd->pcidev, PCI_EXP_LNKCTL2, in do_pcie_gen3_transition()
|
| /linux/drivers/pci/controller/ |
| H A D | pci-mvebu.c | 685 case PCI_EXP_LNKCTL2: in mvebu_pci_bridge_emul_pcie_conf_read() 686 *value = mvebu_readl(port, PCIE_CAP_PCIEXP + PCI_EXP_LNKCTL2); in mvebu_pci_bridge_emul_pcie_conf_read() 846 case PCI_EXP_LNKCTL2: in mvebu_pci_bridge_emul_pcie_conf_write() 847 mvebu_writel(port, new, PCIE_CAP_PCIEXP + PCI_EXP_LNKCTL2); in mvebu_pci_bridge_emul_pcie_conf_write()
|
| H A D | pci-aardvark.c | 410 reg = advk_readl(pcie, PCIE_CORE_PCIEXP_CAP + PCI_EXP_LNKCTL2); in advk_pcie_train_link() 418 advk_writel(pcie, reg, PCIE_CORE_PCIEXP_CAP + PCI_EXP_LNKCTL2); in advk_pcie_train_link() 898 case PCI_EXP_LNKCTL2: in advk_pci_bridge_emul_pcie_conf_read() 937 case PCI_EXP_LNKCTL2: in advk_pci_bridge_emul_pcie_conf_write()
|
| H A D | pcie-rockchip-host.c | 336 status = rockchip_pcie_read(rockchip, PCIE_RC_CONFIG_CR + PCI_EXP_LNKCTL2); in rockchip_pcie_host_init_port() 339 rockchip_pcie_write(rockchip, status, PCIE_RC_CONFIG_CR + PCI_EXP_LNKCTL2); in rockchip_pcie_host_init_port()
|
| /linux/drivers/pci/ |
| H A D | pci-bridge-emul.c | 296 [PCI_EXP_LNKCTL2 / 4] = {
|
| H A D | pci.c | 1655 pcie_capability_read_word(dev, PCI_EXP_LNKCTL2, &cap[i++]); in pci_save_pcie_state() 1694 pcie_capability_write_word(dev, PCI_EXP_LNKCTL2, cap[i++]); in pci_restore_pcie_state()
|
| /linux/include/uapi/linux/ |
| H A D | pci_regs.h | 702 #define PCI_EXP_LNKCTL2 0x30 /* Link Control 2 */ macro
|