Lines Matching defs:ctrl
380 uintptr_t ctrl = (uintptr_t)(PCIE_CORE_SOFT_RST_CFG_BASE + offset);
383 mmio_clrbits_32(ctrl, PCIE_CORE_SOFT_RST);
388 mmio_setbits_32(ctrl, PCIE_CORE_SOFT_RST);
391 static int pcie_core_pwron_switch(uintptr_t ctrl, uintptr_t status,
398 mmio_setbits_32(ctrl, mask);
411 static int pcie_core_pwr_seq(uintptr_t ctrl, uintptr_t status)
422 ret = pcie_core_pwron_switch(ctrl, status, PCIE_CORE_PWR_ARR_POWERON);
426 ret = pcie_core_pwron_switch(ctrl, status, PCIE_CORE_PWR_ARR_POWEROK);
430 ret = pcie_core_pwron_switch(ctrl, status, PCIE_CORE_PWR_POWERON);
434 ret = pcie_core_pwron_switch(ctrl, status, PCIE_CORE_PWR_POWEROK);
449 uintptr_t ctrl, status;
452 ctrl = (uintptr_t)(PCIE_CORE_MEM_PWR_BASE + offset);
454 ret = pcie_core_pwr_seq(ctrl, status);
461 ctrl = (uintptr_t)(PCIE_PAXB_MEM_PWR_BASE + offset);
463 ret = pcie_core_pwr_seq(ctrl, status);
470 ctrl = (uintptr_t)(PCIE_CORE_ISO_CFG_BASE + offset);
471 mmio_clrbits_32(ctrl, PCIE_CORE_ISO | PCIE_CORE_MEM_ISO);