Home
last modified time | relevance | path

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

/Zephyr-Core-2.7.6/drivers/ps2/
Dps2_npcx_controller.c243 uint8_t active_ch, mask; in ps2_npcx_ctrl_isr() local
253 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()