Home
last modified time | relevance | path

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

/external/arm-trusted-firmware/drivers/arm/gic/v3/
Dgicrv3_helpers.c133 unsigned int bit_shift = BIT_NUM(ICFG, id) << 1U; in gicr_set_icfgr() local
137 (uint32_t)GIC_CFG_MASK << bit_shift, in gicr_set_icfgr()
138 (cfg & GIC_CFG_MASK) << bit_shift); in gicr_set_icfgr()
Dgicdv3_helpers.c25 unsigned int bit_shift = BIT_NUM(ICFG, id) << 1U; in gicd_set_icfgr() local
29 (uint32_t)GIC_CFG_MASK << bit_shift, in gicd_set_icfgr()
30 (cfg & GIC_CFG_MASK) << bit_shift); in gicd_set_icfgr()
/external/arm-trusted-firmware/drivers/arm/gic/v2/
Dgicdv2_helpers.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/arm-trusted-firmware/drivers/arm/gic/common/
Dgic_common.c333 unsigned int bit_shift = bit_num << 1; in gicd_set_icfgr() local
338 reg_val &= ~(GIC_CFG_MASK << bit_shift); in gicd_set_icfgr()
339 reg_val |= ((cfg & GIC_CFG_MASK) << bit_shift); in gicd_set_icfgr()
/external/libwebm/common/
Dvp9_header_parser.cc120 const int bit_shift = 7 - static_cast<int>(off & 0x7); in ReadBit() local
122 const int bit = (frame_[byte_offset] >> bit_shift) & 1; in ReadBit()
/external/python/google-api-python-client/googleapiclient/
Ddiscovery.py445 bit_shift = _MEDIA_SIZE_BIT_SHIFTS.get(units)
446 if bit_shift is not None:
447 return int(maxSize[:-2]) << bit_shift