Lines Matching refs:device_ctl
2446 uint16_t device_sts, device_ctl; in pcie_enable_ce() local
2485 device_ctl = PCIE_CAP_GET(16, bus_p, PCIE_DEVCTL); in pcie_enable_ce()
2487 (device_ctl & (~PCIE_DEVCTL_ERR_MASK)) | pcie_base_err_default); in pcie_enable_ce()
2488 PCIE_DBG_CAP(dip, bus_p, "DEVCTL", 16, PCIE_DEVCTL, device_ctl); in pcie_enable_ce()
2498 uint16_t device_ctl; in pcie_disable_errors() local
2507 device_ctl = PCIE_CAP_GET(16, bus_p, PCIE_DEVCTL); in pcie_disable_errors()
2508 device_ctl &= ~PCIE_DEVCTL_ERR_MASK; in pcie_disable_errors()
2509 PCIE_CAP_PUT(16, bus_p, PCIE_DEVCTL, device_ctl); in pcie_disable_errors()
2547 device_ctl = PCIE_CAP_GET(16, bus_p, PCIE_ROOTCTL); in pcie_disable_errors()
2548 device_ctl &= ~PCIE_ROOT_SYS_ERR; in pcie_disable_errors()
2549 PCIE_CAP_PUT(16, bus_p, PCIE_ROOTCTL, device_ctl); in pcie_disable_errors()
2555 if ((device_ctl = PCIE_CAP_GET(16, bus_p, PCIE_AER_RE_CMD)) != in pcie_disable_errors()
2557 device_ctl &= ~pcie_root_error_cmd_default; in pcie_disable_errors()
2558 PCIE_CAP_PUT(16, bus_p, PCIE_AER_RE_CMD, device_ctl); in pcie_disable_errors()