Lines Matching refs:bit_width
69 if (!reg->bit_offset && reg->bit_width && in acpi_hw_get_access_bit_width()
70 ACPI_IS_POWER_OF_TWO(reg->bit_width) && in acpi_hw_get_access_bit_width()
71 ACPI_IS_ALIGNED(reg->bit_width, 8)) { in acpi_hw_get_access_bit_width()
72 access_bit_width = reg->bit_width; in acpi_hw_get_access_bit_width()
78 reg->bit_width); in acpi_hw_get_access_bit_width()
125 u8 bit_width; in acpi_hw_validate_register() local
166 bit_width = in acpi_hw_validate_register()
167 ACPI_ROUND_UP(reg->bit_offset + reg->bit_width, access_width); in acpi_hw_validate_register()
168 if (max_bit_width < bit_width) { in acpi_hw_validate_register()
171 max_bit_width, bit_width)); in acpi_hw_validate_register()
199 u32 bit_width; in acpi_hw_read() local
221 bit_width = reg->bit_offset + reg->bit_width; in acpi_hw_read()
229 while (bit_width) { in acpi_hw_read()
262 bit_width -= in acpi_hw_read()
263 bit_width > access_width ? access_width : bit_width; in acpi_hw_read()
294 u32 bit_width; in acpi_hw_write() local
312 bit_width = reg->bit_offset + reg->bit_width; in acpi_hw_write()
320 while (bit_width) { in acpi_hw_write()
355 bit_width -= in acpi_hw_write()
356 bit_width > access_width ? access_width : bit_width; in acpi_hw_write()