Searched refs:bit_shift (Results 1 – 6 of 6) sorted by relevance
133 unsigned int bit_shift = BIT_NUM(ICFG, id) << 1U; in gicr_set_icfgr() local137 (uint32_t)GIC_CFG_MASK << bit_shift, in gicr_set_icfgr()138 (cfg & GIC_CFG_MASK) << bit_shift); in gicr_set_icfgr()
25 unsigned int bit_shift = BIT_NUM(ICFG, id) << 1U; in gicd_set_icfgr() local29 (uint32_t)GIC_CFG_MASK << bit_shift, in gicd_set_icfgr()30 (cfg & GIC_CFG_MASK) << bit_shift); in gicd_set_icfgr()
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()
333 unsigned int bit_shift = bit_num << 1; in gicd_set_icfgr() local338 reg_val &= ~(GIC_CFG_MASK << bit_shift); in gicd_set_icfgr()339 reg_val |= ((cfg & GIC_CFG_MASK) << bit_shift); in gicd_set_icfgr()
120 const int bit_shift = 7 - static_cast<int>(off & 0x7); in ReadBit() local122 const int bit = (frame_[byte_offset] >> bit_shift) & 1; in ReadBit()
445 bit_shift = _MEDIA_SIZE_BIT_SHIFTS.get(units)446 if bit_shift is not None:447 return int(maxSize[:-2]) << bit_shift