PCIE_DEVCTL
{ PCIE_DEVCTL, 2, "devctl", "Device Control",
#define PCI_EXP_DEVCTL PCIE_DEVCTL
pci_config_get16(handle, offset + PCIE_DEVCTL));
PCIE_DEVCTL));
PCIE_DEVCTL),
pci_config_get16(handle, offset + PCIE_DEVCTL));
pci_config_get16(handle, offset + PCIE_DEVCTL));
val = pci_config_get16(handle, ptr + PCIE_DEVCTL);
pci_config_put16(handle, ptr + PCIE_DEVCTL, val);
val = pci_config_get16(handle, ptr + PCIE_DEVCTL);
pci_offset = 0x80 + PCIE_DEVCTL;
reg16 = PCIE_CAP_GET(16, bus_p, PCIE_DEVCTL);
PCIE_CAP_PUT(16, bus_p, PCIE_DEVCTL, tmp16);
PCIE_DBG_CAP(cdip, bus_p, "DEVCTL", 16, PCIE_DEVCTL, reg16);
if ((reg16 = PCIE_CAP_GET(16, bus_p, PCIE_DEVCTL)) !=
PCIE_CAP_PUT(16, bus_p, PCIE_DEVCTL, tmp16);
PCIE_DBG_CAP(dip, bus_p, "DEVCTL", 16, PCIE_DEVCTL, reg16);
device_ctl = PCIE_CAP_GET(16, bus_p, PCIE_DEVCTL);
PCIE_CAP_PUT(16, bus_p, PCIE_DEVCTL,
PCIE_DBG_CAP(dip, bus_p, "DEVCTL", 16, PCIE_DEVCTL, device_ctl);
device_ctl = PCIE_CAP_GET(16, bus_p, PCIE_DEVCTL);
PCIE_CAP_PUT(16, bus_p, PCIE_DEVCTL, device_ctl);
PCIE_DEVCTL);
PCIE_DEVCTL, devctl);
pcie_regs->pcie_err_ctl = PCIE_CAP_GET(16, bus_p, PCIE_DEVCTL);
cdip_dev_ctrl = PCIE_CAP_GET(16, cdip_bus_p, PCIE_DEVCTL);
PCIE_DEVCTL);
(void) PCI_CAP_PUT16(cfg_hdl, 0, cap_ptr, PCIE_DEVCTL,
devctl = pci_config_get16(sp->s_pci_handle, off + PCIE_DEVCTL);
ctl = PCI_CAP_GET16(hdl, 0, cap_ptr, PCIE_DEVCTL);
(void) PCI_CAP_PUT16(hdl, 0, cap_ptr, PCIE_DEVCTL,
PCIE_DEVCTL);
PCI_CAP_PUT16(h, 0, cap_ptr, PCIE_DEVCTL, devctl);
pci_config_put16(h, regs->pcie_cap_off + PCIE_DEVCTL,
(void) hvio_config_get(dev_hdl, bdf, offset + PCIE_DEVCTL,
(void) hvio_config_put(dev_hdl, bdf, offset + PCIE_DEVCTL,