Home
last modified time | relevance | path

Searched refs:bit_shift (Results 1 – 3 of 3) sorted by relevance

/external/arm-trusted-firmware/drivers/arm/gic/v3/
Dgicv3_helpers.c245 unsigned int bit_shift = bit_num << 1U; in gicr_set_icfgr0() local
250 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() local
269 reg_val &= ~(GIC_CFG_MASK << bit_shift); in gicr_set_icfgr1()
270 reg_val |= ((cfg & GIC_CFG_MASK) << bit_shift); in gicr_set_icfgr1()
/external/arm-trusted-firmware/drivers/arm/gic/common/
Dgic_common.c331 unsigned int bit_shift = bit_num << 1; in gicd_set_icfgr() local
336 reg_val &= ~(GIC_CFG_MASK << bit_shift); in gicd_set_icfgr()
337 reg_val |= ((cfg & GIC_CFG_MASK) << bit_shift); in gicd_set_icfgr()
/external/python/google-api-python-client/googleapiclient/
Ddiscovery.py431 bit_shift = _MEDIA_SIZE_BIT_SHIFTS.get(units)
432 if bit_shift is not None:
433 return int(maxSize[:-2]) << bit_shift