Lines Matching defs:BitWidth
84 * MaxBitWidth - Max BitWidth supported (32 or 64)
103 * 1. Detected if BitOffset is 0 and BitWidth is 8/16/32/64;
104 * 2. AccessSize field is ignored and BitWidth field is used for
107 * 1. Detected if BitOffset is not 0 or BitWidth is not 8/16/32/64;
110 * 3. BitOffset/BitWidth fields are used to describe the "region".
115 if (!Reg->BitOffset && Reg->BitWidth &&
116 ACPI_IS_POWER_OF_TWO (Reg->BitWidth) &&
117 ACPI_IS_ALIGNED (Reg->BitWidth, 8))
119 AccessBitWidth = Reg->BitWidth;
128 Reg->BitOffset + Reg->BitWidth);
167 * MaxBitWidth - Max BitWidth supported (32 or 64)
174 * pointer, Address, SpaceId, BitWidth, and BitOffset.
184 UINT8 BitWidth;
225 /* Validate the BitWidth, convert AccessWidth into number of bits */
228 BitWidth = ACPI_ROUND_UP (Reg->BitOffset + Reg->BitWidth, AccessWidth);
229 if (MaxBitWidth < BitWidth)
233 MaxBitWidth, BitWidth));
265 UINT32 BitWidth;
290 BitWidth = Reg->BitOffset + Reg->BitWidth;
298 while (BitWidth)
329 BitWidth -= BitWidth > AccessWidth ? AccessWidth : BitWidth;
363 UINT32 BitWidth;
384 BitWidth = Reg->BitOffset + Reg->BitWidth;
392 while (BitWidth)
425 BitWidth -= BitWidth > AccessWidth ? AccessWidth : BitWidth;