Lines Matching refs:bit_length
26 acpi_db_test_integer_type(struct acpi_namespace_node *node, u32 bit_length);
29 acpi_db_test_buffer_type(struct acpi_namespace_node *node, u32 bit_length);
246 u32 bit_length = 0; in acpi_db_test_one_object() local
263 bit_length = acpi_gbl_integer_bit_width; in acpi_db_test_one_object()
276 bit_length = byte_length * 8; in acpi_db_test_one_object()
300 bit_length = obj_desc->common_field.bit_length; in acpi_db_test_one_object()
301 byte_length = ACPI_ROUND_BITS_UP_TO_BYTES(bit_length); in acpi_db_test_one_object()
302 if (bit_length > acpi_gbl_integer_bit_width) { in acpi_db_test_one_object()
330 status = acpi_db_test_integer_type(node, bit_length); in acpi_db_test_one_object()
340 status = acpi_db_test_buffer_type(node, bit_length); in acpi_db_test_one_object()
388 acpi_db_test_integer_type(struct acpi_namespace_node *node, u32 bit_length) in acpi_db_test_integer_type() argument
397 if (bit_length > 64) { in acpi_db_test_integer_type()
399 bit_length); in acpi_db_test_integer_type()
411 bit_length, ACPI_ROUND_BITS_UP_TO_BYTES(bit_length), in acpi_db_test_integer_type()
414 value_to_write = ACPI_UINT64_MAX >> (64 - bit_length); in acpi_db_test_integer_type()
490 acpi_db_test_buffer_type(struct acpi_namespace_node *node, u32 bit_length) in acpi_db_test_buffer_type() argument
502 byte_length = ACPI_ROUND_BITS_UP_TO_BYTES(bit_length); in acpi_db_test_buffer_type()
524 acpi_os_printf(ACPI_DEBUG_LENGTH_FORMAT, bit_length, in acpi_db_test_buffer_type()
540 extra_bits = bit_length % 8; in acpi_db_test_buffer_type()
739 u32 bit_length = 0; in acpi_db_test_field_unit_type() local
771 bit_length = obj_desc->common_field.bit_length; in acpi_db_test_field_unit_type()
772 byte_length = ACPI_ROUND_BITS_UP_TO_BYTES(bit_length); in acpi_db_test_field_unit_type()
774 acpi_os_printf(ACPI_DEBUG_LENGTH_FORMAT " [%s]", bit_length, in acpi_db_test_field_unit_type()