rsmisc.c (bf61c8840efe60fd8f91446860b63338fb424158) rsmisc.c (1d1ea1b723d9f239f736b8cf284327cbbf9d15d1)
1/*******************************************************************************
2 *
3 * Module Name: rsmisc - Miscellaneous resource descriptors
4 *
5 ******************************************************************************/
6
7/*
8 * Copyright (C) 2000 - 2013, Intel Corp.

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

189 item_count = ACPI_GET8(source);
190 ACPI_SET8(destination, item_count);
191
192 resource->length = resource->length +
193 (info->value * item_count);
194 break;
195
196 case ACPI_RSC_COUNT_GPIO_RES:
1/*******************************************************************************
2 *
3 * Module Name: rsmisc - Miscellaneous resource descriptors
4 *
5 ******************************************************************************/
6
7/*
8 * Copyright (C) 2000 - 2013, Intel Corp.

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

189 item_count = ACPI_GET8(source);
190 ACPI_SET8(destination, item_count);
191
192 resource->length = resource->length +
193 (info->value * item_count);
194 break;
195
196 case ACPI_RSC_COUNT_GPIO_RES:
197
198 /*
199 * Vendor data is optional (length/offset may both be zero)
200 * Examine vendor data length field first
201 */
202 target = ACPI_ADD_PTR(void, aml, (info->value + 2));
203 if (ACPI_GET16(target)) {
204
205 /* Use vendor offset to get resource source length */

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

405 break;
406
407 case ACPI_RSC_EXIT_NE:
408 /*
409 * control - Exit conversion if not equal
410 */
411 switch (info->resource_offset) {
412 case ACPI_RSC_COMPARE_AML_LENGTH:
197 /*
198 * Vendor data is optional (length/offset may both be zero)
199 * Examine vendor data length field first
200 */
201 target = ACPI_ADD_PTR(void, aml, (info->value + 2));
202 if (ACPI_GET16(target)) {
203
204 /* Use vendor offset to get resource source length */

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

404 break;
405
406 case ACPI_RSC_EXIT_NE:
407 /*
408 * control - Exit conversion if not equal
409 */
410 switch (info->resource_offset) {
411 case ACPI_RSC_COMPARE_AML_LENGTH:
412
413 if (aml_resource_length != info->value) {
414 goto exit;
415 }
416 break;
417
418 case ACPI_RSC_COMPARE_VALUE:
413 if (aml_resource_length != info->value) {
414 goto exit;
415 }
416 break;
417
418 case ACPI_RSC_COMPARE_VALUE:
419
419 if (ACPI_GET8(source) != info->value) {
420 goto exit;
421 }
422 break;
423
424 default:
425
426 ACPI_ERROR((AE_INFO,

--- 398 unchanged lines hidden ---
420 if (ACPI_GET8(source) != info->value) {
421 goto exit;
422 }
423 break;
424
425 default:
426
427 ACPI_ERROR((AE_INFO,

--- 398 unchanged lines hidden ---