Lines Matching refs:bit_num
248 unsigned int bit_num = id & ((1U << IGROUPR_SHIFT) - 1U); in gicd_get_igroupr() local
251 return (reg_val >> bit_num) & 0x1U; in gicd_get_igroupr()
256 unsigned int bit_num = id & ((1U << IGROUPR_SHIFT) - 1U); in gicd_set_igroupr() local
259 gicd_write_igroupr(base, id, reg_val | (1U << bit_num)); in gicd_set_igroupr()
264 unsigned int bit_num = id & ((1U << IGROUPR_SHIFT) - 1U); in gicd_clr_igroupr() local
267 gicd_write_igroupr(base, id, reg_val & ~(1U << bit_num)); in gicd_clr_igroupr()
272 unsigned int bit_num = id & ((1U << ISENABLER_SHIFT) - 1U); in gicd_set_isenabler() local
274 gicd_write_isenabler(base, id, (1U << bit_num)); in gicd_set_isenabler()
279 unsigned int bit_num = id & ((1U << ICENABLER_SHIFT) - 1U); in gicd_set_icenabler() local
281 gicd_write_icenabler(base, id, (1U << bit_num)); in gicd_set_icenabler()
286 unsigned int bit_num = id & ((1U << ISPENDR_SHIFT) - 1U); in gicd_set_ispendr() local
288 gicd_write_ispendr(base, id, (1U << bit_num)); in gicd_set_ispendr()
293 unsigned int bit_num = id & ((1U << ICPENDR_SHIFT) - 1U); in gicd_set_icpendr() local
295 gicd_write_icpendr(base, id, (1U << bit_num)); in gicd_set_icpendr()
300 unsigned int bit_num = id & ((1U << ISACTIVER_SHIFT) - 1U); in gicd_get_isactiver() local
303 return (reg_val >> bit_num) & 0x1U; in gicd_get_isactiver()
308 unsigned int bit_num = id & ((1U << ISACTIVER_SHIFT) - 1U); in gicd_set_isactiver() local
310 gicd_write_isactiver(base, id, (1U << bit_num)); in gicd_set_isactiver()
315 unsigned int bit_num = id & ((1U << ICACTIVER_SHIFT) - 1U); in gicd_set_icactiver() local
317 gicd_write_icactiver(base, id, (1U << bit_num)); in gicd_set_icactiver()
330 unsigned int bit_num = id & ((1U << ICFGR_SHIFT) - 1U); in gicd_set_icfgr() local
331 unsigned int bit_shift = bit_num << 1; in gicd_set_icfgr()