Lines Matching refs:girq

1121 #define MCHP_GIRQ_IDX(girq)	((uint32_t)(girq) - 8u)  argument
1175 static inline void mchp_soc_ecia_girq_aggr_en(uint8_t girq, uint8_t en) in mchp_soc_ecia_girq_aggr_en() argument
1177 if ((girq < MCHP_FIRST_GIRQ_NOS) || (girq > MCHP_LAST_GIRQ_NOS)) { in mchp_soc_ecia_girq_aggr_en()
1184 ecia->BLK_EN_SET = BIT(girq); in mchp_soc_ecia_girq_aggr_en()
1186 ecia->BLK_EN_CLR = BIT(girq); in mchp_soc_ecia_girq_aggr_en()
1190 static inline void mchp_soc_ecia_girq_src_clr(uint8_t girq, uint8_t pin) in mchp_soc_ecia_girq_src_clr() argument
1192 if ((girq < MCHP_FIRST_GIRQ_NOS) || (girq > MCHP_LAST_GIRQ_NOS) || in mchp_soc_ecia_girq_src_clr()
1199 ecia->GIRQ[girq - 8u].SRC = BIT(pin); in mchp_soc_ecia_girq_src_clr()
1202 static inline void mchp_soc_ecia_girq_src_clr_bitmap(uint8_t girq, in mchp_soc_ecia_girq_src_clr_bitmap() argument
1205 if ((girq < MCHP_FIRST_GIRQ_NOS) || (girq > MCHP_LAST_GIRQ_NOS)) { in mchp_soc_ecia_girq_src_clr_bitmap()
1211 ecia->GIRQ[girq - 8u].SRC = bitmap; in mchp_soc_ecia_girq_src_clr_bitmap()
1214 static inline void mchp_soc_ecia_girq_src_dis(uint8_t girq, uint8_t pin) in mchp_soc_ecia_girq_src_dis() argument
1216 if ((girq < MCHP_FIRST_GIRQ_NOS) || (girq > MCHP_LAST_GIRQ_NOS) || in mchp_soc_ecia_girq_src_dis()
1223 ecia->GIRQ[girq - 8u].EN_CLR = BIT(pin); in mchp_soc_ecia_girq_src_dis()
1226 static inline void mchp_soc_ecia_girq_src_en(uint8_t girq, uint8_t pin) in mchp_soc_ecia_girq_src_en() argument
1228 if ((girq < MCHP_FIRST_GIRQ_NOS) || (girq > MCHP_LAST_GIRQ_NOS) || in mchp_soc_ecia_girq_src_en()
1235 ecia->GIRQ[girq - 8u].EN_SET = BIT(pin); in mchp_soc_ecia_girq_src_en()
1238 static inline uint32_t mchp_soc_ecia_girq_result(uint8_t girq) in mchp_soc_ecia_girq_result() argument
1240 if ((girq < MCHP_FIRST_GIRQ_NOS) || (girq > MCHP_LAST_GIRQ_NOS)) { in mchp_soc_ecia_girq_result()
1246 return ecia->GIRQ[girq - 8u].RESULT; in mchp_soc_ecia_girq_result()