Home
last modified time | relevance | path

Searched refs:HI_SEM_ONE (Results 1 - 3 of 3) sorted by relevance

/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/drivers/pwm/
H A Dhi_pwm.c46 ret = hi_sem_bcreate(&(ctrl->pwm_sem), HI_SEM_ONE); in hi_pwm_init()
50 ret = hi_sem_bcreate(&(ctrl->pwm_sem), HI_SEM_ONE); in hi_pwm_init()
54 ret = hi_sem_bcreate(&(ctrl->pwm_sem), HI_SEM_ONE); in hi_pwm_init()
58 ret = hi_sem_bcreate(&(ctrl->pwm_sem), HI_SEM_ONE); in hi_pwm_init()
62 ret = hi_sem_bcreate(&(ctrl->pwm_sem), HI_SEM_ONE); in hi_pwm_init()
66 ret = hi_sem_bcreate(&(ctrl->pwm_sem), HI_SEM_ONE); in hi_pwm_init()
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/
H A Dhi_sem.h36 #define HI_SEM_ONE ((hi_u8)1) /**< ucInit Obtained value of the input: Critical resource protection. macro
77 * @param init_value [IN] type #hi_u8,initial value. Generally, when the value is HI_SEM_ONE, the API is used for
79 CNcomment:初始值。一般情况下,当值为HI_SEM_ONE时,用作临界资源保护;当值为HI_SEM_ZERO时,用作同步。CNend
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/system/upg/
H A Dupg_common.c1327 ret = hi_sem_bcreate(&ctx->upg_sem, HI_SEM_ONE); in hi_upg_init()

Completed in 3 milliseconds