Searched refs:bit_shift (Results 1 – 3 of 3) sorted by relevance
245 unsigned int bit_shift = bit_num << 1U; in gicr_set_icfgr0() local250 reg_val &= ~(GIC_CFG_MASK << bit_shift); in gicr_set_icfgr0()251 reg_val |= ((cfg & GIC_CFG_MASK) << bit_shift); in gicr_set_icfgr0()264 unsigned int bit_shift = bit_num << 1U; in gicr_set_icfgr1() local269 reg_val &= ~(GIC_CFG_MASK << bit_shift); in gicr_set_icfgr1()270 reg_val |= ((cfg & GIC_CFG_MASK) << bit_shift); in gicr_set_icfgr1()
331 unsigned int bit_shift = bit_num << 1; in gicd_set_icfgr() local336 reg_val &= ~(GIC_CFG_MASK << bit_shift); in gicd_set_icfgr()337 reg_val |= ((cfg & GIC_CFG_MASK) << bit_shift); in gicd_set_icfgr()
431 bit_shift = _MEDIA_SIZE_BIT_SHIFTS.get(units)432 if bit_shift is not None:433 return int(maxSize[:-2]) << bit_shift