Home
last modified time | relevance | path

Searched refs:bit_length (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/acpi/acpica/
Ddbtest.c26 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()
[all …]
Dexprep.c200 u32 bit_length; in acpi_ex_decode_field_access() local
213 obj_desc->common_field.bit_length, in acpi_ex_decode_field_access()
217 bit_length = byte_alignment * 8; in acpi_ex_decode_field_access()
221 bit_length = 8; in acpi_ex_decode_field_access()
228 bit_length = 8; in acpi_ex_decode_field_access()
234 bit_length = 16; in acpi_ex_decode_field_access()
240 bit_length = 32; in acpi_ex_decode_field_access()
246 bit_length = 64; in acpi_ex_decode_field_access()
268 return_UINT32(bit_length); in acpi_ex_decode_field_access()
311 obj_desc->common_field.bit_length = field_bit_length; in acpi_ex_prep_common_field_object()
[all …]
Dexfldio.c293 if (obj_desc->common_field.bit_length >= ACPI_INTEGER_BIT_SIZE) { in acpi_ex_register_overflow()
301 if (value >= ((u64) 1 << obj_desc->common_field.bit_length)) { in acpi_ex_register_overflow()
309 obj_desc->common_field.bit_length)); in acpi_ex_register_overflow()
667 ACPI_ROUND_BITS_UP_TO_BYTES(obj_desc->common_field.bit_length)) { in acpi_ex_extract_from_field()
670 obj_desc->common_field.bit_length, buffer_length)); in acpi_ex_extract_from_field()
681 (obj_desc->common_field.bit_length == access_bit_width)) { in acpi_ex_extract_from_field()
710 ACPI_ROUND_UP_TO(obj_desc->common_field.bit_length, in acpi_ex_extract_from_field()
713 field_datum_count = ACPI_ROUND_UP_TO(obj_desc->common_field.bit_length + in acpi_ex_extract_from_field()
777 buffer_tail_bits = obj_desc->common_field.bit_length % access_bit_width; in acpi_ex_extract_from_field()
830 ACPI_ROUND_BITS_UP_TO_BYTES(obj_desc->common_field.bit_length); in acpi_ex_insert_into_field()
[all …]
Dexfield.c164 (acpi_size)ACPI_ROUND_BITS_UP_TO_BYTES(obj_desc->field.bit_length); in acpi_ex_read_data_from_field()
206 obj_desc->field.bit_length)); in acpi_ex_read_data_from_field()
212 bit_length)); in acpi_ex_read_data_from_field()
224 obj_desc->common_field.bit_length, in acpi_ex_read_data_from_field()
324 bit_length); in acpi_ex_write_data_to_field()
383 obj_desc->common_field.bit_length, in acpi_ex_write_data_to_field()
Dexserial.c47 obj_desc->field.bit_length)); in acpi_ex_read_gpio()
105 obj_desc->field.bit_length)); in acpi_ex_write_gpio()
Dexdump.c261 {ACPI_EXD_UINT32, ACPI_EXD_OFFSET(common_field.bit_length),
776 "byte=%X bit=%X of below:\n", obj_desc->field.bit_length, in acpi_ex_dump_operand()
794 obj_desc->buffer_field.bit_length, in acpi_ex_dump_operand()
Dacobject.h224 u32 bit_length; /* Length of field in bits */\
Dnsdump.c413 obj_desc->common_field.bit_length, in acpi_ns_dump_one_object()
Devregion.c280 bit_width = field_obj->field.bit_length; in acpi_ev_address_space_dispatch()