PCIE_CAP_PUT
PCIE_CAP_PUT(16, bus_p, PCIE_DEVCTL, tmp16);
PCIE_CAP_PUT(16, bus_p, PCIE_DEVCTL, tmp16);
PCIE_CAP_PUT(16, bus_p, PCIE_ROOTCTL, tmp16);
PCIE_CAP_PUT(16, bus_p, PCIE_DEVSTS,
PCIE_CAP_PUT(16, bus_p, PCIE_DEVCTL,
PCIE_CAP_PUT(16, bus_p, PCIE_DEVCTL, device_ctl);
PCIE_CAP_PUT(16, bus_p, PCIE_ROOTCTL, device_ctl);
PCIE_CAP_PUT(16, bus_p, PCIE_AER_RE_CMD, device_ctl);
PCIE_CAP_PUT(16, bus_p, PCIE_DEVCTL2, devctl2);
PCIE_CAP_PUT(16, bus_p, PCIE_DEVCTL2, devctl2);
PCIE_CAP_PUT(16, bus_p, PCIE_LINKCTL, linkctl);
PCIE_CAP_PUT(16, bus_p, PCIE_LINKCTL, linkctl);
PCIE_CAP_PUT(16, bus_p, PCIE_LINKSTS, flags);
PCIE_CAP_PUT(16, bus_p, PCIE_LINKCTL2, ctl2);
PCIE_CAP_PUT(16, bus_p, PCIE_LINKCTL, ctl);
PCIE_CAP_PUT(16, bus_p, PCIE_DEVSTS, pcie_regs->pcie_err_status);