Lines Matching refs:access_width
73 } else if (reg->access_width) {
74 access_bit_width = ACPI_ACCESS_BIT_WIDTH(reg->access_width);
126 u8 access_width;
153 /* Validate the access_width */
155 if (reg->access_width > 4) {
158 reg->access_width));
162 /* Validate the bit_width, convert access_width into number of bits */
164 access_width =
167 ACPI_ROUND_UP(reg->bit_offset + reg->bit_width, access_width);
198 u8 access_width;
216 * Initialize entire 64-bit return value to zero, convert access_width
220 access_width = acpi_hw_get_access_bit_width(address, reg, 64);
230 if (bit_offset >= access_width) {
232 bit_offset -= access_width;
240 (access_width),
241 &value64, access_width);
248 (access_width),
250 access_width);
259 ACPI_SET_BITS(value, index * access_width,
260 ACPI_MASK_BITS_ABOVE_64(access_width), value64);
263 bit_width > access_width ? access_width : bit_width;
269 ACPI_FORMAT_UINT64(*value), access_width,
293 u8 access_width;
309 /* Convert access_width into number of bits based */
311 access_width = acpi_hw_get_access_bit_width(address, reg, 64);
325 value64 = ACPI_GET_BITS(&value, index * access_width,
326 ACPI_MASK_BITS_ABOVE_64(access_width));
328 if (bit_offset >= access_width) {
329 bit_offset -= access_width;
337 (access_width),
338 value64, access_width);
345 (access_width),
347 access_width);
352 * Index * access_width is ensured to be less than 32-bits by
356 bit_width > access_width ? access_width : bit_width;
362 ACPI_FORMAT_UINT64(value), access_width,