Searched refs:hirq (Results 1 – 1 of 1) sorted by relevance
115 struct hwbutton_interrupt *hirq = data; in hwbutton_handler() local118 if (CIC_EXT_IS_ACTIVE_HI(cic_ext, hirq->eirq)) { in hwbutton_handler()120 CIC_EXT_SET_ACTIVE_LO(cic_ext, hirq->eirq); in hwbutton_handler()121 hirq->handle_hi(hirq->data); in hwbutton_handler()124 CIC_EXT_SET_ACTIVE_HI(cic_ext, hirq->eirq); in hwbutton_handler()125 hirq->handle_lo(hirq->data); in hwbutton_handler()137 static int msp_hwbutton_register(struct hwbutton_interrupt *hirq) in msp_hwbutton_register() argument141 if (hirq->handle_hi == NULL || hirq->handle_lo == NULL) in msp_hwbutton_register()145 CIC_EXT_SET_TRIGGER_LEVEL(cic_ext, hirq->eirq); in msp_hwbutton_register()146 if (hirq->initial_state == HWBUTTON_HI) in msp_hwbutton_register()[all …]