Home
last modified time | relevance | path

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

/linux/drivers/acpi/acpica/
H A 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 …]
H A 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 …]
H A 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 …]
H A Dexfield.c168 (acpi_size)ACPI_ROUND_BITS_UP_TO_BYTES(obj_desc->field.bit_length); in acpi_ex_read_data_from_field()
210 obj_desc->field.bit_length)); in acpi_ex_read_data_from_field()
216 bit_length)); in acpi_ex_read_data_from_field()
228 obj_desc->common_field.bit_length, in acpi_ex_read_data_from_field()
332 bit_length); in acpi_ex_write_data_to_field()
391 obj_desc->common_field.bit_length, in acpi_ex_write_data_to_field()
H A Dexserial.c47 obj_desc->field.bit_length)); in acpi_ex_read_gpio()
105 obj_desc->field.bit_length)); in acpi_ex_write_gpio()
H A 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()
H A Dacobject.h244 u32 bit_length; /* Length of field in bits */\
H A Dnsdump.c413 obj_desc->common_field.bit_length, in acpi_ns_dump_one_object()
H A Devregion.c287 bit_width = field_obj->field.bit_length; in acpi_ev_address_space_dispatch()
/linux/tools/net/ynl/lib/
H A Dynl.py579 attr_type = attr["type"][0] + ('32' if scalar.bit_length() <= 32 else '64')