Lines Matching refs:length
77 acpi_size length; in acpi_ex_read_data_from_field() local
139 length = (acpi_size) ACPI_ROUND_BITS_UP_TO_BYTES (obj_desc->field.bit_length); in acpi_ex_read_data_from_field()
140 if (length > acpi_gbl_integer_byte_width) { in acpi_ex_read_data_from_field()
143 buffer_desc = acpi_ut_create_buffer_object (length); in acpi_ex_read_data_from_field()
157 length = acpi_gbl_integer_byte_width; in acpi_ex_read_data_from_field()
164 obj_desc, ACPI_GET_OBJECT_TYPE (obj_desc), buffer, (u32) length)); in acpi_ex_read_data_from_field()
177 status = acpi_ex_extract_from_field (obj_desc, buffer, (u32) length); in acpi_ex_read_data_from_field()
213 u32 length; in acpi_ex_write_data_to_field() local
256 if (source_desc->buffer.length < ACPI_SMBUS_BUFFER_SIZE) { in acpi_ex_write_data_to_field()
258 ACPI_SMBUS_BUFFER_SIZE, source_desc->buffer.length)); in acpi_ex_write_data_to_field()
293 length = sizeof (source_desc->integer.value); in acpi_ex_write_data_to_field()
298 length = source_desc->buffer.length; in acpi_ex_write_data_to_field()
303 length = source_desc->string.length; in acpi_ex_write_data_to_field()
319 if (length < required_length) { in acpi_ex_write_data_to_field()
332 ACPI_MEMCPY ((char *) new_buffer, (char *) buffer, length); in acpi_ex_write_data_to_field()
334 length = required_length; in acpi_ex_write_data_to_field()
340 ACPI_GET_OBJECT_TYPE (source_desc), buffer, length)); in acpi_ex_write_data_to_field()
355 status = acpi_ex_insert_into_field (obj_desc, buffer, length); in acpi_ex_write_data_to_field()