Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/soc/arm/nuvoton_npcx/common/
Dscfg.c79 void npcx_lvol_set_detect_level(int lvol_ctrl, int lvol_bit, bool enable) in npcx_lvol_set_detect_level() argument
84 NPCX_LV_GPIO_CTL(scfg_base, lvol_ctrl) |= BIT(lvol_bit); in npcx_lvol_set_detect_level()
86 NPCX_LV_GPIO_CTL(scfg_base, lvol_ctrl) &= ~BIT(lvol_bit); in npcx_lvol_set_detect_level()
90 bool npcx_lvol_get_detect_level(int lvol_ctrl, int lvol_bit) in npcx_lvol_get_detect_level() argument
94 return NPCX_LV_GPIO_CTL(scfg_base, lvol_ctrl) & BIT(lvol_bit); in npcx_lvol_get_detect_level()
Dsoc_pins.h70 void npcx_lvol_set_detect_level(int lvol_ctrl, int lvol_bit, bool enable);
79 bool npcx_lvol_get_detect_level(int lvol_ctrl, int lvol_bit);