Lines Matching refs:girq
250 int mchp_xec_ecia_enable(int girq, int src) in mchp_xec_ecia_enable() argument
252 if ((girq < MCHP_FIRST_GIRQ) || (girq > MCHP_LAST_GIRQ) || in mchp_xec_ecia_enable()
260 regs->GIRQ[girq - MCHP_FIRST_GIRQ].EN_SET = BIT(src); in mchp_xec_ecia_enable()
273 uint8_t girq = (uint8_t)MCHP_XEC_ECIA_GIRQ(ecia_info); in mchp_xec_ecia_info_enable() local
276 return mchp_xec_ecia_enable(girq, src); in mchp_xec_ecia_info_enable()
285 int mchp_xec_ecia_disable(int girq, int src) in mchp_xec_ecia_disable() argument
287 if ((girq < MCHP_FIRST_GIRQ) || (girq > MCHP_LAST_GIRQ) || in mchp_xec_ecia_disable()
295 regs->GIRQ[girq - MCHP_FIRST_GIRQ].EN_CLR = BIT(src); in mchp_xec_ecia_disable()
308 uint8_t girq = (uint8_t)MCHP_XEC_ECIA_GIRQ(ecia_info); in mchp_xec_ecia_info_disable() local
311 return mchp_xec_ecia_disable(girq, src); in mchp_xec_ecia_info_disable()
471 struct girq_regs *girq = (struct girq_regs *)cfg->base; in xec_girq_isr() local
474 uint32_t result = girq->RESULT; in xec_girq_isr()
480 girq->SRC = BIT(bitpos); in xec_girq_isr()
491 girq->EN_CLR = BIT(bitpos); in xec_girq_isr()
494 girq->EN_CLR = BIT(bitpos); in xec_girq_isr()