rscalc.c (6e9041c6ddd6cbdc61d87bcaca8ca7bb17c28377) rscalc.c (1d1ea1b723d9f239f736b8cf284327cbbf9d15d1)
1/*******************************************************************************
2 *
3 * Module Name: rscalc - Calculate stream and list lengths
4 *
5 ******************************************************************************/
6
7/*
8 * Copyright (C) 2000 - 2013, Intel Corp.

--- 338 unchanged lines hidden (view full) ---

347 string_length +
348 resource->data.
349 i2c_serial_bus.
350 vendor_length);
351
352 break;
353
354 default:
1/*******************************************************************************
2 *
3 * Module Name: rscalc - Calculate stream and list lengths
4 *
5 ******************************************************************************/
6
7/*
8 * Copyright (C) 2000 - 2013, Intel Corp.

--- 338 unchanged lines hidden (view full) ---

347 string_length +
348 resource->data.
349 i2c_serial_bus.
350 vendor_length);
351
352 break;
353
354 default:
355
355 break;
356 }
357
358 /* Update the total */
359
360 aml_size_needed += total_size;
361
362 /* Point to the next object */

--- 171 unchanged lines hidden (view full) ---

534 acpi_gbl_resource_aml_serial_bus_sizes
535 [aml_resource->common_serial_bus.type];
536 extra_struct_bytes +=
537 aml_resource->common_serial_bus.resource_length -
538 minimum_aml_resource_length;
539 break;
540
541 default:
356 break;
357 }
358
359 /* Update the total */
360
361 aml_size_needed += total_size;
362
363 /* Point to the next object */

--- 171 unchanged lines hidden (view full) ---

535 acpi_gbl_resource_aml_serial_bus_sizes
536 [aml_resource->common_serial_bus.type];
537 extra_struct_bytes +=
538 aml_resource->common_serial_bus.resource_length -
539 minimum_aml_resource_length;
540 break;
541
542 default:
543
542 break;
543 }
544
545 /*
546 * Update the required buffer size for the internal descriptor structs
547 *
548 * Important: Round the size up for the appropriate alignment. This
549 * is a requirement on IA64.

--- 161 unchanged lines hidden ---
544 break;
545 }
546
547 /*
548 * Update the required buffer size for the internal descriptor structs
549 *
550 * Important: Round the size up for the appropriate alignment. This
551 * is a requirement on IA64.

--- 161 unchanged lines hidden ---