Lines Matching refs:bitpos
46 #define ECIA_XEC_PCR_BITPOS DT_INST_CLOCKS_CELL(0, bitpos)
50 DT_INST_CLOCKS_CELL(0, bitpos), \
204 uint8_t bitpos = MCHP_XEC_ECIA_GIRQ_POS(ecia_info); in mchp_xec_ecia_info_girq_src_clr() local
206 mchp_xec_ecia_girq_src_clr(girq_num, bitpos); in mchp_xec_ecia_info_girq_src_clr()
212 uint8_t bitpos = MCHP_XEC_ECIA_GIRQ_POS(ecia_info); in mchp_xec_ecia_info_girq_src_en() local
214 mchp_xec_ecia_girq_src_en(girq_num, bitpos); in mchp_xec_ecia_info_girq_src_en()
220 uint8_t bitpos = MCHP_XEC_ECIA_GIRQ_POS(ecia_info); in mchp_xec_ecia_info_girq_src_dis() local
222 mchp_xec_ecia_girq_src_dis(girq_num, bitpos); in mchp_xec_ecia_info_girq_src_dis()
477 uint8_t bitpos = 31 - (__builtin_clz(result) & 0x1f); in xec_girq_isr() local
480 girq->SRC = BIT(bitpos); in xec_girq_isr()
481 result &= ~BIT(bitpos); in xec_girq_isr()
484 if (cfg->sources[bitpos] & BIT(7)) { in xec_girq_isr()
486 idx = (uint32_t)cfg->sources[bitpos] & ~BIT(7); in xec_girq_isr()
489 data[idx].cb(girq_id, bitpos, data[idx].data); in xec_girq_isr()
491 girq->EN_CLR = BIT(bitpos); in xec_girq_isr()
494 girq->EN_CLR = BIT(bitpos); in xec_girq_isr()