Searched refs:active_ch (Results 1 – 1 of 1) sorted by relevance
243 uint8_t active_ch, mask; in ps2_npcx_ctrl_isr() local253 active_ch = GET_FIELD(inst->PSTAT, NPCX_PSTAT_ACH); in ps2_npcx_ctrl_isr()254 active_ch = active_ch > 2 ? (active_ch - 2) : (active_ch - 1); in ps2_npcx_ctrl_isr()255 LOG_DBG("ACH: %d\n", active_ch); in ps2_npcx_ctrl_isr()261 mask = ~NPCX_PSOSIG_CLK_MASK_ALL | BIT(NPCX_PSOSIG_CLK(active_ch)); in ps2_npcx_ctrl_isr()282 inst->PSOSIG &= ~BIT(NPCX_PSOSIG_CLK(active_ch)); in ps2_npcx_ctrl_isr()295 callback = data->callback_isr[active_ch]; in ps2_npcx_ctrl_isr()