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