Home
last modified time | relevance | path

Searched refs:typeOffset (Results 1 – 1 of 1) sorted by relevance

/bsp/rockchip/common/rk_hal/lib/hal/src/pm/
A Dhal_pm_cpu.c46 uint8_t runtimeType, typeOffset; in HAL_PM_RuntimeRequest() local
51 typeOffset = PM_RUNTIME_ID_TO_TYPE_OFFSET(runtimeId); in HAL_PM_RuntimeRequest()
53 HAL_ASSERT(typeOffset < PM_RUNTIME_PER_TYPE_NUM); in HAL_PM_RuntimeRequest()
55 runtimeStatus.bits[runtimeType] |= HAL_BIT(typeOffset); in HAL_PM_RuntimeRequest()
67 uint8_t runtimeType, typeOffset; in HAL_PM_RuntimeRelease() local
72 typeOffset = PM_RUNTIME_ID_TO_TYPE_OFFSET(runtimeId); in HAL_PM_RuntimeRelease()
75 HAL_ASSERT(typeOffset < PM_RUNTIME_PER_TYPE_NUM); in HAL_PM_RuntimeRelease()
77 runtimeStatus.bits[runtimeType] &= ~HAL_BIT(typeOffset); in HAL_PM_RuntimeRelease()

Completed in 5 milliseconds