exregion.c (3e8214e5c2bd449b30109d4a098597ab1b7c9fb9) exregion.c (57bf6aefc2b9c89b89bb3fca54725ceea797bb63)
1/******************************************************************************
2 *
3 * Module Name: exregion - ACPI default op_region (address space) handlers
4 *
5 *****************************************************************************/
6
7/*
8 * Copyright (C) 2000 - 2012, Intel Corp.

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

234 break;
235 }
236 break;
237
238 case ACPI_WRITE:
239
240 switch (bit_width) {
241 case 8:
1/******************************************************************************
2 *
3 * Module Name: exregion - ACPI default op_region (address space) handlers
4 *
5 *****************************************************************************/
6
7/*
8 * Copyright (C) 2000 - 2012, Intel Corp.

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

234 break;
235 }
236 break;
237
238 case ACPI_WRITE:
239
240 switch (bit_width) {
241 case 8:
242 ACPI_SET8(logical_addr_ptr) = (u8)*value;
242 ACPI_SET8(logical_addr_ptr, *value);
243 break;
244
245 case 16:
243 break;
244
245 case 16:
246 ACPI_SET16(logical_addr_ptr) = (u16)*value;
246 ACPI_SET16(logical_addr_ptr, *value);
247 break;
248
249 case 32:
247 break;
248
249 case 32:
250 ACPI_SET32(logical_addr_ptr) = (u32)*value;
250 ACPI_SET32(logical_addr_ptr, *value);
251 break;
252
253 case 64:
251 break;
252
253 case 64:
254 ACPI_SET64(logical_addr_ptr) = (u64)*value;
254 ACPI_SET64(logical_addr_ptr, *value);
255 break;
256
257 default:
258 /* bit_width was already validated */
259 break;
260 }
261 break;
262

--- 256 unchanged lines hidden ---
255 break;
256
257 default:
258 /* bit_width was already validated */
259 break;
260 }
261 break;
262

--- 256 unchanged lines hidden ---