Lines Matching refs:device_ctl
2428 uint16_t device_sts, device_ctl; in pcie_enable_ce() local
2467 device_ctl = PCIE_CAP_GET(16, bus_p, PCIE_DEVCTL); in pcie_enable_ce()
2469 (device_ctl & (~PCIE_DEVCTL_ERR_MASK)) | pcie_base_err_default); in pcie_enable_ce()
2470 PCIE_DBG_CAP(dip, bus_p, "DEVCTL", 16, PCIE_DEVCTL, device_ctl); in pcie_enable_ce()
2480 uint16_t device_ctl; in pcie_disable_errors() local
2489 device_ctl = PCIE_CAP_GET(16, bus_p, PCIE_DEVCTL); in pcie_disable_errors()
2490 device_ctl &= ~PCIE_DEVCTL_ERR_MASK; in pcie_disable_errors()
2491 PCIE_CAP_PUT(16, bus_p, PCIE_DEVCTL, device_ctl); in pcie_disable_errors()
2529 device_ctl = PCIE_CAP_GET(16, bus_p, PCIE_ROOTCTL); in pcie_disable_errors()
2530 device_ctl &= ~PCIE_ROOT_SYS_ERR; in pcie_disable_errors()
2531 PCIE_CAP_PUT(16, bus_p, PCIE_ROOTCTL, device_ctl); in pcie_disable_errors()
2537 if ((device_ctl = PCIE_CAP_GET(16, bus_p, PCIE_AER_RE_CMD)) != in pcie_disable_errors()
2539 device_ctl &= ~pcie_root_error_cmd_default; in pcie_disable_errors()
2540 PCIE_CAP_PUT(16, bus_p, PCIE_AER_RE_CMD, device_ctl); in pcie_disable_errors()