Searched refs:lvol_bit (Results 1 – 2 of 2) sorted by relevance
79 void npcx_lvol_set_detect_level(int lvol_ctrl, int lvol_bit, bool enable) in npcx_lvol_set_detect_level() argument84 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() argument94 return NPCX_LV_GPIO_CTL(scfg_base, lvol_ctrl) & BIT(lvol_bit); in npcx_lvol_get_detect_level()
70 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);