1 /* 2 * Some or all of this work - Copyright (c) 2006 - 2021, Intel Corp. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without modification, 6 * are permitted provided that the following conditions are met: 7 * 8 * Redistributions of source code must retain the above copyright notice, 9 * this list of conditions and the following disclaimer. 10 * Redistributions in binary form must reproduce the above copyright notice, 11 * this list of conditions and the following disclaimer in the documentation 12 * and/or other materials provided with the distribution. 13 * Neither the name of Intel Corporation nor the names of its contributors 14 * may be used to endorse or promote products derived from this software 15 * without specific prior written permission. 16 * 17 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 21 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 */ 28 /* 29 * Resource Descriptor macros 30 * 31 * PinGroupConfig Resource Descriptor Macro 32 */ 33 Name (P464, Package (0x21) 34 { 35 ResourceTemplate () 36 { 37 PinGroupConfig (Exclusive, 0x00 /* Default */, 0x1000, 38 "\\_SB.GPO2", 0x00, "group0", ResourceConsumer, , 39 RawDataBuffer (0x04) // Vendor Data 40 { 41 0x0A, 0x0B, 0x0C, 0x0D 42 }) 43 }, 44 45 ResourceTemplate () 46 { 47 PinGroupConfig (Exclusive, 0x01 /* Bias Pull-up */, 0x2000, 48 "\\_SB.GPO2", 0x00, "group1", ResourceConsumer, , 49 RawDataBuffer (0x04) // Vendor Data 50 { 51 0x0A, 0x0B, 0x0C, 0x0D 52 }) 53 }, 54 55 ResourceTemplate () 56 { 57 PinGroupConfig (Exclusive, 0x02 /* Bias Pull-down */, 0x3000, 58 "\\_SB.GPO2", 0x00, "group2", ResourceConsumer, , 59 RawDataBuffer (0x04) // Vendor Data 60 { 61 0x0A, 0x0B, 0x0C, 0x0D 62 }) 63 }, 64 65 ResourceTemplate () 66 { 67 PinGroupConfig (Exclusive, 0x03 /* Bias Default */, 0x4000, 68 "\\_SB.GPO2", 0x00, "group3", ResourceConsumer, , 69 RawDataBuffer (0x04) // Vendor Data 70 { 71 0x0A, 0x0B, 0x0C, 0x0D 72 }) 73 }, 74 75 ResourceTemplate () 76 { 77 PinGroupConfig (Exclusive, 0x04 /* Bias Disable */, 0x5000, 78 "\\_SB.GPO2", 0x00, "group4", ResourceConsumer, , 79 RawDataBuffer (0x04) // Vendor Data 80 { 81 0x0A, 0x0B, 0x0C, 0x0D 82 }) 83 }, 84 85 ResourceTemplate () 86 { 87 PinGroupConfig (Exclusive, 0x05 /* Bias High Impedance */, 0x6000, 88 "\\_SB.GPO2", 0x00, "group5", ResourceConsumer, , 89 RawDataBuffer (0x04) // Vendor Data 90 { 91 0x0A, 0x0B, 0x0C, 0x0D 92 }) 93 }, 94 95 ResourceTemplate () 96 { 97 PinGroupConfig (Exclusive, 0x06 /* Bias Bus Hold */, 0x7000, 98 "\\_SB.GPO2", 0x00, "group6", ResourceConsumer, , 99 RawDataBuffer (0x04) // Vendor Data 100 { 101 0x0A, 0x0B, 0x0C, 0x0D 102 }) 103 }, 104 105 ResourceTemplate () 106 { 107 PinGroupConfig (Exclusive, 0x07 /* Drive Open Drain */, 0x8000, 108 "\\_SB.GPO2", 0x00, "group7", ResourceConsumer, , 109 RawDataBuffer (0x04) // Vendor Data 110 { 111 0x0A, 0x0B, 0x0C, 0x0D 112 }) 113 }, 114 115 ResourceTemplate () 116 { 117 PinGroupConfig (Exclusive, 0x08 /* Drive Open Source */, 0x9000, 118 "\\_SB.GPO2", 0x00, "group8", ResourceConsumer, , 119 RawDataBuffer (0x04) // Vendor Data 120 { 121 0x0A, 0x0B, 0x0C, 0x0D 122 }) 123 }, 124 125 ResourceTemplate () 126 { 127 PinGroupConfig (Exclusive, 0x09 /* Drive Push Pull */, 0xA000, 128 "\\_SB.GPO2", 0x00, "group9", ResourceConsumer, , 129 RawDataBuffer (0x04) // Vendor Data 130 { 131 0x0A, 0x0B, 0x0C, 0x0D 132 }) 133 }, 134 135 ResourceTemplate () 136 { 137 PinGroupConfig (Exclusive, 0x0A /* Drive Strength */, 0xB000, 138 "\\_SB.GPO2", 0x00, "group10", ResourceConsumer, , 139 RawDataBuffer (0x04) // Vendor Data 140 { 141 0x0A, 0x0B, 0x0C, 0x0D 142 }) 143 }, 144 145 ResourceTemplate () 146 { 147 PinGroupConfig (Exclusive, 0x0B /* Slew Rate */, 0xC000, 148 "\\_SB.GPO2", 0x00, "group11", ResourceConsumer, , 149 RawDataBuffer (0x04) // Vendor Data 150 { 151 0x0A, 0x0B, 0x0C, 0x0D 152 }) 153 }, 154 155 ResourceTemplate () 156 { 157 PinGroupConfig (Exclusive, 0x0C /* Input Debounce */, 0xD000, 158 "\\_SB.GPO2", 0x00, "group12", ResourceConsumer, , 159 RawDataBuffer (0x04) // Vendor Data 160 { 161 0x0A, 0x0B, 0x0C, 0x0D 162 }) 163 }, 164 165 ResourceTemplate () 166 { 167 PinGroupConfig (Exclusive, 0x0D /* Input Schmitt Trigger */, 0xE000, 168 "\\_SB.GPO2", 0x00, "group13", ResourceConsumer, , 169 RawDataBuffer (0x04) // Vendor Data 170 { 171 0x0A, 0x0B, 0x0C, 0x0D 172 }) 173 }, 174 175 ResourceTemplate () 176 { 177 PinGroupConfig (Exclusive, 0x80, /* Vendor Defined */ 0xE000, 178 "\\_SB.GPO2", 0x00, "group128", ResourceConsumer, , 179 RawDataBuffer (0x04) // Vendor Data 180 { 181 0x0A, 0x0B, 0x0C, 0x0D 182 }) 183 }, 184 185 ResourceTemplate () 186 { 187 PinGroupConfig (Exclusive, 0xF0, /* Vendor Defined */ 0xF000, 188 "\\_SB.GPO2", 0x00, "group240", ResourceConsumer, , 189 RawDataBuffer (0x04) // Vendor Data 190 { 191 0x0A, 0x0B, 0x0C, 0x0D 192 }) 193 }, 194 195 ResourceTemplate () 196 { 197 PinGroupConfig (Shared, 0x00 /* Default */, 0x1000, 198 "\\_SB.GPO2", 0x00, "group0", ResourceConsumer, , 199 RawDataBuffer (0x04) // Vendor Data 200 { 201 0x0A, 0x0B, 0x0C, 0x0D 202 }) 203 }, 204 205 ResourceTemplate () 206 { 207 PinGroupConfig (Shared, 0x01 /* Bias Pull-up */, 0x2000, 208 "\\_SB.GPO2", 0x00, "group1", ResourceConsumer, , 209 RawDataBuffer (0x04) // Vendor Data 210 { 211 0x0A, 0x0B, 0x0C, 0x0D 212 }) 213 }, 214 215 ResourceTemplate () 216 { 217 PinGroupConfig (Shared, 0x02 /* Bias Pull-down */, 0x3000, 218 "\\_SB.GPO2", 0x00, "group2", ResourceConsumer, , 219 RawDataBuffer (0x04) // Vendor Data 220 { 221 0x0A, 0x0B, 0x0C, 0x0D 222 }) 223 }, 224 225 ResourceTemplate () 226 { 227 PinGroupConfig (Shared, 0x03 /* Bias Default */, 0x4000, 228 "\\_SB.GPO2", 0x00, "group3", ResourceConsumer, , 229 RawDataBuffer (0x04) // Vendor Data 230 { 231 0x0A, 0x0B, 0x0C, 0x0D 232 }) 233 }, 234 235 ResourceTemplate () 236 { 237 PinGroupConfig (Shared, 0x04 /* Bias Disable */, 0x5000, 238 "\\_SB.GPO2", 0x00, "group4", ResourceConsumer, , 239 RawDataBuffer (0x04) // Vendor Data 240 { 241 0x0A, 0x0B, 0x0C, 0x0D 242 }) 243 }, 244 245 ResourceTemplate () 246 { 247 PinGroupConfig (Shared, 0x05 /* Bias High Impedance */, 0x6000, 248 "\\_SB.GPO2", 0x00, "group5", ResourceConsumer, , 249 RawDataBuffer (0x04) // Vendor Data 250 { 251 0x0A, 0x0B, 0x0C, 0x0D 252 }) 253 }, 254 255 ResourceTemplate () 256 { 257 PinGroupConfig (Shared, 0x06 /* Bias Bus Hold */, 0x7000, 258 "\\_SB.GPO2", 0x00, "group6", ResourceConsumer, , 259 RawDataBuffer (0x04) // Vendor Data 260 { 261 0x0A, 0x0B, 0x0C, 0x0D 262 }) 263 }, 264 265 ResourceTemplate () 266 { 267 PinGroupConfig (Shared, 0x07 /* Drive Open Drain */, 0x8000, 268 "\\_SB.GPO2", 0x00, "group7", ResourceConsumer, , 269 RawDataBuffer (0x04) // Vendor Data 270 { 271 0x0A, 0x0B, 0x0C, 0x0D 272 }) 273 }, 274 275 ResourceTemplate () 276 { 277 PinGroupConfig (Shared, 0x08 /* Drive Open Source */, 0x9000, 278 "\\_SB.GPO2", 0x00, "group8", ResourceConsumer, , 279 RawDataBuffer (0x04) // Vendor Data 280 { 281 0x0A, 0x0B, 0x0C, 0x0D 282 }) 283 }, 284 285 ResourceTemplate () 286 { 287 PinGroupConfig (Shared, 0x09 /* Drive Push Pull */, 0xA000, 288 "\\_SB.GPO2", 0x00, "group9", ResourceConsumer, , 289 RawDataBuffer (0x04) // Vendor Data 290 { 291 0x0A, 0x0B, 0x0C, 0x0D 292 }) 293 }, 294 295 ResourceTemplate () 296 { 297 PinGroupConfig (Shared, 0x0A /* Drive Strength */, 0xB000, 298 "\\_SB.GPO2", 0x00, "group10", ResourceConsumer, , 299 RawDataBuffer (0x04) // Vendor Data 300 { 301 0x0A, 0x0B, 0x0C, 0x0D 302 }) 303 }, 304 305 ResourceTemplate () 306 { 307 PinGroupConfig (Shared, 0x0B /* Slew Rate */, 0xC000, 308 "\\_SB.GPO2", 0x00, "group11", ResourceConsumer, , 309 RawDataBuffer (0x04) // Vendor Data 310 { 311 0x0A, 0x0B, 0x0C, 0x0D 312 }) 313 }, 314 315 ResourceTemplate () 316 { 317 PinGroupConfig (Shared, 0x0C /* Input Debounce */, 0xD000, 318 "\\_SB.GPO2", 0x00, "group12", ResourceConsumer, , 319 RawDataBuffer (0x04) // Vendor Data 320 { 321 0x0A, 0x0B, 0x0C, 0x0D 322 }) 323 }, 324 325 ResourceTemplate () 326 { 327 PinGroupConfig (Shared, 0x0D /* Input Schmitt Trigger */, 0xE000, 328 "\\_SB.GPO2", 0x00, "group13", ResourceConsumer, , 329 RawDataBuffer (0x04) // Vendor Data 330 { 331 0x0A, 0x0B, 0x0C, 0x0D 332 }) 333 }, 334 335 ResourceTemplate () 336 { 337 PinGroupConfig (Shared, 0x80, /* Vendor Defined */ 0xE000, 338 "\\_SB.GPO2", 0x00, "group128", ResourceConsumer, , 339 RawDataBuffer (0x04) // Vendor Data 340 { 341 0x0A, 0x0B, 0x0C, 0x0D 342 }) 343 }, 344 345 ResourceTemplate () 346 { 347 PinGroupConfig (Shared, 0xF0, /* Vendor Defined */ 0xF000, 348 "\\_SB.GPO2", 0x00, "group240", ResourceConsumer, , 349 RawDataBuffer (0x04) // Vendor Data 350 { 351 0x0A, 0x0B, 0x0C, 0x0D 352 }) 353 }, 354 355 ResourceTemplate () 356 { 357 PinGroupConfig (Exclusive, 0x01 /* Bias Pull-up */, 0xF000, 358 "\\_SB.GPO2", 0x00, "group", ResourceConsumer, ,) 359 } 360 }) 361 Name (P465, Package (0x21) 362 { 363 ResourceTemplate () 364 { 365 PinGroupConfig (Exclusive, 0x00 /* Default */, 0x1000, 366 "\\_SB.GPO2", 0x00, "group0", ResourceConsumer, , 367 RawDataBuffer (0x04) // Vendor Data 368 { 369 0x0A, 0x0B, 0x0C, 0x0D 370 }) 371 }, 372 373 ResourceTemplate () 374 { 375 PinGroupConfig (Exclusive, 0x01 /* Bias Pull-up */, 0x2000, 376 "\\_SB.GPO2", 0x00, "group1", ResourceConsumer, , 377 RawDataBuffer (0x04) // Vendor Data 378 { 379 0x0A, 0x0B, 0x0C, 0x0D 380 }) 381 }, 382 383 ResourceTemplate () 384 { 385 PinGroupConfig (Exclusive, 0x02 /* Bias Pull-down */, 0x3000, 386 "\\_SB.GPO2", 0x00, "group2", ResourceConsumer, , 387 RawDataBuffer (0x04) // Vendor Data 388 { 389 0x0A, 0x0B, 0x0C, 0x0D 390 }) 391 }, 392 393 ResourceTemplate () 394 { 395 PinGroupConfig (Exclusive, 0x03 /* Bias Default */, 0x4000, 396 "\\_SB.GPO2", 0x00, "group3", ResourceConsumer, , 397 RawDataBuffer (0x04) // Vendor Data 398 { 399 0x0A, 0x0B, 0x0C, 0x0D 400 }) 401 }, 402 403 ResourceTemplate () 404 { 405 PinGroupConfig (Exclusive, 0x04 /* Bias Disable */, 0x5000, 406 "\\_SB.GPO2", 0x00, "group4", ResourceConsumer, , 407 RawDataBuffer (0x04) // Vendor Data 408 { 409 0x0A, 0x0B, 0x0C, 0x0D 410 }) 411 }, 412 413 ResourceTemplate () 414 { 415 PinGroupConfig (Exclusive, 0x05 /* Bias High Impedance */, 0x6000, 416 "\\_SB.GPO2", 0x00, "group5", ResourceConsumer, , 417 RawDataBuffer (0x04) // Vendor Data 418 { 419 0x0A, 0x0B, 0x0C, 0x0D 420 }) 421 }, 422 423 ResourceTemplate () 424 { 425 PinGroupConfig (Exclusive, 0x06 /* Bias Bus Hold */, 0x7000, 426 "\\_SB.GPO2", 0x00, "group6", ResourceConsumer, , 427 RawDataBuffer (0x04) // Vendor Data 428 { 429 0x0A, 0x0B, 0x0C, 0x0D 430 }) 431 }, 432 433 ResourceTemplate () 434 { 435 PinGroupConfig (Exclusive, 0x07 /* Drive Open Drain */, 0x8000, 436 "\\_SB.GPO2", 0x00, "group7", ResourceConsumer, , 437 RawDataBuffer (0x04) // Vendor Data 438 { 439 0x0A, 0x0B, 0x0C, 0x0D 440 }) 441 }, 442 443 ResourceTemplate () 444 { 445 PinGroupConfig (Exclusive, 0x08 /* Drive Open Source */, 0x9000, 446 "\\_SB.GPO2", 0x00, "group8", ResourceConsumer, , 447 RawDataBuffer (0x04) // Vendor Data 448 { 449 0x0A, 0x0B, 0x0C, 0x0D 450 }) 451 }, 452 453 ResourceTemplate () 454 { 455 PinGroupConfig (Exclusive, 0x09 /* Drive Push Pull */, 0xA000, 456 "\\_SB.GPO2", 0x00, "group9", ResourceConsumer, , 457 RawDataBuffer (0x04) // Vendor Data 458 { 459 0x0A, 0x0B, 0x0C, 0x0D 460 }) 461 }, 462 463 ResourceTemplate () 464 { 465 PinGroupConfig (Exclusive, 0x0A /* Drive Strength */, 0xB000, 466 "\\_SB.GPO2", 0x00, "group10", ResourceConsumer, , 467 RawDataBuffer (0x04) // Vendor Data 468 { 469 0x0A, 0x0B, 0x0C, 0x0D 470 }) 471 }, 472 473 ResourceTemplate () 474 { 475 PinGroupConfig (Exclusive, 0x0B /* Slew Rate */, 0xC000, 476 "\\_SB.GPO2", 0x00, "group11", ResourceConsumer, , 477 RawDataBuffer (0x04) // Vendor Data 478 { 479 0x0A, 0x0B, 0x0C, 0x0D 480 }) 481 }, 482 483 ResourceTemplate () 484 { 485 PinGroupConfig (Exclusive, 0x0C /* Input Debounce */, 0xD000, 486 "\\_SB.GPO2", 0x00, "group12", ResourceConsumer, , 487 RawDataBuffer (0x04) // Vendor Data 488 { 489 0x0A, 0x0B, 0x0C, 0x0D 490 }) 491 }, 492 493 ResourceTemplate () 494 { 495 PinGroupConfig (Exclusive, 0x0D /* Input Schmitt Trigger */, 0xE000, 496 "\\_SB.GPO2", 0x00, "group13", ResourceConsumer, , 497 RawDataBuffer (0x04) // Vendor Data 498 { 499 0x0A, 0x0B, 0x0C, 0x0D 500 }) 501 }, 502 503 ResourceTemplate () 504 { 505 PinGroupConfig (Exclusive, 0x80, /* Vendor Defined */ 0xE000, 506 "\\_SB.GPO2", 0x00, "group128", ResourceConsumer, , 507 RawDataBuffer (0x04) // Vendor Data 508 { 509 0x0A, 0x0B, 0x0C, 0x0D 510 }) 511 }, 512 513 ResourceTemplate () 514 { 515 PinGroupConfig (Exclusive, 0xF0, /* Vendor Defined */ 0xF000, 516 "\\_SB.GPO2", 0x00, "group240", ResourceConsumer, , 517 RawDataBuffer (0x04) // Vendor Data 518 { 519 0x0A, 0x0B, 0x0C, 0x0D 520 }) 521 }, 522 523 ResourceTemplate () 524 { 525 PinGroupConfig (Shared, 0x00 /* Default */, 0x1000, 526 "\\_SB.GPO2", 0x00, "group0", ResourceConsumer, , 527 RawDataBuffer (0x04) // Vendor Data 528 { 529 0x0A, 0x0B, 0x0C, 0x0D 530 }) 531 }, 532 533 ResourceTemplate () 534 { 535 PinGroupConfig (Shared, 0x01 /* Bias Pull-up */, 0x2000, 536 "\\_SB.GPO2", 0x00, "group1", ResourceConsumer, , 537 RawDataBuffer (0x04) // Vendor Data 538 { 539 0x0A, 0x0B, 0x0C, 0x0D 540 }) 541 }, 542 543 ResourceTemplate () 544 { 545 PinGroupConfig (Shared, 0x02 /* Bias Pull-down */, 0x3000, 546 "\\_SB.GPO2", 0x00, "group2", ResourceConsumer, , 547 RawDataBuffer (0x04) // Vendor Data 548 { 549 0x0A, 0x0B, 0x0C, 0x0D 550 }) 551 }, 552 553 ResourceTemplate () 554 { 555 PinGroupConfig (Shared, 0x03 /* Bias Default */, 0x4000, 556 "\\_SB.GPO2", 0x00, "group3", ResourceConsumer, , 557 RawDataBuffer (0x04) // Vendor Data 558 { 559 0x0A, 0x0B, 0x0C, 0x0D 560 }) 561 }, 562 563 ResourceTemplate () 564 { 565 PinGroupConfig (Shared, 0x04 /* Bias Disable */, 0x5000, 566 "\\_SB.GPO2", 0x00, "group4", ResourceConsumer, , 567 RawDataBuffer (0x04) // Vendor Data 568 { 569 0x0A, 0x0B, 0x0C, 0x0D 570 }) 571 }, 572 573 ResourceTemplate () 574 { 575 PinGroupConfig (Shared, 0x05 /* Bias High Impedance */, 0x6000, 576 "\\_SB.GPO2", 0x00, "group5", ResourceConsumer, , 577 RawDataBuffer (0x04) // Vendor Data 578 { 579 0x0A, 0x0B, 0x0C, 0x0D 580 }) 581 }, 582 583 ResourceTemplate () 584 { 585 PinGroupConfig (Shared, 0x06 /* Bias Bus Hold */, 0x7000, 586 "\\_SB.GPO2", 0x00, "group6", ResourceConsumer, , 587 RawDataBuffer (0x04) // Vendor Data 588 { 589 0x0A, 0x0B, 0x0C, 0x0D 590 }) 591 }, 592 593 ResourceTemplate () 594 { 595 PinGroupConfig (Shared, 0x07 /* Drive Open Drain */, 0x8000, 596 "\\_SB.GPO2", 0x00, "group7", ResourceConsumer, , 597 RawDataBuffer (0x04) // Vendor Data 598 { 599 0x0A, 0x0B, 0x0C, 0x0D 600 }) 601 }, 602 603 ResourceTemplate () 604 { 605 PinGroupConfig (Shared, 0x08 /* Drive Open Source */, 0x9000, 606 "\\_SB.GPO2", 0x00, "group8", ResourceConsumer, , 607 RawDataBuffer (0x04) // Vendor Data 608 { 609 0x0A, 0x0B, 0x0C, 0x0D 610 }) 611 }, 612 613 ResourceTemplate () 614 { 615 PinGroupConfig (Shared, 0x09 /* Drive Push Pull */, 0xA000, 616 "\\_SB.GPO2", 0x00, "group9", ResourceConsumer, , 617 RawDataBuffer (0x04) // Vendor Data 618 { 619 0x0A, 0x0B, 0x0C, 0x0D 620 }) 621 }, 622 623 ResourceTemplate () 624 { 625 PinGroupConfig (Shared, 0x0A /* Drive Strength */, 0xB000, 626 "\\_SB.GPO2", 0x00, "group10", ResourceConsumer, , 627 RawDataBuffer (0x04) // Vendor Data 628 { 629 0x0A, 0x0B, 0x0C, 0x0D 630 }) 631 }, 632 633 ResourceTemplate () 634 { 635 PinGroupConfig (Shared, 0x0B /* Slew Rate */, 0xC000, 636 "\\_SB.GPO2", 0x00, "group11", ResourceConsumer, , 637 RawDataBuffer (0x04) // Vendor Data 638 { 639 0x0A, 0x0B, 0x0C, 0x0D 640 }) 641 }, 642 643 ResourceTemplate () 644 { 645 PinGroupConfig (Shared, 0x0C /* Input Debounce */, 0xD000, 646 "\\_SB.GPO2", 0x00, "group12", ResourceConsumer, , 647 RawDataBuffer (0x04) // Vendor Data 648 { 649 0x0A, 0x0B, 0x0C, 0x0D 650 }) 651 }, 652 653 ResourceTemplate () 654 { 655 PinGroupConfig (Shared, 0x0D /* Input Schmitt Trigger */, 0xE000, 656 "\\_SB.GPO2", 0x00, "group13", ResourceConsumer, , 657 RawDataBuffer (0x04) // Vendor Data 658 { 659 0x0A, 0x0B, 0x0C, 0x0D 660 }) 661 }, 662 663 ResourceTemplate () 664 { 665 PinGroupConfig (Shared, 0x80, /* Vendor Defined */ 0xE000, 666 "\\_SB.GPO2", 0x00, "group128", ResourceConsumer, , 667 RawDataBuffer (0x04) // Vendor Data 668 { 669 0x0A, 0x0B, 0x0C, 0x0D 670 }) 671 }, 672 673 ResourceTemplate () 674 { 675 PinGroupConfig (Shared, 0xF0, /* Vendor Defined */ 0xF000, 676 "\\_SB.GPO2", 0x00, "group240", ResourceConsumer, , 677 RawDataBuffer (0x04) // Vendor Data 678 { 679 0x0A, 0x0B, 0x0C, 0x0D 680 }) 681 }, 682 683 ResourceTemplate () 684 { 685 PinGroupConfig (Exclusive, 0x01 /* Bias Pull-up */, 0xF000, 686 "\\_SB.GPO2", 0x00, "group", ResourceConsumer, ,) 687 } 688 }) 689 Method (RT30, 0, Serialized) 690 { 691 /* Emit test header, set the filename */ 692 693 THDR (__METHOD__, "PinGroupConfig Resource Descriptor Macro", "pingroupconfig.asl") 694 /* The main test packages must have the same number of entries */ 695 696 If ((SizeOf (P464) != SizeOf (P465))) 697 { 698 ERR (__METHOD__, 0xB3, __LINE__, 0x00, 0x00, 0x00, "Incorrect package length") 699 Return (Zero) 700 } 701 702 /* Main test case for packages above */ 703 704 M330 (__METHOD__, SizeOf (P464), "P464", P464, P465) 705 /* Check resource descriptor tag offsets */ 706 707Local0 = ResourceTemplate () 708 { 709 PinGroupConfig (Shared, 0x01 /* Bias Pull-up */, 0x2000, 710 "\\_SB.GPO2", 0x00, "group0", ResourceConsumer, , 711 RawDataBuffer (0x04) // Vendor Data 712 { 713 0x0A, 0x0B, 0x0C, 0x0D 714 }) 715 PinGroupConfig (Shared, 0x01 /* Bias Pull-up */, 0x2000, 716 "\\_SB.GPO2", 0x00, "group1", ResourceConsumer, , 717 RawDataBuffer (0x04) // Vendor Data 718 { 719 0x0A, 0x0B, 0x0C, 0x0D 720 }) 721 } 722 M331 (__METHOD__, 0x01, 0x20, 0x20, 0x0168, 0x0168, "_SHR") 723 M331 (__METHOD__, 0x01, 0x30, 0x30, 0x0178, 0x0178, "_TYP") 724 M331 (__METHOD__, 0x01, 0x38, 0x38, 0x0180, 0x0180, "_VAL") 725 M331 (__METHOD__, 0x01, 0x0128, 0x0128, 0x0270, 0x0270, "_VEN") 726 } 727