PCI_PCIE_LCSR
lcsr = pci_conf_read(pc, tag, pos + PCI_PCIE_LCSR);
CSR_WRITE_2(sc, sc->alc_expcap + PCI_PCIE_LCSR, linkcfg);
base + PCI_PCIE_LCSR) >> 16;
linkcfg = CSR_READ_2(sc, sc->alc_expcap + PCI_PCIE_LCSR);
psc->sc_cap_off + PCI_PCIE_LCSR);
psc->sc_cap_off + PCI_PCIE_LCSR, reg);
sc->bge_expcap + PCI_PCIE_LCSR);
sc->bge_expcap + PCI_PCIE_LCSR, reg);
offset + PCI_PCIE_LCSR);
offset + PCI_PCIE_LCSR, val);
sc->sc_cap_off + PCI_PCIE_LCSR);
sc->sc_cap_off + PCI_PCIE_LCSR);
sc->sc_cap_off + PCI_PCIE_LCSR);
sc->sc_cap_off + PCI_PCIE_LCSR);
offset + PCI_PCIE_LCSR);
psc->sc_cap_off + PCI_PCIE_LCSR);
pci_conf_write(psc->sc_pc, psc->sc_tag, psc->sc_cap_off + PCI_PCIE_LCSR,
psc->sc_cap_off + PCI_PCIE_LCSR, psc->sc_lcsr);
psc->sc_cap_off + PCI_PCIE_LCSR);
pci_conf_write(psc->sc_pc, psc->sc_tag, psc->sc_cap_off + PCI_PCIE_LCSR,
psc->sc_cap_off + PCI_PCIE_LCSR, psc->sc_lcsr);
reg = pci_conf_read(pc, pa->pa_tag, offset + PCI_PCIE_LCSR);
pci_conf_write(pc, pa->pa_tag, offset + PCI_PCIE_LCSR, reg);
offset + PCI_PCIE_LCSR);
pci_conf_write(pa->pa_pc, pa->pa_tag, offset + PCI_PCIE_LCSR,
sc->sc_cap_off + PCI_PCIE_LCSR);
sc->sc_cap_off + PCI_PCIE_LCSR, lcsr);
sc->sc_cap_off + PCI_PCIE_LCSR);
if (pci_read(bus, dev, func, ptr + PCI_PCIE_LCSR, &lcsr) != 0)