Guest User

Dell E6330: DSDT Override for eGPU

a guest
Jan 19th, 2015
282
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2. * Intel ACPI Component Architecture
  3. * AML/ASL+ Disassembler version 20141107-32 [Nov 7 2014]
  4. * Copyright (c) 2000 - 2014 Intel Corporation
  5. *
  6. * Disassembling to symbolic ASL+ operators
  7. *
  8. * Disassembly of dsdt.dat, Wed Dec 17 23:58:51 2014
  9. *
  10. * Original Table Header:
  11. * Signature "DSDT"
  12. * Length 0x0000A562 (42338)
  13. * Revision 0x02
  14. * Checksum 0xE5
  15. * OEM ID "DELL "
  16. * OEM Table ID "CBX3 "
  17. * OEM Revision 0x00000021 (33)
  18. * Compiler ID "INTL"
  19. * Compiler Version 0x20091112 (537465106)
  20. */
  21. DefinitionBlock ("dsdt-e6330.aml", "DSDT", 2, "DELL ", "CBX3 ", 0x00000021)
  22. {
  23. /*
  24. * iASL Warning: There were 1 external control methods found during
  25. * disassembly, but additional ACPI tables to resolve these externals
  26. * were not specified. This resulting disassembler output file may not
  27. * compile because the disassembler did not know how many arguments
  28. * to assign to these methods. To specify the tables needed to resolve
  29. * external control method references, the -e option can be used to
  30. * specify the filenames. Example iASL invocations:
  31. * iasl -e ssdt1.aml ssdt2.aml ssdt3.aml -d dsdt.aml
  32. * iasl -e dsdt.aml ssdt2.aml -d ssdt1.aml
  33. * iasl -e ssdt*.aml -d dsdt.aml
  34. *
  35. * In addition, the -fe option can be used to specify a file containing
  36. * control method external declarations with the associated method
  37. * argument counts. Each line of the file must be of the form:
  38. * External (<method pathname>, MethodObj, <argument count>)
  39. * Invocation:
  40. * iasl -fe refs.txt -d dsdt.aml
  41. *
  42. * The following methods were unresolved and many not compile properly
  43. * because the disassembler had to guess at the number of arguments
  44. * required for each:
  45. */
  46. External (HNOT, MethodObj) // Warning: Unresolved method, guessing 1 arguments
  47.  
  48. External (_PR_.CPU0._PPC, UnknownObj)
  49. External (_SB_.PCI0.PEG0.VID_.MLTF, UnknownObj)
  50. External (CFGD, UnknownObj)
  51. External (LCD_, UnknownObj)
  52. External (NHDA, UnknownObj)
  53. External (PDC0, UnknownObj)
  54. External (PDC1, UnknownObj)
  55. External (PDC2, UnknownObj)
  56. External (PDC3, UnknownObj)
  57. External (PDC4, UnknownObj)
  58. External (PDC5, UnknownObj)
  59. External (PDC6, UnknownObj)
  60. External (PDC7, UnknownObj)
  61.  
  62. Name (SMBS, 0x0580)
  63. Name (SMBL, 0x20)
  64. Name (PMBS, 0x0400)
  65. Name (PMLN, 0x80)
  66. Name (GPBS, 0x0500)
  67. Name (GPLN, 0x80)
  68. Name (SMIP, 0xB2)
  69. Name (APCB, 0xFEC00000)
  70. Name (APCL, 0x1000)
  71. Name (SMCR, 0x0430)
  72. Name (HPTB, 0xFED00000)
  73. Name (HPTC, 0xFED1F404)
  74. Name (FLSZ, 0x00600000)
  75. Name (SRCB, 0xFED1C000)
  76. Name (RCLN, 0x4000)
  77. Name (TCBR, 0xFED08000)
  78. Name (TCLT, 0x1000)
  79. Name (PEBS, 0xF8000000)
  80. Name (PELN, 0x04000000)
  81. Name (LAPB, 0xFEE00000)
  82. Name (EGPB, 0xFED19000)
  83. Name (MCHB, 0xFED10000)
  84. Name (VTBS, 0xFED90000)
  85. Name (VTLN, 0x4000)
  86. Name (ACPH, 0xDE)
  87. Name (ASSB, Zero)
  88. Name (AOTB, Zero)
  89. Name (AAXB, Zero)
  90. Name (PEHP, One)
  91. Name (SHPC, One)
  92. Name (PEPM, One)
  93. Name (PEER, One)
  94. Name (PECS, One)
  95. Name (ITKE, Zero)
  96. Name (DPPB, 0xFED98000)
  97. Name (DPPL, 0x8000)
  98. Name (FMBL, One)
  99. Name (FDTP, 0x02)
  100. Name (FUPS, 0x03)
  101. Name (FUWS, 0x04)
  102. Name (BSH, Zero)
  103. Name (BEL, One)
  104. Name (BEH, 0x02)
  105. Name (BRH, 0x03)
  106. Name (BTF, 0x04)
  107. Name (BHC, 0x05)
  108. Name (BYB, 0x06)
  109. Name (BPH, 0x07)
  110. Name (BSHS, 0x08)
  111. Name (BELC, 0x09)
  112. Name (BRHP, 0x0A)
  113. Name (BTFC, 0x0B)
  114. Name (BEHP, 0x0C)
  115. Name (BPHS, 0x0D)
  116. Name (BELP, 0x0E)
  117. Name (BTL, 0x10)
  118. Name (BTFP, 0x11)
  119. Name (BSR, 0x14)
  120. Name (BOF, 0x20)
  121. Name (BEF, 0x21)
  122. Name (BLLE, 0x22)
  123. Name (BLLC, 0x23)
  124. Name (BLCA, 0x24)
  125. Name (BLLS, 0x25)
  126. Name (BLLP, 0x26)
  127. Name (BLLD, 0x27)
  128. Name (BHBE, 0x30)
  129. Name (BHBC, 0x31)
  130. Name (BHBN, 0x32)
  131. Name (BHBM, 0x33)
  132. Name (TRTP, One)
  133. Name (WDTE, One)
  134. Name (TRTD, 0x02)
  135. Name (TRTI, 0x03)
  136. Name (GCDD, One)
  137. Name (DSTA, 0x0A)
  138. Name (DSLO, 0x0C)
  139. Name (DSLC, 0x0E)
  140. Name (PITS, 0x10)
  141. Name (SBCS, 0x12)
  142. Name (SALS, 0x13)
  143. Name (LSSS, 0x2A)
  144. Name (SOOT, 0x35)
  145. Name (PDBR, 0x4D)
  146. Name (SRSI, 0xB2)
  147. Name (CSMI, 0x61)
  148. Name (SMIT, 0xB2)
  149. Name (OFST, 0xBC)
  150. Name (TPMF, Zero)
  151. Name (TCMF, Zero)
  152. Name (TMF1, Zero)
  153. Name (TMF2, Zero)
  154. Name (TMF3, Zero)
  155. Name (TRST, 0x02)
  156. Name (MBEC, Zero)
  157. Name (SP1O, 0x094E)
  158. Name (IOPB, 0x094E)
  159. Name (IFSC, 0xB5)
  160. Name (DSSP, Zero)
  161. Name (FHPP, Zero)
  162. Name (SS1, One)
  163. Name (SS2, Zero)
  164. Name (SS3, One)
  165. Name (SS4, One)
  166. Name (IOST, 0x4400)
  167. Name (TOPM, 0x00000000)
  168. Name (ROMS, 0xFFE00000)
  169. Name (VGAF, One)
  170. OperationRegion (GNVS, SystemMemory, 0xDA7FDE18, 0x01D3)
  171. Field (GNVS, AnyAcc, Lock, Preserve)
  172. {
  173. OSYS, 16,
  174. SMIF, 8,
  175. PRM0, 8,
  176. PRM1, 8,
  177. SCIF, 8,
  178. PRM2, 8,
  179. PRM3, 8,
  180. LCKF, 8,
  181. PRM4, 8,
  182. PRM5, 8,
  183. P80D, 32,
  184. LIDS, 8,
  185. PWRS, 8,
  186. DBGS, 8,
  187. THOF, 8,
  188. ACT1, 8,
  189. ACTT, 8,
  190. PSVT, 8,
  191. TC1V, 8,
  192. TC2V, 8,
  193. TSPV, 8,
  194. CRTT, 8,
  195. DTSE, 8,
  196. DTS1, 8,
  197. DTS2, 8,
  198. DTSF, 8,
  199. Offset (0x25),
  200. REVN, 8,
  201. RES3, 8,
  202. Offset (0x28),
  203. APIC, 8,
  204. TCNT, 8,
  205. PCP0, 8,
  206. PCP1, 8,
  207. PPCM, 8,
  208. PPMF, 32,
  209. C67L, 8,
  210. NATP, 8,
  211. CMAP, 8,
  212. CMBP, 8,
  213. LPTP, 8,
  214. FDCP, 8,
  215. CMCP, 8,
  216. CIRP, 8,
  217. SMSC, 8,
  218. W381, 8,
  219. SMC1, 8,
  220. IGDS, 8,
  221. TLST, 8,
  222. CADL, 8,
  223. PADL, 8,
  224. CSTE, 16,
  225. NSTE, 16,
  226. SSTE, 16,
  227. NDID, 8,
  228. DID1, 32,
  229. DID2, 32,
  230. DID3, 32,
  231. DID4, 32,
  232. DID5, 32,
  233. KSV0, 32,
  234. KSV1, 8,
  235. Offset (0x67),
  236. BLCS, 8,
  237. BRTL, 8,
  238. ALSE, 8,
  239. ALAF, 8,
  240. LLOW, 8,
  241. LHIH, 8,
  242. Offset (0x6E),
  243. EMAE, 8,
  244. EMAP, 16,
  245. EMAL, 16,
  246. Offset (0x74),
  247. MEFE, 8,
  248. DSTS, 8,
  249. Offset (0x78),
  250. TPMP, 8,
  251. TPME, 8,
  252. MORD, 8,
  253. TCGP, 8,
  254. PPRP, 32,
  255. PPRQ, 8,
  256. LPPR, 8,
  257. GTF0, 56,
  258. GTF2, 56,
  259. IDEM, 8,
  260. GTF1, 56,
  261. BID, 8,
  262. PLID, 8,
  263. Offset (0xAA),
  264. ASLB, 32,
  265. IBTT, 8,
  266. IPAT, 8,
  267. ITVF, 8,
  268. ITVM, 8,
  269. IPSC, 8,
  270. IBLC, 8,
  271. IBIA, 8,
  272. ISSC, 8,
  273. I409, 8,
  274. I509, 8,
  275. I609, 8,
  276. I709, 8,
  277. IPCF, 8,
  278. IDMS, 8,
  279. IF1E, 8,
  280. HVCO, 8,
  281. NXD1, 32,
  282. NXD2, 32,
  283. NXD3, 32,
  284. NXD4, 32,
  285. NXD5, 32,
  286. NXD6, 32,
  287. NXD7, 32,
  288. NXD8, 32,
  289. GSMI, 8,
  290. PAVP, 8,
  291. Offset (0xE1),
  292. OSCC, 8,
  293. NEXP, 8,
  294. SBV1, 8,
  295. SBV2, 8,
  296. Offset (0xEB),
  297. DSEN, 8,
  298. ECON, 8,
  299. GPIC, 8,
  300. CTYP, 8,
  301. L01C, 8,
  302. VFN0, 8,
  303. VFN1, 8,
  304. VFN2, 8,
  305. VFN3, 8,
  306. VFN4, 8,
  307. Offset (0x100),
  308. NVGA, 32,
  309. NVHA, 32,
  310. AMDA, 32,
  311. DID6, 32,
  312. DID7, 32,
  313. DID8, 32,
  314. EBAS, 32,
  315. CPSP, 32,
  316. EECP, 32,
  317. EVCP, 32,
  318. XBAS, 32,
  319. OBS1, 32,
  320. OBS2, 32,
  321. OBS3, 32,
  322. OBS4, 32,
  323. OBS5, 32,
  324. OBS6, 32,
  325. OBS7, 32,
  326. OBS8, 32,
  327. Offset (0x157),
  328. ATMC, 8,
  329. PTMC, 8,
  330. ATRA, 8,
  331. PTRA, 8,
  332. PNHM, 32,
  333. TBAB, 32,
  334. TBAH, 32,
  335. RTIP, 8,
  336. TSOD, 8,
  337. ATPC, 8,
  338. PTPC, 8,
  339. PFLV, 8,
  340. BREV, 8,
  341. SGMD, 8,
  342. SGFL, 8,
  343. PWOK, 8,
  344. HLRS, 8,
  345. DSEL, 8,
  346. ESEL, 8,
  347. PSEL, 8,
  348. PWEN, 8,
  349. PRST, 8,
  350. MXD1, 32,
  351. MXD2, 32,
  352. MXD3, 32,
  353. MXD4, 32,
  354. MXD5, 32,
  355. MXD6, 32,
  356. MXD7, 32,
  357. MXD8, 32,
  358. GBAS, 16,
  359. SGGP, 8,
  360. PXFX, 8,
  361. PXDY, 8,
  362. PXFD, 8,
  363. Offset (0x19D),
  364. ALFP, 8,
  365. IMON, 8,
  366. PDTS, 8,
  367. PKGA, 8,
  368. PAMT, 8,
  369. AC0F, 8,
  370. AC1F, 8,
  371. DTS3, 8,
  372. DTS4, 8,
  373. Offset (0x1B2),
  374. XHCI, 8,
  375. XHPM, 8,
  376. Offset (0x1B7),
  377. XTUB, 32,
  378. XTUS, 32,
  379. XMPB, 32,
  380. Offset (0x1C4),
  381. LPMV, 8,
  382. Offset (0x1C6),
  383. DDRF, 8,
  384. MM64, 8,
  385. AOAC, 8,
  386. SLDR, 32,
  387. ECTM, 32,
  388. E4GM, 8,
  389. HFSE, 8
  390. }
  391.  
  392. OperationRegion (EXBU, SystemMemory, 0xDA7FFF18, 0x000E)
  393. Field (EXBU, AnyAcc, Lock, Preserve)
  394. {
  395. DAT0, 8,
  396. DTPM, 8,
  397. DTCM, 8,
  398. IDMN, 16,
  399. IDPC, 16,
  400. DLPN, 40,
  401. PMFG, 8,
  402. CAMD, 8
  403. }
  404.  
  405. Scope (_SB)
  406. {
  407. Name (PR00, Package (0x24)
  408. {
  409. Package (0x04)
  410. {
  411. 0x001FFFFF,
  412. Zero,
  413. LNKF,
  414. Zero
  415. },
  416.  
  417. Package (0x04)
  418. {
  419. 0x001FFFFF,
  420. One,
  421. LNKD,
  422. Zero
  423. },
  424.  
  425. Package (0x04)
  426. {
  427. 0x001FFFFF,
  428. 0x02,
  429. LNKC,
  430. Zero
  431. },
  432.  
  433. Package (0x04)
  434. {
  435. 0x001FFFFF,
  436. 0x03,
  437. LNKA,
  438. Zero
  439. },
  440.  
  441. Package (0x04)
  442. {
  443. 0x0014FFFF,
  444. Zero,
  445. LNKA,
  446. Zero
  447. },
  448.  
  449. Package (0x04)
  450. {
  451. 0x001DFFFF,
  452. One,
  453. LNKD,
  454. Zero
  455. },
  456.  
  457. Package (0x04)
  458. {
  459. 0x001DFFFF,
  460. 0x02,
  461. LNKA,
  462. Zero
  463. },
  464.  
  465. Package (0x04)
  466. {
  467. 0x001DFFFF,
  468. 0x03,
  469. LNKC,
  470. Zero
  471. },
  472.  
  473. Package (0x04)
  474. {
  475. 0x001AFFFF,
  476. Zero,
  477. LNKA,
  478. Zero
  479. },
  480.  
  481. Package (0x04)
  482. {
  483. 0x001AFFFF,
  484. One,
  485. LNKF,
  486. Zero
  487. },
  488.  
  489. Package (0x04)
  490. {
  491. 0x001AFFFF,
  492. 0x02,
  493. LNKC,
  494. Zero
  495. },
  496.  
  497. Package (0x04)
  498. {
  499. 0x001AFFFF,
  500. 0x03,
  501. LNKD,
  502. Zero
  503. },
  504.  
  505. Package (0x04)
  506. {
  507. 0x001BFFFF,
  508. Zero,
  509. LNKG,
  510. Zero
  511. },
  512.  
  513. Package (0x04)
  514. {
  515. 0x0016FFFF,
  516. Zero,
  517. LNKA,
  518. Zero
  519. },
  520.  
  521. Package (0x04)
  522. {
  523. 0x0016FFFF,
  524. One,
  525. LNKD,
  526. Zero
  527. },
  528.  
  529. Package (0x04)
  530. {
  531. 0x0016FFFF,
  532. 0x02,
  533. LNKC,
  534. Zero
  535. },
  536.  
  537. Package (0x04)
  538. {
  539. 0x0016FFFF,
  540. 0x03,
  541. LNKB,
  542. Zero
  543. },
  544.  
  545. Package (0x04)
  546. {
  547. 0x001CFFFF,
  548. Zero,
  549. LNKA,
  550. Zero
  551. },
  552.  
  553. Package (0x04)
  554. {
  555. 0x001CFFFF,
  556. One,
  557. LNKB,
  558. Zero
  559. },
  560.  
  561. Package (0x04)
  562. {
  563. 0x001CFFFF,
  564. 0x02,
  565. LNKC,
  566. Zero
  567. },
  568.  
  569. Package (0x04)
  570. {
  571. 0x001CFFFF,
  572. 0x03,
  573. LNKD,
  574. Zero
  575. },
  576.  
  577. Package (0x04)
  578. {
  579. 0x0001FFFF,
  580. Zero,
  581. LNKA,
  582. Zero
  583. },
  584.  
  585. Package (0x04)
  586. {
  587. 0x0001FFFF,
  588. One,
  589. LNKB,
  590. Zero
  591. },
  592.  
  593. Package (0x04)
  594. {
  595. 0x0001FFFF,
  596. 0x02,
  597. LNKC,
  598. Zero
  599. },
  600.  
  601. Package (0x04)
  602. {
  603. 0x0001FFFF,
  604. 0x03,
  605. LNKD,
  606. Zero
  607. },
  608.  
  609. Package (0x04)
  610. {
  611. 0x0006FFFF,
  612. Zero,
  613. LNKD,
  614. Zero
  615. },
  616.  
  617. Package (0x04)
  618. {
  619. 0x0006FFFF,
  620. One,
  621. LNKA,
  622. Zero
  623. },
  624.  
  625. Package (0x04)
  626. {
  627. 0x0006FFFF,
  628. 0x02,
  629. LNKB,
  630. Zero
  631. },
  632.  
  633. Package (0x04)
  634. {
  635. 0x0006FFFF,
  636. 0x03,
  637. LNKC,
  638. Zero
  639. },
  640.  
  641. Package (0x04)
  642. {
  643. 0x0004FFFF,
  644. Zero,
  645. LNKA,
  646. Zero
  647. },
  648.  
  649. Package (0x04)
  650. {
  651. 0x0004FFFF,
  652. One,
  653. LNKB,
  654. Zero
  655. },
  656.  
  657. Package (0x04)
  658. {
  659. 0x0004FFFF,
  660. 0x02,
  661. LNKC,
  662. Zero
  663. },
  664.  
  665. Package (0x04)
  666. {
  667. 0x0004FFFF,
  668. 0x03,
  669. LNKD,
  670. Zero
  671. },
  672.  
  673. Package (0x04)
  674. {
  675. 0x0002FFFF,
  676. Zero,
  677. LNKA,
  678. Zero
  679. },
  680.  
  681. Package (0x04)
  682. {
  683. 0x0019FFFF,
  684. Zero,
  685. LNKE,
  686. Zero
  687. },
  688.  
  689. Package (0x04)
  690. {
  691. 0x001DFFFF,
  692. Zero,
  693. LNKF,
  694. Zero
  695. }
  696. })
  697. Name (AR00, Package (0x24)
  698. {
  699. Package (0x04)
  700. {
  701. 0x001FFFFF,
  702. Zero,
  703. Zero,
  704. 0x15
  705. },
  706.  
  707. Package (0x04)
  708. {
  709. 0x001FFFFF,
  710. One,
  711. Zero,
  712. 0x13
  713. },
  714.  
  715. Package (0x04)
  716. {
  717. 0x001FFFFF,
  718. 0x02,
  719. Zero,
  720. 0x12
  721. },
  722.  
  723. Package (0x04)
  724. {
  725. 0x001FFFFF,
  726. 0x03,
  727. Zero,
  728. 0x10
  729. },
  730.  
  731. Package (0x04)
  732. {
  733. 0x0014FFFF,
  734. Zero,
  735. Zero,
  736. 0x10
  737. },
  738.  
  739. Package (0x04)
  740. {
  741. 0x001DFFFF,
  742. One,
  743. Zero,
  744. 0x13
  745. },
  746.  
  747. Package (0x04)
  748. {
  749. 0x001DFFFF,
  750. 0x02,
  751. Zero,
  752. 0x10
  753. },
  754.  
  755. Package (0x04)
  756. {
  757. 0x001DFFFF,
  758. 0x03,
  759. Zero,
  760. 0x12
  761. },
  762.  
  763. Package (0x04)
  764. {
  765. 0x001AFFFF,
  766. Zero,
  767. Zero,
  768. 0x10
  769. },
  770.  
  771. Package (0x04)
  772. {
  773. 0x001AFFFF,
  774. One,
  775. Zero,
  776. 0x15
  777. },
  778.  
  779. Package (0x04)
  780. {
  781. 0x001AFFFF,
  782. 0x02,
  783. Zero,
  784. 0x12
  785. },
  786.  
  787. Package (0x04)
  788. {
  789. 0x001AFFFF,
  790. 0x03,
  791. Zero,
  792. 0x13
  793. },
  794.  
  795. Package (0x04)
  796. {
  797. 0x001BFFFF,
  798. Zero,
  799. Zero,
  800. 0x16
  801. },
  802.  
  803. Package (0x04)
  804. {
  805. 0x0016FFFF,
  806. Zero,
  807. Zero,
  808. 0x10
  809. },
  810.  
  811. Package (0x04)
  812. {
  813. 0x0016FFFF,
  814. One,
  815. Zero,
  816. 0x13
  817. },
  818.  
  819. Package (0x04)
  820. {
  821. 0x0016FFFF,
  822. 0x02,
  823. Zero,
  824. 0x12
  825. },
  826.  
  827. Package (0x04)
  828. {
  829. 0x0016FFFF,
  830. 0x03,
  831. Zero,
  832. 0x11
  833. },
  834.  
  835. Package (0x04)
  836. {
  837. 0x001CFFFF,
  838. Zero,
  839. Zero,
  840. 0x10
  841. },
  842.  
  843. Package (0x04)
  844. {
  845. 0x001CFFFF,
  846. One,
  847. Zero,
  848. 0x11
  849. },
  850.  
  851. Package (0x04)
  852. {
  853. 0x001CFFFF,
  854. 0x02,
  855. Zero,
  856. 0x12
  857. },
  858.  
  859. Package (0x04)
  860. {
  861. 0x001CFFFF,
  862. 0x03,
  863. Zero,
  864. 0x13
  865. },
  866.  
  867. Package (0x04)
  868. {
  869. 0x0001FFFF,
  870. Zero,
  871. Zero,
  872. 0x10
  873. },
  874.  
  875. Package (0x04)
  876. {
  877. 0x0001FFFF,
  878. One,
  879. Zero,
  880. 0x11
  881. },
  882.  
  883. Package (0x04)
  884. {
  885. 0x0001FFFF,
  886. 0x02,
  887. Zero,
  888. 0x12
  889. },
  890.  
  891. Package (0x04)
  892. {
  893. 0x0001FFFF,
  894. 0x03,
  895. Zero,
  896. 0x13
  897. },
  898.  
  899. Package (0x04)
  900. {
  901. 0x0006FFFF,
  902. Zero,
  903. Zero,
  904. 0x13
  905. },
  906.  
  907. Package (0x04)
  908. {
  909. 0x0006FFFF,
  910. One,
  911. Zero,
  912. 0x10
  913. },
  914.  
  915. Package (0x04)
  916. {
  917. 0x0006FFFF,
  918. 0x02,
  919. Zero,
  920. 0x11
  921. },
  922.  
  923. Package (0x04)
  924. {
  925. 0x0006FFFF,
  926. 0x03,
  927. Zero,
  928. 0x12
  929. },
  930.  
  931. Package (0x04)
  932. {
  933. 0x0004FFFF,
  934. Zero,
  935. Zero,
  936. 0x10
  937. },
  938.  
  939. Package (0x04)
  940. {
  941. 0x0004FFFF,
  942. One,
  943. Zero,
  944. 0x11
  945. },
  946.  
  947. Package (0x04)
  948. {
  949. 0x0004FFFF,
  950. 0x02,
  951. Zero,
  952. 0x12
  953. },
  954.  
  955. Package (0x04)
  956. {
  957. 0x0004FFFF,
  958. 0x03,
  959. Zero,
  960. 0x13
  961. },
  962.  
  963. Package (0x04)
  964. {
  965. 0x0002FFFF,
  966. Zero,
  967. Zero,
  968. 0x10
  969. },
  970.  
  971. Package (0x04)
  972. {
  973. 0x0019FFFF,
  974. Zero,
  975. Zero,
  976. 0x14
  977. },
  978.  
  979. Package (0x04)
  980. {
  981. 0x001DFFFF,
  982. Zero,
  983. Zero,
  984. 0x15
  985. }
  986. })
  987. Name (PR04, Package (0x04)
  988. {
  989. Package (0x04)
  990. {
  991. 0xFFFF,
  992. Zero,
  993. LNKA,
  994. Zero
  995. },
  996.  
  997. Package (0x04)
  998. {
  999. 0xFFFF,
  1000. One,
  1001. LNKB,
  1002. Zero
  1003. },
  1004.  
  1005. Package (0x04)
  1006. {
  1007. 0xFFFF,
  1008. 0x02,
  1009. LNKC,
  1010. Zero
  1011. },
  1012.  
  1013. Package (0x04)
  1014. {
  1015. 0xFFFF,
  1016. 0x03,
  1017. LNKD,
  1018. Zero
  1019. }
  1020. })
  1021. Name (AR04, Package (0x04)
  1022. {
  1023. Package (0x04)
  1024. {
  1025. 0xFFFF,
  1026. Zero,
  1027. Zero,
  1028. 0x10
  1029. },
  1030.  
  1031. Package (0x04)
  1032. {
  1033. 0xFFFF,
  1034. One,
  1035. Zero,
  1036. 0x11
  1037. },
  1038.  
  1039. Package (0x04)
  1040. {
  1041. 0xFFFF,
  1042. 0x02,
  1043. Zero,
  1044. 0x12
  1045. },
  1046.  
  1047. Package (0x04)
  1048. {
  1049. 0xFFFF,
  1050. 0x03,
  1051. Zero,
  1052. 0x13
  1053. }
  1054. })
  1055. Name (PR05, Package (0x04)
  1056. {
  1057. Package (0x04)
  1058. {
  1059. 0xFFFF,
  1060. Zero,
  1061. LNKB,
  1062. Zero
  1063. },
  1064.  
  1065. Package (0x04)
  1066. {
  1067. 0xFFFF,
  1068. One,
  1069. LNKC,
  1070. Zero
  1071. },
  1072.  
  1073. Package (0x04)
  1074. {
  1075. 0xFFFF,
  1076. 0x02,
  1077. LNKD,
  1078. Zero
  1079. },
  1080.  
  1081. Package (0x04)
  1082. {
  1083. 0xFFFF,
  1084. 0x03,
  1085. LNKA,
  1086. Zero
  1087. }
  1088. })
  1089. Name (AR05, Package (0x04)
  1090. {
  1091. Package (0x04)
  1092. {
  1093. 0xFFFF,
  1094. Zero,
  1095. Zero,
  1096. 0x11
  1097. },
  1098.  
  1099. Package (0x04)
  1100. {
  1101. 0xFFFF,
  1102. One,
  1103. Zero,
  1104. 0x12
  1105. },
  1106.  
  1107. Package (0x04)
  1108. {
  1109. 0xFFFF,
  1110. 0x02,
  1111. Zero,
  1112. 0x13
  1113. },
  1114.  
  1115. Package (0x04)
  1116. {
  1117. 0xFFFF,
  1118. 0x03,
  1119. Zero,
  1120. 0x10
  1121. }
  1122. })
  1123. Name (PR06, Package (0x04)
  1124. {
  1125. Package (0x04)
  1126. {
  1127. 0xFFFF,
  1128. Zero,
  1129. LNKC,
  1130. Zero
  1131. },
  1132.  
  1133. Package (0x04)
  1134. {
  1135. 0xFFFF,
  1136. One,
  1137. LNKD,
  1138. Zero
  1139. },
  1140.  
  1141. Package (0x04)
  1142. {
  1143. 0xFFFF,
  1144. 0x02,
  1145. LNKA,
  1146. Zero
  1147. },
  1148.  
  1149. Package (0x04)
  1150. {
  1151. 0xFFFF,
  1152. 0x03,
  1153. LNKB,
  1154. Zero
  1155. }
  1156. })
  1157. Name (AR06, Package (0x04)
  1158. {
  1159. Package (0x04)
  1160. {
  1161. 0xFFFF,
  1162. Zero,
  1163. Zero,
  1164. 0x12
  1165. },
  1166.  
  1167. Package (0x04)
  1168. {
  1169. 0xFFFF,
  1170. One,
  1171. Zero,
  1172. 0x13
  1173. },
  1174.  
  1175. Package (0x04)
  1176. {
  1177. 0xFFFF,
  1178. 0x02,
  1179. Zero,
  1180. 0x10
  1181. },
  1182.  
  1183. Package (0x04)
  1184. {
  1185. 0xFFFF,
  1186. 0x03,
  1187. Zero,
  1188. 0x11
  1189. }
  1190. })
  1191. Name (PR07, Package (0x04)
  1192. {
  1193. Package (0x04)
  1194. {
  1195. 0xFFFF,
  1196. Zero,
  1197. LNKD,
  1198. Zero
  1199. },
  1200.  
  1201. Package (0x04)
  1202. {
  1203. 0xFFFF,
  1204. One,
  1205. LNKA,
  1206. Zero
  1207. },
  1208.  
  1209. Package (0x04)
  1210. {
  1211. 0xFFFF,
  1212. 0x02,
  1213. LNKB,
  1214. Zero
  1215. },
  1216.  
  1217. Package (0x04)
  1218. {
  1219. 0xFFFF,
  1220. 0x03,
  1221. LNKC,
  1222. Zero
  1223. }
  1224. })
  1225. Name (AR07, Package (0x04)
  1226. {
  1227. Package (0x04)
  1228. {
  1229. 0xFFFF,
  1230. Zero,
  1231. Zero,
  1232. 0x13
  1233. },
  1234.  
  1235. Package (0x04)
  1236. {
  1237. 0xFFFF,
  1238. One,
  1239. Zero,
  1240. 0x10
  1241. },
  1242.  
  1243. Package (0x04)
  1244. {
  1245. 0xFFFF,
  1246. 0x02,
  1247. Zero,
  1248. 0x11
  1249. },
  1250.  
  1251. Package (0x04)
  1252. {
  1253. 0xFFFF,
  1254. 0x03,
  1255. Zero,
  1256. 0x12
  1257. }
  1258. })
  1259. Name (PR08, Package (0x04)
  1260. {
  1261. Package (0x04)
  1262. {
  1263. 0xFFFF,
  1264. Zero,
  1265. LNKA,
  1266. Zero
  1267. },
  1268.  
  1269. Package (0x04)
  1270. {
  1271. 0xFFFF,
  1272. One,
  1273. LNKB,
  1274. Zero
  1275. },
  1276.  
  1277. Package (0x04)
  1278. {
  1279. 0xFFFF,
  1280. 0x02,
  1281. LNKC,
  1282. Zero
  1283. },
  1284.  
  1285. Package (0x04)
  1286. {
  1287. 0xFFFF,
  1288. 0x03,
  1289. LNKD,
  1290. Zero
  1291. }
  1292. })
  1293. Name (AR08, Package (0x04)
  1294. {
  1295. Package (0x04)
  1296. {
  1297. 0xFFFF,
  1298. Zero,
  1299. Zero,
  1300. 0x10
  1301. },
  1302.  
  1303. Package (0x04)
  1304. {
  1305. 0xFFFF,
  1306. One,
  1307. Zero,
  1308. 0x11
  1309. },
  1310.  
  1311. Package (0x04)
  1312. {
  1313. 0xFFFF,
  1314. 0x02,
  1315. Zero,
  1316. 0x12
  1317. },
  1318.  
  1319. Package (0x04)
  1320. {
  1321. 0xFFFF,
  1322. 0x03,
  1323. Zero,
  1324. 0x13
  1325. }
  1326. })
  1327. Name (PR09, Package (0x04)
  1328. {
  1329. Package (0x04)
  1330. {
  1331. 0xFFFF,
  1332. Zero,
  1333. LNKB,
  1334. Zero
  1335. },
  1336.  
  1337. Package (0x04)
  1338. {
  1339. 0xFFFF,
  1340. One,
  1341. LNKC,
  1342. Zero
  1343. },
  1344.  
  1345. Package (0x04)
  1346. {
  1347. 0xFFFF,
  1348. 0x02,
  1349. LNKD,
  1350. Zero
  1351. },
  1352.  
  1353. Package (0x04)
  1354. {
  1355. 0xFFFF,
  1356. 0x03,
  1357. LNKA,
  1358. Zero
  1359. }
  1360. })
  1361. Name (AR09, Package (0x04)
  1362. {
  1363. Package (0x04)
  1364. {
  1365. 0xFFFF,
  1366. Zero,
  1367. Zero,
  1368. 0x11
  1369. },
  1370.  
  1371. Package (0x04)
  1372. {
  1373. 0xFFFF,
  1374. One,
  1375. Zero,
  1376. 0x12
  1377. },
  1378.  
  1379. Package (0x04)
  1380. {
  1381. 0xFFFF,
  1382. 0x02,
  1383. Zero,
  1384. 0x13
  1385. },
  1386.  
  1387. Package (0x04)
  1388. {
  1389. 0xFFFF,
  1390. 0x03,
  1391. Zero,
  1392. 0x10
  1393. }
  1394. })
  1395. Name (PR0E, Package (0x04)
  1396. {
  1397. Package (0x04)
  1398. {
  1399. 0xFFFF,
  1400. Zero,
  1401. LNKC,
  1402. Zero
  1403. },
  1404.  
  1405. Package (0x04)
  1406. {
  1407. 0xFFFF,
  1408. One,
  1409. LNKD,
  1410. Zero
  1411. },
  1412.  
  1413. Package (0x04)
  1414. {
  1415. 0xFFFF,
  1416. 0x02,
  1417. LNKA,
  1418. Zero
  1419. },
  1420.  
  1421. Package (0x04)
  1422. {
  1423. 0xFFFF,
  1424. 0x03,
  1425. LNKB,
  1426. Zero
  1427. }
  1428. })
  1429. Name (AR0E, Package (0x04)
  1430. {
  1431. Package (0x04)
  1432. {
  1433. 0xFFFF,
  1434. Zero,
  1435. Zero,
  1436. 0x12
  1437. },
  1438.  
  1439. Package (0x04)
  1440. {
  1441. 0xFFFF,
  1442. One,
  1443. Zero,
  1444. 0x13
  1445. },
  1446.  
  1447. Package (0x04)
  1448. {
  1449. 0xFFFF,
  1450. 0x02,
  1451. Zero,
  1452. 0x10
  1453. },
  1454.  
  1455. Package (0x04)
  1456. {
  1457. 0xFFFF,
  1458. 0x03,
  1459. Zero,
  1460. 0x11
  1461. }
  1462. })
  1463. Name (PR0F, Package (0x04)
  1464. {
  1465. Package (0x04)
  1466. {
  1467. 0xFFFF,
  1468. Zero,
  1469. LNKD,
  1470. Zero
  1471. },
  1472.  
  1473. Package (0x04)
  1474. {
  1475. 0xFFFF,
  1476. One,
  1477. LNKA,
  1478. Zero
  1479. },
  1480.  
  1481. Package (0x04)
  1482. {
  1483. 0xFFFF,
  1484. 0x02,
  1485. LNKB,
  1486. Zero
  1487. },
  1488.  
  1489. Package (0x04)
  1490. {
  1491. 0xFFFF,
  1492. 0x03,
  1493. LNKC,
  1494. Zero
  1495. }
  1496. })
  1497. Name (AR0F, Package (0x04)
  1498. {
  1499. Package (0x04)
  1500. {
  1501. 0xFFFF,
  1502. Zero,
  1503. Zero,
  1504. 0x13
  1505. },
  1506.  
  1507. Package (0x04)
  1508. {
  1509. 0xFFFF,
  1510. One,
  1511. Zero,
  1512. 0x10
  1513. },
  1514.  
  1515. Package (0x04)
  1516. {
  1517. 0xFFFF,
  1518. 0x02,
  1519. Zero,
  1520. 0x11
  1521. },
  1522.  
  1523. Package (0x04)
  1524. {
  1525. 0xFFFF,
  1526. 0x03,
  1527. Zero,
  1528. 0x12
  1529. }
  1530. })
  1531. Name (PR01, Package (0x10)
  1532. {
  1533. Package (0x04)
  1534. {
  1535. 0xFFFF,
  1536. Zero,
  1537. LNKF,
  1538. Zero
  1539. },
  1540.  
  1541. Package (0x04)
  1542. {
  1543. 0xFFFF,
  1544. One,
  1545. LNKG,
  1546. Zero
  1547. },
  1548.  
  1549. Package (0x04)
  1550. {
  1551. 0xFFFF,
  1552. 0x02,
  1553. LNKH,
  1554. Zero
  1555. },
  1556.  
  1557. Package (0x04)
  1558. {
  1559. 0xFFFF,
  1560. 0x03,
  1561. LNKE,
  1562. Zero
  1563. },
  1564.  
  1565. Package (0x04)
  1566. {
  1567. 0x0001FFFF,
  1568. Zero,
  1569. LNKG,
  1570. Zero
  1571. },
  1572.  
  1573. Package (0x04)
  1574. {
  1575. 0x0001FFFF,
  1576. One,
  1577. LNKF,
  1578. Zero
  1579. },
  1580.  
  1581. Package (0x04)
  1582. {
  1583. 0x0001FFFF,
  1584. 0x02,
  1585. LNKE,
  1586. Zero
  1587. },
  1588.  
  1589. Package (0x04)
  1590. {
  1591. 0x0001FFFF,
  1592. 0x03,
  1593. LNKH,
  1594. Zero
  1595. },
  1596.  
  1597. Package (0x04)
  1598. {
  1599. 0x0002FFFF,
  1600. Zero,
  1601. LNKC,
  1602. Zero
  1603. },
  1604.  
  1605. Package (0x04)
  1606. {
  1607. 0x0002FFFF,
  1608. One,
  1609. LNKD,
  1610. Zero
  1611. },
  1612.  
  1613. Package (0x04)
  1614. {
  1615. 0x0002FFFF,
  1616. 0x02,
  1617. LNKB,
  1618. Zero
  1619. },
  1620.  
  1621. Package (0x04)
  1622. {
  1623. 0x0002FFFF,
  1624. 0x03,
  1625. LNKA,
  1626. Zero
  1627. },
  1628.  
  1629. Package (0x04)
  1630. {
  1631. 0x0003FFFF,
  1632. Zero,
  1633. LNKD,
  1634. Zero
  1635. },
  1636.  
  1637. Package (0x04)
  1638. {
  1639. 0x0003FFFF,
  1640. One,
  1641. LNKC,
  1642. Zero
  1643. },
  1644.  
  1645. Package (0x04)
  1646. {
  1647. 0x0003FFFF,
  1648. 0x02,
  1649. LNKF,
  1650. Zero
  1651. },
  1652.  
  1653. Package (0x04)
  1654. {
  1655. 0x0003FFFF,
  1656. 0x03,
  1657. LNKG,
  1658. Zero
  1659. }
  1660. })
  1661. Name (AR01, Package (0x10)
  1662. {
  1663. Package (0x04)
  1664. {
  1665. 0xFFFF,
  1666. Zero,
  1667. Zero,
  1668. 0x15
  1669. },
  1670.  
  1671. Package (0x04)
  1672. {
  1673. 0xFFFF,
  1674. One,
  1675. Zero,
  1676. 0x16
  1677. },
  1678.  
  1679. Package (0x04)
  1680. {
  1681. 0xFFFF,
  1682. 0x02,
  1683. Zero,
  1684. 0x17
  1685. },
  1686.  
  1687. Package (0x04)
  1688. {
  1689. 0xFFFF,
  1690. 0x03,
  1691. Zero,
  1692. 0x14
  1693. },
  1694.  
  1695. Package (0x04)
  1696. {
  1697. 0x0001FFFF,
  1698. Zero,
  1699. Zero,
  1700. 0x16
  1701. },
  1702.  
  1703. Package (0x04)
  1704. {
  1705. 0x0001FFFF,
  1706. One,
  1707. Zero,
  1708. 0x15
  1709. },
  1710.  
  1711. Package (0x04)
  1712. {
  1713. 0x0001FFFF,
  1714. 0x02,
  1715. Zero,
  1716. 0x14
  1717. },
  1718.  
  1719. Package (0x04)
  1720. {
  1721. 0x0001FFFF,
  1722. 0x03,
  1723. Zero,
  1724. 0x17
  1725. },
  1726.  
  1727. Package (0x04)
  1728. {
  1729. 0x0002FFFF,
  1730. Zero,
  1731. Zero,
  1732. 0x12
  1733. },
  1734.  
  1735. Package (0x04)
  1736. {
  1737. 0x0002FFFF,
  1738. One,
  1739. Zero,
  1740. 0x13
  1741. },
  1742.  
  1743. Package (0x04)
  1744. {
  1745. 0x0002FFFF,
  1746. 0x02,
  1747. Zero,
  1748. 0x11
  1749. },
  1750.  
  1751. Package (0x04)
  1752. {
  1753. 0x0002FFFF,
  1754. 0x03,
  1755. Zero,
  1756. 0x10
  1757. },
  1758.  
  1759. Package (0x04)
  1760. {
  1761. 0x0003FFFF,
  1762. Zero,
  1763. Zero,
  1764. 0x13
  1765. },
  1766.  
  1767. Package (0x04)
  1768. {
  1769. 0x0003FFFF,
  1770. One,
  1771. Zero,
  1772. 0x12
  1773. },
  1774.  
  1775. Package (0x04)
  1776. {
  1777. 0x0003FFFF,
  1778. 0x02,
  1779. Zero,
  1780. 0x15
  1781. },
  1782.  
  1783. Package (0x04)
  1784. {
  1785. 0x0003FFFF,
  1786. 0x03,
  1787. Zero,
  1788. 0x16
  1789. }
  1790. })
  1791. Name (PR02, Package (0x04)
  1792. {
  1793. Package (0x04)
  1794. {
  1795. 0xFFFF,
  1796. Zero,
  1797. LNKA,
  1798. Zero
  1799. },
  1800.  
  1801. Package (0x04)
  1802. {
  1803. 0xFFFF,
  1804. One,
  1805. LNKB,
  1806. Zero
  1807. },
  1808.  
  1809. Package (0x04)
  1810. {
  1811. 0xFFFF,
  1812. 0x02,
  1813. LNKC,
  1814. Zero
  1815. },
  1816.  
  1817. Package (0x04)
  1818. {
  1819. 0xFFFF,
  1820. 0x03,
  1821. LNKD,
  1822. Zero
  1823. }
  1824. })
  1825. Name (AR02, Package (0x04)
  1826. {
  1827. Package (0x04)
  1828. {
  1829. 0xFFFF,
  1830. Zero,
  1831. Zero,
  1832. 0x10
  1833. },
  1834.  
  1835. Package (0x04)
  1836. {
  1837. 0xFFFF,
  1838. One,
  1839. Zero,
  1840. 0x11
  1841. },
  1842.  
  1843. Package (0x04)
  1844. {
  1845. 0xFFFF,
  1846. 0x02,
  1847. Zero,
  1848. 0x12
  1849. },
  1850.  
  1851. Package (0x04)
  1852. {
  1853. 0xFFFF,
  1854. 0x03,
  1855. Zero,
  1856. 0x13
  1857. }
  1858. })
  1859. Name (PR0A, Package (0x04)
  1860. {
  1861. Package (0x04)
  1862. {
  1863. 0xFFFF,
  1864. Zero,
  1865. LNKB,
  1866. Zero
  1867. },
  1868.  
  1869. Package (0x04)
  1870. {
  1871. 0xFFFF,
  1872. One,
  1873. LNKC,
  1874. Zero
  1875. },
  1876.  
  1877. Package (0x04)
  1878. {
  1879. 0xFFFF,
  1880. 0x02,
  1881. LNKD,
  1882. Zero
  1883. },
  1884.  
  1885. Package (0x04)
  1886. {
  1887. 0xFFFF,
  1888. 0x03,
  1889. LNKA,
  1890. Zero
  1891. }
  1892. })
  1893. Name (AR0A, Package (0x04)
  1894. {
  1895. Package (0x04)
  1896. {
  1897. 0xFFFF,
  1898. Zero,
  1899. Zero,
  1900. 0x11
  1901. },
  1902.  
  1903. Package (0x04)
  1904. {
  1905. 0xFFFF,
  1906. One,
  1907. Zero,
  1908. 0x12
  1909. },
  1910.  
  1911. Package (0x04)
  1912. {
  1913. 0xFFFF,
  1914. 0x02,
  1915. Zero,
  1916. 0x13
  1917. },
  1918.  
  1919. Package (0x04)
  1920. {
  1921. 0xFFFF,
  1922. 0x03,
  1923. Zero,
  1924. 0x10
  1925. }
  1926. })
  1927. Name (PR0B, Package (0x04)
  1928. {
  1929. Package (0x04)
  1930. {
  1931. 0xFFFF,
  1932. Zero,
  1933. LNKC,
  1934. Zero
  1935. },
  1936.  
  1937. Package (0x04)
  1938. {
  1939. 0xFFFF,
  1940. One,
  1941. LNKD,
  1942. Zero
  1943. },
  1944.  
  1945. Package (0x04)
  1946. {
  1947. 0xFFFF,
  1948. 0x02,
  1949. LNKA,
  1950. Zero
  1951. },
  1952.  
  1953. Package (0x04)
  1954. {
  1955. 0xFFFF,
  1956. 0x03,
  1957. LNKB,
  1958. Zero
  1959. }
  1960. })
  1961. Name (AR0B, Package (0x04)
  1962. {
  1963. Package (0x04)
  1964. {
  1965. 0xFFFF,
  1966. Zero,
  1967. Zero,
  1968. 0x12
  1969. },
  1970.  
  1971. Package (0x04)
  1972. {
  1973. 0xFFFF,
  1974. One,
  1975. Zero,
  1976. 0x13
  1977. },
  1978.  
  1979. Package (0x04)
  1980. {
  1981. 0xFFFF,
  1982. 0x02,
  1983. Zero,
  1984. 0x10
  1985. },
  1986.  
  1987. Package (0x04)
  1988. {
  1989. 0xFFFF,
  1990. 0x03,
  1991. Zero,
  1992. 0x11
  1993. }
  1994. })
  1995. Name (PR0C, Package (0x04)
  1996. {
  1997. Package (0x04)
  1998. {
  1999. 0xFFFF,
  2000. Zero,
  2001. LNKD,
  2002. Zero
  2003. },
  2004.  
  2005. Package (0x04)
  2006. {
  2007. 0xFFFF,
  2008. One,
  2009. LNKA,
  2010. Zero
  2011. },
  2012.  
  2013. Package (0x04)
  2014. {
  2015. 0xFFFF,
  2016. 0x02,
  2017. LNKB,
  2018. Zero
  2019. },
  2020.  
  2021. Package (0x04)
  2022. {
  2023. 0xFFFF,
  2024. 0x03,
  2025. LNKC,
  2026. Zero
  2027. }
  2028. })
  2029. Name (AR0C, Package (0x04)
  2030. {
  2031. Package (0x04)
  2032. {
  2033. 0xFFFF,
  2034. Zero,
  2035. Zero,
  2036. 0x13
  2037. },
  2038.  
  2039. Package (0x04)
  2040. {
  2041. 0xFFFF,
  2042. One,
  2043. Zero,
  2044. 0x10
  2045. },
  2046.  
  2047. Package (0x04)
  2048. {
  2049. 0xFFFF,
  2050. 0x02,
  2051. Zero,
  2052. 0x11
  2053. },
  2054.  
  2055. Package (0x04)
  2056. {
  2057. 0xFFFF,
  2058. 0x03,
  2059. Zero,
  2060. 0x12
  2061. }
  2062. })
  2063. Name (PRSA, ResourceTemplate ()
  2064. {
  2065. IRQ (Level, ActiveLow, Shared, )
  2066. {3,4,5,6,10,11,12,14,15}
  2067. })
  2068. Alias (PRSA, PRSB)
  2069. Alias (PRSA, PRSC)
  2070. Alias (PRSA, PRSD)
  2071. Alias (PRSA, PRSE)
  2072. Alias (PRSA, PRSF)
  2073. Alias (PRSA, PRSG)
  2074. Alias (PRSA, PRSH)
  2075. Device (PCI0)
  2076. {
  2077. Name (_HID, EisaId ("PNP0A08") /* PCI Express Bus */) // _HID: Hardware ID
  2078. Name (_CID, EisaId ("PNP0A03") /* PCI Bus */) // _CID: Compatible ID
  2079. Name (_ADR, Zero) // _ADR: Address
  2080. Method (^BN00, 0, NotSerialized)
  2081. {
  2082. Return (Zero)
  2083. }
  2084.  
  2085. Method (_BBN, 0, NotSerialized) // _BBN: BIOS Bus Number
  2086. {
  2087. Return (BN00 ())
  2088. }
  2089.  
  2090. Name (_UID, Zero) // _UID: Unique ID
  2091. Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
  2092. {
  2093. If (PICM)
  2094. {
  2095. Return (AR00 ())
  2096. }
  2097.  
  2098. Return (PR00 ())
  2099. }
  2100.  
  2101. OperationRegion (HBUS, PCI_Config, Zero, 0x0100)
  2102. Field (HBUS, DWordAcc, NoLock, Preserve)
  2103. {
  2104. Offset (0x40),
  2105. EPEN, 1,
  2106. , 11,
  2107. EPBR, 20,
  2108. Offset (0x48),
  2109. MHEN, 1,
  2110. , 14,
  2111. MHBR, 17,
  2112. Offset (0x50),
  2113. GCLK, 1,
  2114. Offset (0x54),
  2115. D0EN, 1,
  2116. Offset (0x60),
  2117. PXEN, 1,
  2118. PXSZ, 2,
  2119. , 23,
  2120. PXBR, 6,
  2121. Offset (0x68),
  2122. DIEN, 1,
  2123. , 11,
  2124. DIBR, 20,
  2125. Offset (0x70),
  2126. , 20,
  2127. MEBR, 12,
  2128. Offset (0x80),
  2129. , 4,
  2130. PM0H, 2,
  2131. Offset (0x81),
  2132. PM1L, 2,
  2133. , 2,
  2134. PM1H, 2,
  2135. Offset (0x82),
  2136. PM2L, 2,
  2137. , 2,
  2138. PM2H, 2,
  2139. Offset (0x83),
  2140. PM3L, 2,
  2141. , 2,
  2142. PM3H, 2,
  2143. Offset (0x84),
  2144. PM4L, 2,
  2145. , 2,
  2146. PM4H, 2,
  2147. Offset (0x85),
  2148. PM5L, 2,
  2149. , 2,
  2150. PM5H, 2,
  2151. Offset (0x86),
  2152. PM6L, 2,
  2153. , 2,
  2154. PM6H, 2,
  2155. Offset (0x87),
  2156. Offset (0xA8),
  2157. , 20,
  2158. TUUD, 19,
  2159. Offset (0xBC),
  2160. , 20,
  2161. TLUD, 12,
  2162. Offset (0xC8),
  2163. , 7,
  2164. HTSE, 1
  2165. }
  2166.  
  2167. OperationRegion (MCHT, SystemMemory, 0xFED10000, 0x1100)
  2168. Field (MCHT, ByteAcc, NoLock, Preserve)
  2169. {
  2170. }
  2171.  
  2172. Name (BUF0, ResourceTemplate ()
  2173. {
  2174. WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode,
  2175. 0x0000, // Granularity
  2176. 0x0000, // Range Minimum
  2177. 0x00FF, // Range Maximum
  2178. 0x0000, // Translation Offset
  2179. 0x0100, // Length
  2180. ,, _Y00)
  2181. DWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
  2182. 0x00000000, // Granularity
  2183. 0x00000000, // Range Minimum
  2184. 0x00000CF7, // Range Maximum
  2185. 0x00000000, // Translation Offset
  2186. 0x00000CF8, // Length
  2187. ,, , TypeStatic)
  2188. IO (Decode16,
  2189. 0x0CF8, // Range Minimum
  2190. 0x0CF8, // Range Maximum
  2191. 0x01, // Alignment
  2192. 0x08, // Length
  2193. )
  2194. DWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
  2195. 0x00000000, // Granularity
  2196. 0x00000D00, // Range Minimum
  2197. 0x0000FFFF, // Range Maximum
  2198. 0x00000000, // Translation Offset
  2199. 0x0000F300, // Length
  2200. ,, , TypeStatic)
  2201. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  2202. 0x00000000, // Granularity
  2203. 0x000A0000, // Range Minimum
  2204. 0x000BFFFF, // Range Maximum
  2205. 0x00000000, // Translation Offset
  2206. 0x00020000, // Length
  2207. ,, , AddressRangeMemory, TypeStatic)
  2208. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  2209. 0x00000000, // Granularity
  2210. 0x000C0000, // Range Minimum
  2211. 0x000C3FFF, // Range Maximum
  2212. 0x00000000, // Translation Offset
  2213. 0x00004000, // Length
  2214. ,, _Y01, AddressRangeMemory, TypeStatic)
  2215. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  2216. 0x00000000, // Granularity
  2217. 0x000C4000, // Range Minimum
  2218. 0x000C7FFF, // Range Maximum
  2219. 0x00000000, // Translation Offset
  2220. 0x00004000, // Length
  2221. ,, _Y02, AddressRangeMemory, TypeStatic)
  2222. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  2223. 0x00000000, // Granularity
  2224. 0x000C8000, // Range Minimum
  2225. 0x000CBFFF, // Range Maximum
  2226. 0x00000000, // Translation Offset
  2227. 0x00004000, // Length
  2228. ,, _Y03, AddressRangeMemory, TypeStatic)
  2229. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  2230. 0x00000000, // Granularity
  2231. 0x000CC000, // Range Minimum
  2232. 0x000CFFFF, // Range Maximum
  2233. 0x00000000, // Translation Offset
  2234. 0x00004000, // Length
  2235. ,, _Y04, AddressRangeMemory, TypeStatic)
  2236. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  2237. 0x00000000, // Granularity
  2238. 0x000D0000, // Range Minimum
  2239. 0x000D3FFF, // Range Maximum
  2240. 0x00000000, // Translation Offset
  2241. 0x00004000, // Length
  2242. ,, _Y05, AddressRangeMemory, TypeStatic)
  2243. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  2244. 0x00000000, // Granularity
  2245. 0x000D4000, // Range Minimum
  2246. 0x000D7FFF, // Range Maximum
  2247. 0x00000000, // Translation Offset
  2248. 0x00004000, // Length
  2249. ,, _Y06, AddressRangeMemory, TypeStatic)
  2250. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  2251. 0x00000000, // Granularity
  2252. 0x000D8000, // Range Minimum
  2253. 0x000DBFFF, // Range Maximum
  2254. 0x00000000, // Translation Offset
  2255. 0x00004000, // Length
  2256. ,, _Y07, AddressRangeMemory, TypeStatic)
  2257. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  2258. 0x00000000, // Granularity
  2259. 0x000DC000, // Range Minimum
  2260. 0x000DFFFF, // Range Maximum
  2261. 0x00000000, // Translation Offset
  2262. 0x00004000, // Length
  2263. ,, _Y08, AddressRangeMemory, TypeStatic)
  2264. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  2265. 0x00000000, // Granularity
  2266. 0x000E0000, // Range Minimum
  2267. 0x000E3FFF, // Range Maximum
  2268. 0x00000000, // Translation Offset
  2269. 0x00004000, // Length
  2270. ,, _Y09, AddressRangeMemory, TypeStatic)
  2271. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  2272. 0x00000000, // Granularity
  2273. 0x000E4000, // Range Minimum
  2274. 0x000E7FFF, // Range Maximum
  2275. 0x00000000, // Translation Offset
  2276. 0x00004000, // Length
  2277. ,, _Y0A, AddressRangeMemory, TypeStatic)
  2278. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  2279. 0x00000000, // Granularity
  2280. 0x000E8000, // Range Minimum
  2281. 0x000EBFFF, // Range Maximum
  2282. 0x00000000, // Translation Offset
  2283. 0x00004000, // Length
  2284. ,, _Y0B, AddressRangeMemory, TypeStatic)
  2285. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  2286. 0x00000000, // Granularity
  2287. 0x000EC000, // Range Minimum
  2288. 0x000EFFFF, // Range Maximum
  2289. 0x00000000, // Translation Offset
  2290. 0x00004000, // Length
  2291. ,, _Y0C, AddressRangeMemory, TypeStatic)
  2292. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  2293. 0x00000000, // Granularity
  2294. 0x000F0000, // Range Minimum
  2295. 0x000FFFFF, // Range Maximum
  2296. 0x00000000, // Translation Offset
  2297. 0x00010000, // Length
  2298. ,, _Y0D, AddressRangeMemory, TypeStatic)
  2299. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  2300. 0x00000000, // Granularity
  2301. 0x00000000, // Range Minimum
  2302. 0xFEAFFFFF, // Range Maximum
  2303. 0x00000000, // Translation Offset
  2304. 0xFEB00000, // Length
  2305. ,, _Y0E, AddressRangeMemory, TypeStatic)
  2306. QWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  2307. 0x0000000000000000, // Granularity
  2308. 0x0000000000010000, // Range Minimum
  2309. 0x000000000001FFFF, // Range Maximum
  2310. 0x0000000000000000, // Translation Offset
  2311. 0x0000000000010000, // Length
  2312. ,, _Y0F, AddressRangeMemory, TypeStatic)
  2313. QWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  2314. 0x0000000000000000, // Granularity
  2315. 0x0000000C20000000, // Range Minimum, set it to 48.5GB
  2316. 0x0000000E0FFFFFFF, // Range Maximum, set it to 56.25GB
  2317. 0x0000000000000000, // Translation Offset
  2318. 0x00000001F0000000, // Length calculated by Range Max - Range Min.
  2319. ,, , AddressRangeMemory, TypeStatic)
  2320. })
  2321. Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
  2322. {
  2323. CreateWordField (BUF0, \_SB.PCI0._Y00._MAX, PBMX) // _MAX: Maximum Base Address
  2324. PBMX = ((PELN >> 0x14) - 0x02)
  2325. CreateWordField (BUF0, \_SB.PCI0._Y00._LEN, PBLN) // _LEN: Length
  2326. PBLN = ((PELN >> 0x14) - One)
  2327. If (PM1L)
  2328. {
  2329. CreateDWordField (BUF0, \_SB.PCI0._Y01._LEN, C0LN) // _LEN: Length
  2330. C0LN = Zero
  2331. }
  2332.  
  2333. If ((PM1L == One))
  2334. {
  2335. CreateBitField (BUF0, \_SB.PCI0._Y01._RW, C0RW) // _RW_: Read-Write Status
  2336. C0RW = Zero
  2337. }
  2338.  
  2339. If (PM1H)
  2340. {
  2341. CreateDWordField (BUF0, \_SB.PCI0._Y02._LEN, C4LN) // _LEN: Length
  2342. C4LN = Zero
  2343. }
  2344.  
  2345. If ((PM1H == One))
  2346. {
  2347. CreateBitField (BUF0, \_SB.PCI0._Y02._RW, C4RW) // _RW_: Read-Write Status
  2348. C4RW = Zero
  2349. }
  2350.  
  2351. If (PM2L)
  2352. {
  2353. CreateDWordField (BUF0, \_SB.PCI0._Y03._LEN, C8LN) // _LEN: Length
  2354. C8LN = Zero
  2355. }
  2356.  
  2357. If ((PM2L == One))
  2358. {
  2359. CreateBitField (BUF0, \_SB.PCI0._Y03._RW, C8RW) // _RW_: Read-Write Status
  2360. C8RW = Zero
  2361. }
  2362.  
  2363. If (PM2H)
  2364. {
  2365. CreateDWordField (BUF0, \_SB.PCI0._Y04._LEN, CCLN) // _LEN: Length
  2366. CCLN = Zero
  2367. }
  2368.  
  2369. If ((PM2H == One))
  2370. {
  2371. CreateBitField (BUF0, \_SB.PCI0._Y04._RW, CCRW) // _RW_: Read-Write Status
  2372. CCRW = Zero
  2373. }
  2374.  
  2375. If (PM3L)
  2376. {
  2377. CreateDWordField (BUF0, \_SB.PCI0._Y05._LEN, D0LN) // _LEN: Length
  2378. D0LN = Zero
  2379. }
  2380.  
  2381. If ((PM3L == One))
  2382. {
  2383. CreateBitField (BUF0, \_SB.PCI0._Y05._RW, D0RW) // _RW_: Read-Write Status
  2384. D0RW = Zero
  2385. }
  2386.  
  2387. If (PM3H)
  2388. {
  2389. CreateDWordField (BUF0, \_SB.PCI0._Y06._LEN, D4LN) // _LEN: Length
  2390. D4LN = Zero
  2391. }
  2392.  
  2393. If ((PM3H == One))
  2394. {
  2395. CreateBitField (BUF0, \_SB.PCI0._Y06._RW, D4RW) // _RW_: Read-Write Status
  2396. D4RW = Zero
  2397. }
  2398.  
  2399. If (PM4L)
  2400. {
  2401. CreateDWordField (BUF0, \_SB.PCI0._Y07._LEN, D8LN) // _LEN: Length
  2402. D8LN = Zero
  2403. }
  2404.  
  2405. If ((PM4L == One))
  2406. {
  2407. CreateBitField (BUF0, \_SB.PCI0._Y07._RW, D8RW) // _RW_: Read-Write Status
  2408. D8RW = Zero
  2409. }
  2410.  
  2411. If (PM4H)
  2412. {
  2413. CreateDWordField (BUF0, \_SB.PCI0._Y08._LEN, DCLN) // _LEN: Length
  2414. DCLN = Zero
  2415. }
  2416.  
  2417. If ((PM4H == One))
  2418. {
  2419. CreateBitField (BUF0, \_SB.PCI0._Y08._RW, DCRW) // _RW_: Read-Write Status
  2420. DCRW = Zero
  2421. }
  2422.  
  2423. If (PM5L)
  2424. {
  2425. CreateDWordField (BUF0, \_SB.PCI0._Y09._LEN, E0LN) // _LEN: Length
  2426. E0LN = Zero
  2427. }
  2428.  
  2429. If ((PM5L == One))
  2430. {
  2431. CreateBitField (BUF0, \_SB.PCI0._Y09._RW, E0RW) // _RW_: Read-Write Status
  2432. E0RW = Zero
  2433. }
  2434.  
  2435. If (PM5H)
  2436. {
  2437. CreateDWordField (BUF0, \_SB.PCI0._Y0A._LEN, E4LN) // _LEN: Length
  2438. E4LN = Zero
  2439. }
  2440.  
  2441. If ((PM5H == One))
  2442. {
  2443. CreateBitField (BUF0, \_SB.PCI0._Y0A._RW, E4RW) // _RW_: Read-Write Status
  2444. E4RW = Zero
  2445. }
  2446.  
  2447. If (PM6L)
  2448. {
  2449. CreateDWordField (BUF0, \_SB.PCI0._Y0B._LEN, E8LN) // _LEN: Length
  2450. E8LN = Zero
  2451. }
  2452.  
  2453. If ((PM6L == One))
  2454. {
  2455. CreateBitField (BUF0, \_SB.PCI0._Y0B._RW, E8RW) // _RW_: Read-Write Status
  2456. E8RW = Zero
  2457. }
  2458.  
  2459. If (PM6H)
  2460. {
  2461. CreateDWordField (BUF0, \_SB.PCI0._Y0C._LEN, ECLN) // _LEN: Length
  2462. ECLN = Zero
  2463. }
  2464.  
  2465. If ((PM6H == One))
  2466. {
  2467. CreateBitField (BUF0, \_SB.PCI0._Y0C._RW, ECRW) // _RW_: Read-Write Status
  2468. ECRW = Zero
  2469. }
  2470.  
  2471. If (PM0H)
  2472. {
  2473. CreateDWordField (BUF0, \_SB.PCI0._Y0D._LEN, F0LN) // _LEN: Length
  2474. F0LN = Zero
  2475. }
  2476.  
  2477. If ((PM0H == One))
  2478. {
  2479. CreateBitField (BUF0, \_SB.PCI0._Y0D._RW, F0RW) // _RW_: Read-Write Status
  2480. F0RW = Zero
  2481. }
  2482.  
  2483. CreateDWordField (BUF0, \_SB.PCI0._Y0E._MIN, M1MN) // _MIN: Minimum Base Address
  2484. CreateDWordField (BUF0, \_SB.PCI0._Y0E._MAX, M1MX) // _MAX: Maximum Base Address
  2485. CreateDWordField (BUF0, \_SB.PCI0._Y0E._LEN, M1LN) // _LEN: Length
  2486. M1MN = (TLUD << 0x14)
  2487. M1LN = ((M1MX - M1MN) + One)
  2488. If (((MM64 == Zero) || (OSYS <= 0x07D3)))
  2489. {
  2490. CreateQWordField (BUF0, \_SB.PCI0._Y0F._LEN, MSLN) // _LEN: Length
  2491. MSLN = Zero
  2492. }
  2493. Else
  2494. {
  2495. If (E4GM)
  2496. {
  2497. CreateQWordField (BUF0, \_SB.PCI0._Y0F._LEN, M2LN) // _LEN: Length
  2498. CreateQWordField (BUF0, \_SB.PCI0._Y0F._MIN, M2MN) // _MIN: Minimum Base Address
  2499. CreateQWordField (BUF0, \_SB.PCI0._Y0F._MAX, M2MX) // _MAX: Maximum Base Address
  2500. M2LN = 0x0000000400000000
  2501. If ((TUUD >= 0x1000))
  2502. {
  2503. M2MN = (TUUD << 0x14)
  2504. }
  2505. Else
  2506. {
  2507. M2MN = 0x0000000100000000
  2508. }
  2509.  
  2510. M2MX = ((M2MN + M2LN) - One)
  2511. }
  2512. Else
  2513. {
  2514. CreateQWordField (BUF0, \_SB.PCI0._Y0F._LEN, M4LN) // _LEN: Length
  2515. M4LN = Zero
  2516. }
  2517. }
  2518.  
  2519. Return (BUF0) /* \_SB_.PCI0.BUF0 */
  2520. }
  2521.  
  2522. Name (GUID, ToUUID ("33db4d5b-1ff7-401c-9657-7441c03dd766") /* PCI Host Bridge Device */)
  2523. Name (SUPP, Zero)
  2524. Name (CTRL, Zero)
  2525. Name (XCNT, Zero)
  2526. Method (_OSC, 4, Serialized) // _OSC: Operating System Capabilities
  2527. {
  2528. Local0 = Arg3
  2529. CreateDWordField (Local0, Zero, CDW1)
  2530. CreateDWordField (Local0, 0x04, CDW2)
  2531. CreateDWordField (Local0, 0x08, CDW3)
  2532. If (^XHC.CUID (Arg0))
  2533. {
  2534. Return (^XHC.POSC (Arg1, Arg2, Arg3))
  2535. }
  2536. Else
  2537. {
  2538. If (_OSI ("Windows 2012"))
  2539. {
  2540. If ((XCNT == Zero))
  2541. {
  2542. ^XHC.XSEL ()
  2543. XCNT++
  2544. }
  2545. }
  2546. }
  2547.  
  2548. If (((Arg0 == GUID) && NEXP))
  2549. {
  2550. SUPP = CDW2 /* \_SB_.PCI0._OSC.CDW2 */
  2551. CTRL = CDW3 /* \_SB_.PCI0._OSC.CDW3 */
  2552. If ((NEXP == Zero))
  2553. {
  2554. CTRL &= 0xFFFFFFF8
  2555. }
  2556.  
  2557. If (~(CDW1 & One))
  2558. {
  2559. If ((CTRL & One))
  2560. {
  2561. NHPG ()
  2562. }
  2563.  
  2564. If ((CTRL & 0x04))
  2565. {
  2566. NPME ()
  2567. }
  2568. }
  2569.  
  2570. If ((Arg1 != One))
  2571. {
  2572. CDW1 |= 0x08
  2573. }
  2574.  
  2575. If ((CDW3 != CTRL))
  2576. {
  2577. CDW1 |= 0x10
  2578. }
  2579.  
  2580. CDW3 = CTRL /* \_SB_.PCI0.CTRL */
  2581. OSCC = CTRL /* \_SB_.PCI0.CTRL */
  2582. Return (Local0)
  2583. }
  2584. Else
  2585. {
  2586. CDW1 |= 0x04
  2587. Return (Local0)
  2588. }
  2589. }
  2590.  
  2591. Scope (\_SB.PCI0)
  2592. {
  2593. Method (AR00, 0, NotSerialized)
  2594. {
  2595. Return (^^AR00) /* \_SB_.AR00 */
  2596. }
  2597.  
  2598. Method (PR00, 0, NotSerialized)
  2599. {
  2600. Return (^^PR00) /* \_SB_.PR00 */
  2601. }
  2602.  
  2603. Method (AR01, 0, NotSerialized)
  2604. {
  2605. Return (^^AR01) /* \_SB_.AR01 */
  2606. }
  2607.  
  2608. Method (PR01, 0, NotSerialized)
  2609. {
  2610. Return (^^PR01) /* \_SB_.PR01 */
  2611. }
  2612.  
  2613. Method (AR02, 0, NotSerialized)
  2614. {
  2615. Return (^^AR02) /* \_SB_.AR02 */
  2616. }
  2617.  
  2618. Method (PR02, 0, NotSerialized)
  2619. {
  2620. Return (^^PR02) /* \_SB_.PR02 */
  2621. }
  2622.  
  2623. Method (AR04, 0, NotSerialized)
  2624. {
  2625. Return (^^AR04) /* \_SB_.AR04 */
  2626. }
  2627.  
  2628. Method (PR04, 0, NotSerialized)
  2629. {
  2630. Return (^^PR04) /* \_SB_.PR04 */
  2631. }
  2632.  
  2633. Method (AR05, 0, NotSerialized)
  2634. {
  2635. Return (^^AR05) /* \_SB_.AR05 */
  2636. }
  2637.  
  2638. Method (PR05, 0, NotSerialized)
  2639. {
  2640. Return (^^PR05) /* \_SB_.PR05 */
  2641. }
  2642.  
  2643. Method (AR06, 0, NotSerialized)
  2644. {
  2645. Return (^^AR06) /* \_SB_.AR06 */
  2646. }
  2647.  
  2648. Method (PR06, 0, NotSerialized)
  2649. {
  2650. Return (^^PR06) /* \_SB_.PR06 */
  2651. }
  2652.  
  2653. Method (AR07, 0, NotSerialized)
  2654. {
  2655. Return (^^AR07) /* \_SB_.AR07 */
  2656. }
  2657.  
  2658. Method (PR07, 0, NotSerialized)
  2659. {
  2660. Return (^^PR07) /* \_SB_.PR07 */
  2661. }
  2662.  
  2663. Method (AR08, 0, NotSerialized)
  2664. {
  2665. Return (^^AR08) /* \_SB_.AR08 */
  2666. }
  2667.  
  2668. Method (PR08, 0, NotSerialized)
  2669. {
  2670. Return (^^PR08) /* \_SB_.PR08 */
  2671. }
  2672.  
  2673. Method (AR09, 0, NotSerialized)
  2674. {
  2675. Return (^^AR09) /* \_SB_.AR09 */
  2676. }
  2677.  
  2678. Method (PR09, 0, NotSerialized)
  2679. {
  2680. Return (^^PR09) /* \_SB_.PR09 */
  2681. }
  2682.  
  2683. Method (AR0E, 0, NotSerialized)
  2684. {
  2685. Return (^^AR0E) /* \_SB_.AR0E */
  2686. }
  2687.  
  2688. Method (PR0E, 0, NotSerialized)
  2689. {
  2690. Return (^^PR0E) /* \_SB_.PR0E */
  2691. }
  2692.  
  2693. Method (AR0F, 0, NotSerialized)
  2694. {
  2695. Return (^^AR0F) /* \_SB_.AR0F */
  2696. }
  2697.  
  2698. Method (PR0F, 0, NotSerialized)
  2699. {
  2700. Return (^^PR0F) /* \_SB_.PR0F */
  2701. }
  2702.  
  2703. Method (AR0A, 0, NotSerialized)
  2704. {
  2705. Return (^^AR0A) /* \_SB_.AR0A */
  2706. }
  2707.  
  2708. Method (PR0A, 0, NotSerialized)
  2709. {
  2710. Return (^^PR0A) /* \_SB_.PR0A */
  2711. }
  2712.  
  2713. Method (AR0B, 0, NotSerialized)
  2714. {
  2715. Return (^^AR0B) /* \_SB_.AR0B */
  2716. }
  2717.  
  2718. Method (PR0B, 0, NotSerialized)
  2719. {
  2720. Return (^^PR0B) /* \_SB_.PR0B */
  2721. }
  2722.  
  2723. Method (AR0C, 0, NotSerialized)
  2724. {
  2725. Return (^^AR0C) /* \_SB_.AR0C */
  2726. }
  2727.  
  2728. Method (PR0C, 0, NotSerialized)
  2729. {
  2730. Return (^^PR0C) /* \_SB_.PR0C */
  2731. }
  2732. }
  2733.  
  2734. Device (TPMX)
  2735. {
  2736. Name (_HID, EisaId ("PNP0C01") /* System Board */) // _HID: Hardware ID
  2737. Name (_UID, One) // _UID: Unique ID
  2738. Name (CRS, ResourceTemplate ()
  2739. {
  2740. Memory32Fixed (ReadOnly,
  2741. 0xFED40000, // Address Base
  2742. 0x00005000, // Address Length
  2743. )
  2744. })
  2745. Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
  2746. {
  2747. Return (CRS) /* \_SB_.PCI0.TPMX.CRS_ */
  2748. }
  2749.  
  2750. Method (_STA, 0, NotSerialized) // _STA: Status
  2751. {
  2752. If (TPMF)
  2753. {
  2754. Return (Zero)
  2755. }
  2756.  
  2757. Return (0x0F)
  2758. }
  2759. }
  2760.  
  2761. Device (LPCB)
  2762. {
  2763. Name (_ADR, 0x001F0000) // _ADR: Address
  2764. Scope (\_SB)
  2765. {
  2766. OperationRegion (PCI0.LPCB.LPC1, PCI_Config, 0x40, 0xC0)
  2767. Field (PCI0.LPCB.LPC1, AnyAcc, NoLock, Preserve)
  2768. {
  2769. Offset (0x20),
  2770. PARC, 8,
  2771. PBRC, 8,
  2772. PCRC, 8,
  2773. PDRC, 8,
  2774. Offset (0x28),
  2775. PERC, 8,
  2776. PFRC, 8,
  2777. PGRC, 8,
  2778. PHRC, 8,
  2779. Offset (0x6C),
  2780. Offset (0x6D),
  2781. Offset (0x6E),
  2782. XUSB, 1
  2783. }
  2784.  
  2785. Device (LNKA)
  2786. {
  2787. Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID
  2788. Name (_UID, One) // _UID: Unique ID
  2789. Method (_DIS, 0, Serialized) // _DIS: Disable Device
  2790. {
  2791. PARC |= 0x80
  2792. }
  2793.  
  2794. Method (_PRS, 0, Serialized) // _PRS: Possible Resource Settings
  2795. {
  2796. Return (PRSA) /* \_SB_.PRSA */
  2797. }
  2798.  
  2799. Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
  2800. {
  2801. Name (RTLA, ResourceTemplate ()
  2802. {
  2803. IRQ (Level, ActiveLow, Shared, )
  2804. {}
  2805. })
  2806. CreateWordField (RTLA, One, IRQ0)
  2807. IRQ0 = Zero
  2808. IRQ0 = (One << (PARC & 0x0F))
  2809. Return (RTLA) /* \_SB_.LNKA._CRS.RTLA */
  2810. }
  2811.  
  2812. Method (_SRS, 1, Serialized) // _SRS: Set Resource Settings
  2813. {
  2814. CreateWordField (Arg0, One, IRQ0)
  2815. FindSetRightBit (IRQ0, Local0)
  2816. Local0--
  2817. PARC = Local0
  2818. }
  2819.  
  2820. Method (_STA, 0, Serialized) // _STA: Status
  2821. {
  2822. If ((PARC & 0x80))
  2823. {
  2824. Return (0x09)
  2825. }
  2826. Else
  2827. {
  2828. Return (0x0B)
  2829. }
  2830. }
  2831. }
  2832.  
  2833. Device (LNKB)
  2834. {
  2835. Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID
  2836. Name (_UID, 0x02) // _UID: Unique ID
  2837. Method (_DIS, 0, Serialized) // _DIS: Disable Device
  2838. {
  2839. PBRC |= 0x80
  2840. }
  2841.  
  2842. Method (_PRS, 0, Serialized) // _PRS: Possible Resource Settings
  2843. {
  2844. Return (PRSB) /* \_SB_.PRSB */
  2845. }
  2846.  
  2847. Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
  2848. {
  2849. Name (RTLB, ResourceTemplate ()
  2850. {
  2851. IRQ (Level, ActiveLow, Shared, )
  2852. {}
  2853. })
  2854. CreateWordField (RTLB, One, IRQ0)
  2855. IRQ0 = Zero
  2856. IRQ0 = (One << (PBRC & 0x0F))
  2857. Return (RTLB) /* \_SB_.LNKB._CRS.RTLB */
  2858. }
  2859.  
  2860. Method (_SRS, 1, Serialized) // _SRS: Set Resource Settings
  2861. {
  2862. CreateWordField (Arg0, One, IRQ0)
  2863. FindSetRightBit (IRQ0, Local0)
  2864. Local0--
  2865. PBRC = Local0
  2866. }
  2867.  
  2868. Method (_STA, 0, Serialized) // _STA: Status
  2869. {
  2870. If ((PBRC & 0x80))
  2871. {
  2872. Return (0x09)
  2873. }
  2874. Else
  2875. {
  2876. Return (0x0B)
  2877. }
  2878. }
  2879. }
  2880.  
  2881. Device (LNKC)
  2882. {
  2883. Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID
  2884. Name (_UID, 0x03) // _UID: Unique ID
  2885. Method (_DIS, 0, Serialized) // _DIS: Disable Device
  2886. {
  2887. PCRC |= 0x80
  2888. }
  2889.  
  2890. Method (_PRS, 0, Serialized) // _PRS: Possible Resource Settings
  2891. {
  2892. Return (PRSC) /* \_SB_.PRSC */
  2893. }
  2894.  
  2895. Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
  2896. {
  2897. Name (RTLC, ResourceTemplate ()
  2898. {
  2899. IRQ (Level, ActiveLow, Shared, )
  2900. {}
  2901. })
  2902. CreateWordField (RTLC, One, IRQ0)
  2903. IRQ0 = Zero
  2904. IRQ0 = (One << (PCRC & 0x0F))
  2905. Return (RTLC) /* \_SB_.LNKC._CRS.RTLC */
  2906. }
  2907.  
  2908. Method (_SRS, 1, Serialized) // _SRS: Set Resource Settings
  2909. {
  2910. CreateWordField (Arg0, One, IRQ0)
  2911. FindSetRightBit (IRQ0, Local0)
  2912. Local0--
  2913. PCRC = Local0
  2914. }
  2915.  
  2916. Method (_STA, 0, Serialized) // _STA: Status
  2917. {
  2918. If ((PCRC & 0x80))
  2919. {
  2920. Return (0x09)
  2921. }
  2922. Else
  2923. {
  2924. Return (0x0B)
  2925. }
  2926. }
  2927. }
  2928.  
  2929. Device (LNKD)
  2930. {
  2931. Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID
  2932. Name (_UID, 0x04) // _UID: Unique ID
  2933. Method (_DIS, 0, Serialized) // _DIS: Disable Device
  2934. {
  2935. PDRC |= 0x80
  2936. }
  2937.  
  2938. Method (_PRS, 0, Serialized) // _PRS: Possible Resource Settings
  2939. {
  2940. Return (PRSD) /* \_SB_.PRSD */
  2941. }
  2942.  
  2943. Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
  2944. {
  2945. Name (RTLD, ResourceTemplate ()
  2946. {
  2947. IRQ (Level, ActiveLow, Shared, )
  2948. {}
  2949. })
  2950. CreateWordField (RTLD, One, IRQ0)
  2951. IRQ0 = Zero
  2952. IRQ0 = (One << (PDRC & 0x0F))
  2953. Return (RTLD) /* \_SB_.LNKD._CRS.RTLD */
  2954. }
  2955.  
  2956. Method (_SRS, 1, Serialized) // _SRS: Set Resource Settings
  2957. {
  2958. CreateWordField (Arg0, One, IRQ0)
  2959. FindSetRightBit (IRQ0, Local0)
  2960. Local0--
  2961. PDRC = Local0
  2962. }
  2963.  
  2964. Method (_STA, 0, Serialized) // _STA: Status
  2965. {
  2966. If ((PDRC & 0x80))
  2967. {
  2968. Return (0x09)
  2969. }
  2970. Else
  2971. {
  2972. Return (0x0B)
  2973. }
  2974. }
  2975. }
  2976.  
  2977. Device (LNKE)
  2978. {
  2979. Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID
  2980. Name (_UID, 0x05) // _UID: Unique ID
  2981. Method (_DIS, 0, Serialized) // _DIS: Disable Device
  2982. {
  2983. PERC |= 0x80
  2984. }
  2985.  
  2986. Method (_PRS, 0, Serialized) // _PRS: Possible Resource Settings
  2987. {
  2988. Return (PRSE) /* \_SB_.PRSE */
  2989. }
  2990.  
  2991. Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
  2992. {
  2993. Name (RTLE, ResourceTemplate ()
  2994. {
  2995. IRQ (Level, ActiveLow, Shared, )
  2996. {}
  2997. })
  2998. CreateWordField (RTLE, One, IRQ0)
  2999. IRQ0 = Zero
  3000. IRQ0 = (One << (PERC & 0x0F))
  3001. Return (RTLE) /* \_SB_.LNKE._CRS.RTLE */
  3002. }
  3003.  
  3004. Method (_SRS, 1, Serialized) // _SRS: Set Resource Settings
  3005. {
  3006. CreateWordField (Arg0, One, IRQ0)
  3007. FindSetRightBit (IRQ0, Local0)
  3008. Local0--
  3009. PERC = Local0
  3010. }
  3011.  
  3012. Method (_STA, 0, Serialized) // _STA: Status
  3013. {
  3014. If ((PERC & 0x80))
  3015. {
  3016. Return (0x09)
  3017. }
  3018. Else
  3019. {
  3020. Return (0x0B)
  3021. }
  3022. }
  3023. }
  3024.  
  3025. Device (LNKF)
  3026. {
  3027. Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID
  3028. Name (_UID, 0x06) // _UID: Unique ID
  3029. Method (_DIS, 0, Serialized) // _DIS: Disable Device
  3030. {
  3031. PFRC |= 0x80
  3032. }
  3033.  
  3034. Method (_PRS, 0, Serialized) // _PRS: Possible Resource Settings
  3035. {
  3036. Return (PRSF) /* \_SB_.PRSF */
  3037. }
  3038.  
  3039. Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
  3040. {
  3041. Name (RTLF, ResourceTemplate ()
  3042. {
  3043. IRQ (Level, ActiveLow, Shared, )
  3044. {}
  3045. })
  3046. CreateWordField (RTLF, One, IRQ0)
  3047. IRQ0 = Zero
  3048. IRQ0 = (One << (PFRC & 0x0F))
  3049. Return (RTLF) /* \_SB_.LNKF._CRS.RTLF */
  3050. }
  3051.  
  3052. Method (_SRS, 1, Serialized) // _SRS: Set Resource Settings
  3053. {
  3054. CreateWordField (Arg0, One, IRQ0)
  3055. FindSetRightBit (IRQ0, Local0)
  3056. Local0--
  3057. PFRC = Local0
  3058. }
  3059.  
  3060. Method (_STA, 0, Serialized) // _STA: Status
  3061. {
  3062. If ((PFRC & 0x80))
  3063. {
  3064. Return (0x09)
  3065. }
  3066. Else
  3067. {
  3068. Return (0x0B)
  3069. }
  3070. }
  3071. }
  3072.  
  3073. Device (LNKG)
  3074. {
  3075. Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID
  3076. Name (_UID, 0x07) // _UID: Unique ID
  3077. Method (_DIS, 0, Serialized) // _DIS: Disable Device
  3078. {
  3079. PGRC |= 0x80
  3080. }
  3081.  
  3082. Method (_PRS, 0, Serialized) // _PRS: Possible Resource Settings
  3083. {
  3084. Return (PRSG) /* \_SB_.PRSG */
  3085. }
  3086.  
  3087. Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
  3088. {
  3089. Name (RTLG, ResourceTemplate ()
  3090. {
  3091. IRQ (Level, ActiveLow, Shared, )
  3092. {}
  3093. })
  3094. CreateWordField (RTLG, One, IRQ0)
  3095. IRQ0 = Zero
  3096. IRQ0 = (One << (PGRC & 0x0F))
  3097. Return (RTLG) /* \_SB_.LNKG._CRS.RTLG */
  3098. }
  3099.  
  3100. Method (_SRS, 1, Serialized) // _SRS: Set Resource Settings
  3101. {
  3102. CreateWordField (Arg0, One, IRQ0)
  3103. FindSetRightBit (IRQ0, Local0)
  3104. Local0--
  3105. PGRC = Local0
  3106. }
  3107.  
  3108. Method (_STA, 0, Serialized) // _STA: Status
  3109. {
  3110. If ((PGRC & 0x80))
  3111. {
  3112. Return (0x09)
  3113. }
  3114. Else
  3115. {
  3116. Return (0x0B)
  3117. }
  3118. }
  3119. }
  3120.  
  3121. Device (LNKH)
  3122. {
  3123. Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID
  3124. Name (_UID, 0x08) // _UID: Unique ID
  3125. Method (_DIS, 0, Serialized) // _DIS: Disable Device
  3126. {
  3127. PHRC |= 0x80
  3128. }
  3129.  
  3130. Method (_PRS, 0, Serialized) // _PRS: Possible Resource Settings
  3131. {
  3132. Return (PRSH) /* \_SB_.PRSH */
  3133. }
  3134.  
  3135. Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
  3136. {
  3137. Name (RTLH, ResourceTemplate ()
  3138. {
  3139. IRQ (Level, ActiveLow, Shared, )
  3140. {}
  3141. })
  3142. CreateWordField (RTLH, One, IRQ0)
  3143. IRQ0 = Zero
  3144. IRQ0 = (One << (PHRC & 0x0F))
  3145. Return (RTLH) /* \_SB_.LNKH._CRS.RTLH */
  3146. }
  3147.  
  3148. Method (_SRS, 1, Serialized) // _SRS: Set Resource Settings
  3149. {
  3150. CreateWordField (Arg0, One, IRQ0)
  3151. FindSetRightBit (IRQ0, Local0)
  3152. Local0--
  3153. PHRC = Local0
  3154. }
  3155.  
  3156. Method (_STA, 0, Serialized) // _STA: Status
  3157. {
  3158. If ((PHRC & 0x80))
  3159. {
  3160. Return (0x09)
  3161. }
  3162. Else
  3163. {
  3164. Return (0x0B)
  3165. }
  3166. }
  3167. }
  3168. }
  3169.  
  3170. OperationRegion (LPC0, PCI_Config, 0x40, 0xC0)
  3171. Field (LPC0, AnyAcc, NoLock, Preserve)
  3172. {
  3173. Offset (0x40),
  3174. IOD0, 8,
  3175. IOD1, 8,
  3176. Offset (0xB0),
  3177. RAEN, 1,
  3178. , 13,
  3179. RCBA, 18
  3180. }
  3181.  
  3182. Device (DMAC)
  3183. {
  3184. Name (_HID, EisaId ("PNP0200") /* PC-class DMA Controller */) // _HID: Hardware ID
  3185. Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
  3186. {
  3187. IO (Decode16,
  3188. 0x0000, // Range Minimum
  3189. 0x0000, // Range Maximum
  3190. 0x01, // Alignment
  3191. 0x20, // Length
  3192. )
  3193. IO (Decode16,
  3194. 0x0081, // Range Minimum
  3195. 0x0081, // Range Maximum
  3196. 0x01, // Alignment
  3197. 0x11, // Length
  3198. )
  3199. IO (Decode16,
  3200. 0x0093, // Range Minimum
  3201. 0x0093, // Range Maximum
  3202. 0x01, // Alignment
  3203. 0x0D, // Length
  3204. )
  3205. IO (Decode16,
  3206. 0x00C0, // Range Minimum
  3207. 0x00C0, // Range Maximum
  3208. 0x01, // Alignment
  3209. 0x20, // Length
  3210. )
  3211. DMA (Compatibility, NotBusMaster, Transfer8_16, )
  3212. {4}
  3213. })
  3214. }
  3215.  
  3216. Device (FWHD)
  3217. {
  3218. Name (_HID, EisaId ("INT0800") /* Intel 82802 Firmware Hub Device */) // _HID: Hardware ID
  3219. Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
  3220. {
  3221. Memory32Fixed (ReadOnly,
  3222. 0xFF000000, // Address Base
  3223. 0x01000000, // Address Length
  3224. )
  3225. })
  3226. }
  3227.  
  3228. Device (HPET)
  3229. {
  3230. Name (_HID, EisaId ("PNP0103") /* HPET System Timer */) // _HID: Hardware ID
  3231. Name (_UID, Zero) // _UID: Unique ID
  3232. Name (BUF0, ResourceTemplate ()
  3233. {
  3234. Memory32Fixed (ReadWrite,
  3235. 0xFED00000, // Address Base
  3236. 0x00000400, // Address Length
  3237. _Y10)
  3238. })
  3239. Method (_STA, 0, NotSerialized) // _STA: Status
  3240. {
  3241. If ((OSYS >= 0x07D1))
  3242. {
  3243. If (HPAE)
  3244. {
  3245. Return (0x0F)
  3246. }
  3247. }
  3248. Else
  3249. {
  3250. If (HPAE)
  3251. {
  3252. Return (0x0B)
  3253. }
  3254. }
  3255.  
  3256. Return (Zero)
  3257. }
  3258.  
  3259. Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
  3260. {
  3261. If (HPAE)
  3262. {
  3263. CreateDWordField (BUF0, \_SB.PCI0.LPCB.HPET._Y10._BAS, HPT0) // _BAS: Base Address
  3264. If ((HPAS == One))
  3265. {
  3266. HPT0 = 0xFED01000
  3267. }
  3268.  
  3269. If ((HPAS == 0x02))
  3270. {
  3271. HPT0 = 0xFED02000
  3272. }
  3273.  
  3274. If ((HPAS == 0x03))
  3275. {
  3276. HPT0 = 0xFED03000
  3277. }
  3278. }
  3279.  
  3280. Return (BUF0) /* \_SB_.PCI0.LPCB.HPET.BUF0 */
  3281. }
  3282. }
  3283.  
  3284. Device (IPIC)
  3285. {
  3286. Name (_HID, EisaId ("PNP0000") /* 8259-compatible Programmable Interrupt Controller */) // _HID: Hardware ID
  3287. Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
  3288. {
  3289. IO (Decode16,
  3290. 0x0020, // Range Minimum
  3291. 0x0020, // Range Maximum
  3292. 0x01, // Alignment
  3293. 0x02, // Length
  3294. )
  3295. IO (Decode16,
  3296. 0x0024, // Range Minimum
  3297. 0x0024, // Range Maximum
  3298. 0x01, // Alignment
  3299. 0x02, // Length
  3300. )
  3301. IO (Decode16,
  3302. 0x0028, // Range Minimum
  3303. 0x0028, // Range Maximum
  3304. 0x01, // Alignment
  3305. 0x02, // Length
  3306. )
  3307. IO (Decode16,
  3308. 0x002C, // Range Minimum
  3309. 0x002C, // Range Maximum
  3310. 0x01, // Alignment
  3311. 0x02, // Length
  3312. )
  3313. IO (Decode16,
  3314. 0x0030, // Range Minimum
  3315. 0x0030, // Range Maximum
  3316. 0x01, // Alignment
  3317. 0x02, // Length
  3318. )
  3319. IO (Decode16,
  3320. 0x0034, // Range Minimum
  3321. 0x0034, // Range Maximum
  3322. 0x01, // Alignment
  3323. 0x02, // Length
  3324. )
  3325. IO (Decode16,
  3326. 0x0038, // Range Minimum
  3327. 0x0038, // Range Maximum
  3328. 0x01, // Alignment
  3329. 0x02, // Length
  3330. )
  3331. IO (Decode16,
  3332. 0x003C, // Range Minimum
  3333. 0x003C, // Range Maximum
  3334. 0x01, // Alignment
  3335. 0x02, // Length
  3336. )
  3337. IO (Decode16,
  3338. 0x00A0, // Range Minimum
  3339. 0x00A0, // Range Maximum
  3340. 0x01, // Alignment
  3341. 0x02, // Length
  3342. )
  3343. IO (Decode16,
  3344. 0x00A4, // Range Minimum
  3345. 0x00A4, // Range Maximum
  3346. 0x01, // Alignment
  3347. 0x02, // Length
  3348. )
  3349. IO (Decode16,
  3350. 0x00A8, // Range Minimum
  3351. 0x00A8, // Range Maximum
  3352. 0x01, // Alignment
  3353. 0x02, // Length
  3354. )
  3355. IO (Decode16,
  3356. 0x00AC, // Range Minimum
  3357. 0x00AC, // Range Maximum
  3358. 0x01, // Alignment
  3359. 0x02, // Length
  3360. )
  3361. IO (Decode16,
  3362. 0x00B0, // Range Minimum
  3363. 0x00B0, // Range Maximum
  3364. 0x01, // Alignment
  3365. 0x02, // Length
  3366. )
  3367. IO (Decode16,
  3368. 0x00B4, // Range Minimum
  3369. 0x00B4, // Range Maximum
  3370. 0x01, // Alignment
  3371. 0x02, // Length
  3372. )
  3373. IO (Decode16,
  3374. 0x00B8, // Range Minimum
  3375. 0x00B8, // Range Maximum
  3376. 0x01, // Alignment
  3377. 0x02, // Length
  3378. )
  3379. IO (Decode16,
  3380. 0x00BC, // Range Minimum
  3381. 0x00BC, // Range Maximum
  3382. 0x01, // Alignment
  3383. 0x02, // Length
  3384. )
  3385. IO (Decode16,
  3386. 0x04D0, // Range Minimum
  3387. 0x04D0, // Range Maximum
  3388. 0x01, // Alignment
  3389. 0x02, // Length
  3390. )
  3391. IRQNoFlags ()
  3392. {2}
  3393. })
  3394. }
  3395.  
  3396. Device (LDRC)
  3397. {
  3398. Name (_HID, EisaId ("PNP0C02") /* PNP Motherboard Resources */) // _HID: Hardware ID
  3399. Name (_UID, 0x02) // _UID: Unique ID
  3400. Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
  3401. {
  3402. IO (Decode16,
  3403. 0x002E, // Range Minimum
  3404. 0x002E, // Range Maximum
  3405. 0x01, // Alignment
  3406. 0x02, // Length
  3407. )
  3408. IO (Decode16,
  3409. 0x004E, // Range Minimum
  3410. 0x004E, // Range Maximum
  3411. 0x01, // Alignment
  3412. 0x02, // Length
  3413. )
  3414. IO (Decode16,
  3415. 0x0061, // Range Minimum
  3416. 0x0061, // Range Maximum
  3417. 0x01, // Alignment
  3418. 0x01, // Length
  3419. )
  3420. IO (Decode16,
  3421. 0x0063, // Range Minimum
  3422. 0x0063, // Range Maximum
  3423. 0x01, // Alignment
  3424. 0x01, // Length
  3425. )
  3426. IO (Decode16,
  3427. 0x0065, // Range Minimum
  3428. 0x0065, // Range Maximum
  3429. 0x01, // Alignment
  3430. 0x01, // Length
  3431. )
  3432. IO (Decode16,
  3433. 0x0067, // Range Minimum
  3434. 0x0067, // Range Maximum
  3435. 0x01, // Alignment
  3436. 0x01, // Length
  3437. )
  3438. IO (Decode16,
  3439. 0x0070, // Range Minimum
  3440. 0x0070, // Range Maximum
  3441. 0x01, // Alignment
  3442. 0x01, // Length
  3443. )
  3444. IO (Decode16,
  3445. 0x0080, // Range Minimum
  3446. 0x0080, // Range Maximum
  3447. 0x01, // Alignment
  3448. 0x01, // Length
  3449. )
  3450. IO (Decode16,
  3451. 0x0092, // Range Minimum
  3452. 0x0092, // Range Maximum
  3453. 0x01, // Alignment
  3454. 0x01, // Length
  3455. )
  3456. IO (Decode16,
  3457. 0x00B2, // Range Minimum
  3458. 0x00B2, // Range Maximum
  3459. 0x01, // Alignment
  3460. 0x02, // Length
  3461. )
  3462. IO (Decode16,
  3463. 0x0680, // Range Minimum
  3464. 0x0680, // Range Maximum
  3465. 0x01, // Alignment
  3466. 0x20, // Length
  3467. )
  3468. IO (Decode16,
  3469. 0x1000, // Range Minimum
  3470. 0x1000, // Range Maximum
  3471. 0x01, // Alignment
  3472. 0x10, // Length
  3473. )
  3474. IO (Decode16,
  3475. 0x1100, // Range Minimum
  3476. 0x1100, // Range Maximum
  3477. 0x01, // Alignment
  3478. 0x04, // Length
  3479. )
  3480. IO (Decode16,
  3481. 0xFFFF, // Range Minimum
  3482. 0xFFFF, // Range Maximum
  3483. 0x01, // Alignment
  3484. 0x01, // Length
  3485. )
  3486. IO (Decode16,
  3487. 0x0400, // Range Minimum
  3488. 0x0400, // Range Maximum
  3489. 0x01, // Alignment
  3490. 0x54, // Length
  3491. )
  3492. IO (Decode16,
  3493. 0x0458, // Range Minimum
  3494. 0x0458, // Range Maximum
  3495. 0x01, // Alignment
  3496. 0x28, // Length
  3497. )
  3498. IO (Decode16,
  3499. 0x0500, // Range Minimum
  3500. 0x0500, // Range Maximum
  3501. 0x01, // Alignment
  3502. 0x80, // Length
  3503. )
  3504. IO (Decode16,
  3505. 0x164E, // Range Minimum
  3506. 0x164E, // Range Maximum
  3507. 0x01, // Alignment
  3508. 0x02, // Length
  3509. )
  3510. })
  3511. }
  3512.  
  3513. Device (RTC)
  3514. {
  3515. Name (_HID, EisaId ("PNP0B00") /* AT Real-Time Clock */) // _HID: Hardware ID
  3516. Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
  3517. {
  3518. IO (Decode16,
  3519. 0x0070, // Range Minimum
  3520. 0x0070, // Range Maximum
  3521. 0x01, // Alignment
  3522. 0x08, // Length
  3523. )
  3524. IRQNoFlags ()
  3525. {8}
  3526. })
  3527. }
  3528.  
  3529. Device (TIMR)
  3530. {
  3531. Name (_HID, EisaId ("PNP0100") /* PC-class System Timer */) // _HID: Hardware ID
  3532. Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
  3533. {
  3534. IO (Decode16,
  3535. 0x0040, // Range Minimum
  3536. 0x0040, // Range Maximum
  3537. 0x01, // Alignment
  3538. 0x04, // Length
  3539. )
  3540. IO (Decode16,
  3541. 0x0050, // Range Minimum
  3542. 0x0050, // Range Maximum
  3543. 0x10, // Alignment
  3544. 0x04, // Length
  3545. )
  3546. IRQNoFlags ()
  3547. {0}
  3548. })
  3549. }
  3550.  
  3551. Device (CWDT)
  3552. {
  3553. Name (_HID, EisaId ("INT3F0D") /* ACPI Motherboard Resources */) // _HID: Hardware ID
  3554. Name (_CID, EisaId ("PNP0C02") /* PNP Motherboard Resources */) // _CID: Compatible ID
  3555. Name (BUF0, ResourceTemplate ()
  3556. {
  3557. IO (Decode16,
  3558. 0x0454, // Range Minimum
  3559. 0x0454, // Range Maximum
  3560. 0x04, // Alignment
  3561. 0x04, // Length
  3562. )
  3563. })
  3564. Method (_STA, 0, Serialized) // _STA: Status
  3565. {
  3566. If ((WDTE == One))
  3567. {
  3568. Return (0x0F)
  3569. }
  3570. Else
  3571. {
  3572. Return (Zero)
  3573. }
  3574. }
  3575.  
  3576. Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
  3577. {
  3578. Return (BUF0) /* \_SB_.PCI0.LPCB.CWDT.BUF0 */
  3579. }
  3580. }
  3581.  
  3582. Device (RMSC)
  3583. {
  3584. Name (_HID, EisaId ("PNP0C02") /* PNP Motherboard Resources */) // _HID: Hardware ID
  3585. Name (_UID, 0x10) // _UID: Unique ID
  3586. Name (CRS1, ResourceTemplate ()
  3587. {
  3588. IO (Decode16,
  3589. 0x0010, // Range Minimum
  3590. 0x0010, // Range Maximum
  3591. 0x00, // Alignment
  3592. 0x10, // Length
  3593. )
  3594. IO (Decode16,
  3595. 0x0022, // Range Minimum
  3596. 0x0022, // Range Maximum
  3597. 0x00, // Alignment
  3598. 0x1E, // Length
  3599. )
  3600. IO (Decode16,
  3601. 0x0044, // Range Minimum
  3602. 0x0044, // Range Maximum
  3603. 0x00, // Alignment
  3604. 0x1C, // Length
  3605. )
  3606. IO (Decode16,
  3607. 0x0062, // Range Minimum
  3608. 0x0062, // Range Maximum
  3609. 0x00, // Alignment
  3610. 0x02, // Length
  3611. )
  3612. IO (Decode16,
  3613. 0x0065, // Range Minimum
  3614. 0x0065, // Range Maximum
  3615. 0x00, // Alignment
  3616. 0x0B, // Length
  3617. )
  3618. IO (Decode16,
  3619. 0x0072, // Range Minimum
  3620. 0x0072, // Range Maximum
  3621. 0x00, // Alignment
  3622. 0x0E, // Length
  3623. )
  3624. IO (Decode16,
  3625. 0x0080, // Range Minimum
  3626. 0x0080, // Range Maximum
  3627. 0x00, // Alignment
  3628. 0x01, // Length
  3629. )
  3630. IO (Decode16,
  3631. 0x0084, // Range Minimum
  3632. 0x0084, // Range Maximum
  3633. 0x00, // Alignment
  3634. 0x03, // Length
  3635. )
  3636. IO (Decode16,
  3637. 0x0088, // Range Minimum
  3638. 0x0088, // Range Maximum
  3639. 0x00, // Alignment
  3640. 0x01, // Length
  3641. )
  3642. IO (Decode16,
  3643. 0x008C, // Range Minimum
  3644. 0x008C, // Range Maximum
  3645. 0x00, // Alignment
  3646. 0x03, // Length
  3647. )
  3648. IO (Decode16,
  3649. 0x0090, // Range Minimum
  3650. 0x0090, // Range Maximum
  3651. 0x00, // Alignment
  3652. 0x10, // Length
  3653. )
  3654. IO (Decode16,
  3655. 0x00A2, // Range Minimum
  3656. 0x00A2, // Range Maximum
  3657. 0x00, // Alignment
  3658. 0x1E, // Length
  3659. )
  3660. IO (Decode16,
  3661. 0x00E0, // Range Minimum
  3662. 0x00E0, // Range Maximum
  3663. 0x00, // Alignment
  3664. 0x10, // Length
  3665. )
  3666. IO (Decode16,
  3667. 0x04D0, // Range Minimum
  3668. 0x04D0, // Range Maximum
  3669. 0x00, // Alignment
  3670. 0x02, // Length
  3671. )
  3672. })
  3673. Name (CRS2, ResourceTemplate ()
  3674. {
  3675. IO (Decode16,
  3676. 0x0010, // Range Minimum
  3677. 0x0010, // Range Maximum
  3678. 0x00, // Alignment
  3679. 0x10, // Length
  3680. )
  3681. IO (Decode16,
  3682. 0x0022, // Range Minimum
  3683. 0x0022, // Range Maximum
  3684. 0x00, // Alignment
  3685. 0x1E, // Length
  3686. )
  3687. IO (Decode16,
  3688. 0x0044, // Range Minimum
  3689. 0x0044, // Range Maximum
  3690. 0x00, // Alignment
  3691. 0x1C, // Length
  3692. )
  3693. IO (Decode16,
  3694. 0x0072, // Range Minimum
  3695. 0x0072, // Range Maximum
  3696. 0x00, // Alignment
  3697. 0x0E, // Length
  3698. )
  3699. IO (Decode16,
  3700. 0x0080, // Range Minimum
  3701. 0x0080, // Range Maximum
  3702. 0x00, // Alignment
  3703. 0x01, // Length
  3704. )
  3705. IO (Decode16,
  3706. 0x0084, // Range Minimum
  3707. 0x0084, // Range Maximum
  3708. 0x00, // Alignment
  3709. 0x03, // Length
  3710. )
  3711. IO (Decode16,
  3712. 0x0088, // Range Minimum
  3713. 0x0088, // Range Maximum
  3714. 0x00, // Alignment
  3715. 0x01, // Length
  3716. )
  3717. IO (Decode16,
  3718. 0x008C, // Range Minimum
  3719. 0x008C, // Range Maximum
  3720. 0x00, // Alignment
  3721. 0x03, // Length
  3722. )
  3723. IO (Decode16,
  3724. 0x0090, // Range Minimum
  3725. 0x0090, // Range Maximum
  3726. 0x00, // Alignment
  3727. 0x10, // Length
  3728. )
  3729. IO (Decode16,
  3730. 0x00A2, // Range Minimum
  3731. 0x00A2, // Range Maximum
  3732. 0x00, // Alignment
  3733. 0x1E, // Length
  3734. )
  3735. IO (Decode16,
  3736. 0x00E0, // Range Minimum
  3737. 0x00E0, // Range Maximum
  3738. 0x00, // Alignment
  3739. 0x10, // Length
  3740. )
  3741. IO (Decode16,
  3742. 0x04D0, // Range Minimum
  3743. 0x04D0, // Range Maximum
  3744. 0x00, // Alignment
  3745. 0x02, // Length
  3746. )
  3747. })
  3748. Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
  3749. {
  3750. If ((MBEC & 0xFFFF))
  3751. {
  3752. Return (CRS1) /* \_SB_.PCI0.LPCB.RMSC.CRS1 */
  3753. }
  3754. Else
  3755. {
  3756. Return (CRS2) /* \_SB_.PCI0.LPCB.RMSC.CRS2 */
  3757. }
  3758. }
  3759. }
  3760.  
  3761. Device (COPR)
  3762. {
  3763. Name (_HID, EisaId ("PNP0C04") /* x87-compatible Floating Point Processing Unit */) // _HID: Hardware ID
  3764. Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
  3765. {
  3766. IO (Decode16,
  3767. 0x00F0, // Range Minimum
  3768. 0x00F0, // Range Maximum
  3769. 0x00, // Alignment
  3770. 0x10, // Length
  3771. )
  3772. IRQNoFlags ()
  3773. {13}
  3774. })
  3775. }
  3776. }
  3777.  
  3778. Device (P0P1)
  3779. {
  3780. Name (_ADR, 0x001E0000) // _ADR: Address
  3781. Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
  3782. {
  3783. Return (GPRW (0x0B, 0x04))
  3784. }
  3785.  
  3786. Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
  3787. {
  3788. If (PICM)
  3789. {
  3790. Return (AR01 ())
  3791. }
  3792.  
  3793. Return (PR01 ())
  3794. }
  3795. }
  3796.  
  3797. Device (USB1)
  3798. {
  3799. Name (_ADR, 0x001D0001) // _ADR: Address
  3800. Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
  3801. {
  3802. Return (GPRW (0x03, 0x03))
  3803. }
  3804. }
  3805.  
  3806. Device (USB2)
  3807. {
  3808. Name (_ADR, 0x001D0002) // _ADR: Address
  3809. Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
  3810. {
  3811. Return (GPRW (0x04, 0x03))
  3812. }
  3813. }
  3814.  
  3815. Device (USB3)
  3816. {
  3817. Name (_ADR, 0x001D0003) // _ADR: Address
  3818. Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
  3819. {
  3820. Return (GPRW (0x0C, 0x03))
  3821. }
  3822. }
  3823.  
  3824. Device (USB5)
  3825. {
  3826. Name (_ADR, 0x001A0001) // _ADR: Address
  3827. Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
  3828. {
  3829. Return (GPRW (0x05, 0x03))
  3830. }
  3831. }
  3832.  
  3833. Device (USB6)
  3834. {
  3835. Name (_ADR, 0x001A0002) // _ADR: Address
  3836. Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
  3837. {
  3838. Return (GPRW (0x20, 0x03))
  3839. }
  3840. }
  3841.  
  3842. Device (USB7)
  3843. {
  3844. Name (_ADR, 0x001A0003) // _ADR: Address
  3845. Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
  3846. {
  3847. Return (GPRW (0x25, 0x03))
  3848. }
  3849. }
  3850.  
  3851. Device (RP01)
  3852. {
  3853. Name (_ADR, 0x001C0000) // _ADR: Address
  3854. Name (_HPP, Package (0x04) // _HPP: Hot Plug Parameters
  3855. {
  3856. 0x08,
  3857. 0x40,
  3858. One,
  3859. Zero
  3860. })
  3861. OperationRegion (PXCS, PCI_Config, 0x40, 0xC0)
  3862. Field (PXCS, AnyAcc, NoLock, Preserve)
  3863. {
  3864. Offset (0x10),
  3865. L0SE, 1,
  3866. Offset (0x11),
  3867. Offset (0x12),
  3868. , 13,
  3869. LASX, 1,
  3870. Offset (0x14),
  3871. , 6,
  3872. HPCE, 1,
  3873. Offset (0x1A),
  3874. ABPX, 1,
  3875. , 2,
  3876. PDCX, 1,
  3877. , 2,
  3878. PDSX, 1,
  3879. Offset (0x1B),
  3880. Offset (0x20),
  3881. Offset (0x22),
  3882. PSPX, 1,
  3883. Offset (0x98),
  3884. , 30,
  3885. HPEX, 1,
  3886. PMEX, 1
  3887. }
  3888.  
  3889. Field (PXCS, AnyAcc, NoLock, WriteAsZeros)
  3890. {
  3891. Offset (0x94),
  3892. , 1,
  3893. EIFD, 1,
  3894. Offset (0x95),
  3895. Offset (0x9C),
  3896. , 30,
  3897. HPSX, 1,
  3898. PMSX, 1
  3899. }
  3900.  
  3901. Device (PXSX)
  3902. {
  3903. Name (_ADR, Zero) // _ADR: Address
  3904. Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
  3905. {
  3906. 0x09,
  3907. 0x04
  3908. })
  3909. }
  3910.  
  3911. Method (HPME, 0, Serialized)
  3912. {
  3913. If (PMSX)
  3914. {
  3915. Local0 = 0xC8
  3916. While (Local0)
  3917. {
  3918. PMSX = One
  3919. If (PMSX)
  3920. {
  3921. Local0--
  3922. }
  3923. Else
  3924. {
  3925. Local0 = Zero
  3926. }
  3927. }
  3928.  
  3929. Notify (PXSX, 0x02) // Device Wake
  3930. }
  3931. }
  3932.  
  3933. Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
  3934. {
  3935. If (PICM)
  3936. {
  3937. Return (AR04 ())
  3938. }
  3939.  
  3940. Return (PR04 ())
  3941. }
  3942. }
  3943.  
  3944. Device (RP02)
  3945. {
  3946. Name (_ADR, 0x001C0001) // _ADR: Address
  3947. Name (_HPP, Package (0x04) // _HPP: Hot Plug Parameters
  3948. {
  3949. 0x08,
  3950. 0x40,
  3951. One,
  3952. Zero
  3953. })
  3954. OperationRegion (PXCS, PCI_Config, 0x40, 0xC0)
  3955. Field (PXCS, AnyAcc, NoLock, Preserve)
  3956. {
  3957. Offset (0x10),
  3958. L0SE, 1,
  3959. Offset (0x11),
  3960. Offset (0x12),
  3961. , 13,
  3962. LASX, 1,
  3963. Offset (0x14),
  3964. , 6,
  3965. HPCE, 1,
  3966. Offset (0x1A),
  3967. ABPX, 1,
  3968. , 2,
  3969. PDCX, 1,
  3970. , 2,
  3971. PDSX, 1,
  3972. Offset (0x1B),
  3973. Offset (0x20),
  3974. Offset (0x22),
  3975. PSPX, 1,
  3976. Offset (0x98),
  3977. , 30,
  3978. HPEX, 1,
  3979. PMEX, 1
  3980. }
  3981.  
  3982. Field (PXCS, AnyAcc, NoLock, WriteAsZeros)
  3983. {
  3984. Offset (0x94),
  3985. , 1,
  3986. EIFD, 1,
  3987. Offset (0x95),
  3988. Offset (0x9C),
  3989. , 30,
  3990. HPSX, 1,
  3991. PMSX, 1
  3992. }
  3993.  
  3994. Device (PXSX)
  3995. {
  3996. Name (_ADR, Zero) // _ADR: Address
  3997. Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
  3998. {
  3999. 0x09,
  4000. 0x04
  4001. })
  4002. }
  4003.  
  4004. Method (HPME, 0, Serialized)
  4005. {
  4006. If (PMSX)
  4007. {
  4008. Local0 = 0xC8
  4009. While (Local0)
  4010. {
  4011. PMSX = One
  4012. If (PMSX)
  4013. {
  4014. Local0--
  4015. }
  4016. Else
  4017. {
  4018. Local0 = Zero
  4019. }
  4020. }
  4021.  
  4022. Notify (PXSX, 0x02) // Device Wake
  4023. }
  4024. }
  4025.  
  4026. Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
  4027. {
  4028. If (PICM)
  4029. {
  4030. Return (AR05 ())
  4031. }
  4032.  
  4033. Return (PR05 ())
  4034. }
  4035. }
  4036.  
  4037. Device (RP05)
  4038. {
  4039. Name (_ADR, 0x001C0004) // _ADR: Address
  4040. Name (_HPP, Package (0x04) // _HPP: Hot Plug Parameters
  4041. {
  4042. 0x08,
  4043. 0x40,
  4044. One,
  4045. Zero
  4046. })
  4047. OperationRegion (PXCS, PCI_Config, 0x40, 0xC0)
  4048. Field (PXCS, AnyAcc, NoLock, Preserve)
  4049. {
  4050. Offset (0x10),
  4051. L0SE, 1,
  4052. Offset (0x11),
  4053. Offset (0x12),
  4054. , 13,
  4055. LASX, 1,
  4056. Offset (0x14),
  4057. , 6,
  4058. HPCE, 1,
  4059. Offset (0x1A),
  4060. ABPX, 1,
  4061. , 2,
  4062. PDCX, 1,
  4063. , 2,
  4064. PDSX, 1,
  4065. Offset (0x1B),
  4066. Offset (0x20),
  4067. Offset (0x22),
  4068. PSPX, 1,
  4069. Offset (0x98),
  4070. , 30,
  4071. HPEX, 1,
  4072. PMEX, 1
  4073. }
  4074.  
  4075. Field (PXCS, AnyAcc, NoLock, WriteAsZeros)
  4076. {
  4077. Offset (0x94),
  4078. , 1,
  4079. EIFD, 1,
  4080. Offset (0x95),
  4081. Offset (0x9C),
  4082. , 30,
  4083. HPSX, 1,
  4084. PMSX, 1
  4085. }
  4086.  
  4087. Device (PXSX)
  4088. {
  4089. Name (_ADR, Zero) // _ADR: Address
  4090. Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
  4091. {
  4092. 0x09,
  4093. 0x04
  4094. })
  4095. }
  4096.  
  4097. Method (HPME, 0, Serialized)
  4098. {
  4099. If (PMSX)
  4100. {
  4101. Local0 = 0xC8
  4102. While (Local0)
  4103. {
  4104. PMSX = One
  4105. If (PMSX)
  4106. {
  4107. Local0--
  4108. }
  4109. Else
  4110. {
  4111. Local0 = Zero
  4112. }
  4113. }
  4114.  
  4115. Notify (PXSX, 0x02) // Device Wake
  4116. }
  4117. }
  4118.  
  4119. Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
  4120. {
  4121. If (PICM)
  4122. {
  4123. Return (AR08 ())
  4124. }
  4125.  
  4126. Return (PR08 ())
  4127. }
  4128. }
  4129.  
  4130. Device (RP06)
  4131. {
  4132. Name (_ADR, 0x001C0005) // _ADR: Address
  4133. Name (_HPP, Package (0x04) // _HPP: Hot Plug Parameters
  4134. {
  4135. 0x08,
  4136. 0x40,
  4137. One,
  4138. Zero
  4139. })
  4140. OperationRegion (PXCS, PCI_Config, 0x40, 0xC0)
  4141. Field (PXCS, AnyAcc, NoLock, Preserve)
  4142. {
  4143. Offset (0x10),
  4144. L0SE, 1,
  4145. Offset (0x11),
  4146. Offset (0x12),
  4147. , 13,
  4148. LASX, 1,
  4149. Offset (0x14),
  4150. , 6,
  4151. HPCE, 1,
  4152. Offset (0x1A),
  4153. ABPX, 1,
  4154. , 2,
  4155. PDCX, 1,
  4156. , 2,
  4157. PDSX, 1,
  4158. Offset (0x1B),
  4159. Offset (0x20),
  4160. Offset (0x22),
  4161. PSPX, 1,
  4162. Offset (0x98),
  4163. , 30,
  4164. HPEX, 1,
  4165. PMEX, 1
  4166. }
  4167.  
  4168. Field (PXCS, AnyAcc, NoLock, WriteAsZeros)
  4169. {
  4170. Offset (0x94),
  4171. , 1,
  4172. EIFD, 1,
  4173. Offset (0x95),
  4174. Offset (0x9C),
  4175. , 30,
  4176. HPSX, 1,
  4177. PMSX, 1
  4178. }
  4179.  
  4180. Device (PXSX)
  4181. {
  4182. Name (_ADR, Zero) // _ADR: Address
  4183. Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
  4184. {
  4185. 0x09,
  4186. 0x04
  4187. })
  4188. }
  4189.  
  4190. Method (HPME, 0, Serialized)
  4191. {
  4192. If (PMSX)
  4193. {
  4194. Local0 = 0xC8
  4195. While (Local0)
  4196. {
  4197. PMSX = One
  4198. If (PMSX)
  4199. {
  4200. Local0--
  4201. }
  4202. Else
  4203. {
  4204. Local0 = Zero
  4205. }
  4206. }
  4207.  
  4208. Notify (PXSX, 0x02) // Device Wake
  4209. }
  4210. }
  4211.  
  4212. Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
  4213. {
  4214. If (PICM)
  4215. {
  4216. Return (AR09 ())
  4217. }
  4218.  
  4219. Return (PR09 ())
  4220. }
  4221. }
  4222.  
  4223. Device (RP07)
  4224. {
  4225. Name (_ADR, 0x001C0006) // _ADR: Address
  4226. Name (_HPP, Package (0x04) // _HPP: Hot Plug Parameters
  4227. {
  4228. 0x08,
  4229. 0x40,
  4230. One,
  4231. Zero
  4232. })
  4233. OperationRegion (PXCS, PCI_Config, 0x40, 0xC0)
  4234. Field (PXCS, AnyAcc, NoLock, Preserve)
  4235. {
  4236. Offset (0x10),
  4237. L0SE, 1,
  4238. Offset (0x11),
  4239. Offset (0x12),
  4240. , 13,
  4241. LASX, 1,
  4242. Offset (0x14),
  4243. , 6,
  4244. HPCE, 1,
  4245. Offset (0x1A),
  4246. ABPX, 1,
  4247. , 2,
  4248. PDCX, 1,
  4249. , 2,
  4250. PDSX, 1,
  4251. Offset (0x1B),
  4252. Offset (0x20),
  4253. Offset (0x22),
  4254. PSPX, 1,
  4255. Offset (0x98),
  4256. , 30,
  4257. HPEX, 1,
  4258. PMEX, 1
  4259. }
  4260.  
  4261. Field (PXCS, AnyAcc, NoLock, WriteAsZeros)
  4262. {
  4263. Offset (0x94),
  4264. , 1,
  4265. EIFD, 1,
  4266. Offset (0x95),
  4267. Offset (0x9C),
  4268. , 30,
  4269. HPSX, 1,
  4270. PMSX, 1
  4271. }
  4272.  
  4273. Device (PXSX)
  4274. {
  4275. Name (_ADR, Zero) // _ADR: Address
  4276. Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
  4277. {
  4278. 0x09,
  4279. 0x04
  4280. })
  4281. }
  4282.  
  4283. Method (HPME, 0, Serialized)
  4284. {
  4285. If (PMSX)
  4286. {
  4287. Local0 = 0xC8
  4288. While (Local0)
  4289. {
  4290. PMSX = One
  4291. If (PMSX)
  4292. {
  4293. Local0--
  4294. }
  4295. Else
  4296. {
  4297. Local0 = Zero
  4298. }
  4299. }
  4300.  
  4301. Notify (PXSX, 0x02) // Device Wake
  4302. }
  4303. }
  4304.  
  4305. Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
  4306. {
  4307. If (PICM)
  4308. {
  4309. Return (AR0E ())
  4310. }
  4311.  
  4312. Return (PR0E ())
  4313. }
  4314. }
  4315.  
  4316. Device (RP08)
  4317. {
  4318. Name (_ADR, 0x001C0007) // _ADR: Address
  4319. Name (_HPP, Package (0x04) // _HPP: Hot Plug Parameters
  4320. {
  4321. 0x08,
  4322. 0x40,
  4323. One,
  4324. Zero
  4325. })
  4326. OperationRegion (PXCS, PCI_Config, 0x40, 0xC0)
  4327. Field (PXCS, AnyAcc, NoLock, Preserve)
  4328. {
  4329. Offset (0x10),
  4330. L0SE, 1,
  4331. Offset (0x11),
  4332. Offset (0x12),
  4333. , 13,
  4334. LASX, 1,
  4335. Offset (0x14),
  4336. , 6,
  4337. HPCE, 1,
  4338. Offset (0x1A),
  4339. ABPX, 1,
  4340. , 2,
  4341. PDCX, 1,
  4342. , 2,
  4343. PDSX, 1,
  4344. Offset (0x1B),
  4345. Offset (0x20),
  4346. Offset (0x22),
  4347. PSPX, 1,
  4348. Offset (0x98),
  4349. , 30,
  4350. HPEX, 1,
  4351. PMEX, 1
  4352. }
  4353.  
  4354. Field (PXCS, AnyAcc, NoLock, WriteAsZeros)
  4355. {
  4356. Offset (0x94),
  4357. , 1,
  4358. EIFD, 1,
  4359. Offset (0x95),
  4360. Offset (0x9C),
  4361. , 30,
  4362. HPSX, 1,
  4363. PMSX, 1
  4364. }
  4365.  
  4366. Device (PXSX)
  4367. {
  4368. Name (_ADR, Zero) // _ADR: Address
  4369. Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
  4370. {
  4371. 0x09,
  4372. 0x04
  4373. })
  4374. }
  4375.  
  4376. Method (HPME, 0, Serialized)
  4377. {
  4378. If (PMSX)
  4379. {
  4380. Local0 = 0xC8
  4381. While (Local0)
  4382. {
  4383. PMSX = One
  4384. If (PMSX)
  4385. {
  4386. Local0--
  4387. }
  4388. Else
  4389. {
  4390. Local0 = Zero
  4391. }
  4392. }
  4393.  
  4394. Notify (PXSX, 0x02) // Device Wake
  4395. }
  4396. }
  4397.  
  4398. Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
  4399. {
  4400. If (PICM)
  4401. {
  4402. Return (AR0F ())
  4403. }
  4404.  
  4405. Return (PR0F ())
  4406. }
  4407. }
  4408.  
  4409. Device (PEG0)
  4410. {
  4411. Name (_ADR, 0x00010000) // _ADR: Address
  4412. Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
  4413. {
  4414. If (PICM)
  4415. {
  4416. Return (AR02 ())
  4417. }
  4418.  
  4419. Return (PR02 ())
  4420. }
  4421.  
  4422. Device (PEGP)
  4423. {
  4424. Name (_ADR, 0xFFFF) // _ADR: Address
  4425. }
  4426.  
  4427. Device (VID)
  4428. {
  4429. Name (_ADR, Zero) // _ADR: Address
  4430. }
  4431. }
  4432.  
  4433. Device (PEG1)
  4434. {
  4435. Name (_ADR, 0x00010001) // _ADR: Address
  4436. Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
  4437. {
  4438. If (PICM)
  4439. {
  4440. Return (AR0A ())
  4441. }
  4442.  
  4443. Return (PR0A ())
  4444. }
  4445. }
  4446.  
  4447. Device (PEG2)
  4448. {
  4449. Name (_ADR, 0x00010002) // _ADR: Address
  4450. Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
  4451. {
  4452. If (PICM)
  4453. {
  4454. Return (AR0B ())
  4455. }
  4456.  
  4457. Return (PR0B ())
  4458. }
  4459. }
  4460.  
  4461. Device (PEG3)
  4462. {
  4463. Name (_ADR, 0x00060000) // _ADR: Address
  4464. Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
  4465. {
  4466. If (PICM)
  4467. {
  4468. Return (AR0C ())
  4469. }
  4470.  
  4471. Return (PR0C ())
  4472. }
  4473. }
  4474.  
  4475. Device (B0D4)
  4476. {
  4477. Name (_ADR, 0x00040000) // _ADR: Address
  4478. }
  4479.  
  4480. Device (USB4)
  4481. {
  4482. Name (_ADR, 0x001D0004) // _ADR: Address
  4483. Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
  4484. {
  4485. Return (GPRW (0x0E, 0x03))
  4486. }
  4487. }
  4488.  
  4489. Device (RP03)
  4490. {
  4491. Name (_ADR, 0x001C0002) // _ADR: Address
  4492. Name (_HPP, Package (0x04) // _HPP: Hot Plug Parameters
  4493. {
  4494. 0x08,
  4495. 0x40,
  4496. One,
  4497. Zero
  4498. })
  4499. OperationRegion (PXCS, PCI_Config, 0x40, 0xC0)
  4500. Field (PXCS, AnyAcc, NoLock, Preserve)
  4501. {
  4502. Offset (0x10),
  4503. L0SE, 1,
  4504. Offset (0x11),
  4505. Offset (0x12),
  4506. , 13,
  4507. LASX, 1,
  4508. Offset (0x1A),
  4509. ABPX, 1,
  4510. , 2,
  4511. PDCX, 1,
  4512. , 2,
  4513. PDSX, 1,
  4514. Offset (0x1B),
  4515. Offset (0x20),
  4516. Offset (0x22),
  4517. PSPX, 1,
  4518. Offset (0x98),
  4519. , 30,
  4520. HPEX, 1,
  4521. PMEX, 1
  4522. }
  4523.  
  4524. Field (PXCS, AnyAcc, NoLock, WriteAsZeros)
  4525. {
  4526. Offset (0x94),
  4527. , 1,
  4528. EIFD, 1,
  4529. Offset (0x95),
  4530. Offset (0x9C),
  4531. , 30,
  4532. HPSX, 1,
  4533. PMSX, 1
  4534. }
  4535.  
  4536. Device (PXSX)
  4537. {
  4538. Name (_ADR, Zero) // _ADR: Address
  4539. Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
  4540. {
  4541. 0x09,
  4542. 0x04
  4543. })
  4544. Method (_RMV, 0, NotSerialized) // _RMV: Removal Status
  4545. {
  4546. Return (One)
  4547. }
  4548. }
  4549.  
  4550. Method (_INI, 0, NotSerialized) // _INI: Initialize
  4551. {
  4552. EIFD = Zero
  4553. }
  4554.  
  4555. Method (EWAK, 1, NotSerialized)
  4556. {
  4557. EIFD = Zero
  4558. }
  4559.  
  4560. Method (HPME, 0, Serialized)
  4561. {
  4562. If (PMSX)
  4563. {
  4564. Local0 = 0xC8
  4565. While (Local0)
  4566. {
  4567. PMSX = One
  4568. If (PMSX)
  4569. {
  4570. Local0--
  4571. }
  4572. Else
  4573. {
  4574. Local0 = Zero
  4575. }
  4576. }
  4577.  
  4578. Notify (PXSX, 0x02) // Device Wake
  4579. }
  4580. }
  4581.  
  4582. Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
  4583. {
  4584. If (PICM)
  4585. {
  4586. Return (AR06 ())
  4587. }
  4588.  
  4589. Return (PR06 ())
  4590. }
  4591. }
  4592.  
  4593. Device (RP04)
  4594. {
  4595. Name (_ADR, 0x001C0003) // _ADR: Address
  4596. Name (_HPP, Package (0x04) // _HPP: Hot Plug Parameters
  4597. {
  4598. 0x08,
  4599. 0x40,
  4600. One,
  4601. Zero
  4602. })
  4603. OperationRegion (PXCS, PCI_Config, 0x40, 0xC0)
  4604. Field (PXCS, AnyAcc, NoLock, Preserve)
  4605. {
  4606. Offset (0x10),
  4607. L0SE, 1,
  4608. Offset (0x11),
  4609. Offset (0x12),
  4610. , 13,
  4611. LASX, 1,
  4612. Offset (0x1A),
  4613. ABPX, 1,
  4614. , 2,
  4615. PDCX, 1,
  4616. , 2,
  4617. PDSX, 1,
  4618. Offset (0x1B),
  4619. Offset (0x20),
  4620. Offset (0x22),
  4621. PSPX, 1,
  4622. Offset (0x98),
  4623. , 30,
  4624. HPEX, 1,
  4625. PMEX, 1
  4626. }
  4627.  
  4628. Field (PXCS, AnyAcc, NoLock, WriteAsZeros)
  4629. {
  4630. Offset (0x94),
  4631. , 1,
  4632. EIFD, 1,
  4633. Offset (0x95),
  4634. Offset (0x9C),
  4635. , 30,
  4636. HPSX, 1,
  4637. PMSX, 1
  4638. }
  4639.  
  4640. Device (PXSX)
  4641. {
  4642. Name (_ADR, Zero) // _ADR: Address
  4643. Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
  4644. {
  4645. 0x09,
  4646. 0x04
  4647. })
  4648. Method (_RMV, 0, NotSerialized) // _RMV: Removal Status
  4649. {
  4650. Return (One)
  4651. }
  4652. }
  4653.  
  4654. Method (_INI, 0, NotSerialized) // _INI: Initialize
  4655. {
  4656. EIFD = Zero
  4657. }
  4658.  
  4659. Method (EWAK, 1, NotSerialized)
  4660. {
  4661. EIFD = Zero
  4662. }
  4663.  
  4664. Method (HPME, 0, Serialized)
  4665. {
  4666. If (PMSX)
  4667. {
  4668. Local0 = 0xC8
  4669. While (Local0)
  4670. {
  4671. PMSX = One
  4672. If (PMSX)
  4673. {
  4674. Local0--
  4675. }
  4676. Else
  4677. {
  4678. Local0 = Zero
  4679. }
  4680. }
  4681.  
  4682. Notify (PXSX, 0x02) // Device Wake
  4683. }
  4684. }
  4685.  
  4686. Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
  4687. {
  4688. If (PICM)
  4689. {
  4690. Return (AR07 ())
  4691. }
  4692.  
  4693. Return (PR07 ())
  4694. }
  4695. }
  4696. }
  4697.  
  4698. Scope (\_GPE)
  4699. {
  4700. Method (_L0B, 0, NotSerialized) // _Lxx: Level-Triggered GPE
  4701. {
  4702. Notify (\_SB.PCI0.P0P1, 0x02) // Device Wake
  4703. }
  4704.  
  4705. Method (_L03, 0, NotSerialized) // _Lxx: Level-Triggered GPE
  4706. {
  4707. Notify (\_SB.PCI0.USB1, 0x02) // Device Wake
  4708. }
  4709.  
  4710. Method (_L04, 0, NotSerialized) // _Lxx: Level-Triggered GPE
  4711. {
  4712. Notify (\_SB.PCI0.USB2, 0x02) // Device Wake
  4713. }
  4714.  
  4715. Method (_L0C, 0, NotSerialized) // _Lxx: Level-Triggered GPE
  4716. {
  4717. Notify (\_SB.PCI0.USB3, 0x02) // Device Wake
  4718. }
  4719.  
  4720. Method (_L05, 0, NotSerialized) // _Lxx: Level-Triggered GPE
  4721. {
  4722. Notify (\_SB.PCI0.USB5, 0x02) // Device Wake
  4723. }
  4724.  
  4725. Method (_L20, 0, NotSerialized) // _Lxx: Level-Triggered GPE
  4726. {
  4727. Notify (\_SB.PCI0.USB6, 0x02) // Device Wake
  4728. }
  4729.  
  4730. Method (_L25, 0, NotSerialized) // _Lxx: Level-Triggered GPE
  4731. {
  4732. Notify (\_SB.PCI0.USB7, 0x02) // Device Wake
  4733. }
  4734.  
  4735. Method (_L0E, 0, NotSerialized) // _Lxx: Level-Triggered GPE
  4736. {
  4737. Notify (\_SB.PCI0.USB4, 0x02) // Device Wake
  4738. }
  4739. }
  4740. }
  4741.  
  4742. Scope (\)
  4743. {
  4744. OperationRegion (IO_T, SystemIO, 0x1000, 0x10)
  4745. Field (IO_T, ByteAcc, NoLock, Preserve)
  4746. {
  4747. TRPI, 16,
  4748. Offset (0x04),
  4749. Offset (0x06),
  4750. Offset (0x08),
  4751. TRP0, 8,
  4752. Offset (0x0A),
  4753. Offset (0x0B),
  4754. Offset (0x0C),
  4755. Offset (0x0D),
  4756. Offset (0x0E),
  4757. Offset (0x0F),
  4758. Offset (0x10)
  4759. }
  4760.  
  4761. OperationRegion (IO_D, SystemIO, 0x1100, 0x04)
  4762. Field (IO_D, ByteAcc, NoLock, Preserve)
  4763. {
  4764. TRPD, 8
  4765. }
  4766.  
  4767. OperationRegion (IO_H, SystemIO, 0x1000, 0x04)
  4768. Field (IO_H, ByteAcc, NoLock, Preserve)
  4769. {
  4770. TRPH, 8
  4771. }
  4772.  
  4773. OperationRegion (PMIO, SystemIO, PMBS, 0x80)
  4774. Field (PMIO, ByteAcc, NoLock, Preserve)
  4775. {
  4776. Offset (0x28),
  4777. Offset (0x2A),
  4778. , 3,
  4779. GPE3, 1,
  4780. Offset (0x3C),
  4781. , 1,
  4782. UPRW, 1,
  4783. Offset (0x42),
  4784. , 1,
  4785. GPEC, 1
  4786. }
  4787.  
  4788. Field (PMIO, ByteAcc, NoLock, WriteAsZeros)
  4789. {
  4790. Offset (0x20),
  4791. Offset (0x22),
  4792. , 3,
  4793. GPS3, 1,
  4794. Offset (0x64),
  4795. , 9,
  4796. SCIS, 1,
  4797. Offset (0x66)
  4798. }
  4799.  
  4800. OperationRegion (GPIO, SystemIO, GPBS, 0x64)
  4801. Field (GPIO, ByteAcc, NoLock, Preserve)
  4802. {
  4803. GU00, 8,
  4804. GU01, 8,
  4805. GU02, 8,
  4806. GU03, 8,
  4807. GIO0, 8,
  4808. GIO1, 8,
  4809. GIO2, 8,
  4810. GIO3, 8,
  4811. Offset (0x0C),
  4812. GL00, 8,
  4813. GL01, 8,
  4814. GL02, 8,
  4815. GP24, 1,
  4816. , 2,
  4817. GP27, 1,
  4818. GP28, 1,
  4819. Offset (0x10),
  4820. Offset (0x18),
  4821. GB00, 8,
  4822. GB01, 8,
  4823. GB02, 8,
  4824. GB03, 8,
  4825. Offset (0x2C),
  4826. GIV0, 8,
  4827. GIV1, 8,
  4828. GIV2, 8,
  4829. GIV3, 8,
  4830. GU04, 8,
  4831. GU05, 8,
  4832. GU06, 8,
  4833. GU07, 8,
  4834. GIO4, 8,
  4835. GIO5, 8,
  4836. GIO6, 8,
  4837. GIO7, 8,
  4838. GL04, 8,
  4839. GL05, 8,
  4840. GL06, 8,
  4841. GL07, 8,
  4842. Offset (0x40),
  4843. GU08, 8,
  4844. GU09, 8,
  4845. GU0A, 8,
  4846. GU0B, 8,
  4847. GIO8, 8,
  4848. GIO9, 8,
  4849. GIOA, 8,
  4850. GIOB, 8,
  4851. GL08, 8,
  4852. GL09, 8,
  4853. GL0A, 8,
  4854. GL0B, 8
  4855. }
  4856.  
  4857. OperationRegion (RCRB, SystemMemory, SRCB, 0x4000)
  4858. Field (RCRB, DWordAcc, Lock, Preserve)
  4859. {
  4860. Offset (0x1000),
  4861. Offset (0x3000),
  4862. Offset (0x3404),
  4863. HPAS, 2,
  4864. , 5,
  4865. HPAE, 1,
  4866. Offset (0x3418),
  4867. , 1,
  4868. , 1,
  4869. SATD, 1,
  4870. SMBD, 1,
  4871. HDAD, 1,
  4872. Offset (0x341A),
  4873. RP1D, 1,
  4874. RP2D, 1,
  4875. RP3D, 1,
  4876. RP4D, 1,
  4877. RP5D, 1,
  4878. RP6D, 1,
  4879. RP7D, 1,
  4880. RP8D, 1,
  4881. Offset (0x359C),
  4882. UP0D, 1,
  4883. UP1D, 1,
  4884. UP2D, 1,
  4885. UP3D, 1,
  4886. UP4D, 1,
  4887. UP5D, 1,
  4888. UP6D, 1,
  4889. UP7D, 1,
  4890. UP8D, 1,
  4891. UP9D, 1,
  4892. UPAD, 1,
  4893. UPBD, 1,
  4894. UPCD, 1,
  4895. UPDD, 1,
  4896. , 1,
  4897. Offset (0x359E)
  4898. }
  4899. }
  4900.  
  4901. Scope (_SB.PCI0)
  4902. {
  4903. Device (GLAN)
  4904. {
  4905. Name (_ADR, 0x00190000) // _ADR: Address
  4906. Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
  4907. {
  4908. Return (GPRW (0x0D, 0x04))
  4909. }
  4910. }
  4911.  
  4912. Device (EHC1)
  4913. {
  4914. Name (_ADR, 0x001D0000) // _ADR: Address
  4915. OperationRegion (PWCS, PCI_Config, 0x54, 0x04)
  4916. Field (PWCS, DWordAcc, NoLock, Preserve)
  4917. {
  4918. Offset (0x01),
  4919. PMEB, 1,
  4920. , 6,
  4921. PMST, 1
  4922. }
  4923.  
  4924. Method (_S1D, 0, NotSerialized) // _S1D: S1 Device State
  4925. {
  4926. Return (0x02)
  4927. }
  4928.  
  4929. Method (_S3D, 0, NotSerialized) // _S3D: S3 Device State
  4930. {
  4931. Return (0x02)
  4932. }
  4933.  
  4934. Device (HUBN)
  4935. {
  4936. Name (_ADR, Zero) // _ADR: Address
  4937. Device (PR01)
  4938. {
  4939. Name (_ADR, One) // _ADR: Address
  4940. Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
  4941. {
  4942. Name (UPCA, Package (0x04)
  4943. {
  4944. 0xFF,
  4945. Zero,
  4946. Zero,
  4947. Zero
  4948. })
  4949. Return (UPCA) /* \_SB_.PCI0.EHC1.HUBN.PR01._UPC.UPCA */
  4950. }
  4951.  
  4952. Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
  4953. {
  4954. Name (PLDP, Package (0x01)
  4955. {
  4956. Buffer (0x10)
  4957. {
  4958. /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */
  4959. /* 0008 */ 0x30, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 /* 0....... */
  4960. }
  4961. })
  4962. Return (PLDP) /* \_SB_.PCI0.EHC1.HUBN.PR01._PLD.PLDP */
  4963. }
  4964.  
  4965. Device (PR11)
  4966. {
  4967. Name (_ADR, One) // _ADR: Address
  4968. Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
  4969. {
  4970. Name (UPCP, Package (0x04)
  4971. {
  4972. 0xFF,
  4973. 0xFF,
  4974. Zero,
  4975. Zero
  4976. })
  4977. Return (UPCP) /* \_SB_.PCI0.EHC1.HUBN.PR01.PR11._UPC.UPCP */
  4978. }
  4979.  
  4980. Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
  4981. {
  4982. Name (PLDP, Package (0x01)
  4983. {
  4984. Buffer (0x10)
  4985. {
  4986. /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */
  4987. /* 0008 */ 0x31, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 /* 1....... */
  4988. }
  4989. })
  4990. Return (PLDP) /* \_SB_.PCI0.EHC1.HUBN.PR01.PR11._PLD.PLDP */
  4991. }
  4992. }
  4993.  
  4994. Device (PR12)
  4995. {
  4996. Name (_ADR, 0x02) // _ADR: Address
  4997. Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
  4998. {
  4999. Name (UPCP, Package (0x04)
  5000. {
  5001. 0xFF,
  5002. 0xFF,
  5003. Zero,
  5004. Zero
  5005. })
  5006. Return (UPCP) /* \_SB_.PCI0.EHC1.HUBN.PR01.PR12._UPC.UPCP */
  5007. }
  5008.  
  5009. Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
  5010. {
  5011. Name (PLDP, Package (0x01)
  5012. {
  5013. Buffer (0x10)
  5014. {
  5015. /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */
  5016. /* 0008 */ 0x31, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 /* 1....... */
  5017. }
  5018. })
  5019. Return (PLDP) /* \_SB_.PCI0.EHC1.HUBN.PR01.PR12._PLD.PLDP */
  5020. }
  5021. }
  5022.  
  5023. Device (PR13)
  5024. {
  5025. Name (_ADR, 0x03) // _ADR: Address
  5026. Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
  5027. {
  5028. Name (UPCP, Package (0x04)
  5029. {
  5030. 0xFF,
  5031. 0xFF,
  5032. Zero,
  5033. Zero
  5034. })
  5035. Return (UPCP) /* \_SB_.PCI0.EHC1.HUBN.PR01.PR13._UPC.UPCP */
  5036. }
  5037.  
  5038. Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
  5039. {
  5040. Name (PLDP, Package (0x01)
  5041. {
  5042. Buffer (0x10)
  5043. {
  5044. /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */
  5045. /* 0008 */ 0x31, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 /* 1....... */
  5046. }
  5047. })
  5048. Return (PLDP) /* \_SB_.PCI0.EHC1.HUBN.PR01.PR13._PLD.PLDP */
  5049. }
  5050. }
  5051.  
  5052. Device (PR14)
  5053. {
  5054. Name (_ADR, 0x04) // _ADR: Address
  5055. Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
  5056. {
  5057. Name (UPCP, Package (0x04)
  5058. {
  5059. 0xFF,
  5060. 0xFF,
  5061. Zero,
  5062. Zero
  5063. })
  5064. Return (UPCP) /* \_SB_.PCI0.EHC1.HUBN.PR01.PR14._UPC.UPCP */
  5065. }
  5066.  
  5067. Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
  5068. {
  5069. Name (PLDP, Package (0x01)
  5070. {
  5071. Buffer (0x10)
  5072. {
  5073. /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */
  5074. /* 0008 */ 0x31, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 /* 1....... */
  5075. }
  5076. })
  5077. Return (PLDP) /* \_SB_.PCI0.EHC1.HUBN.PR01.PR14._PLD.PLDP */
  5078. }
  5079.  
  5080. Alias (SBV1, SDGV)
  5081. Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
  5082. {
  5083. Name (T_0, Zero) // _T_x: Emitted by ASL Compiler
  5084. If ((Arg0 == ToUUID ("a5fc708f-8775-4ba6-bd0c-ba90a1ec72f8")))
  5085. {
  5086. While (One)
  5087. {
  5088. T_0 = ToInteger (Arg2)
  5089. If ((T_0 == Zero))
  5090. {
  5091. If ((Arg1 == One))
  5092. {
  5093. Return (Buffer (One)
  5094. {
  5095. 0x07 /* . */
  5096. })
  5097. }
  5098. Else
  5099. {
  5100. Return (Buffer (One)
  5101. {
  5102. 0x00 /* . */
  5103. })
  5104. }
  5105. }
  5106. Else
  5107. {
  5108. If ((T_0 == One))
  5109. {
  5110. If ((SDGV == 0xFF))
  5111. {
  5112. Return (Zero)
  5113. }
  5114. Else
  5115. {
  5116. Return (One)
  5117. }
  5118. }
  5119. Else
  5120. {
  5121. If ((T_0 == 0x02))
  5122. {
  5123. Return (SDGV) /* \_SB_.PCI0.EHC1.HUBN.PR01.PR14.SDGV */
  5124. }
  5125. }
  5126. }
  5127.  
  5128. Break
  5129. }
  5130. }
  5131.  
  5132. Return (Zero)
  5133. }
  5134. }
  5135.  
  5136. Device (PR15)
  5137. {
  5138. Name (_ADR, 0x05) // _ADR: Address
  5139. Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
  5140. {
  5141. Name (UPCP, Package (0x04)
  5142. {
  5143. 0xFF,
  5144. 0xFF,
  5145. Zero,
  5146. Zero
  5147. })
  5148. Return (UPCP) /* \_SB_.PCI0.EHC1.HUBN.PR01.PR15._UPC.UPCP */
  5149. }
  5150.  
  5151. Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
  5152. {
  5153. Name (PLDP, Package (0x01)
  5154. {
  5155. Buffer (0x10)
  5156. {
  5157. /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */
  5158. /* 0008 */ 0x31, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 /* 1....... */
  5159. }
  5160. })
  5161. Return (PLDP) /* \_SB_.PCI0.EHC1.HUBN.PR01.PR15._PLD.PLDP */
  5162. }
  5163.  
  5164. Alias (SBV2, SDGV)
  5165. Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
  5166. {
  5167. Name (T_0, Zero) // _T_x: Emitted by ASL Compiler
  5168. If ((Arg0 == ToUUID ("a5fc708f-8775-4ba6-bd0c-ba90a1ec72f8")))
  5169. {
  5170. While (One)
  5171. {
  5172. T_0 = ToInteger (Arg2)
  5173. If ((T_0 == Zero))
  5174. {
  5175. If ((Arg1 == One))
  5176. {
  5177. Return (Buffer (One)
  5178. {
  5179. 0x07 /* . */
  5180. })
  5181. }
  5182. Else
  5183. {
  5184. Return (Buffer (One)
  5185. {
  5186. 0x00 /* . */
  5187. })
  5188. }
  5189. }
  5190. Else
  5191. {
  5192. If ((T_0 == One))
  5193. {
  5194. If ((SDGV == 0xFF))
  5195. {
  5196. Return (Zero)
  5197. }
  5198. Else
  5199. {
  5200. Return (One)
  5201. }
  5202. }
  5203. Else
  5204. {
  5205. If ((T_0 == 0x02))
  5206. {
  5207. Return (SDGV) /* \_SB_.PCI0.EHC1.HUBN.PR01.PR15.SDGV */
  5208. }
  5209. }
  5210. }
  5211.  
  5212. Break
  5213. }
  5214. }
  5215.  
  5216. Return (Zero)
  5217. }
  5218. }
  5219.  
  5220. Device (PR16)
  5221. {
  5222. Name (_ADR, 0x06) // _ADR: Address
  5223. Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
  5224. {
  5225. Name (UPCP, Package (0x04)
  5226. {
  5227. 0xFF,
  5228. 0xFF,
  5229. Zero,
  5230. Zero
  5231. })
  5232. Return (UPCP) /* \_SB_.PCI0.EHC1.HUBN.PR01.PR16._UPC.UPCP */
  5233. }
  5234.  
  5235. Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
  5236. {
  5237. Name (PLDP, Package (0x01)
  5238. {
  5239. Buffer (0x10)
  5240. {
  5241. /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */
  5242. /* 0008 */ 0x30, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 /* 0....... */
  5243. }
  5244. })
  5245. Return (PLDP) /* \_SB_.PCI0.EHC1.HUBN.PR01.PR16._PLD.PLDP */
  5246. }
  5247.  
  5248. Alias (SBV1, SDGV)
  5249. Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
  5250. {
  5251. Name (T_0, Zero) // _T_x: Emitted by ASL Compiler
  5252. If ((Arg0 == ToUUID ("a5fc708f-8775-4ba6-bd0c-ba90a1ec72f8")))
  5253. {
  5254. While (One)
  5255. {
  5256. T_0 = ToInteger (Arg2)
  5257. If ((T_0 == Zero))
  5258. {
  5259. If ((Arg1 == One))
  5260. {
  5261. Return (Buffer (One)
  5262. {
  5263. 0x07 /* . */
  5264. })
  5265. }
  5266. Else
  5267. {
  5268. Return (Buffer (One)
  5269. {
  5270. 0x00 /* . */
  5271. })
  5272. }
  5273. }
  5274. Else
  5275. {
  5276. If ((T_0 == One))
  5277. {
  5278. If ((SDGV == 0xFF))
  5279. {
  5280. Return (Zero)
  5281. }
  5282. Else
  5283. {
  5284. Return (One)
  5285. }
  5286. }
  5287. Else
  5288. {
  5289. If ((T_0 == 0x02))
  5290. {
  5291. Return (SDGV) /* \_SB_.PCI0.EHC1.HUBN.PR01.PR16.SDGV */
  5292. }
  5293. }
  5294. }
  5295.  
  5296. Break
  5297. }
  5298. }
  5299.  
  5300. Return (Zero)
  5301. }
  5302. }
  5303.  
  5304. Device (PR17)
  5305. {
  5306. Name (_ADR, 0x07) // _ADR: Address
  5307. Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
  5308. {
  5309. Name (UPCP, Package (0x04)
  5310. {
  5311. 0xFF,
  5312. 0xFF,
  5313. Zero,
  5314. Zero
  5315. })
  5316. Return (UPCP) /* \_SB_.PCI0.EHC1.HUBN.PR01.PR17._UPC.UPCP */
  5317. }
  5318.  
  5319. Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
  5320. {
  5321. Name (PLDP, Package (0x01)
  5322. {
  5323. Buffer (0x10)
  5324. {
  5325. /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */
  5326. /* 0008 */ 0x31, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 /* 1....... */
  5327. }
  5328. })
  5329. Return (PLDP) /* \_SB_.PCI0.EHC1.HUBN.PR01.PR17._PLD.PLDP */
  5330. }
  5331.  
  5332. Alias (SBV2, SDGV)
  5333. Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
  5334. {
  5335. Name (T_0, Zero) // _T_x: Emitted by ASL Compiler
  5336. If ((Arg0 == ToUUID ("a5fc708f-8775-4ba6-bd0c-ba90a1ec72f8")))
  5337. {
  5338. While (One)
  5339. {
  5340. T_0 = ToInteger (Arg2)
  5341. If ((T_0 == Zero))
  5342. {
  5343. If ((Arg1 == One))
  5344. {
  5345. Return (Buffer (One)
  5346. {
  5347. 0x07 /* . */
  5348. })
  5349. }
  5350. Else
  5351. {
  5352. Return (Buffer (One)
  5353. {
  5354. 0x00 /* . */
  5355. })
  5356. }
  5357. }
  5358. Else
  5359. {
  5360. If ((T_0 == One))
  5361. {
  5362. If ((SDGV == 0xFF))
  5363. {
  5364. Return (Zero)
  5365. }
  5366. Else
  5367. {
  5368. Return (One)
  5369. }
  5370. }
  5371. Else
  5372. {
  5373. If ((T_0 == 0x02))
  5374. {
  5375. Return (SDGV) /* \_SB_.PCI0.EHC1.HUBN.PR01.PR17.SDGV */
  5376. }
  5377. }
  5378. }
  5379.  
  5380. Break
  5381. }
  5382. }
  5383.  
  5384. Return (Zero)
  5385. }
  5386. }
  5387.  
  5388. Device (PR18)
  5389. {
  5390. Name (_ADR, 0x08) // _ADR: Address
  5391. Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
  5392. {
  5393. Name (UPCP, Package (0x04)
  5394. {
  5395. 0xFF,
  5396. 0xFF,
  5397. Zero,
  5398. Zero
  5399. })
  5400. Return (UPCP) /* \_SB_.PCI0.EHC1.HUBN.PR01.PR18._UPC.UPCP */
  5401. }
  5402.  
  5403. Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
  5404. {
  5405. Name (PLDP, Package (0x01)
  5406. {
  5407. Buffer (0x10)
  5408. {
  5409. /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */
  5410. /* 0008 */ 0x30, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 /* 0....... */
  5411. }
  5412. })
  5413. Return (PLDP) /* \_SB_.PCI0.EHC1.HUBN.PR01.PR18._PLD.PLDP */
  5414. }
  5415. }
  5416. }
  5417. }
  5418. }
  5419.  
  5420. Device (EHC2)
  5421. {
  5422. Name (_ADR, 0x001A0000) // _ADR: Address
  5423. OperationRegion (PWCS, PCI_Config, 0x54, 0x04)
  5424. Field (PWCS, DWordAcc, NoLock, Preserve)
  5425. {
  5426. Offset (0x01),
  5427. PMEB, 1,
  5428. , 6,
  5429. PMST, 1
  5430. }
  5431.  
  5432. Method (_S1D, 0, NotSerialized) // _S1D: S1 Device State
  5433. {
  5434. Return (0x02)
  5435. }
  5436.  
  5437. Method (_S3D, 0, NotSerialized) // _S3D: S3 Device State
  5438. {
  5439. Return (0x02)
  5440. }
  5441.  
  5442. Device (HUBN)
  5443. {
  5444. Name (_ADR, Zero) // _ADR: Address
  5445. Device (PR01)
  5446. {
  5447. Name (_ADR, One) // _ADR: Address
  5448. Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
  5449. {
  5450. Name (UPCA, Package (0x04)
  5451. {
  5452. Zero,
  5453. 0xFF,
  5454. Zero,
  5455. Zero
  5456. })
  5457. Return (UPCA) /* \_SB_.PCI0.EHC2.HUBN.PR01._UPC.UPCA */
  5458. }
  5459.  
  5460. Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
  5461. {
  5462. Name (PLDP, Package (0x01)
  5463. {
  5464. Buffer (0x10)
  5465. {
  5466. /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */
  5467. /* 0008 */ 0x31, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 /* 1....... */
  5468. }
  5469. })
  5470. Return (PLDP) /* \_SB_.PCI0.EHC2.HUBN.PR01._PLD.PLDP */
  5471. }
  5472.  
  5473. Device (PR11)
  5474. {
  5475. Name (_ADR, One) // _ADR: Address
  5476. Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
  5477. {
  5478. Name (UPCP, Package (0x04)
  5479. {
  5480. 0xFF,
  5481. 0xFF,
  5482. Zero,
  5483. Zero
  5484. })
  5485. Return (UPCP) /* \_SB_.PCI0.EHC2.HUBN.PR01.PR11._UPC.UPCP */
  5486. }
  5487.  
  5488. Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
  5489. {
  5490. Name (PLDP, Package (0x01)
  5491. {
  5492. Buffer (0x10)
  5493. {
  5494. /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */
  5495. /* 0008 */ 0x30, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 /* 0....... */
  5496. }
  5497. })
  5498. Return (PLDP) /* \_SB_.PCI0.EHC2.HUBN.PR01.PR11._PLD.PLDP */
  5499. }
  5500. }
  5501.  
  5502. Device (PR12)
  5503. {
  5504. Name (_ADR, 0x02) // _ADR: Address
  5505. Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
  5506. {
  5507. Name (UPCP, Package (0x04)
  5508. {
  5509. 0xFF,
  5510. 0xFF,
  5511. Zero,
  5512. Zero
  5513. })
  5514. Return (UPCP) /* \_SB_.PCI0.EHC2.HUBN.PR01.PR12._UPC.UPCP */
  5515. }
  5516.  
  5517. Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
  5518. {
  5519. Name (PLDP, Package (0x01)
  5520. {
  5521. Buffer (0x10)
  5522. {
  5523. /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */
  5524. /* 0008 */ 0x31, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 /* 1....... */
  5525. }
  5526. })
  5527. Return (PLDP) /* \_SB_.PCI0.EHC2.HUBN.PR01.PR12._PLD.PLDP */
  5528. }
  5529.  
  5530. Alias (SBV1, SDGV)
  5531. Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
  5532. {
  5533. Name (T_0, Zero) // _T_x: Emitted by ASL Compiler
  5534. If ((Arg0 == ToUUID ("a5fc708f-8775-4ba6-bd0c-ba90a1ec72f8")))
  5535. {
  5536. While (One)
  5537. {
  5538. T_0 = ToInteger (Arg2)
  5539. If ((T_0 == Zero))
  5540. {
  5541. If ((Arg1 == One))
  5542. {
  5543. Return (Buffer (One)
  5544. {
  5545. 0x07 /* . */
  5546. })
  5547. }
  5548. Else
  5549. {
  5550. Return (Buffer (One)
  5551. {
  5552. 0x00 /* . */
  5553. })
  5554. }
  5555. }
  5556. Else
  5557. {
  5558. If ((T_0 == One))
  5559. {
  5560. If ((SDGV == 0xFF))
  5561. {
  5562. Return (Zero)
  5563. }
  5564. Else
  5565. {
  5566. Return (One)
  5567. }
  5568. }
  5569. Else
  5570. {
  5571. If ((T_0 == 0x02))
  5572. {
  5573. Return (SDGV) /* \_SB_.PCI0.EHC2.HUBN.PR01.PR12.SDGV */
  5574. }
  5575. }
  5576. }
  5577.  
  5578. Break
  5579. }
  5580. }
  5581.  
  5582. Return (Zero)
  5583. }
  5584. }
  5585.  
  5586. Device (PR13)
  5587. {
  5588. Name (_ADR, 0x03) // _ADR: Address
  5589. Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
  5590. {
  5591. Name (UPCP, Package (0x04)
  5592. {
  5593. 0xFF,
  5594. 0xFF,
  5595. Zero,
  5596. Zero
  5597. })
  5598. Return (UPCP) /* \_SB_.PCI0.EHC2.HUBN.PR01.PR13._UPC.UPCP */
  5599. }
  5600.  
  5601. Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
  5602. {
  5603. Name (PLDP, Package (0x01)
  5604. {
  5605. Buffer (0x10)
  5606. {
  5607. /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */
  5608. /* 0008 */ 0x30, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 /* 0....... */
  5609. }
  5610. })
  5611. Return (PLDP) /* \_SB_.PCI0.EHC2.HUBN.PR01.PR13._PLD.PLDP */
  5612. }
  5613.  
  5614. Alias (SBV2, SDGV)
  5615. Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
  5616. {
  5617. Name (T_0, Zero) // _T_x: Emitted by ASL Compiler
  5618. If ((Arg0 == ToUUID ("a5fc708f-8775-4ba6-bd0c-ba90a1ec72f8")))
  5619. {
  5620. While (One)
  5621. {
  5622. T_0 = ToInteger (Arg2)
  5623. If ((T_0 == Zero))
  5624. {
  5625. If ((Arg1 == One))
  5626. {
  5627. Return (Buffer (One)
  5628. {
  5629. 0x07 /* . */
  5630. })
  5631. }
  5632. Else
  5633. {
  5634. Return (Buffer (One)
  5635. {
  5636. 0x00 /* . */
  5637. })
  5638. }
  5639. }
  5640. Else
  5641. {
  5642. If ((T_0 == One))
  5643. {
  5644. If ((SDGV == 0xFF))
  5645. {
  5646. Return (Zero)
  5647. }
  5648. Else
  5649. {
  5650. Return (One)
  5651. }
  5652. }
  5653. Else
  5654. {
  5655. If ((T_0 == 0x02))
  5656. {
  5657. Return (SDGV) /* \_SB_.PCI0.EHC2.HUBN.PR01.PR13.SDGV */
  5658. }
  5659. }
  5660. }
  5661.  
  5662. Break
  5663. }
  5664. }
  5665.  
  5666. Return (Zero)
  5667. }
  5668. }
  5669.  
  5670. Device (PR14)
  5671. {
  5672. Name (_ADR, 0x04) // _ADR: Address
  5673. Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
  5674. {
  5675. Name (UPCP, Package (0x04)
  5676. {
  5677. 0xFF,
  5678. 0xFF,
  5679. Zero,
  5680. Zero
  5681. })
  5682. Return (UPCP) /* \_SB_.PCI0.EHC2.HUBN.PR01.PR14._UPC.UPCP */
  5683. }
  5684.  
  5685. Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
  5686. {
  5687. Name (PLDP, Package (0x01)
  5688. {
  5689. Buffer (0x10)
  5690. {
  5691. /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */
  5692. /* 0008 */ 0x30, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 /* 0....... */
  5693. }
  5694. })
  5695. Return (PLDP) /* \_SB_.PCI0.EHC2.HUBN.PR01.PR14._PLD.PLDP */
  5696. }
  5697. }
  5698.  
  5699. Device (PR15)
  5700. {
  5701. Name (_ADR, 0x05) // _ADR: Address
  5702. Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
  5703. {
  5704. 0xFF,
  5705. 0xFF,
  5706. Zero,
  5707. Zero
  5708. })
  5709. Name (_PLD, Package (0x01) // _PLD: Physical Location of Device
  5710. {
  5711. ToPLD (
  5712. PLD_Revision = 0x1,
  5713. PLD_IgnoreColor = 0x1,
  5714. PLD_Red = 0x0,
  5715. PLD_Green = 0x0,
  5716. PLD_Blue = 0x0,
  5717. PLD_Width = 0x0,
  5718. PLD_Height = 0x0,
  5719. PLD_UserVisible = 0x0,
  5720. PLD_Dock = 0x0,
  5721. PLD_Lid = 0x0,
  5722. PLD_Panel = "UNKNOWN",
  5723. PLD_VerticalPosition = "UPPER",
  5724. PLD_HorizontalPosition = "LEFT",
  5725. PLD_Shape = "UNKNOWN",
  5726. PLD_GroupOrientation = 0x0,
  5727. PLD_GroupToken = 0x0,
  5728. PLD_GroupPosition = 0x0,
  5729. PLD_Bay = 0x0,
  5730. PLD_Ejectable = 0x0,
  5731. PLD_EjectRequired = 0x0,
  5732. PLD_CabinetNumber = 0x0,
  5733. PLD_CardCageNumber = 0x0,
  5734. PLD_Reference = 0x0,
  5735. PLD_Rotation = 0x0,
  5736. PLD_Order = 0x0,
  5737. PLD_VerticalOffset = 0x0,
  5738. PLD_HorizontalOffset = 0x0)
  5739.  
  5740. })
  5741. Device (WCAM)
  5742. {
  5743. Name (_ADR, 0x05) // _ADR: Address
  5744. Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
  5745. {
  5746. 0xFF,
  5747. 0xFF,
  5748. Zero,
  5749. Zero
  5750. })
  5751. Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
  5752. {
  5753. Name (PLDP, Package (0x01)
  5754. {
  5755. Buffer (0x14)
  5756. {
  5757. /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */
  5758. /* 0008 */ 0x24, 0x1D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* $....... */
  5759. /* 0010 */ 0xCD, 0x00, 0xA0, 0x00 /* .... */
  5760. }
  5761. })
  5762. Return (PLDP) /* \_SB_.PCI0.EHC2.HUBN.PR01.PR15.WCAM._PLD.PLDP */
  5763. }
  5764. }
  5765. }
  5766.  
  5767. Device (PR16)
  5768. {
  5769. Name (_ADR, 0x06) // _ADR: Address
  5770. Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
  5771. {
  5772. Name (UPCP, Package (0x04)
  5773. {
  5774. 0xFF,
  5775. 0xFF,
  5776. Zero,
  5777. Zero
  5778. })
  5779. Return (UPCP) /* \_SB_.PCI0.EHC2.HUBN.PR01.PR16._UPC.UPCP */
  5780. }
  5781.  
  5782. Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
  5783. {
  5784. Name (PLDP, Package (0x01)
  5785. {
  5786. Buffer (0x10)
  5787. {
  5788. /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */
  5789. /* 0008 */ 0x30, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 /* 0....... */
  5790. }
  5791. })
  5792. Return (PLDP) /* \_SB_.PCI0.EHC2.HUBN.PR01.PR16._PLD.PLDP */
  5793. }
  5794. }
  5795. }
  5796. }
  5797. }
  5798.  
  5799. Device (XHC)
  5800. {
  5801. Name (_ADR, 0x00140000) // _ADR: Address
  5802. OperationRegion (PWCS, PCI_Config, 0x74, 0x04)
  5803. Field (PWCS, DWordAcc, NoLock, Preserve)
  5804. {
  5805. Offset (0x01),
  5806. PMEB, 1,
  5807. , 6,
  5808. PMST, 1
  5809. }
  5810.  
  5811. OperationRegion (XPRT, PCI_Config, 0x74, 0x6C)
  5812. Field (XPRT, DWordAcc, NoLock, Preserve)
  5813. {
  5814. Offset (0x01),
  5815. PMEE, 1,
  5816. , 6,
  5817. PMES, 1,
  5818. Offset (0x5C),
  5819. PR2, 32,
  5820. PR2M, 32,
  5821. PR3, 32,
  5822. PR3M, 32
  5823. }
  5824.  
  5825. Name (XRST, Zero)
  5826. Method (CUID, 1, Serialized)
  5827. {
  5828. If ((Arg0 == ToUUID ("7c9512a9-1705-4cb4-af7d-506a2423ab71")))
  5829. {
  5830. Return (One)
  5831. }
  5832.  
  5833. Return (Zero)
  5834. }
  5835.  
  5836. Method (POSC, 3, Serialized)
  5837. {
  5838. CreateDWordField (Arg2, Zero, CDW1)
  5839. CreateDWordField (Arg2, 0x08, CDW3)
  5840. If ((Arg1 != One))
  5841. {
  5842. CDW1 |= 0x08
  5843. }
  5844.  
  5845. If ((XHCI == Zero))
  5846. {
  5847. CDW1 |= 0x02
  5848. }
  5849.  
  5850. If (!(CDW1 & One))
  5851. {
  5852. If ((CDW3 & One))
  5853. {
  5854. ESEL ()
  5855. }
  5856. Else
  5857. {
  5858. XSEL ()
  5859. }
  5860. }
  5861.  
  5862. Return (Arg2)
  5863. }
  5864.  
  5865. Method (XSEL, 0, NotSerialized)
  5866. {
  5867. If (((XHCI == 0x02) || (XHCI == 0x03)))
  5868. {
  5869. XUSB = One
  5870. XRST = One
  5871. Local0 = Zero
  5872. Local0 = (PR3 & 0xFFFFFFF0)
  5873. Local0 |= XHPM /* \XHPM */
  5874. PR3 = (Local0 & PR3M) /* \_SB_.PCI0.XHC_.PR3M */
  5875. Local0 = Zero
  5876. Local0 = (PR2 & 0xFFFFFFF0)
  5877. Local0 |= XHPM /* \XHPM */
  5878. PR2 = (Local0 & PR2M) /* \_SB_.PCI0.XHC_.PR2M */
  5879. }
  5880. }
  5881.  
  5882. Method (ESEL, 0, Serialized)
  5883. {
  5884. If (((XHCI == 0x02) || (XHCI == 0x03)))
  5885. {
  5886. PR3 &= 0xFFFFFFF0
  5887. PR2 &= 0xFFFFFFF0
  5888. XUSB = Zero
  5889. XRST = Zero
  5890. }
  5891. }
  5892.  
  5893. Method (XWAK, 0, NotSerialized)
  5894. {
  5895. If (((XUSB == One) || (XRST == One)))
  5896. {
  5897. XSEL ()
  5898. }
  5899. }
  5900.  
  5901. Method (_S3D, 0, NotSerialized) // _S3D: S3 Device State
  5902. {
  5903. Return (0x02)
  5904. }
  5905.  
  5906. Device (RHUB)
  5907. {
  5908. Name (_ADR, Zero) // _ADR: Address
  5909. Device (HSP1)
  5910. {
  5911. Name (_ADR, One) // _ADR: Address
  5912. Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
  5913. {
  5914. Name (UPCP, Package (0x04)
  5915. {
  5916. 0xFF,
  5917. 0x03,
  5918. Zero,
  5919. Zero
  5920. })
  5921. If (!(PR2 & One))
  5922. {
  5923. Index (UPCP, Zero) = Zero
  5924. }
  5925.  
  5926. Return (UPCP) /* \_SB_.PCI0.XHC_.RHUB.HSP1._UPC.UPCP */
  5927. }
  5928.  
  5929. Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
  5930. {
  5931. Name (PLDP, Package (0x01)
  5932. {
  5933. Buffer (0x10)
  5934. {
  5935. /* 0000 */ 0x01, 0xC6, 0x72, 0x00, 0x00, 0x00, 0x00, 0x00, /* ..r..... */
  5936. /* 0008 */ 0x69, 0x0C, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00 /* i....... */
  5937. }
  5938. })
  5939. CreateBitField (DerefOf (Index (PLDP, Zero)), 0x40, VIS)
  5940. If (!(PR2 & One))
  5941. {
  5942. VIS &= Zero
  5943. }
  5944.  
  5945. Return (PLDP) /* \_SB_.PCI0.XHC_.RHUB.HSP1._PLD.PLDP */
  5946. }
  5947. }
  5948.  
  5949. Device (HSP2)
  5950. {
  5951. Name (_ADR, 0x02) // _ADR: Address
  5952. Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
  5953. {
  5954. Name (UPCP, Package (0x04)
  5955. {
  5956. 0xFF,
  5957. 0x03,
  5958. Zero,
  5959. Zero
  5960. })
  5961. If (!(PR2 & 0x02))
  5962. {
  5963. Index (UPCP, Zero) = Zero
  5964. }
  5965.  
  5966. Return (UPCP) /* \_SB_.PCI0.XHC_.RHUB.HSP2._UPC.UPCP */
  5967. }
  5968.  
  5969. Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
  5970. {
  5971. Name (PLDP, Package (0x01)
  5972. {
  5973. Buffer (0x10)
  5974. {
  5975. /* 0000 */ 0x01, 0xC6, 0x72, 0x00, 0x00, 0x00, 0x00, 0x00, /* ..r..... */
  5976. /* 0008 */ 0x69, 0x0C, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00 /* i....... */
  5977. }
  5978. })
  5979. CreateBitField (DerefOf (Index (PLDP, Zero)), 0x40, VIS)
  5980. If (!(PR2 & 0x02))
  5981. {
  5982. VIS &= Zero
  5983. }
  5984.  
  5985. Return (PLDP) /* \_SB_.PCI0.XHC_.RHUB.HSP2._PLD.PLDP */
  5986. }
  5987. }
  5988.  
  5989. Device (HSP3)
  5990. {
  5991. Name (_ADR, 0x03) // _ADR: Address
  5992. Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
  5993. {
  5994. Name (UPCP, Package (0x04)
  5995. {
  5996. 0xFF,
  5997. 0x03,
  5998. Zero,
  5999. Zero
  6000. })
  6001. If (!(PR2 & 0x04))
  6002. {
  6003. Index (UPCP, Zero) = Zero
  6004. }
  6005.  
  6006. Return (UPCP) /* \_SB_.PCI0.XHC_.RHUB.HSP3._UPC.UPCP */
  6007. }
  6008.  
  6009. Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
  6010. {
  6011. Name (PLDP, Package (0x01)
  6012. {
  6013. Buffer (0x10)
  6014. {
  6015. /* 0000 */ 0x01, 0xC6, 0x72, 0x00, 0x00, 0x00, 0x00, 0x00, /* ..r..... */
  6016. /* 0008 */ 0x69, 0x0C, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00 /* i....... */
  6017. }
  6018. })
  6019. CreateBitField (DerefOf (Index (PLDP, Zero)), 0x40, VIS)
  6020. If (!(PR2 & 0x04))
  6021. {
  6022. VIS &= Zero
  6023. }
  6024.  
  6025. Return (PLDP) /* \_SB_.PCI0.XHC_.RHUB.HSP3._PLD.PLDP */
  6026. }
  6027. }
  6028.  
  6029. Device (HSP4)
  6030. {
  6031. Name (_ADR, 0x04) // _ADR: Address
  6032. Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
  6033. {
  6034. Name (UPCP, Package (0x04)
  6035. {
  6036. 0xFF,
  6037. 0x03,
  6038. Zero,
  6039. Zero
  6040. })
  6041. If (!(PR2 & 0x08))
  6042. {
  6043. Index (UPCP, Zero) = Zero
  6044. }
  6045.  
  6046. Return (UPCP) /* \_SB_.PCI0.XHC_.RHUB.HSP4._UPC.UPCP */
  6047. }
  6048.  
  6049. Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
  6050. {
  6051. Name (PLDP, Package (0x01)
  6052. {
  6053. Buffer (0x10)
  6054. {
  6055. /* 0000 */ 0x01, 0xC6, 0x72, 0x00, 0x00, 0x00, 0x00, 0x00, /* ..r..... */
  6056. /* 0008 */ 0x69, 0x0C, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00 /* i....... */
  6057. }
  6058. })
  6059. CreateBitField (DerefOf (Index (PLDP, Zero)), 0x40, VIS)
  6060. If (!(PR2 & 0x08))
  6061. {
  6062. VIS &= Zero
  6063. }
  6064.  
  6065. Return (PLDP) /* \_SB_.PCI0.XHC_.RHUB.HSP4._PLD.PLDP */
  6066. }
  6067. }
  6068.  
  6069. Device (SSP1)
  6070. {
  6071. Name (_ADR, 0x05) // _ADR: Address
  6072. Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
  6073. {
  6074. Name (UPCP, Package (0x04)
  6075. {
  6076. 0xFF,
  6077. 0x03,
  6078. Zero,
  6079. Zero
  6080. })
  6081. If (!(PR3 & One))
  6082. {
  6083. Index (UPCP, Zero) = Zero
  6084. }
  6085.  
  6086. Return (UPCP) /* \_SB_.PCI0.XHC_.RHUB.SSP1._UPC.UPCP */
  6087. }
  6088.  
  6089. Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
  6090. {
  6091. Name (PLDP, Package (0x01)
  6092. {
  6093. Buffer (0x10)
  6094. {
  6095. /* 0000 */ 0x01, 0xC6, 0x72, 0x00, 0x00, 0x00, 0x00, 0x00, /* ..r..... */
  6096. /* 0008 */ 0x69, 0x0C, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00 /* i....... */
  6097. }
  6098. })
  6099. CreateBitField (DerefOf (Index (PLDP, Zero)), 0x40, VIS)
  6100. If (!(PR3 & One))
  6101. {
  6102. VIS &= Zero
  6103. }
  6104.  
  6105. Return (PLDP) /* \_SB_.PCI0.XHC_.RHUB.SSP1._PLD.PLDP */
  6106. }
  6107. }
  6108.  
  6109. Device (SSP2)
  6110. {
  6111. Name (_ADR, 0x06) // _ADR: Address
  6112. Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
  6113. {
  6114. Name (UPCP, Package (0x04)
  6115. {
  6116. 0xFF,
  6117. 0x03,
  6118. Zero,
  6119. Zero
  6120. })
  6121. If (!(PR3 & 0x02))
  6122. {
  6123. Index (UPCP, Zero) = Zero
  6124. }
  6125.  
  6126. Return (UPCP) /* \_SB_.PCI0.XHC_.RHUB.SSP2._UPC.UPCP */
  6127. }
  6128.  
  6129. Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
  6130. {
  6131. Name (PLDP, Package (0x01)
  6132. {
  6133. Buffer (0x10)
  6134. {
  6135. /* 0000 */ 0x01, 0xC6, 0x72, 0x00, 0x00, 0x00, 0x00, 0x00, /* ..r..... */
  6136. /* 0008 */ 0x69, 0x0C, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00 /* i....... */
  6137. }
  6138. })
  6139. CreateBitField (DerefOf (Index (PLDP, Zero)), 0x40, VIS)
  6140. If (!(PR3 & 0x02))
  6141. {
  6142. VIS &= Zero
  6143. }
  6144.  
  6145. Return (PLDP) /* \_SB_.PCI0.XHC_.RHUB.SSP2._PLD.PLDP */
  6146. }
  6147. }
  6148.  
  6149. Device (SSP3)
  6150. {
  6151. Name (_ADR, 0x07) // _ADR: Address
  6152. Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
  6153. {
  6154. Name (UPCP, Package (0x04)
  6155. {
  6156. 0xFF,
  6157. 0x03,
  6158. Zero,
  6159. Zero
  6160. })
  6161. If (!(PR3 & 0x04))
  6162. {
  6163. Index (UPCP, Zero) = Zero
  6164. }
  6165.  
  6166. Return (UPCP) /* \_SB_.PCI0.XHC_.RHUB.SSP3._UPC.UPCP */
  6167. }
  6168.  
  6169. Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
  6170. {
  6171. Name (PLDP, Package (0x01)
  6172. {
  6173. Buffer (0x10)
  6174. {
  6175. /* 0000 */ 0x01, 0xC6, 0x72, 0x00, 0x00, 0x00, 0x00, 0x00, /* ..r..... */
  6176. /* 0008 */ 0x69, 0x0C, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00 /* i....... */
  6177. }
  6178. })
  6179. CreateBitField (DerefOf (Index (PLDP, Zero)), 0x40, VIS)
  6180. If (!(PR3 & 0x04))
  6181. {
  6182. VIS &= Zero
  6183. }
  6184.  
  6185. Return (PLDP) /* \_SB_.PCI0.XHC_.RHUB.SSP3._PLD.PLDP */
  6186. }
  6187. }
  6188.  
  6189. Device (SSP4)
  6190. {
  6191. Name (_ADR, 0x08) // _ADR: Address
  6192. Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
  6193. {
  6194. Name (UPCP, Package (0x04)
  6195. {
  6196. 0xFF,
  6197. 0x03,
  6198. Zero,
  6199. Zero
  6200. })
  6201. If (!(PR3 & 0x08))
  6202. {
  6203. Index (UPCP, Zero) = Zero
  6204. }
  6205.  
  6206. Return (UPCP) /* \_SB_.PCI0.XHC_.RHUB.SSP4._UPC.UPCP */
  6207. }
  6208.  
  6209. Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device
  6210. {
  6211. Name (PLDP, Package (0x01)
  6212. {
  6213. Buffer (0x10)
  6214. {
  6215. /* 0000 */ 0x01, 0xC6, 0x72, 0x00, 0x00, 0x00, 0x00, 0x00, /* ..r..... */
  6216. /* 0008 */ 0x69, 0x0C, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00 /* i....... */
  6217. }
  6218. })
  6219. CreateBitField (DerefOf (Index (PLDP, Zero)), 0x40, VIS)
  6220. If (!(PR3 & 0x08))
  6221. {
  6222. VIS &= Zero
  6223. }
  6224.  
  6225. Return (PLDP) /* \_SB_.PCI0.XHC_.RHUB.SSP4._PLD.PLDP */
  6226. }
  6227. }
  6228. }
  6229. }
  6230.  
  6231. Device (HDEF)
  6232. {
  6233. Name (_ADR, 0x001B0000) // _ADR: Address
  6234. OperationRegion (HDAR, PCI_Config, 0x4C, 0x10)
  6235. Field (HDAR, WordAcc, NoLock, Preserve)
  6236. {
  6237. DCKA, 1,
  6238. Offset (0x01),
  6239. DCKM, 1,
  6240. , 6,
  6241. DCKS, 1,
  6242. Offset (0x08),
  6243. , 15,
  6244. PMES, 1
  6245. }
  6246.  
  6247. Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
  6248. {
  6249. Return (GPRW (0x0D, 0x04))
  6250. }
  6251. }
  6252.  
  6253. Device (SAT0)
  6254. {
  6255. Name (_ADR, 0x001F0002) // _ADR: Address
  6256. }
  6257.  
  6258. Device (SAT1)
  6259. {
  6260. Name (_ADR, 0x001F0005) // _ADR: Address
  6261. }
  6262.  
  6263. Device (SBUS)
  6264. {
  6265. Name (_ADR, 0x001F0003) // _ADR: Address
  6266. OperationRegion (SMBP, PCI_Config, 0x40, 0xC0)
  6267. Field (SMBP, DWordAcc, NoLock, Preserve)
  6268. {
  6269. , 2,
  6270. I2CE, 1
  6271. }
  6272.  
  6273. OperationRegion (SMPB, PCI_Config, 0x20, 0x04)
  6274. Field (SMPB, DWordAcc, NoLock, Preserve)
  6275. {
  6276. , 5,
  6277. SBAR, 11
  6278. }
  6279.  
  6280. OperationRegion (SMBI, SystemIO, (SBAR << 0x05), 0x10)
  6281. Field (SMBI, ByteAcc, NoLock, Preserve)
  6282. {
  6283. HSTS, 8,
  6284. Offset (0x02),
  6285. HCON, 8,
  6286. HCOM, 8,
  6287. TXSA, 8,
  6288. DAT0, 8,
  6289. DAT1, 8,
  6290. HBDR, 8,
  6291. PECR, 8,
  6292. RXSA, 8,
  6293. SDAT, 16
  6294. }
  6295.  
  6296. Method (SSXB, 2, Serialized)
  6297. {
  6298. If (STRT ())
  6299. {
  6300. Return (Zero)
  6301. }
  6302.  
  6303. I2CE = Zero
  6304. HSTS = 0xBF
  6305. TXSA = Arg0
  6306. HCOM = Arg1
  6307. HCON = 0x48
  6308. If (COMP ())
  6309. {
  6310. HSTS |= 0xFF
  6311. Return (One)
  6312. }
  6313.  
  6314. Return (Zero)
  6315. }
  6316.  
  6317. Method (SRXB, 1, Serialized)
  6318. {
  6319. If (STRT ())
  6320. {
  6321. Return (0xFFFF)
  6322. }
  6323.  
  6324. I2CE = Zero
  6325. HSTS = 0xBF
  6326. TXSA = (Arg0 | One)
  6327. HCON = 0x44
  6328. If (COMP ())
  6329. {
  6330. HSTS |= 0xFF
  6331. Return (DAT0) /* \_SB_.PCI0.SBUS.DAT0 */
  6332. }
  6333.  
  6334. Return (0xFFFF)
  6335. }
  6336.  
  6337. Method (SWRB, 3, Serialized)
  6338. {
  6339. If (STRT ())
  6340. {
  6341. Return (Zero)
  6342. }
  6343.  
  6344. I2CE = Zero
  6345. HSTS = 0xBF
  6346. TXSA = Arg0
  6347. HCOM = Arg1
  6348. DAT0 = Arg2
  6349. HCON = 0x48
  6350. If (COMP ())
  6351. {
  6352. HSTS |= 0xFF
  6353. Return (One)
  6354. }
  6355.  
  6356. Return (Zero)
  6357. }
  6358.  
  6359. Method (SRDB, 2, Serialized)
  6360. {
  6361. If (STRT ())
  6362. {
  6363. Return (0xFFFF)
  6364. }
  6365.  
  6366. I2CE = Zero
  6367. HSTS = 0xBF
  6368. TXSA = (Arg0 | One)
  6369. HCOM = Arg1
  6370. HCON = 0x48
  6371. If (COMP ())
  6372. {
  6373. HSTS |= 0xFF
  6374. Return (DAT0) /* \_SB_.PCI0.SBUS.DAT0 */
  6375. }
  6376.  
  6377. Return (0xFFFF)
  6378. }
  6379.  
  6380. Method (SWRW, 3, Serialized)
  6381. {
  6382. If (STRT ())
  6383. {
  6384. Return (Zero)
  6385. }
  6386.  
  6387. I2CE = Zero
  6388. HSTS = 0xBF
  6389. TXSA = Arg0
  6390. HCOM = Arg1
  6391. DAT1 = (Arg2 & 0xFF)
  6392. DAT0 = ((Arg2 >> 0x08) & 0xFF)
  6393. HCON = 0x4C
  6394. If (COMP ())
  6395. {
  6396. HSTS |= 0xFF
  6397. Return (One)
  6398. }
  6399.  
  6400. Return (Zero)
  6401. }
  6402.  
  6403. Method (SRDW, 2, Serialized)
  6404. {
  6405. If (STRT ())
  6406. {
  6407. Return (0xFFFF)
  6408. }
  6409.  
  6410. I2CE = Zero
  6411. HSTS = 0xBF
  6412. TXSA = (Arg0 | One)
  6413. HCOM = Arg1
  6414. HCON = 0x4C
  6415. If (COMP ())
  6416. {
  6417. HSTS |= 0xFF
  6418. Return (((DAT0 << 0x08) | DAT1))
  6419. }
  6420.  
  6421. Return (0xFFFFFFFF)
  6422. }
  6423.  
  6424. Method (SBLW, 4, Serialized)
  6425. {
  6426. If (STRT ())
  6427. {
  6428. Return (Zero)
  6429. }
  6430.  
  6431. I2CE = Arg3
  6432. HSTS = 0xBF
  6433. TXSA = Arg0
  6434. HCOM = Arg1
  6435. DAT0 = SizeOf (Arg2)
  6436. Local1 = Zero
  6437. HBDR = DerefOf (Index (Arg2, Zero))
  6438. HCON = 0x54
  6439. While ((SizeOf (Arg2) > Local1))
  6440. {
  6441. Local0 = 0x0FA0
  6442. While ((!(HSTS & 0x80) && Local0))
  6443. {
  6444. Local0--
  6445. Stall (0x32)
  6446. }
  6447.  
  6448. If (!Local0)
  6449. {
  6450. KILL ()
  6451. Return (Zero)
  6452. }
  6453.  
  6454. HSTS = 0x80
  6455. Local1++
  6456. If ((SizeOf (Arg2) > Local1))
  6457. {
  6458. HBDR = DerefOf (Index (Arg2, Local1))
  6459. }
  6460. }
  6461.  
  6462. If (COMP ())
  6463. {
  6464. HSTS |= 0xFF
  6465. Return (One)
  6466. }
  6467.  
  6468. Return (Zero)
  6469. }
  6470.  
  6471. Method (SBLR, 3, Serialized)
  6472. {
  6473. Name (TBUF, Buffer (0x0100) {})
  6474. If (STRT ())
  6475. {
  6476. Return (Zero)
  6477. }
  6478.  
  6479. I2CE = Arg2
  6480. HSTS = 0xBF
  6481. TXSA = (Arg0 | One)
  6482. HCOM = Arg1
  6483. HCON = 0x54
  6484. Local0 = 0x0FA0
  6485. While ((!(HSTS & 0x80) && Local0))
  6486. {
  6487. Local0--
  6488. Stall (0x32)
  6489. }
  6490.  
  6491. If (!Local0)
  6492. {
  6493. KILL ()
  6494. Return (Zero)
  6495. }
  6496.  
  6497. Index (TBUF, Zero) = DAT0 /* \_SB_.PCI0.SBUS.DAT0 */
  6498. HSTS = 0x80
  6499. Local1 = One
  6500. While ((Local1 < DerefOf (Index (TBUF, Zero))))
  6501. {
  6502. Local0 = 0x0FA0
  6503. While ((!(HSTS & 0x80) && Local0))
  6504. {
  6505. Local0--
  6506. Stall (0x32)
  6507. }
  6508.  
  6509. If (!Local0)
  6510. {
  6511. KILL ()
  6512. Return (Zero)
  6513. }
  6514.  
  6515. Index (TBUF, Local1) = HBDR /* \_SB_.PCI0.SBUS.HBDR */
  6516. HSTS = 0x80
  6517. Local1++
  6518. }
  6519.  
  6520. If (COMP ())
  6521. {
  6522. HSTS |= 0xFF
  6523. Return (TBUF) /* \_SB_.PCI0.SBUS.SBLR.TBUF */
  6524. }
  6525.  
  6526. Return (Zero)
  6527. }
  6528.  
  6529. Method (STRT, 0, Serialized)
  6530. {
  6531. Local0 = 0xC8
  6532. While (Local0)
  6533. {
  6534. If ((HSTS & 0x40))
  6535. {
  6536. Local0--
  6537. Sleep (One)
  6538. If ((Local0 == Zero))
  6539. {
  6540. Return (One)
  6541. }
  6542. }
  6543. Else
  6544. {
  6545. Local0 = Zero
  6546. }
  6547. }
  6548.  
  6549. Local0 = 0x0FA0
  6550. While (Local0)
  6551. {
  6552. If ((HSTS & One))
  6553. {
  6554. Local0--
  6555. Stall (0x32)
  6556. If ((Local0 == Zero))
  6557. {
  6558. KILL ()
  6559. }
  6560. }
  6561. Else
  6562. {
  6563. Return (Zero)
  6564. }
  6565. }
  6566.  
  6567. Return (One)
  6568. }
  6569.  
  6570. Method (COMP, 0, Serialized)
  6571. {
  6572. Local0 = 0x0FA0
  6573. While (Local0)
  6574. {
  6575. If ((HSTS & 0x02))
  6576. {
  6577. Return (One)
  6578. }
  6579. Else
  6580. {
  6581. Local0--
  6582. Stall (0x32)
  6583. If ((Local0 == Zero))
  6584. {
  6585. KILL ()
  6586. }
  6587. }
  6588. }
  6589.  
  6590. Return (Zero)
  6591. }
  6592.  
  6593. Method (KILL, 0, Serialized)
  6594. {
  6595. HCON |= 0x02
  6596. HSTS |= 0xFF
  6597. }
  6598. }
  6599. }
  6600.  
  6601. Scope (_SB.PCI0.LPCB)
  6602. {
  6603. OperationRegion (CPSB, SystemMemory, 0xDC039E18, 0x10)
  6604. Field (CPSB, AnyAcc, NoLock, Preserve)
  6605. {
  6606. RTCX, 1,
  6607. PWBS, 1,
  6608. S3WE, 1,
  6609. SBB0, 5,
  6610. SBB1, 8,
  6611. SBB2, 8,
  6612. SBB3, 8,
  6613. SBB4, 8,
  6614. SBB5, 8,
  6615. SBB6, 8,
  6616. SBB7, 8,
  6617. SBB8, 8,
  6618. SBB9, 8,
  6619. SBBA, 8,
  6620. SBBB, 8,
  6621. SBBC, 8,
  6622. SBBD, 8,
  6623. SBBE, 8,
  6624. SBBF, 8
  6625. }
  6626.  
  6627. Method (SPTS, 1, NotSerialized)
  6628. {
  6629. SLPX = One
  6630. SLPE = One
  6631. }
  6632.  
  6633. Method (SWAK, 1, NotSerialized)
  6634. {
  6635. SLPE = Zero
  6636. If (RTCX) {}
  6637. }
  6638.  
  6639. OperationRegion (SMIE, SystemIO, PMBS, 0x04)
  6640. Field (SMIE, ByteAcc, NoLock, Preserve)
  6641. {
  6642. , 10,
  6643. RTCS, 1,
  6644. , 3,
  6645. PEXS, 1,
  6646. WAKS, 1,
  6647. Offset (0x03),
  6648. PWBT, 1,
  6649. Offset (0x04)
  6650. }
  6651.  
  6652. OperationRegion (SLPR, SystemIO, SMCR, 0x08)
  6653. Field (SLPR, ByteAcc, NoLock, Preserve)
  6654. {
  6655. , 4,
  6656. SLPE, 1,
  6657. , 31,
  6658. SLPX, 1,
  6659. Offset (0x08)
  6660. }
  6661. }
  6662.  
  6663. Scope (_SB.PCI0.RP02.PXSX)
  6664. {
  6665. Method (_PSW, 1, NotSerialized) // _PSW: Power State Wake
  6666. {
  6667. If (Arg0)
  6668. {
  6669. PMFG = One
  6670. }
  6671. Else
  6672. {
  6673. PMFG = Zero
  6674. }
  6675. }
  6676. }
  6677.  
  6678. Scope (_SB.PCI0.RP01)
  6679. {
  6680. Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
  6681. {
  6682. Return (GPRW (0x09, 0x04))
  6683. }
  6684. }
  6685.  
  6686. Scope (_SB.PCI0.RP02)
  6687. {
  6688. Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
  6689. {
  6690. Return (GPRW (0x09, 0x04))
  6691. }
  6692. }
  6693.  
  6694. Scope (_SB.PCI0.RP03)
  6695. {
  6696. Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
  6697. {
  6698. Return (GPRW (0x09, 0x04))
  6699. }
  6700. }
  6701.  
  6702. Scope (_SB.PCI0.RP04)
  6703. {
  6704. Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
  6705. {
  6706. Return (GPRW (0x09, 0x04))
  6707. }
  6708. }
  6709.  
  6710. Scope (_SB.PCI0.RP05)
  6711. {
  6712. Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
  6713. {
  6714. Return (GPRW (0x09, 0x04))
  6715. }
  6716. }
  6717.  
  6718. Scope (_SB.PCI0.RP06)
  6719. {
  6720. Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
  6721. {
  6722. Return (GPRW (0x09, 0x04))
  6723. }
  6724. }
  6725.  
  6726. Scope (_SB.PCI0.RP07)
  6727. {
  6728. Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
  6729. {
  6730. Return (GPRW (0x09, 0x04))
  6731. }
  6732. }
  6733.  
  6734. Scope (_SB.PCI0.RP08)
  6735. {
  6736. Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
  6737. {
  6738. Return (GPRW (0x09, 0x04))
  6739. }
  6740. }
  6741.  
  6742. OperationRegion (_SB.PCI0.LPCB.LPCR, PCI_Config, 0x80, 0x04)
  6743. Field (\_SB.PCI0.LPCB.LPCR, ByteAcc, NoLock, Preserve)
  6744. {
  6745. CADR, 3,
  6746. , 1,
  6747. CBDR, 3,
  6748. Offset (0x01),
  6749. LTDR, 2,
  6750. , 2,
  6751. FDDR, 1,
  6752. Offset (0x02),
  6753. CALE, 1,
  6754. CBLE, 1,
  6755. LTLE, 1,
  6756. FDLE, 1,
  6757. Offset (0x03),
  6758. GLLE, 1,
  6759. GHLE, 1,
  6760. KCLE, 1,
  6761. MCLE, 1,
  6762. C1LE, 1,
  6763. C2LE, 1,
  6764. Offset (0x04)
  6765. }
  6766.  
  6767. Method (UXDV, 1, Serialized)
  6768. {
  6769. Name (T_0, Zero) // _T_x: Emitted by ASL Compiler
  6770. Local0 = 0xFF
  6771. While (One)
  6772. {
  6773. T_0 = (Arg0 + Zero)
  6774. If ((T_0 == 0x03F8))
  6775. {
  6776. Local0 = Zero
  6777. }
  6778. Else
  6779. {
  6780. If ((T_0 == 0x02F8))
  6781. {
  6782. Local0 = One
  6783. }
  6784. Else
  6785. {
  6786. If ((T_0 == 0x0220))
  6787. {
  6788. Local0 = 0x02
  6789. }
  6790. Else
  6791. {
  6792. If ((T_0 == 0x0228))
  6793. {
  6794. Local0 = 0x03
  6795. }
  6796. Else
  6797. {
  6798. If ((T_0 == 0x0238))
  6799. {
  6800. Local0 = 0x04
  6801. }
  6802. Else
  6803. {
  6804. If ((T_0 == 0x02E8))
  6805. {
  6806. Local0 = 0x05
  6807. }
  6808. Else
  6809. {
  6810. If ((T_0 == 0x0338))
  6811. {
  6812. Local0 = 0x06
  6813. }
  6814. Else
  6815. {
  6816. If ((T_0 == 0x03E8))
  6817. {
  6818. Local0 = 0x07
  6819. }
  6820. }
  6821. }
  6822. }
  6823. }
  6824. }
  6825. }
  6826. }
  6827.  
  6828. Break
  6829. }
  6830.  
  6831. Return (Local0)
  6832. }
  6833.  
  6834. Method (RRIO, 4, Serialized)
  6835. {
  6836. Name (T_0, Zero) // _T_x: Emitted by ASL Compiler
  6837. While (One)
  6838. {
  6839. T_0 = (Arg0 + Zero)
  6840. If ((T_0 == Zero))
  6841. {
  6842. CALE = Zero
  6843. Local0 = UXDV (Arg2)
  6844. If ((Local0 != 0xFF))
  6845. {
  6846. CADR = Local0
  6847. }
  6848.  
  6849. If (Arg1)
  6850. {
  6851. CALE = One
  6852. }
  6853. }
  6854. Else
  6855. {
  6856. If ((T_0 == One))
  6857. {
  6858. CBLE = Zero
  6859. Local0 = UXDV (Arg2)
  6860. If ((Local0 != 0xFF))
  6861. {
  6862. CBDR = Local0
  6863. }
  6864.  
  6865. If (Arg1)
  6866. {
  6867. CBLE = One
  6868. }
  6869. }
  6870. Else
  6871. {
  6872. If ((T_0 == 0x02))
  6873. {
  6874. LTLE = Zero
  6875. If ((Arg2 == 0x0378))
  6876. {
  6877. LTDR = Zero
  6878. }
  6879.  
  6880. If ((Arg2 == 0x0278))
  6881. {
  6882. LTDR = One
  6883. }
  6884.  
  6885. If ((Arg2 == 0x03BC))
  6886. {
  6887. LTDR = 0x02
  6888. }
  6889.  
  6890. If (Arg1)
  6891. {
  6892. LTLE = One
  6893. }
  6894. }
  6895. Else
  6896. {
  6897. If ((T_0 == 0x03))
  6898. {
  6899. FDLE = Zero
  6900. If ((Arg2 == 0x03F0))
  6901. {
  6902. FDDR = Zero
  6903. }
  6904.  
  6905. If ((Arg2 == 0x0370))
  6906. {
  6907. FDDR = One
  6908. }
  6909.  
  6910. If (Arg1)
  6911. {
  6912. FDLE = One
  6913. }
  6914. }
  6915. Else
  6916. {
  6917. If ((T_0 == 0x08))
  6918. {
  6919. If ((Arg2 == 0x0200))
  6920. {
  6921. If (Arg1)
  6922. {
  6923. GLLE = One
  6924. }
  6925. Else
  6926. {
  6927. GLLE = Zero
  6928. }
  6929. }
  6930.  
  6931. If ((Arg2 == 0x0208))
  6932. {
  6933. If (Arg1)
  6934. {
  6935. GHLE = One
  6936. }
  6937. Else
  6938. {
  6939. GHLE = Zero
  6940. }
  6941. }
  6942. }
  6943. Else
  6944. {
  6945. If ((T_0 == 0x09))
  6946. {
  6947. If ((Arg2 == 0x0200))
  6948. {
  6949. If (Arg1)
  6950. {
  6951. GLLE = One
  6952. }
  6953. Else
  6954. {
  6955. GLLE = Zero
  6956. }
  6957. }
  6958.  
  6959. If ((Arg2 == 0x0208))
  6960. {
  6961. If (Arg1)
  6962. {
  6963. GHLE = One
  6964. }
  6965. Else
  6966. {
  6967. GHLE = Zero
  6968. }
  6969. }
  6970. }
  6971. Else
  6972. {
  6973. If ((T_0 == 0x0A))
  6974. {
  6975. If (((Arg2 == 0x60) || (Arg2 == 0x64)))
  6976. {
  6977. If (Arg1)
  6978. {
  6979. KCLE = One
  6980. }
  6981. Else
  6982. {
  6983. KCLE = Zero
  6984. }
  6985. }
  6986. }
  6987. Else
  6988. {
  6989. If ((T_0 == 0x0B))
  6990. {
  6991. If (((Arg2 == 0x62) || (Arg2 == 0x66)))
  6992. {
  6993. If (Arg1)
  6994. {
  6995. MCLE = One
  6996. }
  6997. Else
  6998. {
  6999. MCLE = Zero
  7000. }
  7001. }
  7002. }
  7003. Else
  7004. {
  7005. If ((T_0 == 0x0C))
  7006. {
  7007. If ((Arg2 == 0x2E))
  7008. {
  7009. If (Arg1)
  7010. {
  7011. C1LE = One
  7012. }
  7013. Else
  7014. {
  7015. C1LE = Zero
  7016. }
  7017. }
  7018.  
  7019. If ((Arg2 == 0x4E))
  7020. {
  7021. If (Arg1)
  7022. {
  7023. C2LE = One
  7024. }
  7025. Else
  7026. {
  7027. C2LE = Zero
  7028. }
  7029. }
  7030. }
  7031. Else
  7032. {
  7033. If ((T_0 == 0x0D))
  7034. {
  7035. If ((Arg2 == 0x2E))
  7036. {
  7037. If (Arg1)
  7038. {
  7039. C1LE = One
  7040. }
  7041. Else
  7042. {
  7043. C1LE = Zero
  7044. }
  7045. }
  7046.  
  7047. If ((Arg2 == 0x4E))
  7048. {
  7049. If (Arg1)
  7050. {
  7051. C2LE = One
  7052. }
  7053. Else
  7054. {
  7055. C2LE = Zero
  7056. }
  7057. }
  7058. }
  7059. }
  7060. }
  7061. }
  7062. }
  7063. }
  7064. }
  7065. }
  7066. }
  7067. }
  7068.  
  7069. Break
  7070. }
  7071. }
  7072.  
  7073. Method (RDMA, 3, NotSerialized)
  7074. {
  7075. }
  7076.  
  7077. Scope (_SB.PCI0)
  7078. {
  7079. Method (NPTS, 1, NotSerialized)
  7080. {
  7081. }
  7082.  
  7083. Method (NWAK, 1, NotSerialized)
  7084. {
  7085. }
  7086. }
  7087.  
  7088. Scope (_SB.PCI0.PEG0)
  7089. {
  7090. Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
  7091. {
  7092. Return (GPRW (0x09, 0x04))
  7093. }
  7094. }
  7095.  
  7096. Scope (_SB.PCI0.PEG0.PEGP)
  7097. {
  7098. OperationRegion (DGFX, PCI_Config, Zero, 0xF0)
  7099. Field (DGFX, DWordAcc, Lock, Preserve)
  7100. {
  7101. Offset (0x0B),
  7102. LNKV, 8
  7103. }
  7104.  
  7105. Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
  7106. {
  7107. Return (GPRW (0x09, 0x04))
  7108. }
  7109. }
  7110.  
  7111. Scope (_SB.PCI0.PEG1)
  7112. {
  7113. Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
  7114. {
  7115. Return (GPRW (0x09, 0x04))
  7116. }
  7117. }
  7118.  
  7119. Scope (_SB.PCI0.PEG2)
  7120. {
  7121. Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
  7122. {
  7123. Return (GPRW (0x09, 0x04))
  7124. }
  7125. }
  7126.  
  7127. Scope (_SB.PCI0.PEG3)
  7128. {
  7129. Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
  7130. {
  7131. Return (GPRW (0x09, 0x04))
  7132. }
  7133. }
  7134.  
  7135. Scope (_SB.PCI0)
  7136. {
  7137. Device (GFX0)
  7138. {
  7139. Name (_ADR, 0x00020000) // _ADR: Address
  7140. }
  7141. }
  7142.  
  7143. Scope (_PR)
  7144. {
  7145. Processor (CPU0, 0x01, 0x00000410, 0x06) {}
  7146. Processor (CPU1, 0x02, 0x00000410, 0x06) {}
  7147. Processor (CPU2, 0x03, 0x00000410, 0x06) {}
  7148. Processor (CPU3, 0x04, 0x00000410, 0x06) {}
  7149. Processor (CPU4, 0x05, 0x00000410, 0x06) {}
  7150. Processor (CPU5, 0x06, 0x00000410, 0x06) {}
  7151. Processor (CPU6, 0x07, 0x00000410, 0x06) {}
  7152. Processor (CPU7, 0x08, 0x00000410, 0x06) {}
  7153. }
  7154.  
  7155. Mutex (MUTX, 0x00)
  7156. OperationRegion (DEB0, SystemIO, 0x80, One)
  7157. Field (DEB0, ByteAcc, NoLock, Preserve)
  7158. {
  7159. DBG8, 8
  7160. }
  7161.  
  7162. OperationRegion (DEB1, SystemIO, 0x90, 0x02)
  7163. Field (DEB1, WordAcc, NoLock, Preserve)
  7164. {
  7165. DBG9, 16
  7166. }
  7167.  
  7168. OperationRegion (PRT0, SystemIO, 0x80, 0x04)
  7169. Field (PRT0, DWordAcc, Lock, Preserve)
  7170. {
  7171. P80H, 32
  7172. }
  7173.  
  7174. Method (P8XH, 2, Serialized)
  7175. {
  7176. If ((Arg0 == Zero))
  7177. {
  7178. P80D = ((P80D & 0xFFFFFF00) | Arg1)
  7179. }
  7180.  
  7181. If ((Arg0 == One))
  7182. {
  7183. P80D = ((P80D & 0xFFFF00FF) | (Arg1 << 0x08))
  7184. }
  7185.  
  7186. If ((Arg0 == 0x02))
  7187. {
  7188. P80D = ((P80D & 0xFF00FFFF) | (Arg1 << 0x10))
  7189. }
  7190.  
  7191. If ((Arg0 == 0x03))
  7192. {
  7193. P80D = ((P80D & 0x00FFFFFF) | (Arg1 << 0x18))
  7194. }
  7195.  
  7196. P80H = P80D /* \P80D */
  7197. }
  7198.  
  7199. OperationRegion (SPRT, SystemIO, 0xB2, 0x02)
  7200. Field (SPRT, ByteAcc, Lock, Preserve)
  7201. {
  7202. SSMP, 8
  7203. }
  7204.  
  7205. OperationRegion (USBD, SystemMemory, 0xFED1F59C, 0x0E)
  7206. Field (USBD, AnyAcc, NoLock, Preserve)
  7207. {
  7208. , 12,
  7209. PO12, 1
  7210. }
  7211.  
  7212. OperationRegion (UBLK, SystemIO, 0x043C, 0x02)
  7213. Field (UBLK, ByteAcc, NoLock, Preserve)
  7214. {
  7215. , 1,
  7216. USBL, 1
  7217. }
  7218.  
  7219. Method (_PIC, 1, NotSerialized) // _PIC: Interrupt Model
  7220. {
  7221. GPIC = Arg0
  7222. PICM = Arg0
  7223. }
  7224.  
  7225. Method (_PTS, 1, NotSerialized) // _PTS: Prepare To Sleep
  7226. {
  7227. P80D = Zero
  7228. P8XH (Zero, Arg0)
  7229. PTS (Arg0)
  7230. If ((AOAC & One)) {}
  7231. If ((Arg0 == 0x03))
  7232. {
  7233. If ((PWRS == Zero))
  7234. {
  7235. \_SB.PCI0.XHC.PMEB = Zero
  7236. \_SB.PCI0.EHC1.PMEB = Zero
  7237. \_SB.PCI0.EHC2.PMEB = Zero
  7238. If ((\_SB.PCI0.XHC.PMST == One))
  7239. {
  7240. \_SB.PCI0.XHC.PMST = One
  7241. }
  7242.  
  7243. If ((\_SB.PCI0.EHC1.PMST == One))
  7244. {
  7245. \_SB.PCI0.EHC1.PMST = One
  7246. }
  7247.  
  7248. If ((\_SB.PCI0.EHC2.PMST == One))
  7249. {
  7250. \_SB.PCI0.EHC2.PMST = One
  7251. }
  7252. }
  7253. Else
  7254. {
  7255. If (((OSYS == 0x07D2) || (OSYS == 0x07D1)))
  7256. {
  7257. USBL = One
  7258. CAMD = PO12 /* \PO12 */
  7259. PO12 = One
  7260. USBL = Zero
  7261. Sleep (0x14)
  7262. If ((\_SB.PCI0.EHC2.PMST == One))
  7263. {
  7264. \_SB.PCI0.EHC2.PMST = One
  7265. }
  7266. }
  7267. }
  7268.  
  7269. If ((DTSE && (TCNT > One)))
  7270. {
  7271. TRAP (TRTD, 0x1E)
  7272. }
  7273. }
  7274.  
  7275. If ((((Arg0 == 0x03) || (Arg0 == 0x04)) || (Arg0 == 0x05)))
  7276. {
  7277. If ((PFLV == FDTP))
  7278. {
  7279. GP27 = One
  7280. }
  7281. }
  7282.  
  7283. EV1 (Arg0, Zero)
  7284. }
  7285.  
  7286. Method (_WAK, 1, Serialized) // _WAK: Wake
  7287. {
  7288. P8XH (One, 0xAB)
  7289. WAK (Arg0)
  7290. If ((((OSYS == 0x07D2) || (OSYS == 0x07D1)) || (Arg0 == 0x03)))
  7291. {
  7292. USBL = One
  7293. If (CAMD)
  7294. {
  7295. PO12 = One
  7296. }
  7297. Else
  7298. {
  7299. PO12 = Zero
  7300. }
  7301.  
  7302. USBL = Zero
  7303. }
  7304.  
  7305. If ((AOAC == 0x11))
  7306. {
  7307. If (CondRefOf (ECTM))
  7308. {
  7309. ECTM = Zero
  7310. }
  7311. }
  7312.  
  7313. If (NEXP)
  7314. {
  7315. If ((OSCC & 0x02))
  7316. {
  7317. \_SB.PCI0.NHPG ()
  7318. }
  7319.  
  7320. If ((OSCC & 0x04))
  7321. {
  7322. \_SB.PCI0.NPME ()
  7323. }
  7324. }
  7325.  
  7326. If ((Arg0 == 0x03)) {}
  7327. If (((Arg0 == 0x03) || (Arg0 == 0x04)))
  7328. {
  7329. If ((DTSE && (TCNT > One)))
  7330. {
  7331. TRAP (TRTD, 0x14)
  7332. }
  7333.  
  7334. OperationRegion (NVID, SystemMemory, 0xF8100000, 0x02)
  7335. Field (NVID, ByteAcc, NoLock, Preserve)
  7336. {
  7337. VVID, 16
  7338. }
  7339.  
  7340. If ((OSYS == 0x07D9))
  7341. {
  7342. If ((VVID == 0x10DE))
  7343. {
  7344. If ((NHDA == One))
  7345. {
  7346. \_SB.PCI0.PEG0.VID.MLTF = One
  7347. }
  7348. Else
  7349. {
  7350. \_SB.PCI0.PEG0.VID.MLTF = Zero
  7351. }
  7352. }
  7353. }
  7354.  
  7355. If ((OSYS == 0x07D2))
  7356. {
  7357. If ((CFGD & One))
  7358. {
  7359. If ((\_PR.CPU0._PPC > Zero))
  7360. {
  7361. \_PR.CPU0._PPC -= One
  7362. PNOT ()
  7363. \_PR.CPU0._PPC += One
  7364. PNOT ()
  7365. }
  7366. Else
  7367. {
  7368. \_PR.CPU0._PPC += One
  7369. PNOT ()
  7370. \_PR.CPU0._PPC -= One
  7371. PNOT ()
  7372. }
  7373. }
  7374. }
  7375.  
  7376. EV2 (Arg0, Zero)
  7377. If (ECG4 ())
  7378. {
  7379. GENS (0x1C, One, Zero)
  7380. }
  7381. Else
  7382. {
  7383. GENS (0x1C, Zero, Zero)
  7384. }
  7385.  
  7386. OperationRegion (DXHC, SystemMemory, 0xFED1F418, 0x04)
  7387. Field (DXHC, AnyAcc, NoLock, Preserve)
  7388. {
  7389. , 27,
  7390. XHCD, 1
  7391. }
  7392.  
  7393. If (((OSYS < 0x07D6) && (OSYS > 0x03E8)))
  7394. {
  7395. XHCD = One
  7396. Notify (\_SB.PCI0.XHC, Zero) // Bus Check
  7397. }
  7398.  
  7399. If ((RP1D == Zero))
  7400. {
  7401. Notify (\_SB.PCI0.RP01, Zero) // Bus Check
  7402. }
  7403.  
  7404. If ((RP2D == Zero))
  7405. {
  7406. Notify (\_SB.PCI0.RP02, Zero) // Bus Check
  7407. }
  7408.  
  7409. If ((RP3D == Zero))
  7410. {
  7411. Notify (\_SB.PCI0.RP03, Zero) // Bus Check
  7412. }
  7413.  
  7414. If ((RP4D == Zero))
  7415. {
  7416. Notify (\_SB.PCI0.RP04, Zero) // Bus Check
  7417. }
  7418.  
  7419. If ((RP5D == Zero))
  7420. {
  7421. Notify (\_SB.PCI0.RP05, Zero) // Bus Check
  7422. }
  7423.  
  7424. If ((RP6D == Zero))
  7425. {
  7426. Notify (\_SB.PCI0.RP06, Zero) // Bus Check
  7427. }
  7428.  
  7429. If ((RP7D == Zero))
  7430. {
  7431. If ((DSTS == Zero))
  7432. {
  7433. Notify (\_SB.PCI0.RP07, Zero) // Bus Check
  7434. }
  7435. }
  7436.  
  7437. If ((RP8D == Zero))
  7438. {
  7439. If ((DSTS == Zero))
  7440. {
  7441. Notify (\_SB.PCI0.RP08, Zero) // Bus Check
  7442. }
  7443. }
  7444. }
  7445.  
  7446. If (((Arg0 == 0x03) || (Arg0 == 0x04)))
  7447. {
  7448. \_SB.PCI0.XHC.XWAK ()
  7449. }
  7450.  
  7451. Return (Package (0x02)
  7452. {
  7453. Zero,
  7454. Zero
  7455. })
  7456. }
  7457.  
  7458. Method (GETB, 3, Serialized)
  7459. {
  7460. Local0 = (Arg0 * 0x08)
  7461. Local1 = (Arg1 * 0x08)
  7462. CreateField (Arg2, Local0, Local1, TBF3)
  7463. Return (TBF3) /* \GETB.TBF3 */
  7464. }
  7465.  
  7466. Method (PNOT, 0, NotSerialized)
  7467. {
  7468. If ((TCNT > One))
  7469. {
  7470. If ((PDC0 & 0x08))
  7471. {
  7472. Notify (\_PR.CPU0, 0x80) // Performance Capability Change
  7473. If ((PDC0 & 0x10))
  7474. {
  7475. Sleep (0x64)
  7476. Notify (\_PR.CPU0, 0x81) // C-State Change
  7477. }
  7478. }
  7479.  
  7480. If ((PDC1 & 0x08))
  7481. {
  7482. Notify (\_PR.CPU1, 0x80) // Performance Capability Change
  7483. If ((PDC1 & 0x10))
  7484. {
  7485. Sleep (0x64)
  7486. Notify (\_PR.CPU1, 0x81) // C-State Change
  7487. }
  7488. }
  7489.  
  7490. If ((PDC2 & 0x08))
  7491. {
  7492. Notify (\_PR.CPU2, 0x80) // Performance Capability Change
  7493. If ((PDC2 & 0x10))
  7494. {
  7495. Sleep (0x64)
  7496. Notify (\_PR.CPU2, 0x81) // C-State Change
  7497. }
  7498. }
  7499.  
  7500. If ((PDC3 & 0x08))
  7501. {
  7502. Notify (\_PR.CPU3, 0x80) // Performance Capability Change
  7503. If ((PDC3 & 0x10))
  7504. {
  7505. Sleep (0x64)
  7506. Notify (\_PR.CPU3, 0x81) // C-State Change
  7507. }
  7508. }
  7509.  
  7510. If ((PDC4 & 0x08))
  7511. {
  7512. Notify (\_PR.CPU4, 0x80) // Performance Capability Change
  7513. If ((PDC4 & 0x10))
  7514. {
  7515. Sleep (0x64)
  7516. Notify (\_PR.CPU4, 0x81) // C-State Change
  7517. }
  7518. }
  7519.  
  7520. If ((PDC5 & 0x08))
  7521. {
  7522. Notify (\_PR.CPU5, 0x80) // Performance Capability Change
  7523. If ((PDC5 & 0x10))
  7524. {
  7525. Sleep (0x64)
  7526. Notify (\_PR.CPU5, 0x81) // C-State Change
  7527. }
  7528. }
  7529.  
  7530. If ((PDC6 & 0x08))
  7531. {
  7532. Notify (\_PR.CPU6, 0x80) // Performance Capability Change
  7533. If ((PDC6 & 0x10))
  7534. {
  7535. Sleep (0x64)
  7536. Notify (\_PR.CPU6, 0x81) // C-State Change
  7537. }
  7538. }
  7539.  
  7540. If ((PDC7 & 0x08))
  7541. {
  7542. Notify (\_PR.CPU7, 0x80) // Performance Capability Change
  7543. If ((PDC7 & 0x10))
  7544. {
  7545. Sleep (0x64)
  7546. Notify (\_PR.CPU7, 0x81) // C-State Change
  7547. }
  7548. }
  7549. }
  7550. Else
  7551. {
  7552. Notify (\_PR.CPU0, 0x80) // Performance Capability Change
  7553. Sleep (0x64)
  7554. Notify (\_PR.CPU0, 0x81) // C-State Change
  7555. }
  7556. }
  7557.  
  7558. Method (TRAP, 2, Serialized)
  7559. {
  7560. SMIF = Arg1
  7561. If ((Arg0 == TRTP))
  7562. {
  7563. TRP0 = Zero
  7564. }
  7565.  
  7566. If ((Arg0 == TRTD))
  7567. {
  7568. DTSF = Arg1
  7569. TRPD = Zero
  7570. Return (DTSF) /* \DTSF */
  7571. }
  7572.  
  7573. If ((Arg0 == TRTI))
  7574. {
  7575. TRPH = Zero
  7576. }
  7577.  
  7578. Return (SMIF) /* \SMIF */
  7579. }
  7580.  
  7581. Scope (_SB.PCI0)
  7582. {
  7583. Method (_INI, 0, NotSerialized) // _INI: Initialize
  7584. {
  7585. OSYS = 0x07D0
  7586. If (CondRefOf (\_OSI, Local0))
  7587. {
  7588. If (_OSI ("Windows 2001"))
  7589. {
  7590. OSYS = 0x07D1
  7591. }
  7592.  
  7593. If (_OSI ("Windows 2001 SP1"))
  7594. {
  7595. OSYS = 0x07D1
  7596. }
  7597.  
  7598. If (_OSI ("Windows 2001 SP2"))
  7599. {
  7600. OSYS = 0x07D2
  7601. }
  7602.  
  7603. If (_OSI ("Windows 2001.1"))
  7604. {
  7605. OSYS = 0x07D3
  7606. }
  7607.  
  7608. If (_OSI ("Windows 2006"))
  7609. {
  7610. OSYS = 0x07D6
  7611. }
  7612.  
  7613. If (_OSI ("Windows 2009"))
  7614. {
  7615. OSYS = 0x07D9
  7616. }
  7617. }
  7618.  
  7619. EV3 (0x02, Zero)
  7620. OperationRegion (DXHC, SystemMemory, 0xFED1F418, 0x04)
  7621. Field (DXHC, AnyAcc, NoLock, Preserve)
  7622. {
  7623. , 27,
  7624. XHCD, 1
  7625. }
  7626.  
  7627. If (((OSYS < 0x07D6) && (OSYS > 0x03E8)))
  7628. {
  7629. XHCD = One
  7630. Notify (XHC, Zero) // Bus Check
  7631. }
  7632.  
  7633. If (ECG4 ())
  7634. {
  7635. GENS (0x1C, One, Zero)
  7636. }
  7637. Else
  7638. {
  7639. GENS (0x1C, Zero, Zero)
  7640. }
  7641. }
  7642.  
  7643. Method (NHPG, 0, Serialized)
  7644. {
  7645. ^RP01.HPEX = Zero
  7646. ^RP02.HPEX = Zero
  7647. ^RP03.HPEX = Zero
  7648. ^RP04.HPEX = Zero
  7649. ^RP01.HPSX = One
  7650. ^RP02.HPSX = One
  7651. ^RP03.HPSX = One
  7652. ^RP04.HPSX = One
  7653. }
  7654.  
  7655. Method (NPME, 0, Serialized)
  7656. {
  7657. ^RP01.PMEX = Zero
  7658. ^RP02.PMEX = Zero
  7659. ^RP03.PMEX = Zero
  7660. ^RP04.PMEX = Zero
  7661. ^RP05.PMEX = Zero
  7662. ^RP06.PMEX = Zero
  7663. ^RP07.PMEX = Zero
  7664. ^RP08.PMEX = Zero
  7665. ^RP01.PMSX = One
  7666. ^RP02.PMSX = One
  7667. ^RP03.PMSX = One
  7668. ^RP04.PMSX = One
  7669. ^RP05.PMSX = One
  7670. ^RP06.PMSX = One
  7671. ^RP07.PMSX = One
  7672. ^RP08.PMSX = One
  7673. }
  7674. }
  7675.  
  7676. Scope (\)
  7677. {
  7678. Name (PICM, Zero)
  7679. Name (PRWP, Package (0x02)
  7680. {
  7681. Zero,
  7682. Zero
  7683. })
  7684. Method (GPRW, 2, NotSerialized)
  7685. {
  7686. Index (PRWP, Zero) = Arg0
  7687. Local0 = (SS1 << One)
  7688. Local0 |= (SS2 << 0x02)
  7689. Local0 |= (SS3 << 0x03)
  7690. Local0 |= (SS4 << 0x04)
  7691. If (((One << Arg1) & Local0))
  7692. {
  7693. Index (PRWP, One) = Arg1
  7694. }
  7695. Else
  7696. {
  7697. Local0 >>= One
  7698. FindSetLeftBit (Local0, Index (PRWP, One))
  7699. }
  7700.  
  7701. Return (PRWP) /* \PRWP */
  7702. }
  7703. }
  7704.  
  7705. Scope (_SB.PCI0)
  7706. {
  7707. Device (PDRC)
  7708. {
  7709. Name (_HID, EisaId ("PNP0C02") /* PNP Motherboard Resources */) // _HID: Hardware ID
  7710. Name (_UID, One) // _UID: Unique ID
  7711. Name (BUF0, ResourceTemplate ()
  7712. {
  7713. Memory32Fixed (ReadWrite,
  7714. 0x00000000, // Address Base
  7715. 0x00004000, // Address Length
  7716. _Y11)
  7717. Memory32Fixed (ReadWrite,
  7718. 0x00000000, // Address Base
  7719. 0x00008000, // Address Length
  7720. _Y13)
  7721. Memory32Fixed (ReadWrite,
  7722. 0x00000000, // Address Base
  7723. 0x00001000, // Address Length
  7724. _Y14)
  7725. Memory32Fixed (ReadWrite,
  7726. 0x00000000, // Address Base
  7727. 0x00001000, // Address Length
  7728. _Y15)
  7729. Memory32Fixed (ReadWrite,
  7730. 0x00000000, // Address Base
  7731. 0x00000000, // Address Length
  7732. _Y16)
  7733. Memory32Fixed (ReadWrite,
  7734. 0xFED20000, // Address Base
  7735. 0x00020000, // Address Length
  7736. )
  7737. Memory32Fixed (ReadOnly,
  7738. 0xFED90000, // Address Base
  7739. 0x00004000, // Address Length
  7740. )
  7741. Memory32Fixed (ReadWrite,
  7742. 0xFED45000, // Address Base
  7743. 0x0004B000, // Address Length
  7744. )
  7745. Memory32Fixed (ReadOnly,
  7746. 0xFF000000, // Address Base
  7747. 0x01000000, // Address Length
  7748. )
  7749. Memory32Fixed (ReadOnly,
  7750. 0xFEE00000, // Address Base
  7751. 0x00100000, // Address Length
  7752. )
  7753. Memory32Fixed (ReadWrite,
  7754. 0x00000000, // Address Base
  7755. 0x00001000, // Address Length
  7756. _Y12)
  7757. })
  7758. Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
  7759. {
  7760. CreateDWordField (BUF0, \_SB.PCI0.PDRC._Y11._BAS, RBR0) // _BAS: Base Address
  7761. RBR0 = (^^LPCB.RCBA << 0x0E)
  7762. CreateDWordField (BUF0, \_SB.PCI0.PDRC._Y12._BAS, TBR0) // _BAS: Base Address
  7763. TBR0 = TBAB /* \TBAB */
  7764. CreateDWordField (BUF0, \_SB.PCI0.PDRC._Y12._LEN, TBLN) // _LEN: Length
  7765. If ((TBAB == Zero))
  7766. {
  7767. TBLN = Zero
  7768. }
  7769.  
  7770. CreateDWordField (BUF0, \_SB.PCI0.PDRC._Y13._BAS, MBR0) // _BAS: Base Address
  7771. MBR0 = (MHBR << 0x0F)
  7772. CreateDWordField (BUF0, \_SB.PCI0.PDRC._Y14._BAS, DBR0) // _BAS: Base Address
  7773. DBR0 = (DIBR << 0x0C)
  7774. CreateDWordField (BUF0, \_SB.PCI0.PDRC._Y15._BAS, EBR0) // _BAS: Base Address
  7775. EBR0 = (EPBR << 0x0C)
  7776. CreateDWordField (BUF0, \_SB.PCI0.PDRC._Y16._BAS, XBR0) // _BAS: Base Address
  7777. XBR0 = (PXBR << 0x1A)
  7778. CreateDWordField (BUF0, \_SB.PCI0.PDRC._Y16._LEN, XSZ0) // _LEN: Length
  7779. XSZ0 = (0x10000000 >> PXSZ) /* \_SB_.PCI0.PXSZ */
  7780. Return (BUF0) /* \_SB_.PCI0.PDRC.BUF0 */
  7781. }
  7782. }
  7783. }
  7784.  
  7785. Scope (_SB.PCI0.SAT0)
  7786. {
  7787. Device (PRT2)
  7788. {
  7789. Name (_ADR, 0x0002FFFF) // _ADR: Address
  7790. Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
  7791. {
  7792. Name (T_1, Zero) // _T_x: Emitted by ASL Compiler
  7793. Name (T_0, Zero) // _T_x: Emitted by ASL Compiler
  7794. If ((Arg0 == ToUUID ("bdfaef30-aebb-11de-8a39-0800200c9a66")))
  7795. {
  7796. While (One)
  7797. {
  7798. T_0 = ToInteger (Arg2)
  7799. If ((T_0 == Zero))
  7800. {
  7801. While (One)
  7802. {
  7803. T_1 = ToInteger (Arg1)
  7804. If ((T_1 == One))
  7805. {
  7806. If ((PFLV == FDTP))
  7807. {
  7808. Return (Buffer (One)
  7809. {
  7810. 0x00 /* . */
  7811. })
  7812. }
  7813.  
  7814. Return (Buffer (One)
  7815. {
  7816. 0x0F /* . */
  7817. })
  7818. }
  7819. Else
  7820. {
  7821. Return (Buffer (One)
  7822. {
  7823. 0x00 /* . */
  7824. })
  7825. }
  7826.  
  7827. Break
  7828. }
  7829. }
  7830. Else
  7831. {
  7832. If ((T_0 == One))
  7833. {
  7834. Return (One)
  7835. }
  7836. Else
  7837. {
  7838. If ((T_0 == 0x02))
  7839. {
  7840. GPE3 = Zero
  7841. If (((GL00 & 0x08) == 0x08))
  7842. {
  7843. GIV0 |= 0x08
  7844. }
  7845. Else
  7846. {
  7847. GIV0 &= 0xF7
  7848. }
  7849.  
  7850. GL08 &= 0xEF
  7851. Sleep (0xC8)
  7852. GPS3 = One
  7853. GPE3 = One
  7854. Return (One)
  7855. }
  7856. Else
  7857. {
  7858. If ((T_0 == 0x03))
  7859. {
  7860. GPE3 = Zero
  7861. GPS3 = One
  7862. GL08 |= 0x10
  7863. Return (One)
  7864. }
  7865. Else
  7866. {
  7867. Return (Zero)
  7868. }
  7869. }
  7870. }
  7871. }
  7872.  
  7873. Break
  7874. }
  7875. }
  7876. Else
  7877. {
  7878. Return (Zero)
  7879. }
  7880. }
  7881. }
  7882. }
  7883.  
  7884. Scope (_GPE)
  7885. {
  7886. Method (_L13, 0, NotSerialized) // _Lxx: Level-Triggered GPE
  7887. {
  7888. If ((PFLV == FDTP))
  7889. {
  7890. Return (Zero)
  7891. }
  7892.  
  7893. GPE3 = Zero
  7894. GL08 |= 0x10
  7895. Notify (\_SB.PCI0.SAT0, 0x82) // Device-Specific Change
  7896. Return (Zero)
  7897. }
  7898. }
  7899.  
  7900. Method (BCLR, 1, NotSerialized)
  7901. {
  7902. Local0 = Zero
  7903. While ((Local0 < SizeOf (Arg0)))
  7904. {
  7905. BBWR (Arg0, Local0, Zero)
  7906. Local0++
  7907. }
  7908. }
  7909.  
  7910. Method (BBWR, 3, NotSerialized)
  7911. {
  7912. CreateByteField (Arg0, Arg1, VAL)
  7913. VAL = Arg2
  7914. }
  7915.  
  7916. Method (BBRD, 2, NotSerialized)
  7917. {
  7918. CreateByteField (Arg0, Arg1, VAL)
  7919. Return (VAL) /* \BBRD.VAL_ */
  7920. }
  7921.  
  7922. Method (BWWR, 3, NotSerialized)
  7923. {
  7924. CreateWordField (Arg0, Arg1, VAL)
  7925. VAL = Arg2
  7926. }
  7927.  
  7928. Method (BWRD, 2, NotSerialized)
  7929. {
  7930. CreateWordField (Arg0, Arg1, VAL)
  7931. Return (VAL) /* \BWRD.VAL_ */
  7932. }
  7933.  
  7934. Method (BDWR, 3, NotSerialized)
  7935. {
  7936. CreateDWordField (Arg0, Arg1, VAL)
  7937. VAL = Arg2
  7938. }
  7939.  
  7940. Method (BDRD, 2, NotSerialized)
  7941. {
  7942. CreateDWordField (Arg0, Arg1, VAL)
  7943. Return (VAL) /* \BDRD.VAL_ */
  7944. }
  7945.  
  7946. Method (STRE, 2, NotSerialized)
  7947. {
  7948. Name (STR1, Buffer (0x50) {})
  7949. Name (STR2, Buffer (0x50) {})
  7950. STR1 = Arg0
  7951. STR2 = Arg1
  7952. Local0 = Zero
  7953. Local1 = One
  7954. While (Local1)
  7955. {
  7956. Local1 = BBRD (STR1, Local0)
  7957. Local2 = BBRD (STR2, Local0)
  7958. If ((Local1 != Local2))
  7959. {
  7960. Return (Zero)
  7961. }
  7962.  
  7963. Local0++
  7964. }
  7965.  
  7966. Return (One)
  7967. }
  7968.  
  7969. Method (XPTB, 1, NotSerialized)
  7970. {
  7971. Local0 = SizeOf (Arg0)
  7972. If ((ObjectType (Arg0) == 0x02))
  7973. {
  7974. Local0++
  7975. }
  7976.  
  7977. Name (OBUF, Buffer (Local0) {})
  7978. OBUF = Arg0
  7979. If ((ObjectType (Arg0) == 0x02))
  7980. {
  7981. Local0--
  7982. Index (OBUF, Local0) = Zero
  7983. }
  7984.  
  7985. Return (OBUF) /* \XPTB.OBUF */
  7986. }
  7987.  
  7988. Method (STDG, 3, NotSerialized)
  7989. {
  7990. Local0 = Arg0
  7991. If ((Arg0 >= 0x0A))
  7992. {
  7993. Divide (Arg0, 0x0A, Local0, Local1)
  7994. Arg2 = STDG (Local1, Arg1, Arg2)
  7995. }
  7996.  
  7997. Local0 += 0x30
  7998. Index (Arg1, Arg2) = Local0
  7999. Arg2++
  8000. Return (Arg2)
  8001. }
  8002.  
  8003. Method (XPTS, 1, NotSerialized)
  8004. {
  8005. Name (LBUF, Buffer (0x20) {})
  8006. Local0 = STDG (Arg0, LBUF, Zero)
  8007. Index (LBUF, Local0) = Zero
  8008. Local0++
  8009. Name (OBUF, Buffer (Local0) {})
  8010. OBUF = LBUF /* \XPTS.LBUF */
  8011. Return (OBUF) /* \XPTS.OBUF */
  8012. }
  8013.  
  8014. Scope (\)
  8015. {
  8016. Mutex (SMIX, 0x01)
  8017. Name (SMIB, 0xDA7D6000)
  8018. Name (PSMI, 0x000000B2)
  8019. Method (SNVC, 1, NotSerialized)
  8020. {
  8021. OperationRegion (WWPR, SystemMemory, SMIB, 0x04)
  8022. Field (WWPR, DWordAcc, Lock, Preserve)
  8023. {
  8024. SCDW, 32
  8025. }
  8026.  
  8027. SCDW = Arg0
  8028. }
  8029.  
  8030. Method (SNWB, 2, NotSerialized)
  8031. {
  8032. Local0 = SMIB /* \SMIB */
  8033. Local0 += Arg1
  8034. Local0 += 0x04
  8035. OperationRegion (WWPR, SystemMemory, Local0, One)
  8036. Field (WWPR, ByteAcc, Lock, Preserve)
  8037. {
  8038. SBY0, 8
  8039. }
  8040.  
  8041. CreateByteField (Arg0, Arg1, SVAL)
  8042. SBY0 = SVAL /* \SNWB.SVAL */
  8043. }
  8044.  
  8045. Method (SNRB, 2, NotSerialized)
  8046. {
  8047. Local0 = SMIB /* \SMIB */
  8048. Local0 += Arg1
  8049. Local0 += 0x04
  8050. OperationRegion (WWPR, SystemMemory, Local0, 0x04)
  8051. Field (WWPR, ByteAcc, Lock, Preserve)
  8052. {
  8053. SBY0, 8
  8054. }
  8055.  
  8056. CreateByteField (Arg0, Arg1, SVAL)
  8057. SVAL = SBY0 /* \SNRB.SBY0 */
  8058. Return (Arg0)
  8059. }
  8060.  
  8061. Method (SNVP, 2, NotSerialized)
  8062. {
  8063. Local0 = SMIB /* \SMIB */
  8064. Local0 += Arg1
  8065. Local0 += 0x04
  8066. OperationRegion (WWPR, SystemMemory, Local0, 0x04)
  8067. Field (WWPR, ByteAcc, Lock, Preserve)
  8068. {
  8069. SDW0, 32
  8070. }
  8071.  
  8072. CreateDWordField (Arg0, Arg1, SVAL)
  8073. SDW0 = SVAL /* \SNVP.SVAL */
  8074. }
  8075.  
  8076. Method (SNVG, 2, NotSerialized)
  8077. {
  8078. Local0 = SMIB /* \SMIB */
  8079. Local0 += Arg1
  8080. Local0 += 0x04
  8081. OperationRegion (WWPR, SystemMemory, Local0, 0x04)
  8082. Field (WWPR, ByteAcc, Lock, Preserve)
  8083. {
  8084. SDW0, 32
  8085. }
  8086.  
  8087. CreateDWordField (Arg0, Arg1, SVAL)
  8088. SVAL = SDW0 /* \SNVG.SDW0 */
  8089. Return (Arg0)
  8090. }
  8091.  
  8092. Method (GENS, 3, NotSerialized)
  8093. {
  8094. Acquire (SMIX, 0xFFFF)
  8095. Local0 = Arg1
  8096. If ((ObjectType (Arg1) == One))
  8097. {
  8098. Local0 = SMBI (Arg0, Arg1)
  8099. }
  8100.  
  8101. If ((ObjectType (Arg1) == 0x03))
  8102. {
  8103. Local0 = SMBF (Arg0, Arg1, Arg2)
  8104. }
  8105.  
  8106. Release (SMIX)
  8107. Return (Local0)
  8108. }
  8109.  
  8110. Method (SMBI, 2, NotSerialized)
  8111. {
  8112. SNVC (Arg0)
  8113. Local0 = (SMIB + 0x04)
  8114. OperationRegion (WWPR, SystemMemory, Local0, 0x04)
  8115. Field (WWPR, ByteAcc, Lock, Preserve)
  8116. {
  8117. SDW0, 32
  8118. }
  8119.  
  8120. SDW0 = Arg1
  8121. ASMI ()
  8122. Return (SDW0) /* \SMBI.SDW0 */
  8123. }
  8124.  
  8125. Method (SMBF, 3, NotSerialized)
  8126. {
  8127. If ((Arg2 > 0xFC))
  8128. {
  8129. Return (Arg1)
  8130. }
  8131.  
  8132. If ((SizeOf (Arg1) < Arg2))
  8133. {
  8134. Return (Arg1)
  8135. }
  8136.  
  8137. SNVC (Arg0)
  8138. Divide (Arg2, 0x04, Local3, Local4)
  8139. Local0 = Zero
  8140. While ((Local0 < Local3))
  8141. {
  8142. SNWB (Arg1, Local0)
  8143. Local0++
  8144. }
  8145.  
  8146. While ((Local0 < Arg2))
  8147. {
  8148. SNVP (Arg1, Local0)
  8149. Local0 += 0x04
  8150. }
  8151.  
  8152. ASMI ()
  8153. Local0 = Zero
  8154. While ((Local0 < Local3))
  8155. {
  8156. Arg1 = SNRB (Arg1, Local0)
  8157. Local0++
  8158. }
  8159.  
  8160. While ((Local0 < Arg2))
  8161. {
  8162. Arg1 = SNVG (Arg1, Local0)
  8163. Local0 += 0x04
  8164. }
  8165.  
  8166. Return (Arg1)
  8167. }
  8168.  
  8169. Method (ASMI, 0, NotSerialized)
  8170. {
  8171. OperationRegion (SMIR, SystemIO, PSMI, One)
  8172. Field (SMIR, ByteAcc, Lock, Preserve)
  8173. {
  8174. SCMD, 8
  8175. }
  8176.  
  8177. SCMD = 0x04
  8178. }
  8179. }
  8180.  
  8181. Scope (_SB)
  8182. {
  8183. Device (AMW0)
  8184. {
  8185. Mutex (WMIX, 0x01)
  8186. Name (_HID, "PNP0C14") // _HID: Hardware ID
  8187. Name (_UID, Zero) // _UID: Unique ID
  8188. Name (_WDG, Buffer (0x64)
  8189. {
  8190. /* 0000 */ 0xBC, 0xDC, 0x9D, 0x8D, 0x97, 0xA9, 0xDA, 0x11, /* ........ */
  8191. /* 0008 */ 0xB0, 0x12, 0xB6, 0x22, 0xA1, 0xEF, 0x54, 0x92, /* ..."..T. */
  8192. /* 0010 */ 0x41, 0x41, 0x01, 0x00, 0xCE, 0x93, 0x05, 0xA8, /* AA...... */
  8193. /* 0018 */ 0x97, 0xA9, 0xDA, 0x11, 0xB0, 0x12, 0xB6, 0x22, /* ......." */
  8194. /* 0020 */ 0xA1, 0xEF, 0x54, 0x92, 0x42, 0x41, 0x01, 0x02, /* ..T.BA.. */
  8195. /* 0028 */ 0x94, 0x59, 0xBB, 0x9D, 0x97, 0xA9, 0xDA, 0x11, /* .Y...... */
  8196. /* 0030 */ 0xB0, 0x12, 0xB6, 0x22, 0xA1, 0xEF, 0x54, 0x92, /* ..."..T. */
  8197. /* 0038 */ 0xD0, 0x00, 0x01, 0x08, 0xE0, 0x6C, 0x77, 0xA3, /* .....lw. */
  8198. /* 0040 */ 0x88, 0x1E, 0xDB, 0x11, 0xA9, 0x8B, 0x08, 0x00, /* ........ */
  8199. /* 0048 */ 0x20, 0x0C, 0x9A, 0x66, 0x42, 0x43, 0x01, 0x00, /* ..fBC.. */
  8200. /* 0050 */ 0x21, 0x12, 0x90, 0x05, 0x66, 0xD5, 0xD1, 0x11, /* !...f... */
  8201. /* 0058 */ 0xB2, 0xF0, 0x00, 0xA0, 0xC9, 0x06, 0x29, 0x10, /* ......). */
  8202. /* 0060 */ 0x4D, 0x4F, 0x01, 0x00 /* MO.. */
  8203. })
  8204. Name (INFO, Buffer (0x80) {})
  8205. Name (ECD0, Zero)
  8206. Method (WED0, 1, NotSerialized)
  8207. {
  8208. ECD0 = Arg0
  8209. Return (Zero)
  8210. }
  8211.  
  8212. Method (WCAA, 1, NotSerialized)
  8213. {
  8214. Return (Zero)
  8215. }
  8216.  
  8217. Method (WQAA, 1, NotSerialized)
  8218. {
  8219. Acquire (WMIX, 0xFFFF)
  8220. BCLR (INFO)
  8221. If ((Arg0 != Zero))
  8222. {
  8223. Local1 = INFO /* \_SB_.AMW0.INFO */
  8224. }
  8225. Else
  8226. {
  8227. BDWR (INFO, Zero, 0x4C4C4544)
  8228. BDWR (INFO, 0x04, 0x494D5720)
  8229. BDWR (INFO, 0x08, One)
  8230. BDWR (INFO, 0x0C, 0x1000)
  8231. Local1 = INFO /* \_SB_.AMW0.INFO */
  8232. }
  8233.  
  8234. Release (WMIX)
  8235. Return (Local1)
  8236. }
  8237.  
  8238. Method (WSAA, 2, NotSerialized)
  8239. {
  8240. Return (Arg1)
  8241. }
  8242.  
  8243. Method (WMBA, 3, NotSerialized)
  8244. {
  8245. CreateDWordField (Arg2, 0x28, WBUF)
  8246. Local1 = (WBUF + 0x2C)
  8247. If ((Local1 <= 0x1000))
  8248. {
  8249. Local0 = WMI (Arg2, Local1)
  8250. }
  8251.  
  8252. Return (Local0)
  8253. }
  8254.  
  8255. Method (WMI, 2, NotSerialized)
  8256. {
  8257. If ((Arg1 <= 0x1000))
  8258. {
  8259. Arg0 = GENS (0x03, Arg0, Arg1)
  8260. }
  8261.  
  8262. Return (Arg0)
  8263. }
  8264.  
  8265. Name (WQMO, Buffer (0x04FD)
  8266. {
  8267. /* 0000 */ 0x46, 0x4F, 0x4D, 0x42, 0x01, 0x00, 0x00, 0x00, /* FOMB.... */
  8268. /* 0008 */ 0xED, 0x04, 0x00, 0x00, 0xD8, 0x15, 0x00, 0x00, /* ........ */
  8269. /* 0010 */ 0x44, 0x53, 0x00, 0x01, 0x1A, 0x7D, 0xDA, 0x54, /* DS...}.T */
  8270. /* 0018 */ 0x28, 0xD5, 0x8A, 0x00, 0x01, 0x06, 0x18, 0x42, /* (......B */
  8271. /* 0020 */ 0x10, 0x0D, 0x10, 0x22, 0x21, 0x04, 0x12, 0x01, /* ..."!... */
  8272. /* 0028 */ 0xA1, 0xC8, 0x2C, 0x0C, 0x86, 0x10, 0x38, 0x2E, /* ..,...8. */
  8273. /* 0030 */ 0x84, 0x1C, 0x40, 0x48, 0x1C, 0x14, 0x4A, 0x08, /* ..@H..J. */
  8274. /* 0038 */ 0x84, 0xFA, 0x13, 0xC8, 0xAF, 0x00, 0x84, 0x0E, /* ........ */
  8275. /* 0040 */ 0x05, 0xC8, 0x14, 0x60, 0x50, 0x80, 0x53, 0x04, /* ...`P.S. */
  8276. /* 0048 */ 0x11, 0xF4, 0x2A, 0xC0, 0xA6, 0x00, 0x93, 0x02, /* ..*..... */
  8277. /* 0050 */ 0x2C, 0x0A, 0xD0, 0x2E, 0xC0, 0xB2, 0x00, 0xDD, /* ,....... */
  8278. /* 0058 */ 0x02, 0xA4, 0xC3, 0x12, 0x91, 0xE0, 0x28, 0x31, /* ......(1 */
  8279. /* 0060 */ 0xE0, 0x28, 0x9D, 0xD8, 0xC2, 0x0D, 0x1B, 0xBC, /* .(...... */
  8280. /* 0068 */ 0x50, 0x14, 0xCD, 0x20, 0x4A, 0x82, 0xCA, 0x05, /* P.. J... */
  8281. /* 0070 */ 0xF8, 0x46, 0x10, 0x78, 0xB9, 0x02, 0x24, 0x4F, /* .F.x..$O */
  8282. /* 0078 */ 0x40, 0x9A, 0x05, 0x18, 0x16, 0x60, 0x5D, 0x80, /* @....`]. */
  8283. /* 0080 */ 0xEC, 0x21, 0x50, 0xA9, 0x43, 0x40, 0xC9, 0x19, /* .!P.C@.. */
  8284. /* 0088 */ 0x02, 0x6A, 0x00, 0xAD, 0x4E, 0x40, 0xF8, 0x95, /* .j..N@.. */
  8285. /* 0090 */ 0x4E, 0x09, 0x49, 0x10, 0xCE, 0x58, 0xC5, 0xE3, /* N.I..X.. */
  8286. /* 0098 */ 0x6B, 0x16, 0x4D, 0xCF, 0x49, 0xCE, 0x31, 0xE4, /* k.M.I.1. */
  8287. /* 00A0 */ 0x78, 0x5C, 0xE8, 0x41, 0xF0, 0x40, 0x0A, 0x40, /* x\.A.@.@ */
  8288. /* 00A8 */ 0x58, 0x78, 0x08, 0x45, 0x80, 0x41, 0x49, 0x18, /* Xx.E.AI. */
  8289. /* 00B0 */ 0x0B, 0x75, 0x31, 0x6A, 0xD4, 0x48, 0xD9, 0x80, /* .u1j.H.. */
  8290. /* 00B8 */ 0x0C, 0x51, 0xDA, 0xA8, 0xD1, 0x03, 0x3A, 0xBF, /* .Q....:. */
  8291. /* 00C0 */ 0x23, 0x39, 0xBB, 0xA3, 0x3B, 0x92, 0x04, 0x46, /* #9..;..F */
  8292. /* 00C8 */ 0x3D, 0xA6, 0x63, 0x2C, 0x6C, 0x46, 0x42, 0x8D, /* =.c,lFB. */
  8293. /* 00D0 */ 0xD1, 0x1C, 0x14, 0x81, 0xC6, 0x0D, 0xDA, 0x12, /* ........ */
  8294. /* 00D8 */ 0x61, 0x35, 0xAE, 0xD8, 0x67, 0x66, 0xE1, 0xC3, /* a5..gf.. */
  8295. /* 00E0 */ 0x12, 0xC6, 0x11, 0x1C, 0x58, 0x82, 0x46, 0xD1, /* ....X.F. */
  8296. /* 00E8 */ 0x34, 0xC7, 0xB3, 0x0D, 0x91, 0xE0, 0x20, 0x42, /* 4..... B */
  8297. /* 00F0 */ 0x63, 0x64, 0x40, 0xC8, 0xF3, 0xB0, 0x05, 0x7A, /* cd@....z */
  8298. /* 00F8 */ 0xE4, 0x09, 0xEC, 0x1E, 0x51, 0x0A, 0x11, 0x34, /* ....Q..4 */
  8299. /* 0100 */ 0xDF, 0x13, 0xA9, 0x51, 0x80, 0x36, 0x0C, 0xD9, /* ...Q.6.. */
  8300. /* 0108 */ 0x3A, 0x1B, 0x68, 0xA8, 0xB1, 0x1A, 0x43, 0x11, /* :.h...C. */
  8301. /* 0110 */ 0x44, 0x84, 0xA0, 0x51, 0x0C, 0x16, 0x21, 0x54, /* D..Q..!T */
  8302. /* 0118 */ 0x88, 0xFF, 0x7F, 0x94, 0xA8, 0xA7, 0x14, 0x24, /* .......$ */
  8303. /* 0120 */ 0x6A, 0x65, 0x20, 0x42, 0x0B, 0x66, 0x04, 0x66, /* je B.f.f */
  8304. /* 0128 */ 0x7F, 0x10, 0x24, 0xC6, 0x99, 0x41, 0x87, 0x05, /* ..$..A.. */
  8305. /* 0130 */ 0xCB, 0x00, 0x91, 0x11, 0x41, 0xA3, 0x61, 0x67, /* ....A.ag */
  8306. /* 0138 */ 0x01, 0x0F, 0xC7, 0x33, 0x69, 0x7E, 0x62, 0x1A, /* ...3i~b. */
  8307. /* 0140 */ 0x9C, 0x09, 0xC6, 0x3E, 0x3F, 0x50, 0x51, 0x07, /* ...>?PQ. */
  8308. /* 0148 */ 0x07, 0x4A, 0x60, 0x29, 0x03, 0x27, 0xB6, 0xC7, /* .J`).'.. */
  8309. /* 0150 */ 0xA5, 0xF1, 0x9D, 0x71, 0xD4, 0x10, 0xA7, 0x7E, /* ...q...~ */
  8310. /* 0158 */ 0x66, 0xFE, 0x47, 0x78, 0x0B, 0x3E, 0x02, 0xF0, /* f.Gx.>.. */
  8311. /* 0160 */ 0x31, 0x78, 0xB0, 0x87, 0x10, 0xF0, 0x08, 0xD9, /* 1x...... */
  8312. /* 0168 */ 0x19, 0xC0, 0x80, 0x78, 0xEF, 0x93, 0x26, 0x73, /* ...x..&s */
  8313. /* 0170 */ 0xF1, 0x59, 0x00, 0xC6, 0xF0, 0xE1, 0x1A, 0x1F, /* .Y...... */
  8314. /* 0178 */ 0x85, 0xC6, 0xC3, 0xCE, 0x07, 0x6C, 0x5C, 0x1C, /* .....l\. */
  8315. /* 0180 */ 0xDE, 0x87, 0x82, 0x13, 0x2E, 0x16, 0x44, 0x01, /* ......D. */
  8316. /* 0188 */ 0x20, 0x24, 0xEB, 0x7C, 0x80, 0x9E, 0xF5, 0xB1, /* $.|.... */
  8317. /* 0190 */ 0x05, 0x7C, 0x18, 0x68, 0xF6, 0x0E, 0x41, 0x08, /* .|.h..A. */
  8318. /* 0198 */ 0x5E, 0x04, 0x7C, 0x74, 0xF0, 0x71, 0xC3, 0xE3, /* ^.|t.q.. */
  8319. /* 01A0 */ 0x7E, 0xDE, 0x00, 0xC3, 0xE1, 0xC0, 0xC3, 0xF1, /* ~....... */
  8320. /* 01A8 */ 0x69, 0x03, 0xB8, 0x8C, 0x80, 0x4B, 0x7B, 0x52, /* i....K{R */
  8321. /* 01B0 */ 0x98, 0x40, 0x92, 0x9F, 0x00, 0x12, 0x03, 0x83, /* .@...... */
  8322. /* 01B8 */ 0x3A, 0x10, 0xF8, 0x60, 0x01, 0x57, 0x12, 0x1C, /* :..`.W.. */
  8323. /* 01C0 */ 0x6A, 0x78, 0x9E, 0xD8, 0x03, 0xC2, 0xFF, 0xFF, /* jx...... */
  8324. /* 01C8 */ 0x28, 0x4F, 0xE4, 0xC5, 0xC0, 0xD3, 0x7F, 0x0C, /* (O...... */
  8325. /* 01D0 */ 0x80, 0x71, 0x40, 0xF0, 0xB4, 0x4E, 0xCA, 0x37, /* .q@..N.7 */
  8326. /* 01D8 */ 0x8F, 0x07, 0x09, 0x0F, 0x2A, 0x4C, 0x02, 0x9F, /* ....*L.. */
  8327. /* 01E0 */ 0x12, 0x18, 0x1A, 0x3F, 0x6E, 0x80, 0x75, 0xD4, /* ...?n.u. */
  8328. /* 01E8 */ 0xF8, 0x03, 0x02, 0xBC, 0x93, 0xC4, 0xF9, 0xF5, /* ........ */
  8329. /* 01F0 */ 0x39, 0x00, 0x1D, 0x1A, 0x4E, 0x91, 0x81, 0xBC, /* 9...N... */
  8330. /* 01F8 */ 0x06, 0x9C, 0xF4, 0x29, 0x79, 0x7C, 0x09, 0x7C, /* ...)y|.| */
  8331. /* 0200 */ 0xE6, 0x80, 0x7D, 0x37, 0x38, 0x8C, 0x83, 0x09, /* ..}78... */
  8332. /* 0208 */ 0x11, 0xE1, 0x3D, 0xE0, 0xA9, 0xC3, 0x77, 0x8D, /* ..=...w. */
  8333. /* 0210 */ 0x47, 0x81, 0x40, 0x11, 0x7A, 0x3B, 0x73, 0xD0, /* G.@.z;s. */
  8334. /* 0218 */ 0x53, 0x88, 0x51, 0xA2, 0x9D, 0x55, 0x98, 0x07, /* S.Q..U.. */
  8335. /* 0220 */ 0x8E, 0x28, 0x3E, 0x72, 0x18, 0xE1, 0xDD, 0xC3, /* .(>r.... */
  8336. /* 0228 */ 0x77, 0x82, 0x07, 0x90, 0xD6, 0x26, 0x27, 0xDC, /* w....&'. */
  8337. /* 0230 */ 0x40, 0xCF, 0x1C, 0x2C, 0xDA, 0x99, 0x45, 0x16, /* @..,..E. */
  8338. /* 0238 */ 0x40, 0x14, 0x69, 0x34, 0xA8, 0x33, 0x82, 0x4F, /* @.i4.3.O */
  8339. /* 0240 */ 0x03, 0x9E, 0xD6, 0x53, 0x8C, 0x8F, 0x12, 0x06, /* ...S.... */
  8340. /* 0248 */ 0x39, 0xC3, 0x03, 0x7B, 0x4E, 0x78, 0x0C, 0xF0, /* 9..{Nx.. */
  8341. /* 0250 */ 0x80, 0xD9, 0xFD, 0xC0, 0xC7, 0x09, 0x9F, 0x0B, /* ........ */
  8342. /* 0258 */ 0xF0, 0xAE, 0x01, 0x35, 0x43, 0x1F, 0x36, 0xE0, /* ...5C.6. */
  8343. /* 0260 */ 0x1C, 0x3A, 0xF0, 0xA7, 0x09, 0xFC, 0xC1, 0x02, /* .:...... */
  8344. /* 0268 */ 0x3F, 0x1E, 0x5F, 0x73, 0xD8, 0x84, 0x13, 0x58, /* ?._s...X */
  8345. /* 0270 */ 0xFE, 0x20, 0x50, 0x23, 0x33, 0xB4, 0x67, 0x79, /* . P#3.gy */
  8346. /* 0278 */ 0x5A, 0xAF, 0x01, 0x3E, 0xED, 0x98, 0xC0, 0xE7, /* Z..>.... */
  8347. /* 0280 */ 0x0D, 0xFF, 0xFF, 0xFF, 0x39, 0x1E, 0x0F, 0xF8, /* ....9... */
  8348. /* 0288 */ 0x15, 0x9F, 0x2E, 0xC8, 0x5D, 0xC1, 0xF3, 0xF5, /* ....]... */
  8349. /* 0290 */ 0xD9, 0x85, 0xD9, 0x18, 0x0F, 0x6A, 0x14, 0x3E, /* .....j.> */
  8350. /* 0298 */ 0xE0, 0xE0, 0xCE, 0x2E, 0x3E, 0x02, 0xF8, 0xEC, /* ....>... */
  8351. /* 02A0 */ 0x02, 0x3C, 0x27, 0xF1, 0x2C, 0x01, 0xDE, 0x43, /* .<'.,..C */
  8352. /* 02A8 */ 0x80, 0x4F, 0x24, 0xF1, 0x1E, 0xB6, 0x60, 0x8C, /* .O$...`. */
  8353. /* 02B0 */ 0x18, 0x0F, 0x79, 0xC6, 0x55, 0x0F, 0x43, 0x17, /* ..y.U.C. */
  8354. /* 02B8 */ 0x01, 0xAB, 0xBB, 0xAF, 0xA0, 0x8E, 0x5E, 0x60, /* ......^` */
  8355. /* 02C0 */ 0x82, 0x7A, 0xCD, 0xC0, 0x9D, 0x5E, 0x80, 0xCF, /* .z...^.. */
  8356. /* 02C8 */ 0x29, 0x0B, 0xDE, 0xFF, 0xFF, 0x94, 0x05, 0xDC, /* )....... */
  8357. /* 02D0 */ 0xAF, 0x0A, 0xFC, 0x88, 0x02, 0x06, 0xC8, 0xCE, /* ........ */
  8358. /* 02D8 */ 0x4E, 0x27, 0x42, 0x78, 0x2F, 0x79, 0x0E, 0xF1, /* N'Bx/y.. */
  8359. /* 02E0 */ 0xED, 0xCA, 0x07, 0x93, 0x20, 0xCF, 0x01, 0x11, /* .... ... */
  8360. /* 02E8 */ 0x9E, 0xB2, 0xF8, 0x7D, 0x20, 0x4A, 0xCC, 0x03, /* ...} J.. */
  8361. /* 02F0 */ 0x8A, 0x14, 0xC5, 0x88, 0x41, 0x9E, 0xB0, 0x7C, /* ....A..| */
  8362. /* 02F8 */ 0x3D, 0x89, 0x61, 0xE8, 0x60, 0xE1, 0xC2, 0x47, /* =.a.`..G */
  8363. /* 0300 */ 0x78, 0xCA, 0x02, 0x2C, 0x5E, 0xB2, 0x30, 0xA7, /* x..,^.0. */
  8364. /* 0308 */ 0x2C, 0x98, 0x6F, 0x03, 0x9F, 0xB2, 0xC0, 0xF1, /* ,.o..... */
  8365. /* 0310 */ 0xFF, 0x3F, 0x65, 0x81, 0x6B, 0xDC, 0x4F, 0x59, /* .?e.k.OY */
  8366. /* 0318 */ 0xC0, 0x4C, 0xFA, 0x73, 0x92, 0x9C, 0x6A, 0xF4, /* .L.s..j. */
  8367. /* 0320 */ 0x04, 0x50, 0xF4, 0x83, 0x05, 0x85, 0xF1, 0x29, /* .P.....) */
  8368. /* 0328 */ 0x0B, 0x70, 0x25, 0xEF, 0x80, 0x00, 0x9A, 0xB3, /* .p%..... */
  8369. /* 0330 */ 0x93, 0x6F, 0x0B, 0x06, 0x3B, 0x66, 0x5F, 0x32, /* .o..;f_2 */
  8370. /* 0338 */ 0x7C, 0x4A, 0x04, 0xC3, 0x21, 0xC3, 0x77, 0xAA, /* |J..!.w. */
  8371. /* 0340 */ 0x43, 0x79, 0xE4, 0x78, 0x0A, 0xF0, 0x11, 0x0B, /* Cy.x.... */
  8372. /* 0348 */ 0xEC, 0x71, 0x8E, 0x01, 0x3A, 0xAE, 0xF8, 0x88, /* .q..:... */
  8373. /* 0350 */ 0xE5, 0xFF, 0xFF, 0x11, 0x0B, 0xE0, 0xC6, 0x01, /* ........ */
  8374. /* 0358 */ 0x04, 0x7F, 0xEA, 0x80, 0x75, 0x0F, 0x08, 0xEB, /* ....u... */
  8375. /* 0360 */ 0x43, 0x07, 0xF0, 0x90, 0xFD, 0x10, 0xD0, 0x19, /* C....... */
  8376. /* 0368 */ 0xC6, 0x92, 0x41, 0x64, 0xE3, 0x5C, 0x43, 0xC7, /* ..Ad.\C. */
  8377. /* 0370 */ 0x68, 0xF1, 0x0B, 0xD5, 0x4D, 0x21, 0xF6, 0xC1, /* h...M!.. */
  8378. /* 0378 */ 0x70, 0xD9, 0x40, 0x02, 0xF5, 0x70, 0x2D, 0x98, /* p.@..p-. */
  8379. /* 0380 */ 0x42, 0xA2, 0x68, 0x34, 0x1A, 0x03, 0x13, 0x18, /* B.h4.... */
  8380. /* 0388 */ 0xC1, 0x19, 0xC4, 0x80, 0xCE, 0x08, 0xA1, 0x43, /* .......C */
  8381. /* 0390 */ 0x19, 0x4E, 0xC5, 0x79, 0x08, 0xF5, 0xFF, 0x27, /* .N.y...' */
  8382. /* 0398 */ 0x18, 0xEA, 0xC6, 0x44, 0x67, 0xE7, 0xF9, 0xF3, /* ...Dg... */
  8383. /* 03A0 */ 0xDB, 0x88, 0x4F, 0x04, 0x06, 0xF6, 0x15, 0xE2, /* ..O..... */
  8384. /* 03A8 */ 0x2D, 0x03, 0x2C, 0xC3, 0xF2, 0xE2, 0x9E, 0x00, /* -.,..... */
  8385. /* 03B0 */ 0x8E, 0xF1, 0x24, 0x13, 0x54, 0x73, 0xAC, 0x41, /* ..$.Ts.A */
  8386. /* 03B8 */ 0xCD, 0xC1, 0x57, 0x81, 0x37, 0x32, 0x13, 0xF8, /* ..W.72.. */
  8387. /* 03C0 */ 0x0A, 0x06, 0xB6, 0xD3, 0x0C, 0x46, 0xDF, 0x9D, /* .....F.. */
  8388. /* 03C8 */ 0x00, 0x14, 0x40, 0x3E, 0x0A, 0xF8, 0xBE, 0xFC, /* ..@>.... */
  8389. /* 03D0 */ 0x36, 0xC0, 0x66, 0xF1, 0xCA, 0x6C, 0x34, 0x9F, /* 6.f..l4. */
  8390. /* 03D8 */ 0x3F, 0x11, 0x43, 0x47, 0x89, 0x19, 0x3A, 0x05, /* ?.CG..:. */
  8391. /* 03E0 */ 0xF1, 0xD0, 0x1D, 0x74, 0xE8, 0xE8, 0xE3, 0x80, /* ...t.... */
  8392. /* 03E8 */ 0x4F, 0x56, 0xB8, 0x60, 0x87, 0x2F, 0x68, 0x93, /* OV.`./h. */
  8393. /* 03F0 */ 0x3B, 0xDA, 0x13, 0xF3, 0x2C, 0x3C, 0x4F, 0xDC, /* ;...,<O. */
  8394. /* 03F8 */ 0xDC, 0xC1, 0x74, 0x44, 0x82, 0x31, 0x78, 0xCC, /* ..tD.1x. */
  8395. /* 0400 */ 0xE4, 0xC1, 0x2C, 0x70, 0xF2, 0xA0, 0xF8, 0xFF, /* ..,p.... */
  8396. /* 0408 */ 0x4F, 0x1E, 0x26, 0x3C, 0x26, 0xEC, 0xE1, 0x90, /* O.&<&... */
  8397. /* 0410 */ 0x1E, 0x3A, 0x3C, 0x32, 0x3E, 0x4E, 0x9F, 0x7E, /* .:<2>N.~ */
  8398. /* 0418 */ 0x18, 0xF6, 0xE9, 0x9C, 0x4B, 0xD1, 0x33, 0xD2, /* ....K.3. */
  8399. /* 0420 */ 0x1D, 0xE3, 0x99, 0x0B, 0x03, 0xEB, 0x91, 0x73, /* .......s */
  8400. /* 0428 */ 0x58, 0xA3, 0x85, 0x3D, 0xE0, 0xE7, 0x10, 0xDF, /* X..=.... */
  8401. /* 0430 */ 0x61, 0x7C, 0xE0, 0x61, 0xB0, 0x3E, 0xBD, 0x80, /* a|.a.>.. */
  8402. /* 0438 */ 0xE3, 0xF8, 0x05, 0xFF, 0x34, 0x00, 0x9E, 0x03, /* ....4... */
  8403. /* 0440 */ 0x88, 0xC7, 0xF0, 0x02, 0xC2, 0x8F, 0x2F, 0x3A, /* ....../: */
  8404. /* 0448 */ 0xFF, 0x52, 0xA1, 0x8B, 0x93, 0x3C, 0x18, 0xD4, /* .R...<.. */
  8405. /* 0450 */ 0x69, 0x0A, 0x70, 0x75, 0x7A, 0x03, 0xCF, 0x55, /* i.puz..U */
  8406. /* 0458 */ 0x1F, 0x77, 0x96, 0xC2, 0xFD, 0xFF, 0xCF, 0x52, /* .w.....R */
  8407. /* 0460 */ 0x30, 0x0E, 0xBF, 0xBE, 0xC0, 0xFB, 0x2E, 0x65, /* 0......e */
  8408. /* 0468 */ 0x84, 0x03, 0x79, 0x96, 0x02, 0x7B, 0xEC, 0x67, /* ..y..{.g */
  8409. /* 0470 */ 0x88, 0x0E, 0x01, 0x3E, 0x4B, 0x01, 0xFC, 0x78, /* ...>K..x */
  8410. /* 0478 */ 0x7D, 0xF8, 0x3C, 0x03, 0x37, 0xF0, 0xE9, 0x17, /* }.<.7... */
  8411. /* 0480 */ 0x68, 0xFD, 0xFF, 0x4F, 0x21, 0xE0, 0x3F, 0x46, /* h..O!.?F */
  8412. /* 0488 */ 0xF8, 0x88, 0x83, 0x3B, 0xFA, 0x02, 0xB7, 0x83, /* ...;.... */
  8413. /* 0490 */ 0x31, 0x3F, 0x63, 0xE0, 0x8E, 0x63, 0xC0, 0xE3, /* 1?c..c.. */
  8414. /* 0498 */ 0xE4, 0x8C, 0x3B, 0x4D, 0x78, 0x08, 0x7C, 0x00, /* ..;Mx.|. */
  8415. /* 04A0 */ 0xAD, 0x4E, 0x8F, 0x9C, 0x7A, 0x4E, 0x09, 0x77, /* .N..zN.w */
  8416. /* 04A8 */ 0x1C, 0xE0, 0x53, 0xC2, 0x0D, 0x00, 0xA3, 0xD0, /* ..S..... */
  8417. /* 04B0 */ 0xA6, 0x4F, 0x8D, 0x46, 0xAD, 0x1A, 0x94, 0xA9, /* .O.F.... */
  8418. /* 04B8 */ 0x51, 0xA6, 0x41, 0xAD, 0x3E, 0x95, 0x1A, 0x33, /* Q.A.>..3 */
  8419. /* 04C0 */ 0xA6, 0x03, 0xCE, 0xAF, 0x03, 0x1D, 0x0F, 0x1C, /* ........ */
  8420. /* 04C8 */ 0xEA, 0x85, 0x20, 0x10, 0x4B, 0x7A, 0x75, 0x08, /* .. .Kzu. */
  8421. /* 04D0 */ 0xC4, 0xA2, 0x3C, 0x80, 0xB0, 0xB8, 0x26, 0x40, /* ..<...&@ */
  8422. /* 04D8 */ 0x98, 0xF0, 0x37, 0x81, 0x40, 0x1C, 0x1B, 0x84, /* ..7.@... */
  8423. /* 04E0 */ 0x8A, 0xA5, 0x97, 0x91, 0xF1, 0x19, 0x44, 0x40, /* ......D@ */
  8424. /* 04E8 */ 0x0E, 0xE1, 0x03, 0x88, 0x45, 0x02, 0x11, 0x38, /* ....E..8 */
  8425. /* 04F0 */ 0x51, 0x02, 0x4A, 0x9D, 0x80, 0x30, 0xA1, 0xAF, /* Q.J..0.. */
  8426. /* 04F8 */ 0x06, 0x81, 0xF8, 0xFF, 0x0F /* ..... */
  8427. })
  8428. }
  8429. }
  8430.  
  8431. Scope (_SB.AMW0)
  8432. {
  8433. Name (WMEV, Zero)
  8434. Name (WMBU, Buffer (0x80) {})
  8435. Name (WM, Zero)
  8436. Method (SWEV, 1, NotSerialized)
  8437. {
  8438. WMEV |= Arg0
  8439. }
  8440.  
  8441. Method (CWEV, 1, NotSerialized)
  8442. {
  8443. WMEV &= ~Arg0
  8444. }
  8445.  
  8446. Method (WVSP, 0, NotSerialized)
  8447. {
  8448. Acquire (WMIX, 0xFFFF)
  8449. WM = Zero
  8450. BCLR (WMBU)
  8451. }
  8452.  
  8453. Method (WVCU, 0, NotSerialized)
  8454. {
  8455. Acquire (WMIX, 0xFFFF)
  8456. WM = Zero
  8457. }
  8458.  
  8459. Method (WVPT, 1, NotSerialized)
  8460. {
  8461. Local0 = WM /* \_SB_.AMW0.WM__ */
  8462. Local0 += 0x02
  8463. If ((Local0 <= SizeOf (WMBU)))
  8464. {
  8465. CreateWordField (WMBU, WM, WMWD)
  8466. WMWD = Arg0
  8467. WM = Local0
  8468. }
  8469. }
  8470.  
  8471. Method (_WED, 1, NotSerialized) // _Wxx: Wake Event
  8472. {
  8473. WVSP ()
  8474. If ((Arg0 != 0xD0))
  8475. {
  8476. WVCU ()
  8477. Return (WMBU) /* \_SB_.AMW0.WMBU */
  8478. }
  8479.  
  8480. If ((ECD0 == Zero))
  8481. {
  8482. WVCU ()
  8483. Return (WMBU) /* \_SB_.AMW0.WMBU */
  8484. }
  8485.  
  8486. If ((WMEV & 0x0200))
  8487. {
  8488. CWEV (0x0200)
  8489. WVPT (0x02)
  8490. WVPT (Zero)
  8491. WVPT (0xE045)
  8492. }
  8493. Else
  8494. {
  8495. If ((WMEV & 0x0100))
  8496. {
  8497. CWEV (0x0100)
  8498. If (ECG4 ())
  8499. {
  8500. WVPT (0x02)
  8501. WVPT (Zero)
  8502. WVPT (0xE043)
  8503. }
  8504. Else
  8505. {
  8506. WVPT (0x02)
  8507. WVPT (Zero)
  8508. WVPT (0xE044)
  8509. }
  8510. }
  8511. Else
  8512. {
  8513. If ((WMEV & 0x0800))
  8514. {
  8515. WMBU = EC0A (WMBU)
  8516. CWEV (0x0800)
  8517. }
  8518. }
  8519. }
  8520.  
  8521. WVCU ()
  8522. Return (WMBU) /* \_SB_.AMW0.WMBU */
  8523. }
  8524. }
  8525.  
  8526. Scope (\)
  8527. {
  8528. Method (WMNF, 2, NotSerialized)
  8529. {
  8530. \_SB.AMW0.SWEV (Arg0)
  8531. Notify (\_SB.AMW0, 0xD0) // Hardware-Specific
  8532. }
  8533. }
  8534.  
  8535. Name (W98S, "Microsoft Windows")
  8536. Name (NT5S, "Microsoft Windows NT")
  8537. Name (WINM, "Microsoft WindowsME: Millennium Edition")
  8538. Name (WXP, "Windows 2001")
  8539. Name (WLG, "Windows 2006")
  8540. Name (WIN7, "Windows 2009")
  8541. Name (WIN8, "Windows 2012")
  8542. Name (LINX, "Linux")
  8543. Scope (_SB)
  8544. {
  8545. Name (ACOS, Zero)
  8546. Name (ACSE, Zero)
  8547. Method (OSID, 0, NotSerialized)
  8548. {
  8549. If ((ACOS == Zero))
  8550. {
  8551. ACOS = One
  8552. ACSE = Zero
  8553. If (CondRefOf (\_OSI, Local0))
  8554. {
  8555. If (_OSI (WXP))
  8556. {
  8557. ACOS = 0x10
  8558. }
  8559.  
  8560. If (_OSI (WLG))
  8561. {
  8562. ACOS = 0x20
  8563. }
  8564.  
  8565. If (_OSI (WIN7))
  8566. {
  8567. ACOS = 0x80
  8568. }
  8569.  
  8570. If (_OSI (WIN8))
  8571. {
  8572. ACOS = 0x80
  8573. ACSE = One
  8574. }
  8575.  
  8576. If (_OSI (LINX))
  8577. {
  8578. ACOS = 0x40
  8579. }
  8580. }
  8581. Else
  8582. {
  8583. If (STRE (_OS, W98S))
  8584. {
  8585. ACOS = 0x02
  8586. }
  8587.  
  8588. If (STRE (_OS, WINM))
  8589. {
  8590. ACOS = 0x04
  8591. }
  8592.  
  8593. If (STRE (_OS, NT5S))
  8594. {
  8595. ACOS = 0x08
  8596. }
  8597. }
  8598. }
  8599.  
  8600. Return (ACOS) /* \_SB_.ACOS */
  8601. }
  8602.  
  8603. Method (OIDE, 0, NotSerialized)
  8604. {
  8605. OSID ()
  8606. Local0 = ACSE /* \_SB_.ACSE */
  8607. Return (Local0)
  8608. }
  8609.  
  8610. Method (STOS, 0, NotSerialized)
  8611. {
  8612. OSID ()
  8613. GENS (0x06, ACOS, Zero)
  8614. GENS (0x2E, ACSE, Zero)
  8615. }
  8616.  
  8617. Method (SOS0, 2, NotSerialized)
  8618. {
  8619. STOS ()
  8620. }
  8621.  
  8622. Method (SOS4, 2, NotSerialized)
  8623. {
  8624. If ((Arg0 == 0x04))
  8625. {
  8626. STOS ()
  8627. }
  8628. }
  8629. }
  8630.  
  8631. Scope (_SB.PCI0)
  8632. {
  8633. Device (VID)
  8634. {
  8635. Name (_ADR, 0x00020000) // _ADR: Address
  8636. Name (IVD5, Buffer (0x03) {})
  8637. CreateByteField (IVD5, Zero, IVD6)
  8638. CreateByteField (IVD5, One, IVD7)
  8639. CreateByteField (IVD5, 0x02, IVD8)
  8640. OperationRegion (PCS, PCI_Config, Zero, 0x0100)
  8641. Field (PCS, AnyAcc, NoLock, WriteAsZeros)
  8642. {
  8643. VVID, 16,
  8644. Offset (0x0A),
  8645. DCLS, 16
  8646. }
  8647.  
  8648. Method (VINI, 2, NotSerialized)
  8649. {
  8650. If ((Arg0 == 0x02))
  8651. {
  8652. IVD6 = Zero
  8653. Local1 = DCLS /* \_SB_.PCI0.VID_.DCLS */
  8654. If ((DCLS == 0x0300))
  8655. {
  8656. IVD6 = One
  8657. Local0 = ^^^LID0._LID ()
  8658. GLID (Local0)
  8659. }
  8660. }
  8661. }
  8662.  
  8663. Name (VDP7, Buffer (0x02)
  8664. {
  8665. 0x00, 0x00 /* .. */
  8666. })
  8667. CreateByteField (VDP7, One, VDP8)
  8668. Method (DINI, 2, NotSerialized)
  8669. {
  8670. If ((Arg0 == 0x02))
  8671. {
  8672. VDP8 = One
  8673. }
  8674. }
  8675.  
  8676. Method (_DOS, 1, NotSerialized) // _DOS: Disable Output Switching
  8677. {
  8678. VDP8 = Arg0
  8679. VDP1 (One, VDP8)
  8680. }
  8681.  
  8682. Method (_DOD, 0, NotSerialized) // _DOD: Display Output Devices
  8683. {
  8684. If ((ECGB () == One))
  8685. {
  8686. Return (Package (0x08)
  8687. {
  8688. 0x0100,
  8689. 0x0400,
  8690. 0x0302,
  8691. 0x0303,
  8692. 0x0300,
  8693. 0x0301,
  8694. 0x0304,
  8695. 0x0305
  8696. })
  8697. }
  8698. Else
  8699. {
  8700. Return (Package (0x08)
  8701. {
  8702. 0x0100,
  8703. 0x0400,
  8704. 0x0302,
  8705. 0x0303,
  8706. 0x0300,
  8707. 0x0301,
  8708. 0x0304,
  8709. 0x0305
  8710. })
  8711. }
  8712. }
  8713.  
  8714. Device (CRT)
  8715. {
  8716. Method (_ADR, 0, NotSerialized) // _ADR: Address
  8717. {
  8718. Return (0x0100)
  8719. }
  8720.  
  8721. Method (_DCS, 0, NotSerialized) // _DCS: Display Current Status
  8722. {
  8723. Local0 = VDP1 (0x02, 0x02)
  8724. Return (Local0)
  8725. }
  8726.  
  8727. Method (_DGS, 0, NotSerialized) // _DGS: Display Graphics State
  8728. {
  8729. Local0 = VDP1 (0x03, 0x02)
  8730. Return (Local0)
  8731. }
  8732.  
  8733. Method (_DSS, 1, NotSerialized) // _DSS: Device Set State
  8734. {
  8735. VDP2 (0x02, Arg0)
  8736. }
  8737. }
  8738.  
  8739. Device (LCD)
  8740. {
  8741. Method (_ADR, 0, NotSerialized) // _ADR: Address
  8742. {
  8743. If ((ECGB () == One))
  8744. {
  8745. Return (0x0400)
  8746. }
  8747. Else
  8748. {
  8749. Return (0x0400)
  8750. }
  8751. }
  8752.  
  8753. Method (_DCS, 0, NotSerialized) // _DCS: Display Current Status
  8754. {
  8755. Local0 = VDP1 (0x02, One)
  8756. Return (Local0)
  8757. }
  8758.  
  8759. Method (_DGS, 0, NotSerialized) // _DGS: Display Graphics State
  8760. {
  8761. Local0 = VDP1 (0x03, One)
  8762. Return (Local0)
  8763. }
  8764.  
  8765. Method (_DSS, 1, NotSerialized) // _DSS: Device Set State
  8766. {
  8767. VDP2 (One, Arg0)
  8768. }
  8769.  
  8770. Name (BRT0, 0x64)
  8771. Name (DBCL, Package (0x12) {})
  8772. Method (_BCL, 0, Serialized) // _BCL: Brightness Control Levels
  8773. {
  8774. If ((OIDE () == One))
  8775. {
  8776. Return (Package (0x67)
  8777. {
  8778. 0x50,
  8779. 0x32,
  8780. 0x05,
  8781. 0x05,
  8782. 0x05,
  8783. 0x05,
  8784. 0x05,
  8785. 0x05,
  8786. 0x06,
  8787. 0x07,
  8788. 0x08,
  8789. 0x09,
  8790. 0x0A,
  8791. 0x0B,
  8792. 0x0C,
  8793. 0x0D,
  8794. 0x0E,
  8795. 0x0F,
  8796. 0x10,
  8797. 0x11,
  8798. 0x12,
  8799. 0x13,
  8800. 0x14,
  8801. 0x15,
  8802. 0x16,
  8803. 0x17,
  8804. 0x18,
  8805. 0x19,
  8806. 0x1A,
  8807. 0x1B,
  8808. 0x1C,
  8809. 0x1D,
  8810. 0x1E,
  8811. 0x1F,
  8812. 0x20,
  8813. 0x21,
  8814. 0x22,
  8815. 0x23,
  8816. 0x24,
  8817. 0x25,
  8818. 0x26,
  8819. 0x27,
  8820. 0x28,
  8821. 0x29,
  8822. 0x2A,
  8823. 0x2B,
  8824. 0x2C,
  8825. 0x2D,
  8826. 0x2E,
  8827. 0x2F,
  8828. 0x30,
  8829. 0x31,
  8830. 0x32,
  8831. 0x33,
  8832. 0x34,
  8833. 0x35,
  8834. 0x36,
  8835. 0x37,
  8836. 0x38,
  8837. 0x39,
  8838. 0x3A,
  8839. 0x3B,
  8840. 0x3C,
  8841. 0x3D,
  8842. 0x3E,
  8843. 0x3F,
  8844. 0x40,
  8845. 0x41,
  8846. 0x42,
  8847. 0x43,
  8848. 0x44,
  8849. 0x45,
  8850. 0x46,
  8851. 0x47,
  8852. 0x48,
  8853. 0x49,
  8854. 0x4A,
  8855. 0x4B,
  8856. 0x4C,
  8857. 0x4D,
  8858. 0x4E,
  8859. 0x4F,
  8860. 0x50,
  8861. 0x51,
  8862. 0x52,
  8863. 0x53,
  8864. 0x54,
  8865. 0x55,
  8866. 0x56,
  8867. 0x57,
  8868. 0x58,
  8869. 0x59,
  8870. 0x5A,
  8871. 0x5B,
  8872. 0x5C,
  8873. 0x5D,
  8874. 0x5E,
  8875. 0x5F,
  8876. 0x60,
  8877. 0x61,
  8878. 0x62,
  8879. 0x63,
  8880. 0x64
  8881. })
  8882. }
  8883. Else
  8884. {
  8885. Name (BRT1, Buffer (0x12) {})
  8886. CreateByteField (BRT1, Zero, BRT2)
  8887. BRT2 = One
  8888. Local2 = GENS (0x09, BRT1, SizeOf (BRT1))
  8889. Local0 = Zero
  8890. Local1 = 0x12
  8891. While ((Local0 < Local1))
  8892. {
  8893. Local3 = BBRD (Local2, Local0)
  8894. Index (DBCL, Local0) = Local3
  8895. Local0++
  8896. }
  8897.  
  8898. Return (DBCL) /* \_SB_.PCI0.VID_.LCD_.DBCL */
  8899. }
  8900. }
  8901.  
  8902. Method (_BCM, 1, Serialized) // _BCM: Brightness Control Method
  8903. {
  8904. If ((OSID () > 0x10)) {}
  8905. Name (BRT3, Buffer (0x02) {})
  8906. CreateByteField (BRT3, Zero, BRT4)
  8907. CreateByteField (BRT3, One, BRT5)
  8908. BRT4 = 0x02
  8909. BRT5 = Arg0
  8910. BRT0 = Arg0
  8911. GENS (0x09, BRT3, SizeOf (BRT3))
  8912. }
  8913.  
  8914. Method (_BQC, 0, Serialized) // _BQC: Brightness Query Current
  8915. {
  8916. Local0 = GENS (0x09, 0x03, Zero)
  8917. BRT0 = Local0
  8918. Return (Local0)
  8919. }
  8920. }
  8921.  
  8922. Device (DVI)
  8923. {
  8924. Method (_ADR, 0, NotSerialized) // _ADR: Address
  8925. {
  8926. Return (0x0302)
  8927. }
  8928.  
  8929. Method (_DCS, 0, NotSerialized) // _DCS: Display Current Status
  8930. {
  8931. Local0 = VDP1 (0x02, 0x08)
  8932. Return (Local0)
  8933. }
  8934.  
  8935. Method (_DGS, 0, NotSerialized) // _DGS: Display Graphics State
  8936. {
  8937. Local0 = VDP1 (0x03, 0x08)
  8938. Return (Local0)
  8939. }
  8940.  
  8941. Method (_DSS, 1, NotSerialized) // _DSS: Device Set State
  8942. {
  8943. VDP2 (0x08, Arg0)
  8944. }
  8945. }
  8946.  
  8947. Device (DVI2)
  8948. {
  8949. Method (_ADR, 0, NotSerialized) // _ADR: Address
  8950. {
  8951. Return (0x0303)
  8952. }
  8953.  
  8954. Method (_DCS, 0, NotSerialized) // _DCS: Display Current Status
  8955. {
  8956. Local0 = VDP1 (0x02, 0x10)
  8957. Return (Local0)
  8958. }
  8959.  
  8960. Method (_DGS, 0, NotSerialized) // _DGS: Display Graphics State
  8961. {
  8962. Local0 = VDP1 (0x03, 0x10)
  8963. Return (Local0)
  8964. }
  8965.  
  8966. Method (_DSS, 1, NotSerialized) // _DSS: Device Set State
  8967. {
  8968. VDP2 (0x10, Arg0)
  8969. }
  8970. }
  8971.  
  8972. Device (DVI3)
  8973. {
  8974. Method (_ADR, 0, NotSerialized) // _ADR: Address
  8975. {
  8976. Return (0x0304)
  8977. }
  8978.  
  8979. Method (_DCS, 0, NotSerialized) // _DCS: Display Current Status
  8980. {
  8981. Local0 = VDP1 (0x02, 0x80)
  8982. Return (Local0)
  8983. }
  8984.  
  8985. Method (_DGS, 0, NotSerialized) // _DGS: Display Graphics State
  8986. {
  8987. Local0 = VDP1 (0x03, 0x80)
  8988. Return (Local0)
  8989. }
  8990.  
  8991. Method (_DSS, 1, NotSerialized) // _DSS: Device Set State
  8992. {
  8993. VDP2 (0x80, Arg0)
  8994. }
  8995. }
  8996.  
  8997. Device (DP)
  8998. {
  8999. Method (_ADR, 0, NotSerialized) // _ADR: Address
  9000. {
  9001. Return (0x0300)
  9002. }
  9003.  
  9004. Method (_DCS, 0, NotSerialized) // _DCS: Display Current Status
  9005. {
  9006. Local0 = VDP1 (0x02, 0x20)
  9007. Return (Local0)
  9008. }
  9009.  
  9010. Method (_DGS, 0, NotSerialized) // _DGS: Display Graphics State
  9011. {
  9012. Local0 = VDP1 (0x03, 0x20)
  9013. Return (Local0)
  9014. }
  9015.  
  9016. Method (_DSS, 1, NotSerialized) // _DSS: Device Set State
  9017. {
  9018. VDP2 (0x20, Arg0)
  9019. }
  9020. }
  9021.  
  9022. Device (DP2)
  9023. {
  9024. Method (_ADR, 0, NotSerialized) // _ADR: Address
  9025. {
  9026. Return (0x0301)
  9027. }
  9028.  
  9029. Method (_DCS, 0, NotSerialized) // _DCS: Display Current Status
  9030. {
  9031. Local0 = VDP1 (0x02, 0x40)
  9032. Return (Local0)
  9033. }
  9034.  
  9035. Method (_DGS, 0, NotSerialized) // _DGS: Display Graphics State
  9036. {
  9037. Local0 = VDP1 (0x03, 0x40)
  9038. Return (Local0)
  9039. }
  9040.  
  9041. Method (_DSS, 1, NotSerialized) // _DSS: Device Set State
  9042. {
  9043. VDP2 (0x40, Arg0)
  9044. }
  9045. }
  9046.  
  9047. Device (DP3)
  9048. {
  9049. Method (_ADR, 0, NotSerialized) // _ADR: Address
  9050. {
  9051. Return (0x0305)
  9052. }
  9053.  
  9054. Method (_DCS, 0, NotSerialized) // _DCS: Display Current Status
  9055. {
  9056. Local0 = VDP1 (0x02, 0x0100)
  9057. Local0 &= 0xFFFF
  9058. Return (Local0)
  9059. }
  9060.  
  9061. Method (_DGS, 0, NotSerialized) // _DGS: Display Graphics State
  9062. {
  9063. Local0 = VDP1 (0x03, 0x0100)
  9064. Local0 &= 0xFFFF
  9065. Return (Local0)
  9066. }
  9067.  
  9068. Method (_DSS, 1, NotSerialized) // _DSS: Device Set State
  9069. {
  9070. VDP2 (0x0100, Arg0)
  9071. }
  9072. }
  9073.  
  9074. Method (BRT6, 2, NotSerialized)
  9075. {
  9076. If ((Arg0 == One))
  9077. {
  9078. Notify (LCD, 0x86) // Device-Specific
  9079. }
  9080.  
  9081. If ((Arg0 & 0x02))
  9082. {
  9083. Notify (LCD, 0x87) // Device-Specific
  9084. }
  9085. }
  9086.  
  9087. Scope (^^PCI0)
  9088. {
  9089. OperationRegion (MCHP, PCI_Config, 0x40, 0xC0)
  9090. Field (MCHP, AnyAcc, NoLock, Preserve)
  9091. {
  9092. Offset (0x60),
  9093. TASM, 10,
  9094. Offset (0x62)
  9095. }
  9096. }
  9097.  
  9098. OperationRegion (IGDP, PCI_Config, 0x40, 0xC0)
  9099. Field (IGDP, AnyAcc, NoLock, Preserve)
  9100. {
  9101. Offset (0x12),
  9102. , 1,
  9103. GIVD, 1,
  9104. , 2,
  9105. GUMA, 3,
  9106. Offset (0x14),
  9107. , 4,
  9108. GMFN, 1,
  9109. Offset (0x18),
  9110. Offset (0xA4),
  9111. ASLE, 8,
  9112. Offset (0xA8),
  9113. GSSE, 1,
  9114. GSSB, 14,
  9115. GSES, 1,
  9116. Offset (0xB0),
  9117. , 12,
  9118. CDVL, 1,
  9119. Offset (0xB2),
  9120. Offset (0xB5),
  9121. LBPC, 8,
  9122. Offset (0xBC),
  9123. ASLS, 32
  9124. }
  9125.  
  9126. OperationRegion (IGDM, SystemMemory, ASLB, 0x2000)
  9127. Field (IGDM, AnyAcc, NoLock, Preserve)
  9128. {
  9129. SIGN, 128,
  9130. SIZE, 32,
  9131. OVER, 32,
  9132. SVER, 256,
  9133. VVER, 128,
  9134. GVER, 128,
  9135. MBOX, 32,
  9136. DMOD, 32,
  9137. Offset (0x100),
  9138. DRDY, 32,
  9139. CSTS, 32,
  9140. CEVT, 32,
  9141. Offset (0x120),
  9142. DIDL, 32,
  9143. DDL2, 32,
  9144. DDL3, 32,
  9145. DDL4, 32,
  9146. DDL5, 32,
  9147. DDL6, 32,
  9148. DDL7, 32,
  9149. DDL8, 32,
  9150. CPDL, 32,
  9151. CPL2, 32,
  9152. CPL3, 32,
  9153. CPL4, 32,
  9154. CPL5, 32,
  9155. CPL6, 32,
  9156. CPL7, 32,
  9157. CPL8, 32,
  9158. CADL, 32,
  9159. CAL2, 32,
  9160. CAL3, 32,
  9161. CAL4, 32,
  9162. CAL5, 32,
  9163. CAL6, 32,
  9164. CAL7, 32,
  9165. CAL8, 32,
  9166. NADL, 32,
  9167. NDL2, 32,
  9168. NDL3, 32,
  9169. NDL4, 32,
  9170. NDL5, 32,
  9171. NDL6, 32,
  9172. NDL7, 32,
  9173. NDL8, 32,
  9174. ASLP, 32,
  9175. TIDX, 32,
  9176. CHPD, 32,
  9177. CLID, 32,
  9178. CDCK, 32,
  9179. SXSW, 32,
  9180. EVTS, 32,
  9181. CNOT, 32,
  9182. NRDY, 32,
  9183. Offset (0x200),
  9184. SCIE, 1,
  9185. GEFC, 4,
  9186. GXFC, 3,
  9187. GESF, 8,
  9188. Offset (0x204),
  9189. PARM, 32,
  9190. DSLP, 32,
  9191. Offset (0x300),
  9192. ARDY, 32,
  9193. ASLC, 32,
  9194. TCHE, 32,
  9195. ALSI, 32,
  9196. BCLP, 32,
  9197. PFIT, 32,
  9198. CBLV, 32,
  9199. BCLM, 320,
  9200. CPFM, 32,
  9201. EPFM, 32,
  9202. PLUT, 592,
  9203. PFMB, 32,
  9204. CCDV, 32,
  9205. PCFT, 32,
  9206. Offset (0x400),
  9207. GVD1, 49152,
  9208. PHED, 32,
  9209. BDDC, 2048
  9210. }
  9211.  
  9212. Name (DBTB, Package (0x15)
  9213. {
  9214. Zero,
  9215. 0x07,
  9216. 0x38,
  9217. 0x01C0,
  9218. 0x0E00,
  9219. 0x3F,
  9220. 0x01C7,
  9221. 0x0E07,
  9222. 0x01F8,
  9223. 0x0E38,
  9224. 0x0FC0,
  9225. Zero,
  9226. Zero,
  9227. Zero,
  9228. Zero,
  9229. Zero,
  9230. 0x7000,
  9231. 0x7007,
  9232. 0x7038,
  9233. 0x71C0,
  9234. 0x7E00
  9235. })
  9236. Name (CDCT, Package (0x05)
  9237. {
  9238. Package (0x02)
  9239. {
  9240. 0xE4,
  9241. 0x0140
  9242. },
  9243.  
  9244. Package (0x02)
  9245. {
  9246. 0xDE,
  9247. 0x014D
  9248. },
  9249.  
  9250. Package (0x02)
  9251. {
  9252. 0xDE,
  9253. 0x014D
  9254. },
  9255.  
  9256. Package (0x02)
  9257. {
  9258. Zero,
  9259. Zero
  9260. },
  9261.  
  9262. Package (0x02)
  9263. {
  9264. 0xDE,
  9265. 0x014D
  9266. }
  9267. })
  9268. Name (SUCC, One)
  9269. Name (NVLD, 0x02)
  9270. Name (CRIT, 0x04)
  9271. Name (NCRT, 0x06)
  9272. Method (GSCI, 0, Serialized)
  9273. {
  9274. Method (GBDA, 0, Serialized)
  9275. {
  9276. If ((GESF == Zero))
  9277. {
  9278. PARM = 0x0679
  9279. GESF = Zero
  9280. Return (SUCC) /* \_SB_.PCI0.VID_.SUCC */
  9281. }
  9282.  
  9283. If ((GESF == One))
  9284. {
  9285. PARM = 0x0240
  9286. GESF = Zero
  9287. Return (SUCC) /* \_SB_.PCI0.VID_.SUCC */
  9288. }
  9289.  
  9290. If ((GESF == 0x04))
  9291. {
  9292. PARM &= 0xEFFF0000
  9293. PARM &= (DerefOf (Index (DBTB, IBTT)) << 0x10)
  9294. PARM |= IBTT /* \_SB_.PCI0.VID_.PARM */
  9295. GESF = Zero
  9296. Return (SUCC) /* \_SB_.PCI0.VID_.SUCC */
  9297. }
  9298.  
  9299. If ((GESF == 0x05))
  9300. {
  9301. PARM = IPSC /* \IPSC */
  9302. PARM |= (IPAT << 0x08)
  9303. PARM += 0x0100
  9304. PARM |= (LIDS << 0x10)
  9305. PARM += 0x00010000
  9306. PARM |= (IBIA << 0x14)
  9307. GESF = Zero
  9308. Return (SUCC) /* \_SB_.PCI0.VID_.SUCC */
  9309. }
  9310.  
  9311. If ((GESF == 0x06))
  9312. {
  9313. PARM = ITVF /* \ITVF */
  9314. PARM |= (ITVM << 0x04)
  9315. GESF = Zero
  9316. Return (SUCC) /* \_SB_.PCI0.VID_.SUCC */
  9317. }
  9318.  
  9319. If ((GESF == 0x07))
  9320. {
  9321. PARM = GIVD /* \_SB_.PCI0.VID_.GIVD */
  9322. PARM ^= One
  9323. PARM |= (GMFN << One)
  9324. PARM |= 0x1800
  9325. PARM |= (IDMS << 0x11)
  9326. PARM |= (DerefOf (Index (DerefOf (Index (CDCT, HVCO)), CDVL)) <<
  9327. 0x15) /* \_SB_.PCI0.VID_.PARM */
  9328. GESF = One
  9329. Return (SUCC) /* \_SB_.PCI0.VID_.SUCC */
  9330. }
  9331.  
  9332. If ((GESF == 0x0A))
  9333. {
  9334. PARM = Zero
  9335. If (ISSC)
  9336. {
  9337. PARM |= 0x03
  9338. }
  9339.  
  9340. GESF = Zero
  9341. Return (SUCC) /* \_SB_.PCI0.VID_.SUCC */
  9342. }
  9343.  
  9344. If ((GESF == 0x0B))
  9345. {
  9346. PARM = KSV0 /* \KSV0 */
  9347. GESF = KSV1 /* \KSV1 */
  9348. Return (SUCC) /* \_SB_.PCI0.VID_.SUCC */
  9349. }
  9350.  
  9351. GESF = Zero
  9352. Return (CRIT) /* \_SB_.PCI0.VID_.CRIT */
  9353. }
  9354.  
  9355. Method (SBCB, 0, Serialized)
  9356. {
  9357. If ((GESF == Zero))
  9358. {
  9359. PARM = Zero
  9360. PARM = 0x000F87FD
  9361. GESF = Zero
  9362. Return (SUCC) /* \_SB_.PCI0.VID_.SUCC */
  9363. }
  9364.  
  9365. If ((GESF == One))
  9366. {
  9367. GESF = Zero
  9368. PARM = Zero
  9369. Return (SUCC) /* \_SB_.PCI0.VID_.SUCC */
  9370. }
  9371.  
  9372. If ((GESF == 0x03))
  9373. {
  9374. GESF = Zero
  9375. PARM = Zero
  9376. Return (SUCC) /* \_SB_.PCI0.VID_.SUCC */
  9377. }
  9378.  
  9379. If ((GESF == 0x04))
  9380. {
  9381. GESF = Zero
  9382. PARM = Zero
  9383. Return (SUCC) /* \_SB_.PCI0.VID_.SUCC */
  9384. }
  9385.  
  9386. If ((GESF == 0x05))
  9387. {
  9388. GESF = Zero
  9389. PARM = Zero
  9390. Return (SUCC) /* \_SB_.PCI0.VID_.SUCC */
  9391. }
  9392.  
  9393. If ((GESF == 0x06))
  9394. {
  9395. ITVF = (PARM & 0x0F)
  9396. ITVM = ((PARM & 0xF0) >> 0x04)
  9397. GESF = Zero
  9398. PARM = Zero
  9399. Return (SUCC) /* \_SB_.PCI0.VID_.SUCC */
  9400. }
  9401.  
  9402. If ((GESF == 0x07))
  9403. {
  9404. If ((PARM == Zero))
  9405. {
  9406. Local0 = CLID /* \_SB_.PCI0.VID_.CLID */
  9407. If ((0x80000000 & Local0))
  9408. {
  9409. CLID &= 0x0F
  9410. GLID (CLID)
  9411. }
  9412. }
  9413.  
  9414. GESF = Zero
  9415. PARM = Zero
  9416. Return (SUCC) /* \_SB_.PCI0.VID_.SUCC */
  9417. }
  9418.  
  9419. If ((GESF == 0x08))
  9420. {
  9421. GESF = Zero
  9422. PARM = Zero
  9423. Return (SUCC) /* \_SB_.PCI0.VID_.SUCC */
  9424. }
  9425.  
  9426. If ((GESF == 0x09))
  9427. {
  9428. IBTT = (PARM & 0xFF)
  9429. GESF = Zero
  9430. PARM = Zero
  9431. Return (SUCC) /* \_SB_.PCI0.VID_.SUCC */
  9432. }
  9433.  
  9434. If ((GESF == 0x0A))
  9435. {
  9436. IPSC = (PARM & 0xFF)
  9437. If (((PARM >> 0x08) & 0xFF))
  9438. {
  9439. IPAT = ((PARM >> 0x08) & 0xFF)
  9440. IPAT--
  9441. }
  9442.  
  9443. IBIA = ((PARM >> 0x14) & 0x07)
  9444. GESF = Zero
  9445. PARM = Zero
  9446. Return (SUCC) /* \_SB_.PCI0.VID_.SUCC */
  9447. }
  9448.  
  9449. If ((GESF == 0x0B))
  9450. {
  9451. IF1E = ((PARM >> One) & One)
  9452. If ((PARM & 0x0001E000))
  9453. {
  9454. IDMS = ((PARM >> 0x0D) & 0x0F)
  9455. }
  9456. Else
  9457. {
  9458. IDMS = ((PARM >> 0x11) & 0x0F)
  9459. }
  9460.  
  9461. GESF = Zero
  9462. PARM = Zero
  9463. Return (SUCC) /* \_SB_.PCI0.VID_.SUCC */
  9464. }
  9465.  
  9466. If ((GESF == 0x10))
  9467. {
  9468. GESF = Zero
  9469. PARM = Zero
  9470. Return (SUCC) /* \_SB_.PCI0.VID_.SUCC */
  9471. }
  9472.  
  9473. If ((GESF == 0x11))
  9474. {
  9475. PARM = (LIDS << 0x08)
  9476. PARM += 0x0100
  9477. GESF = Zero
  9478. Return (SUCC) /* \_SB_.PCI0.VID_.SUCC */
  9479. }
  9480.  
  9481. If ((GESF == 0x12))
  9482. {
  9483. If ((PARM & One))
  9484. {
  9485. If (((PARM >> One) == One))
  9486. {
  9487. ISSC = One
  9488. }
  9489. Else
  9490. {
  9491. GESF = Zero
  9492. Return (CRIT) /* \_SB_.PCI0.VID_.CRIT */
  9493. }
  9494. }
  9495. Else
  9496. {
  9497. ISSC = Zero
  9498. }
  9499.  
  9500. GESF = Zero
  9501. PARM = Zero
  9502. Return (SUCC) /* \_SB_.PCI0.VID_.SUCC */
  9503. }
  9504.  
  9505. If ((GESF == 0x13))
  9506. {
  9507. GESF = Zero
  9508. PARM = Zero
  9509. Return (SUCC) /* \_SB_.PCI0.VID_.SUCC */
  9510. }
  9511.  
  9512. If ((GESF == 0x14))
  9513. {
  9514. PAVP = (PARM & 0x0F)
  9515. GESF = Zero
  9516. PARM = Zero
  9517. Return (SUCC) /* \_SB_.PCI0.VID_.SUCC */
  9518. }
  9519.  
  9520. GESF = Zero
  9521. Return (SUCC) /* \_SB_.PCI0.VID_.SUCC */
  9522. }
  9523.  
  9524. If ((GEFC == 0x04))
  9525. {
  9526. GXFC = GBDA ()
  9527. }
  9528.  
  9529. If ((GEFC == 0x06))
  9530. {
  9531. GXFC = SBCB ()
  9532. }
  9533.  
  9534. GEFC = Zero
  9535. SCIS = One
  9536. GSSE = Zero
  9537. SCIE = Zero
  9538. Return (Zero)
  9539. }
  9540.  
  9541. Method (PDRD, 0, NotSerialized)
  9542. {
  9543. If (!DRDY)
  9544. {
  9545. Sleep (ASLP)
  9546. }
  9547.  
  9548. Return (!DRDY)
  9549. }
  9550.  
  9551. Method (PSTS, 0, NotSerialized)
  9552. {
  9553. If ((CSTS > 0x02))
  9554. {
  9555. Sleep (ASLP)
  9556. }
  9557.  
  9558. Return ((CSTS == 0x03))
  9559. }
  9560.  
  9561. Method (GNOT, 2, NotSerialized)
  9562. {
  9563. If (PDRD ())
  9564. {
  9565. Return (One)
  9566. }
  9567.  
  9568. CEVT = Arg0
  9569. CSTS = 0x03
  9570. If (((CHPD == Zero) && (Arg1 == Zero)))
  9571. {
  9572. If (((OSYS > 0x07D0) || (OSYS < 0x07D6)))
  9573. {
  9574. Notify (PCI0, Arg1)
  9575. }
  9576. Else
  9577. {
  9578. Notify (GFX0, Arg1)
  9579. }
  9580. }
  9581.  
  9582. If (CondRefOf (HNOT))
  9583. {
  9584. HNOT (Arg0)
  9585. }
  9586. Else
  9587. {
  9588. Notify (GFX0, 0x80) // Status Change
  9589. }
  9590.  
  9591. Return (Zero)
  9592. }
  9593.  
  9594. Method (GHDS, 1, NotSerialized)
  9595. {
  9596. TIDX = Arg0
  9597. Return (GNOT (One, Zero))
  9598. }
  9599.  
  9600. Method (GLID, 1, NotSerialized)
  9601. {
  9602. If ((Arg0 == One))
  9603. {
  9604. CLID = 0x03
  9605. }
  9606. Else
  9607. {
  9608. CLID = Arg0
  9609. }
  9610.  
  9611. Return (GNOT (0x02, Zero))
  9612. }
  9613.  
  9614. Method (GDCK, 1, NotSerialized)
  9615. {
  9616. CDCK = Arg0
  9617. Return (GNOT (0x04, Zero))
  9618. }
  9619.  
  9620. Method (PARD, 0, NotSerialized)
  9621. {
  9622. If (!ARDY)
  9623. {
  9624. Sleep (ASLP)
  9625. }
  9626.  
  9627. Return (!ARDY)
  9628. }
  9629.  
  9630. Method (AINT, 2, NotSerialized)
  9631. {
  9632. If (!(TCHE & (One << Arg0)))
  9633. {
  9634. Return (One)
  9635. }
  9636.  
  9637. If (PARD ())
  9638. {
  9639. Return (One)
  9640. }
  9641.  
  9642. If ((Arg0 == 0x02))
  9643. {
  9644. If (CPFM)
  9645. {
  9646. Local0 = (CPFM & 0x0F)
  9647. Local1 = (EPFM & 0x0F)
  9648. If ((Local0 == One))
  9649. {
  9650. If ((Local1 & 0x06))
  9651. {
  9652. PFIT = 0x06
  9653. }
  9654. Else
  9655. {
  9656. If ((Local1 & 0x08))
  9657. {
  9658. PFIT = 0x08
  9659. }
  9660. Else
  9661. {
  9662. PFIT = One
  9663. }
  9664. }
  9665. }
  9666.  
  9667. If ((Local0 == 0x06))
  9668. {
  9669. If ((Local1 & 0x08))
  9670. {
  9671. PFIT = 0x08
  9672. }
  9673. Else
  9674. {
  9675. If ((Local1 & One))
  9676. {
  9677. PFIT = One
  9678. }
  9679. Else
  9680. {
  9681. PFIT = 0x06
  9682. }
  9683. }
  9684. }
  9685.  
  9686. If ((Local0 == 0x08))
  9687. {
  9688. If ((Local1 & One))
  9689. {
  9690. PFIT = One
  9691. }
  9692. Else
  9693. {
  9694. If ((Local1 & 0x06))
  9695. {
  9696. PFIT = 0x06
  9697. }
  9698. Else
  9699. {
  9700. PFIT = 0x08
  9701. }
  9702. }
  9703. }
  9704. }
  9705. Else
  9706. {
  9707. PFIT ^= 0x07
  9708. }
  9709.  
  9710. PFIT |= 0x80000000
  9711. ASLC = 0x04
  9712. }
  9713. Else
  9714. {
  9715. If ((Arg0 == One))
  9716. {
  9717. BCLP = Arg1
  9718. BCLP |= 0x80000000
  9719. ASLC = 0x02
  9720. }
  9721. Else
  9722. {
  9723. If ((Arg0 == Zero))
  9724. {
  9725. ALSI = Arg1
  9726. ASLC = One
  9727. }
  9728. Else
  9729. {
  9730. Return (One)
  9731. }
  9732. }
  9733. }
  9734.  
  9735. ASLE = One
  9736. Return (Zero)
  9737. }
  9738.  
  9739. Method (SCIP, 0, NotSerialized)
  9740. {
  9741. If ((OVER != Zero))
  9742. {
  9743. Return (!GSMI)
  9744. }
  9745.  
  9746. Return (Zero)
  9747. }
  9748.  
  9749. Method (ILID, 0, NotSerialized)
  9750. {
  9751. If ((IVD6 == One))
  9752. {
  9753. Local0 = ^^^LID0._LID ()
  9754. GLID (Local0)
  9755. Notify (LID0, 0x80) // Status Change
  9756. IVD8 = Zero
  9757. Sleep (0x01F4)
  9758. Local0 = One
  9759. }
  9760. Else
  9761. {
  9762. Local0 = Zero
  9763. }
  9764.  
  9765. Return (Local0)
  9766. }
  9767.  
  9768. Method (ILDE, 2, NotSerialized)
  9769. {
  9770. If ((Arg0 == 0x03))
  9771. {
  9772. ILID ()
  9773. }
  9774. }
  9775.  
  9776. Method (IVD1, 2, NotSerialized)
  9777. {
  9778. If ((IVD6 == One))
  9779. {
  9780. GHDS (Zero)
  9781. }
  9782. }
  9783.  
  9784. Method (IVD2, 2, NotSerialized)
  9785. {
  9786. If ((IVD6 == One))
  9787. {
  9788. GDCK (CDCK)
  9789. If ((CDCK == One))
  9790. {
  9791. If ((CLID == Zero))
  9792. {
  9793. Sleep (0x07D0)
  9794. IVD8 = One
  9795. GLID (One)
  9796. Notify (LID0, 0x80) // Status Change
  9797. Sleep (0x02EE)
  9798. GLID (Zero)
  9799. Notify (LID0, 0x80) // Status Change
  9800. Sleep (0x07D0)
  9801. }
  9802. }
  9803. }
  9804. }
  9805.  
  9806. Method (IVD4, 2, NotSerialized)
  9807. {
  9808. IVD7 = ^^^LID0._LID ()
  9809. }
  9810.  
  9811. Method (IVD3, 2, NotSerialized)
  9812. {
  9813. If ((IVD6 == One))
  9814. {
  9815. Local0 = ^^^LID0._LID ()
  9816. CLID = Local0
  9817. If ((Arg0 == 0x03))
  9818. {
  9819. If (((IVD7 != Local0) | (Local0 == Zero)))
  9820. {
  9821. If ((OSID () >= 0x20))
  9822. {
  9823. GLID (Local0)
  9824. }
  9825. Else
  9826. {
  9827. ILID ()
  9828. }
  9829. }
  9830. }
  9831. }
  9832. }
  9833. }
  9834. }
  9835.  
  9836. Device (_SB.MEM2)
  9837. {
  9838. Name (_HID, EisaId ("PNP0C01") /* System Board */) // _HID: Hardware ID
  9839. Name (_UID, 0x02) // _UID: Unique ID
  9840. Name (CRS1, ResourceTemplate ()
  9841. {
  9842. Memory32Fixed (ReadWrite,
  9843. 0x20000000, // Address Base
  9844. 0x00200000, // Address Length
  9845. )
  9846. Memory32Fixed (ReadWrite,
  9847. 0x40000000, // Address Base
  9848. 0x00200000, // Address Length
  9849. )
  9850. })
  9851. Name (CRS2, ResourceTemplate ()
  9852. {
  9853. Memory32Fixed (ReadWrite,
  9854. 0x20000000, // Address Base
  9855. 0x00200000, // Address Length
  9856. )
  9857. Memory32Fixed (ReadWrite,
  9858. 0x40004000, // Address Base
  9859. 0x00001000, // Address Length
  9860. )
  9861. })
  9862. Method (_STA, 0, NotSerialized) // _STA: Status
  9863. {
  9864. If (IGDS)
  9865. {
  9866. Return (0x0F)
  9867. }
  9868.  
  9869. Return (Zero)
  9870. }
  9871.  
  9872. Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
  9873. {
  9874. If ((((PNHM & 0x0FFF0FF0) == 0x000206A0) || ((PNHM & 0x0FFF0FFF
  9875. ) == 0x000306A0)))
  9876. {
  9877. Return (CRS1) /* \_SB_.MEM2.CRS1 */
  9878. }
  9879.  
  9880. Return (CRS2) /* \_SB_.MEM2.CRS2 */
  9881. }
  9882. }
  9883.  
  9884. Scope (\)
  9885. {
  9886. Method (VDP2, 2, NotSerialized)
  9887. {
  9888. Name (VDP3, Buffer (0x10) {})
  9889. CreateByteField (VDP3, Zero, VDP4)
  9890. CreateWordField (VDP3, One, VDP5)
  9891. CreateDWordField (VDP3, 0x03, VDP6)
  9892. VDP4 = 0x04
  9893. VDP5 = Arg0
  9894. VDP6 = Arg1
  9895. GENS (0x05, VDP3, SizeOf (VDP3))
  9896. }
  9897.  
  9898. Method (VDP1, 2, NotSerialized)
  9899. {
  9900. Local0 = Arg1
  9901. Local0 <<= 0x08
  9902. Local0 |= Arg0
  9903. Local0 = GENS (0x05, Local0, Zero)
  9904. Return (Local0)
  9905. }
  9906. }
  9907.  
  9908. Scope (_SB.PCI0.VID)
  9909. {
  9910. Method (IBL1, 2, NotSerialized)
  9911. {
  9912. If ((IVD6 == One))
  9913. {
  9914. If (((Arg0 >= Zero) && (Arg0 <= 0xFF)))
  9915. {
  9916. AINT (One, Arg0)
  9917. BRTL = Arg0
  9918. }
  9919. }
  9920. }
  9921. }
  9922.  
  9923. Scope (_SB.PCI0.PEG0.VID)
  9924. {
  9925. Name (EVD4, Buffer (One) {})
  9926. CreateByteField (EVD4, Zero, EVD5)
  9927. Name (SSBU, Buffer (0x04) {})
  9928. CreateDWordField (SSBU, Zero, SSDS)
  9929. Name (NOPE, Zero)
  9930. Name (HPEV, Zero)
  9931. OperationRegion (PCS, PCI_Config, Zero, 0x40)
  9932. Field (PCS, AnyAcc, NoLock, WriteAsZeros)
  9933. {
  9934. VVID, 16,
  9935. VDID, 16,
  9936. Offset (0x0A),
  9937. DCLS, 16
  9938. }
  9939.  
  9940. OperationRegion (PCS2, PCI_Config, 0x40, 0x40)
  9941. Field (PCS2, AnyAcc, NoLock, Preserve)
  9942. {
  9943. SSID, 32
  9944. }
  9945.  
  9946. Method (VINI, 2, NotSerialized)
  9947. {
  9948. If ((Arg0 == 0x02))
  9949. {
  9950. EVD5 = Zero
  9951. Local1 = DCLS /* \_SB_.PCI0.PEG0.VID_.DCLS */
  9952. If ((DCLS == 0x0300))
  9953. {
  9954. Local1 = VVID /* \_SB_.PCI0.PEG0.VID_.VVID */
  9955. EVD5 = One
  9956. If ((VVID == 0x10DE))
  9957. {
  9958. If ((OSID () != 0x80))
  9959. {
  9960. VDP1 (0x07, Zero)
  9961. }
  9962.  
  9963. NOPE = VDP1 (0x08, Zero)
  9964. SSDS = SSID /* \_SB_.PCI0.PEG0.VID_.SSID */
  9965. }
  9966. }
  9967. }
  9968. }
  9969.  
  9970. Name (VDP7, Buffer (0x02)
  9971. {
  9972. 0x00, 0x00 /* .. */
  9973. })
  9974. CreateByteField (VDP7, One, VDP8)
  9975. Method (DINI, 2, NotSerialized)
  9976. {
  9977. If ((Arg0 == 0x02))
  9978. {
  9979. VDP8 = One
  9980. }
  9981. }
  9982.  
  9983. Method (EVD1, 2, NotSerialized)
  9984. {
  9985. If ((EVD5 == One))
  9986. {
  9987. If ((VVID == 0x10DE))
  9988. {
  9989. Notify (VID, 0x80) // Status Change
  9990. }
  9991. }
  9992. }
  9993.  
  9994. Method (EVD2, 2, NotSerialized)
  9995. {
  9996. If ((EVD5 == One))
  9997. {
  9998. If ((VVID == 0x10DE))
  9999. {
  10000. If ((Arg1 == Zero))
  10001. {
  10002. Notify (VID, 0xD1) // Hardware-Specific
  10003. }
  10004. Else
  10005. {
  10006. Notify (VID, 0xD2) // Hardware-Specific
  10007. }
  10008. }
  10009. }
  10010. }
  10011.  
  10012. Method (EVD6, 2, NotSerialized)
  10013. {
  10014. If ((NOPE == One))
  10015. {
  10016. HPEV = One
  10017. Notify (VID, 0x81) // Information Change
  10018. }
  10019. }
  10020.  
  10021. Method (EVD3, 2, NotSerialized)
  10022. {
  10023. If ((Arg0 == 0x03))
  10024. {
  10025. If ((EVD5 == One))
  10026. {
  10027. If ((VVID == 0x10DE))
  10028. {
  10029. If ((OSID () < 0x20))
  10030. {
  10031. VDP1 (0x05, Arg1)
  10032. }
  10033. }
  10034.  
  10035. Notify (LID0, 0x80) // Status Change
  10036. }
  10037. }
  10038. }
  10039.  
  10040. Method (BRT6, 2, NotSerialized)
  10041. {
  10042. If ((EVD5 == One))
  10043. {
  10044. If ((Arg0 == One))
  10045. {
  10046. Notify (LCD, 0x86) // Device-Specific
  10047. }
  10048.  
  10049. If ((Arg0 & 0x02))
  10050. {
  10051. Notify (LCD, 0x87) // Device-Specific
  10052. }
  10053. }
  10054. }
  10055. }
  10056.  
  10057. Scope (_GPE)
  10058. {
  10059. Method (NWAK, 2, NotSerialized)
  10060. {
  10061. _L01 ()
  10062. }
  10063.  
  10064. Method (_L01, 0, NotSerialized) // _Lxx: Level-Triggered GPE
  10065. {
  10066. If (((RP1D == Zero) && \_SB.PCI0.RP01.HPSX))
  10067. {
  10068. \_SB.PCI0.RP01.HPSX = One
  10069. }
  10070.  
  10071. If (((RP1D == Zero) && \_SB.PCI0.RP01.PDCX))
  10072. {
  10073. \_SB.PCI0.RP01.PDCX = One
  10074. }
  10075.  
  10076. If (((RP2D == Zero) && \_SB.PCI0.RP02.HPSX))
  10077. {
  10078. \_SB.PCI0.RP02.HPSX = One
  10079. }
  10080.  
  10081. If (((RP2D == Zero) && \_SB.PCI0.RP02.PDCX))
  10082. {
  10083. \_SB.PCI0.RP02.PDCX = One
  10084. }
  10085.  
  10086. If (((RP3D == Zero) && \_SB.PCI0.RP03.HPSX))
  10087. {
  10088. \_SB.PCI0.RP03.HPSX = One
  10089. \_SB.PCI0.RP03.EIFD = Zero
  10090. }
  10091.  
  10092. If (((RP3D == Zero) && \_SB.PCI0.RP03.PDCX))
  10093. {
  10094. \_SB.PCI0.RP03.PDCX = One
  10095. }
  10096.  
  10097. If (((RP4D == Zero) && \_SB.PCI0.RP04.HPSX))
  10098. {
  10099. \_SB.PCI0.RP04.HPSX = One
  10100. \_SB.PCI0.RP04.EIFD = Zero
  10101. }
  10102.  
  10103. If (((RP4D == Zero) && \_SB.PCI0.RP04.PDCX))
  10104. {
  10105. \_SB.PCI0.RP04.PDCX = One
  10106. }
  10107.  
  10108. If (((RP5D == Zero) && \_SB.PCI0.RP05.HPSX))
  10109. {
  10110. \_SB.PCI0.RP05.HPSX = One
  10111. }
  10112.  
  10113. If (((RP5D == Zero) && \_SB.PCI0.RP05.PDCX))
  10114. {
  10115. \_SB.PCI0.RP05.PDCX = One
  10116. }
  10117.  
  10118. Notify (\_SB.PCI0, Zero) // Bus Check
  10119. }
  10120.  
  10121. Method (_L06, 0, NotSerialized) // _Lxx: Level-Triggered GPE
  10122. {
  10123. If ((\_SB.PCI0.VID.SCIP () != Zero))
  10124. {
  10125. If (\_SB.PCI0.VID.GSSE)
  10126. {
  10127. \_SB.PCI0.VID.GSCI ()
  10128. }
  10129. Else
  10130. {
  10131. SCIS = One
  10132. }
  10133. }
  10134. }
  10135.  
  10136. Method (_L09, 0, NotSerialized) // _Lxx: Level-Triggered GPE
  10137. {
  10138. If ((RP1D == Zero))
  10139. {
  10140. \_SB.PCI0.RP01.HPME ()
  10141. Notify (\_SB.PCI0.RP01, 0x02) // Device Wake
  10142. }
  10143.  
  10144. If ((RP2D == Zero))
  10145. {
  10146. \_SB.PCI0.RP02.HPME ()
  10147. Notify (\_SB.PCI0.RP02, 0x02) // Device Wake
  10148. }
  10149.  
  10150. If ((RP3D == Zero))
  10151. {
  10152. \_SB.PCI0.RP03.HPME ()
  10153. Notify (\_SB.PCI0.RP03, 0x02) // Device Wake
  10154. }
  10155.  
  10156. If ((RP4D == Zero))
  10157. {
  10158. \_SB.PCI0.RP04.HPME ()
  10159. Notify (\_SB.PCI0.RP04, 0x02) // Device Wake
  10160. }
  10161.  
  10162. If ((RP5D == Zero))
  10163. {
  10164. \_SB.PCI0.RP05.HPME ()
  10165. Notify (\_SB.PCI0.RP05, 0x02) // Device Wake
  10166. }
  10167.  
  10168. If ((RP6D == Zero))
  10169. {
  10170. \_SB.PCI0.RP06.HPME ()
  10171. Notify (\_SB.PCI0.RP06, 0x02) // Device Wake
  10172. }
  10173.  
  10174. If ((RP7D == Zero))
  10175. {
  10176. \_SB.PCI0.RP07.HPME ()
  10177. Notify (\_SB.PCI0.RP07, 0x02) // Device Wake
  10178. }
  10179.  
  10180. If ((RP8D == Zero))
  10181. {
  10182. \_SB.PCI0.RP08.HPME ()
  10183. Notify (\_SB.PCI0.RP08, 0x02) // Device Wake
  10184. }
  10185.  
  10186. Notify (\_SB.PCI0.PEG0, 0x02) // Device Wake
  10187. Notify (\_SB.PCI0.PEG0.PEGP, 0x02) // Device Wake
  10188. Notify (\_SB.PCI0.PEG1, 0x02) // Device Wake
  10189. Notify (\_SB.PCI0.PEG2, 0x02) // Device Wake
  10190. Notify (\_SB.PCI0.PEG3, 0x02) // Device Wake
  10191. }
  10192. }
  10193.  
  10194. Scope (_PR)
  10195. {
  10196. Method (PPCE, 2, NotSerialized)
  10197. {
  10198. Local0 = GENS (0x15, Zero, Zero)
  10199. ^CPU0._PPC = Local0
  10200. Notify (CPU0, 0x80) // Performance Capability Change
  10201. Sleep (0x64)
  10202. If ((TCNT >= 0x02))
  10203. {
  10204. Notify (CPU1, 0x80) // Performance Capability Change
  10205. Sleep (0x64)
  10206. If ((TCNT >= 0x04))
  10207. {
  10208. Notify (CPU2, 0x80) // Performance Capability Change
  10209. Sleep (0x64)
  10210. Notify (CPU3, 0x80) // Performance Capability Change
  10211. Sleep (0x64)
  10212. If ((TCNT >= 0x08))
  10213. {
  10214. Notify (CPU4, 0x80) // Performance Capability Change
  10215. Sleep (0x64)
  10216. Notify (CPU5, 0x80) // Performance Capability Change
  10217. Sleep (0x64)
  10218. Notify (CPU6, 0x80) // Performance Capability Change
  10219. Sleep (0x64)
  10220. Notify (CPU7, 0x80) // Performance Capability Change
  10221. Sleep (0x64)
  10222. }
  10223. }
  10224. }
  10225. }
  10226. }
  10227.  
  10228. Name (APRE, Zero)
  10229. Scope (_SB.PCI0.LPCB)
  10230. {
  10231. Device (ECDV)
  10232. {
  10233. Name (_HID, EisaId ("PNP0C09") /* Embedded Controller Device */) // _HID: Hardware ID
  10234. Name (_UID, Zero) // _UID: Unique ID
  10235. Name (ECRS, ResourceTemplate ()
  10236. {
  10237. IO (Decode16,
  10238. 0x0000, // Range Minimum
  10239. 0x0000, // Range Maximum
  10240. 0x00, // Alignment
  10241. 0x01, // Length
  10242. _Y17)
  10243. IO (Decode16,
  10244. 0x0000, // Range Minimum
  10245. 0x0000, // Range Maximum
  10246. 0x00, // Alignment
  10247. 0x01, // Length
  10248. _Y18)
  10249. })
  10250. Method (_STA, 0, Serialized) // _STA: Status
  10251. {
  10252. Return (0x0F)
  10253. }
  10254.  
  10255. Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
  10256. {
  10257. CreateWordField (ECRS, \_SB.PCI0.LPCB.ECDV._Y17._MIN, DMIN) // _MIN: Minimum Base Address
  10258. CreateWordField (ECRS, \_SB.PCI0.LPCB.ECDV._Y17._MAX, DMAX) // _MAX: Maximum Base Address
  10259. CreateWordField (ECRS, \_SB.PCI0.LPCB.ECDV._Y18._MIN, CMIN) // _MIN: Minimum Base Address
  10260. CreateWordField (ECRS, \_SB.PCI0.LPCB.ECDV._Y18._MAX, CMAX) // _MAX: Maximum Base Address
  10261. Local0 = (0x0900 + 0x30)
  10262. DMIN = Local0
  10263. DMAX = Local0
  10264. Local0 = (0x0900 + 0x34)
  10265. CMIN = Local0
  10266. CMAX = Local0
  10267. Return (ECRS) /* \_SB_.PCI0.LPCB.ECDV.ECRS */
  10268. }
  10269.  
  10270. Name (_GPE, 0x10) // _GPE: General Purpose Events
  10271. Name (ECIB, Buffer (0xFF) {})
  10272. OperationRegion (ECOR, EmbeddedControl, Zero, 0xFF)
  10273. Field (ECOR, ByteAcc, Lock, Preserve)
  10274. {
  10275. EC00, 8,
  10276. EC01, 8,
  10277. EC02, 8,
  10278. EC03, 8,
  10279. EC04, 8,
  10280. EC05, 8,
  10281. EC06, 8,
  10282. EC07, 8,
  10283. EC08, 8,
  10284. EC09, 8,
  10285. EC10, 8,
  10286. EC11, 8,
  10287. EC12, 8,
  10288. EC13, 8,
  10289. EC14, 8,
  10290. EC15, 8,
  10291. EC16, 8,
  10292. EC17, 8,
  10293. EC18, 8,
  10294. EC19, 8,
  10295. EC20, 8,
  10296. EC21, 8,
  10297. EC22, 8,
  10298. EC23, 8,
  10299. EC24, 8,
  10300. EC25, 8,
  10301. EC26, 8,
  10302. EC27, 8,
  10303. EC28, 8,
  10304. EC29, 8,
  10305. EC30, 8,
  10306. EC31, 8,
  10307. EC32, 8,
  10308. EC33, 8,
  10309. EC34, 8,
  10310. EC35, 8,
  10311. EC36, 8,
  10312. EC37, 8,
  10313. EC38, 8,
  10314. EC39, 8,
  10315. EC40, 8,
  10316. EC41, 8,
  10317. EC42, 8,
  10318. EC43, 8,
  10319. EC44, 8,
  10320. EC45, 8,
  10321. EC46, 8,
  10322. EC47, 8,
  10323. EC48, 8,
  10324. EC49, 8
  10325. }
  10326.  
  10327. Method (ECIN, 0, NotSerialized)
  10328. {
  10329. LIDS = ECG3 ()
  10330. ECS3 ()
  10331. ECS2 (ACOS)
  10332. If ((OIDE () >= One))
  10333. {
  10334. GENS (0x2D, Zero, Zero)
  10335. }
  10336. }
  10337.  
  10338. Method (_REG, 2, NotSerialized) // _REG: Region Availability
  10339. {
  10340. If (((Arg1 == One) == (Arg0 == 0x03)))
  10341. {
  10342. ECIN ()
  10343. ECRD = One
  10344. }
  10345.  
  10346. If (((Arg1 == Zero) && (Arg0 == 0x03)))
  10347. {
  10348. ECRD = Zero
  10349. }
  10350. }
  10351.  
  10352. Method (ECM9, 2, NotSerialized)
  10353. {
  10354. ECIN ()
  10355. ECS6 (Arg0)
  10356. }
  10357.  
  10358. Method (_Q66, 0, NotSerialized) // _Qxx: EC Query
  10359. {
  10360. If ((ECRD != One))
  10361. {
  10362. Return (Zero)
  10363. }
  10364.  
  10365. NEVT ()
  10366. Return (Zero)
  10367. }
  10368.  
  10369. Method (ECR1, 1, NotSerialized)
  10370. {
  10371. If ((ECRD == Zero))
  10372. {
  10373. Local0 = EISC (0x80, Arg0, Zero)
  10374. Return (Local0)
  10375. }
  10376.  
  10377. Acquire (ECMX, 0xFFFF)
  10378. Local0 = Zero
  10379. If ((Arg0 == Zero))
  10380. {
  10381. Local0 = EC00 /* \_SB_.PCI0.LPCB.ECDV.EC00 */
  10382. }
  10383.  
  10384. If ((Arg0 == One))
  10385. {
  10386. Local0 = EC01 /* \_SB_.PCI0.LPCB.ECDV.EC01 */
  10387. }
  10388.  
  10389. If ((Arg0 == 0x02))
  10390. {
  10391. Local0 = EC02 /* \_SB_.PCI0.LPCB.ECDV.EC02 */
  10392. }
  10393.  
  10394. If ((Arg0 == 0x03))
  10395. {
  10396. Local0 = EC03 /* \_SB_.PCI0.LPCB.ECDV.EC03 */
  10397. }
  10398.  
  10399. If ((Arg0 == 0x04))
  10400. {
  10401. Local0 = EC04 /* \_SB_.PCI0.LPCB.ECDV.EC04 */
  10402. }
  10403.  
  10404. If ((Arg0 == 0x05))
  10405. {
  10406. Local0 = EC05 /* \_SB_.PCI0.LPCB.ECDV.EC05 */
  10407. }
  10408.  
  10409. If ((Arg0 == 0x06))
  10410. {
  10411. Local0 = EC06 /* \_SB_.PCI0.LPCB.ECDV.EC06 */
  10412. }
  10413.  
  10414. If ((Arg0 == 0x07))
  10415. {
  10416. Local0 = EC07 /* \_SB_.PCI0.LPCB.ECDV.EC07 */
  10417. }
  10418.  
  10419. If ((Arg0 == 0x08))
  10420. {
  10421. Local0 = EC08 /* \_SB_.PCI0.LPCB.ECDV.EC08 */
  10422. }
  10423.  
  10424. If ((Arg0 == 0x09))
  10425. {
  10426. Local0 = EC09 /* \_SB_.PCI0.LPCB.ECDV.EC09 */
  10427. }
  10428.  
  10429. If ((Arg0 == 0x0A))
  10430. {
  10431. Local0 = EC10 /* \_SB_.PCI0.LPCB.ECDV.EC10 */
  10432. }
  10433.  
  10434. If ((Arg0 == 0x0B))
  10435. {
  10436. Local0 = EC11 /* \_SB_.PCI0.LPCB.ECDV.EC11 */
  10437. }
  10438.  
  10439. If ((Arg0 == 0x0C))
  10440. {
  10441. Local0 = EC12 /* \_SB_.PCI0.LPCB.ECDV.EC12 */
  10442. }
  10443.  
  10444. If ((Arg0 == 0x0D))
  10445. {
  10446. Local0 = EC13 /* \_SB_.PCI0.LPCB.ECDV.EC13 */
  10447. }
  10448.  
  10449. If ((Arg0 == 0x0E))
  10450. {
  10451. Local0 = EC14 /* \_SB_.PCI0.LPCB.ECDV.EC14 */
  10452. }
  10453.  
  10454. If ((Arg0 == 0x0F))
  10455. {
  10456. Local0 = EC15 /* \_SB_.PCI0.LPCB.ECDV.EC15 */
  10457. }
  10458.  
  10459. If ((Arg0 == 0x10))
  10460. {
  10461. Local0 = EC16 /* \_SB_.PCI0.LPCB.ECDV.EC16 */
  10462. }
  10463.  
  10464. If ((Arg0 == 0x11))
  10465. {
  10466. Local0 = EC17 /* \_SB_.PCI0.LPCB.ECDV.EC17 */
  10467. }
  10468.  
  10469. If ((Arg0 == 0x12))
  10470. {
  10471. Local0 = EC18 /* \_SB_.PCI0.LPCB.ECDV.EC18 */
  10472. }
  10473.  
  10474. If ((Arg0 == 0x13))
  10475. {
  10476. Local0 = EC19 /* \_SB_.PCI0.LPCB.ECDV.EC19 */
  10477. }
  10478.  
  10479. If ((Arg0 == 0x14))
  10480. {
  10481. Local0 = EC20 /* \_SB_.PCI0.LPCB.ECDV.EC20 */
  10482. }
  10483.  
  10484. If ((Arg0 == 0x15))
  10485. {
  10486. Local0 = EC21 /* \_SB_.PCI0.LPCB.ECDV.EC21 */
  10487. }
  10488.  
  10489. If ((Arg0 == 0x16))
  10490. {
  10491. Local0 = EC22 /* \_SB_.PCI0.LPCB.ECDV.EC22 */
  10492. }
  10493.  
  10494. If ((Arg0 == 0x17))
  10495. {
  10496. Local0 = EC23 /* \_SB_.PCI0.LPCB.ECDV.EC23 */
  10497. }
  10498.  
  10499. If ((Arg0 == 0x18))
  10500. {
  10501. Local0 = EC24 /* \_SB_.PCI0.LPCB.ECDV.EC24 */
  10502. }
  10503.  
  10504. If ((Arg0 == 0x19))
  10505. {
  10506. Local0 = EC25 /* \_SB_.PCI0.LPCB.ECDV.EC25 */
  10507. }
  10508.  
  10509. If ((Arg0 == 0x1A))
  10510. {
  10511. Local0 = EC26 /* \_SB_.PCI0.LPCB.ECDV.EC26 */
  10512. }
  10513.  
  10514. If ((Arg0 == 0x1B))
  10515. {
  10516. Local0 = EC27 /* \_SB_.PCI0.LPCB.ECDV.EC27 */
  10517. }
  10518.  
  10519. If ((Arg0 == 0x1C))
  10520. {
  10521. Local0 = EC28 /* \_SB_.PCI0.LPCB.ECDV.EC28 */
  10522. }
  10523.  
  10524. If ((Arg0 == 0x1D))
  10525. {
  10526. Local0 = EC29 /* \_SB_.PCI0.LPCB.ECDV.EC29 */
  10527. }
  10528.  
  10529. If ((Arg0 == 0x1E))
  10530. {
  10531. Local0 = EC30 /* \_SB_.PCI0.LPCB.ECDV.EC30 */
  10532. }
  10533.  
  10534. If ((Arg0 == 0x1F))
  10535. {
  10536. Local0 = EC31 /* \_SB_.PCI0.LPCB.ECDV.EC31 */
  10537. }
  10538.  
  10539. If ((Arg0 == 0x20))
  10540. {
  10541. Local0 = EC32 /* \_SB_.PCI0.LPCB.ECDV.EC32 */
  10542. }
  10543.  
  10544. If ((Arg0 == 0x21))
  10545. {
  10546. Local0 = EC33 /* \_SB_.PCI0.LPCB.ECDV.EC33 */
  10547. }
  10548.  
  10549. If ((Arg0 == 0x22))
  10550. {
  10551. Local0 = EC34 /* \_SB_.PCI0.LPCB.ECDV.EC34 */
  10552. }
  10553.  
  10554. If ((Arg0 == 0x23))
  10555. {
  10556. Local0 = EC35 /* \_SB_.PCI0.LPCB.ECDV.EC35 */
  10557. }
  10558.  
  10559. If ((Arg0 == 0x24))
  10560. {
  10561. Local0 = EC36 /* \_SB_.PCI0.LPCB.ECDV.EC36 */
  10562. }
  10563.  
  10564. If ((Arg0 == 0x25))
  10565. {
  10566. Local0 = EC37 /* \_SB_.PCI0.LPCB.ECDV.EC37 */
  10567. }
  10568.  
  10569. If ((Arg0 == 0x26))
  10570. {
  10571. Local0 = EC38 /* \_SB_.PCI0.LPCB.ECDV.EC38 */
  10572. }
  10573.  
  10574. If ((Arg0 == 0x27))
  10575. {
  10576. Local0 = EC39 /* \_SB_.PCI0.LPCB.ECDV.EC39 */
  10577. }
  10578.  
  10579. If ((Arg0 == 0x28))
  10580. {
  10581. Local0 = EC40 /* \_SB_.PCI0.LPCB.ECDV.EC40 */
  10582. }
  10583.  
  10584. If ((Arg0 == 0x29))
  10585. {
  10586. Local0 = EC41 /* \_SB_.PCI0.LPCB.ECDV.EC41 */
  10587. }
  10588.  
  10589. If ((Arg0 == 0x2A))
  10590. {
  10591. Local0 = EC42 /* \_SB_.PCI0.LPCB.ECDV.EC42 */
  10592. }
  10593.  
  10594. If ((Arg0 == 0x2B))
  10595. {
  10596. Local0 = EC43 /* \_SB_.PCI0.LPCB.ECDV.EC43 */
  10597. }
  10598.  
  10599. If ((Arg0 == 0x2C))
  10600. {
  10601. Local0 = EC44 /* \_SB_.PCI0.LPCB.ECDV.EC44 */
  10602. }
  10603.  
  10604. If ((Arg0 == 0x2D))
  10605. {
  10606. Local0 = EC45 /* \_SB_.PCI0.LPCB.ECDV.EC45 */
  10607. }
  10608.  
  10609. If ((Arg0 == 0x2E))
  10610. {
  10611. Local0 = EC46 /* \_SB_.PCI0.LPCB.ECDV.EC46 */
  10612. }
  10613.  
  10614. If ((Arg0 == 0x2F))
  10615. {
  10616. Local0 = EC47 /* \_SB_.PCI0.LPCB.ECDV.EC47 */
  10617. }
  10618.  
  10619. If ((Arg0 == 0x30))
  10620. {
  10621. Local0 = EC48 /* \_SB_.PCI0.LPCB.ECDV.EC48 */
  10622. }
  10623.  
  10624. If ((Arg0 == 0x31))
  10625. {
  10626. Local0 = EC49 /* \_SB_.PCI0.LPCB.ECDV.EC49 */
  10627. }
  10628.  
  10629. Release (ECMX)
  10630. Return (Local0)
  10631. }
  10632.  
  10633. Method (ECR2, 1, NotSerialized)
  10634. {
  10635. Local0 = ECR1 (Arg0)
  10636. Arg0++
  10637. Local1 = (ECR1 (Arg0) << 0x08)
  10638. Local0 += Local1
  10639. Return (Local0)
  10640. }
  10641.  
  10642. Method (ECW1, 2, NotSerialized)
  10643. {
  10644. If ((ECRD == Zero))
  10645. {
  10646. EISC (0x81, Arg0, Arg1)
  10647. Return (Zero)
  10648. }
  10649.  
  10650. Acquire (ECMX, 0xFFFF)
  10651. If ((Arg0 == Zero))
  10652. {
  10653. EC00 = Arg1
  10654. }
  10655.  
  10656. If ((Arg0 == One))
  10657. {
  10658. EC01 = Arg1
  10659. }
  10660.  
  10661. If ((Arg0 == 0x02))
  10662. {
  10663. EC02 = Arg1
  10664. }
  10665.  
  10666. If ((Arg0 == 0x03))
  10667. {
  10668. EC03 = Arg1
  10669. }
  10670.  
  10671. If ((Arg0 == 0x04))
  10672. {
  10673. EC04 = Arg1
  10674. }
  10675.  
  10676. If ((Arg0 == 0x05))
  10677. {
  10678. EC05 = Arg1
  10679. }
  10680.  
  10681. If ((Arg0 == 0x06))
  10682. {
  10683. EC06 = Arg1
  10684. }
  10685.  
  10686. If ((Arg0 == 0x07))
  10687. {
  10688. EC07 = Arg1
  10689. }
  10690.  
  10691. If ((Arg0 == 0x08))
  10692. {
  10693. EC08 = Arg1
  10694. }
  10695.  
  10696. If ((Arg0 == 0x09))
  10697. {
  10698. EC09 = Arg1
  10699. }
  10700.  
  10701. If ((Arg0 == 0x0A))
  10702. {
  10703. EC10 = Arg1
  10704. }
  10705.  
  10706. If ((Arg0 == 0x0B))
  10707. {
  10708. EC11 = Arg1
  10709. }
  10710.  
  10711. If ((Arg0 == 0x0C))
  10712. {
  10713. EC12 = Arg1
  10714. }
  10715.  
  10716. If ((Arg0 == 0x10))
  10717. {
  10718. EC16 = Arg1
  10719. }
  10720.  
  10721. If ((Arg0 == 0x11))
  10722. {
  10723. EC17 = Arg1
  10724. }
  10725.  
  10726. Release (ECMX)
  10727. Return (Zero)
  10728. }
  10729. }
  10730. }
  10731.  
  10732. Scope (\)
  10733. {
  10734. Name (ECRD, Zero)
  10735. Mutex (ECMX, 0x01)
  10736. Mutex (ECSX, 0x01)
  10737. Method (EISC, 3, NotSerialized)
  10738. {
  10739. Acquire (ECSX, 0xFFFF)
  10740. Name (ECIB, Buffer (0x04) {})
  10741. CreateByteField (ECIB, Zero, ECIC)
  10742. CreateByteField (ECIB, One, ECP1)
  10743. CreateByteField (ECIB, 0x02, ECP2)
  10744. ECIC = Arg0
  10745. ECP1 = Arg1
  10746. ECP2 = Arg2
  10747. ECIB = GENS (0x08, ECIB, SizeOf (ECIB))
  10748. Local0 = ECIC /* \EISC.ECIC */
  10749. Release (ECSX)
  10750. Return (Local0)
  10751. }
  10752.  
  10753. Method (ECBT, 2, NotSerialized)
  10754. {
  10755. Local0 = \_SB.PCI0.LPCB.ECDV.ECR1 (Arg0)
  10756. Local0 &= Arg1
  10757. If (Local0)
  10758. {
  10759. Return (One)
  10760. }
  10761.  
  10762. Return (Zero)
  10763. }
  10764.  
  10765. Method (ECB1, 2, NotSerialized)
  10766. {
  10767. Local0 = ECBT (Arg0, Arg1)
  10768. If (Local0)
  10769. {
  10770. Return (Zero)
  10771. }
  10772.  
  10773. Return (One)
  10774. }
  10775.  
  10776. Method (ECRB, 1, NotSerialized)
  10777. {
  10778. Return (\_SB.PCI0.LPCB.ECDV.ECR1 (Arg0))
  10779. }
  10780.  
  10781. Method (ECRW, 1, NotSerialized)
  10782. {
  10783. Return (\_SB.PCI0.LPCB.ECDV.ECR2 (Arg0))
  10784. }
  10785.  
  10786. Method (ECWB, 2, NotSerialized)
  10787. {
  10788. \_SB.PCI0.LPCB.ECDV.ECW1 (Arg0, Arg1)
  10789. }
  10790.  
  10791. Method (ECG1, 0, NotSerialized)
  10792. {
  10793. Return (ECRW (0x07))
  10794. }
  10795.  
  10796. Method (ECGD, 0, NotSerialized)
  10797. {
  10798. Return (ECRW (0x0B))
  10799. }
  10800.  
  10801. Method (ECG2, 0, NotSerialized)
  10802. {
  10803. Return (ECBT (Zero, One))
  10804. }
  10805.  
  10806. Method (ECG3, 0, NotSerialized)
  10807. {
  10808. Return (ECBT (Zero, 0x10))
  10809. }
  10810.  
  10811. Method (ECG4, 0, NotSerialized)
  10812. {
  10813. Return (ECBT (0x05, 0x04))
  10814. }
  10815.  
  10816. Method (ECGC, 0, NotSerialized)
  10817. {
  10818. Return (ECBT (0x05, One))
  10819. }
  10820.  
  10821. Method (ECG5, 0, NotSerialized)
  10822. {
  10823. Local0 = ECRB (0x06)
  10824. Return (Local0)
  10825. }
  10826.  
  10827. Method (ECG7, 0, NotSerialized)
  10828. {
  10829. Local0 = ECRB (0x09)
  10830. Return (Local0)
  10831. }
  10832.  
  10833. Mutex (ECM1, 0x01)
  10834. Method (ECG6, 2, NotSerialized)
  10835. {
  10836. Acquire (ECM1, 0xFFFF)
  10837. Local2 = ECG2 ()
  10838. ECWB (0x03, Arg0)
  10839. Index (Arg1, Zero) = ECRB (0x10)
  10840. Local0 = ECRW (0x12)
  10841. If ((Local0 == Zero))
  10842. {
  10843. Local0++
  10844. }
  10845. Else
  10846. {
  10847. If ((Local2 != Zero))
  10848. {
  10849. If ((Local0 & 0x8000))
  10850. {
  10851. Local0 = Ones
  10852. }
  10853. }
  10854. Else
  10855. {
  10856. If ((Local0 & 0x8000))
  10857. {
  10858. Local0 -= Zero
  10859. Local0 &= 0xFFFF
  10860. }
  10861. Else
  10862. {
  10863. Local0 = Ones
  10864. }
  10865. }
  10866. }
  10867.  
  10868. Index (Arg1, One) = Local0
  10869. Local0 = ECRW (0x16)
  10870. Index (Arg1, 0x02) = Local0
  10871. Local0 = ECRW (0x14)
  10872. Index (Arg1, 0x03) = Local0
  10873. Release (ECM1)
  10874. }
  10875.  
  10876. Method (ECM8, 1, NotSerialized)
  10877. {
  10878. ECWB (0x04, Arg0)
  10879. Name (LBUF, Buffer (0x21) {})
  10880. Local0 = Zero
  10881. While ((Local0 < 0x20))
  10882. {
  10883. Local1 = ECRB (0x2A)
  10884. Index (LBUF, Local0) = Local1
  10885. If ((Local1 == Zero))
  10886. {
  10887. Break
  10888. }
  10889.  
  10890. Local0++
  10891. }
  10892.  
  10893. If ((Local1 != Zero))
  10894. {
  10895. Index (LBUF, Local0) = Zero
  10896. Local0++
  10897. }
  10898.  
  10899. Local0++
  10900. Name (OBUF, Buffer (Local0) {})
  10901. OBUF = LBUF /* \ECM8.LBUF */
  10902. Return (OBUF) /* \ECM8.OBUF */
  10903. }
  10904.  
  10905. Name (BS01, Package (0x03)
  10906. {
  10907. One,
  10908. 0xFF,
  10909. "Unknown"
  10910. })
  10911. Name (BS02, Package (0x0F)
  10912. {
  10913. 0x03,
  10914. 0x02,
  10915. "Sony",
  10916. 0x03,
  10917. "Sanyo",
  10918. 0x04,
  10919. "Panasonic",
  10920. 0x07,
  10921. "SMP",
  10922. 0x08,
  10923. "Motorola",
  10924. 0x06,
  10925. "Samsung SDI",
  10926. 0xFF,
  10927. "Unknown"
  10928. })
  10929. Name (BS03, Package (0x13)
  10930. {
  10931. 0x02,
  10932. One,
  10933. "PbAc",
  10934. 0x02,
  10935. "LION",
  10936. 0x03,
  10937. "NiCd",
  10938. 0x04,
  10939. "NiMH",
  10940. 0x05,
  10941. "NiZn",
  10942. 0x06,
  10943. "RAM",
  10944. 0x07,
  10945. "ZnAR",
  10946. 0x08,
  10947. "LiP",
  10948. 0xFF,
  10949. "Unknown"
  10950. })
  10951. Method (ECU0, 2, NotSerialized)
  10952. {
  10953. Local0 = One
  10954. Local1 = Zero
  10955. While ((Local1 != 0xFF))
  10956. {
  10957. Local1 = DerefOf (Index (Arg0, Local0))
  10958. If ((Arg1 == Local1))
  10959. {
  10960. Local0++
  10961. Local2 = DerefOf (Index (Arg0, Local0))
  10962. Local2 = XPTB (Local2)
  10963. Return (Local2)
  10964. }
  10965.  
  10966. Local0 += 0x02
  10967. }
  10968.  
  10969. Local2 = DerefOf (Index (Arg0, Zero))
  10970. Local2 = ECM8 (Local2)
  10971. Return (Local2)
  10972. }
  10973.  
  10974. Method (ECG9, 2, NotSerialized)
  10975. {
  10976. Acquire (ECM1, 0xFFFF)
  10977. ECWB (0x03, Arg0)
  10978. Index (Arg1, Zero) = One
  10979. Local0 = ECRW (0x20)
  10980. Index (Arg1, One) = Local0
  10981. Local1 = ECRW (0x1E)
  10982. Index (Arg1, 0x02) = Local1
  10983. Index (Arg1, 0x03) = One
  10984. Local2 = ECRW (0x22)
  10985. Index (Arg1, 0x04) = Local2
  10986. Divide (Local0, 0x0A, Local5, Local3)
  10987. Index (Arg1, 0x05) = Local3
  10988. Divide (Local0, 0x21, Local5, Local3)
  10989. Index (Arg1, 0x06) = Local3
  10990. Divide (Local0, 0x64, Local5, Local3)
  10991. Index (Arg1, 0x07) = Local3
  10992. Index (Arg1, 0x08) = Local3
  10993. Local3 = ECU0 (BS01, Zero)
  10994. Index (Arg1, 0x09) = Local3
  10995. Local3 = ECRW (0x26)
  10996. Local3 = XPTS (Local3)
  10997. Index (Arg1, 0x0A) = Local3
  10998. Local3 = ECRB (0x29)
  10999. Local3 = ECU0 (BS03, Local3)
  11000. Index (Arg1, 0x0B) = Local3
  11001. Local3 = ECRB (0x28)
  11002. Local3 = ECU0 (BS02, Local3)
  11003. Index (Arg1, 0x0C) = Local3
  11004. Release (ECM1)
  11005. }
  11006.  
  11007. Method (ECGA, 0, NotSerialized)
  11008. {
  11009. Local0 = ECRB (0x2F)
  11010. Return (Local0)
  11011. }
  11012.  
  11013. Method (ECGB, 0, NotSerialized)
  11014. {
  11015. Local0 = ECRB (0x31)
  11016. Return (Local0)
  11017. }
  11018.  
  11019. Method (ECS1, 2, NotSerialized)
  11020. {
  11021. ECWB (0x02, Arg0)
  11022. }
  11023.  
  11024. Method (ECS2, 1, NotSerialized)
  11025. {
  11026. ECWB (One, Arg0)
  11027. }
  11028.  
  11029. Method (ECS6, 1, NotSerialized)
  11030. {
  11031. ECWB (0x06, Arg0)
  11032. }
  11033.  
  11034. Method (ECS3, 0, NotSerialized)
  11035. {
  11036. ECWB (0x05, One)
  11037. }
  11038.  
  11039. Mutex (QSEV, 0x01)
  11040. Method (EC0A, 1, NotSerialized)
  11041. {
  11042. Acquire (QSEV, 0xFFFF)
  11043. Local1 = ECRB (0x2B)
  11044. Local0 = Zero
  11045. While ((Local0 < Local1))
  11046. {
  11047. Local2 = ECRB (0x2C)
  11048. If ((Local0 < SizeOf (Arg0)))
  11049. {
  11050. BBWR (Arg0, Local0, Local2)
  11051. }
  11052.  
  11053. Local0++
  11054. }
  11055.  
  11056. Release (QSEV)
  11057. Return (Arg0)
  11058. }
  11059.  
  11060. Method (ECS4, 1, NotSerialized)
  11061. {
  11062. ECWB (0x11, Arg0)
  11063. }
  11064.  
  11065. Method (ECS5, 1, NotSerialized)
  11066. {
  11067. ECWB (0x10, Arg0)
  11068. }
  11069. }
  11070.  
  11071. Method (NEVT, 0, NotSerialized)
  11072. {
  11073. Local0 = ECG1 ()
  11074. Local1 = ECGD ()
  11075. If ((Local1 & One))
  11076. {
  11077. If ((\_SB.OIDE () >= One))
  11078. {
  11079. EV13 (Zero, Zero)
  11080. }
  11081. }
  11082.  
  11083. If ((Local0 & One))
  11084. {
  11085. EV6 (One, Zero)
  11086. }
  11087.  
  11088. If ((Local0 & 0x40))
  11089. {
  11090. EV6 (0x02, Zero)
  11091. }
  11092.  
  11093. If ((Local0 & 0x04))
  11094. {
  11095. Local1 = ECG3 ()
  11096. EV6 (0x03, Local1)
  11097. }
  11098.  
  11099. If ((Local0 & 0x10))
  11100. {
  11101. Local1 = ECBT (Zero, 0x80)
  11102. Local2 = ECRB (0x2D)
  11103. EV14 (Local1, Local2)
  11104. }
  11105.  
  11106. If ((Local0 & 0x0100))
  11107. {
  11108. EV4 (0x0100, Zero)
  11109. If (ECG4 ())
  11110. {
  11111. GENS (0x1C, One, Zero)
  11112. }
  11113. Else
  11114. {
  11115. GENS (0x1C, Zero, Zero)
  11116. }
  11117. }
  11118.  
  11119. If ((Local0 & 0x0200))
  11120. {
  11121. EV4 (0x0200, Zero)
  11122. }
  11123.  
  11124. If ((Local0 & 0x0400))
  11125. {
  11126. EV4 (0x0400, Zero)
  11127. }
  11128.  
  11129. If ((Local0 & 0x0800))
  11130. {
  11131. EV4 (0x0800, Zero)
  11132. }
  11133.  
  11134. If ((Local0 & 0x4000))
  11135. {
  11136. Local1 = ECRB (0x30)
  11137. If (Local1)
  11138. {
  11139. EV11 (0x4000, Zero)
  11140. }
  11141. }
  11142.  
  11143. If ((Local0 & 0x8000))
  11144. {
  11145. Local1 = ECRB (0x2E)
  11146. EV10 (0x8000, Local1)
  11147. }
  11148.  
  11149. If ((Local0 & 0x08))
  11150. {
  11151. PWRE ()
  11152. }
  11153.  
  11154. If ((Local0 & 0x80))
  11155. {
  11156. SMIE ()
  11157. }
  11158. }
  11159.  
  11160. Method (PWRE, 0, NotSerialized)
  11161. {
  11162. Local0 = ECG5 ()
  11163. Local1 = (Local0 ^ APRE) /* \APRE */
  11164. APRE = (Local0 & 0x2B)
  11165. If ((Local1 & One))
  11166. {
  11167. EV15 (Zero, Zero)
  11168. }
  11169.  
  11170. Local2 = (APRE & 0x02)
  11171. If ((Local1 & 0x02))
  11172. {
  11173. If (Local2)
  11174. {
  11175. EV16 (One, Zero)
  11176. }
  11177. Else
  11178. {
  11179. EV16 (0x02, Zero)
  11180. }
  11181. }
  11182.  
  11183. If ((Local1 & 0x04))
  11184. {
  11185. If (Local2)
  11186. {
  11187. EV16 (0x03, Zero)
  11188. }
  11189. }
  11190.  
  11191. Local2 = (APRE & 0x08)
  11192. If ((Local1 & 0x08))
  11193. {
  11194. If (Local2)
  11195. {
  11196. EV16 (One, One)
  11197. }
  11198. Else
  11199. {
  11200. EV16 (0x02, One)
  11201. }
  11202. }
  11203.  
  11204. If ((Local1 & 0x10))
  11205. {
  11206. If (Local2)
  11207. {
  11208. EV16 (0x03, One)
  11209. }
  11210. }
  11211.  
  11212. Local2 = (APRE & 0x20)
  11213. If ((Local1 & 0x20))
  11214. {
  11215. If (Local2)
  11216. {
  11217. EV16 (One, 0x02)
  11218. }
  11219. Else
  11220. {
  11221. EV16 (0x02, 0x02)
  11222. }
  11223. }
  11224.  
  11225. If ((Local1 & 0x40))
  11226. {
  11227. If (Local2)
  11228. {
  11229. EV16 (0x03, 0x02)
  11230. }
  11231. }
  11232. }
  11233.  
  11234. Method (SMEE, 1, NotSerialized)
  11235. {
  11236. Local0 = Arg0
  11237. Local0 = GENS (0x11, Zero, Zero)
  11238. If ((\_SB.OSID () >= 0x20))
  11239. {
  11240. If ((Local0 & 0x04))
  11241. {
  11242. EV5 (One, Zero)
  11243. }
  11244.  
  11245. If ((Local0 & 0x02))
  11246. {
  11247. EV5 (0x02, Zero)
  11248. }
  11249. }
  11250.  
  11251. If ((Local0 & 0x08))
  11252. {
  11253. Local0 = GENS (0x1D, Zero, Zero)
  11254. EV9 (Local0, Zero)
  11255. }
  11256. }
  11257.  
  11258. Method (SMIE, 0, NotSerialized)
  11259. {
  11260. Local0 = GENS (0x10, Zero, Zero)
  11261. If ((Local0 & 0x04))
  11262. {
  11263. SMEE (Local0)
  11264. }
  11265.  
  11266. If ((Local0 & 0x02))
  11267. {
  11268. EV7 (Zero, Zero)
  11269. }
  11270.  
  11271. If ((Local0 & 0x08))
  11272. {
  11273. EV12 (Zero, Zero)
  11274. }
  11275.  
  11276. If ((Local0 & 0x40))
  11277. {
  11278. EV8 (Zero, Zero)
  11279. }
  11280.  
  11281. If ((Local0 & 0x80)) {}
  11282. If ((Local0 & 0x10)) {}
  11283. }
  11284.  
  11285. Scope (_SB.PCI0.LPCB)
  11286. {
  11287. Method (EINI, 2, NotSerialized)
  11288. {
  11289. If ((Arg0 == 0x02))
  11290. {
  11291. APRE = ECG5 ()
  11292. APRE &= 0x2B
  11293. }
  11294. }
  11295. }
  11296.  
  11297. Scope (_GPE)
  11298. {
  11299. Method (_L18, 0, NotSerialized) // _Lxx: Level-Triggered GPE
  11300. {
  11301. Local0 = ECG7 ()
  11302. If ((Local0 & 0x02))
  11303. {
  11304. Local1 = ECG3 ()
  11305. EV6 (0x03, Local1)
  11306. }
  11307.  
  11308. Local1 = Zero
  11309. If ((Local0 == Zero))
  11310. {
  11311. Local1 = One
  11312. }
  11313.  
  11314. If ((Local0 & One))
  11315. {
  11316. Local1 = One
  11317. }
  11318.  
  11319. If ((Local0 == 0x04))
  11320. {
  11321. Local1 = One
  11322. }
  11323.  
  11324. If (Local1)
  11325. {
  11326. EV6 (One, One)
  11327. }
  11328. }
  11329. }
  11330.  
  11331. Scope (_SB)
  11332. {
  11333. Mutex (ECAX, 0x01)
  11334. Method (EEAC, 2, Serialized)
  11335. {
  11336. Acquire (ECAX, 0xFFFF)
  11337. Name (EABF, Buffer (0x08) {})
  11338. CreateDWordField (EABF, Zero, ECST)
  11339. CreateDWordField (EABF, 0x04, ECPA)
  11340. ECST = Arg0
  11341. ECPA = Arg1
  11342. EABF = GENS (0x07, EABF, SizeOf (EABF))
  11343. Local0 = ECST /* \_SB_.EEAC.ECST */
  11344. Release (ECAX)
  11345. Return (Local0)
  11346. }
  11347.  
  11348. Scope (\_SB)
  11349. {
  11350. Method (PPRW, 0, NotSerialized)
  11351. {
  11352. Name (EPRW, Package (0x02)
  11353. {
  11354. Zero,
  11355. 0x03
  11356. })
  11357. Local0 = EEAC (0x03, Zero)
  11358. Index (EPRW, Zero) = Local0
  11359. Return (EPRW) /* \_SB_.PPRW.EPRW */
  11360. }
  11361.  
  11362. Device (LID0)
  11363. {
  11364. Name (_HID, EisaId ("PNP0C0D") /* Lid Device */) // _HID: Hardware ID
  11365. Method (_LID, 0, NotSerialized) // _LID: Lid Status
  11366. {
  11367. Local0 = ECG3 ()
  11368. Return (Local0)
  11369. }
  11370.  
  11371. Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
  11372. {
  11373. Return (PPRW ())
  11374. }
  11375.  
  11376. Method (_PSW, 1, NotSerialized) // _PSW: Power State Wake
  11377. {
  11378. EEAC (0x02, Arg0)
  11379. }
  11380. }
  11381.  
  11382. Device (PBTN)
  11383. {
  11384. Name (_HID, EisaId ("PNP0C0C") /* Power Button Device */) // _HID: Hardware ID
  11385. Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
  11386. {
  11387. Return (PPRW ())
  11388. }
  11389.  
  11390. Method (_PSW, 1, NotSerialized) // _PSW: Power State Wake
  11391. {
  11392. EEAC (One, Arg0)
  11393. }
  11394. }
  11395.  
  11396. Device (SBTN)
  11397. {
  11398. Name (_HID, EisaId ("PNP0C0E") /* Sleep Button Device */) // _HID: Hardware ID
  11399. }
  11400.  
  11401. Method (BTNV, 2, NotSerialized)
  11402. {
  11403. If ((Arg0 == One))
  11404. {
  11405. If ((Arg1 == Zero))
  11406. {
  11407. Notify (PBTN, 0x80) // Status Change
  11408. }
  11409.  
  11410. If ((Arg1 == One))
  11411. {
  11412. Notify (PBTN, 0x02) // Device Wake
  11413. }
  11414. }
  11415.  
  11416. If ((Arg0 == 0x02))
  11417. {
  11418. Notify (SBTN, 0x80) // Status Change
  11419. }
  11420.  
  11421. If ((Arg0 == 0x03))
  11422. {
  11423. Notify (LID0, 0x80) // Status Change
  11424. }
  11425. }
  11426. }
  11427.  
  11428. Device (AC)
  11429. {
  11430. Name (_HID, "ACPI0003" /* Power Source Device */) // _HID: Hardware ID
  11431. Method (_PCL, 0, NotSerialized) // _PCL: Power Consumer List
  11432. {
  11433. Return (Package (0x04)
  11434. {
  11435. _SB,
  11436. BAT0,
  11437. BAT1,
  11438. BAT2
  11439. })
  11440. }
  11441.  
  11442. Method (_PSR, 0, NotSerialized) // _PSR: Power Source
  11443. {
  11444. Local0 = ECG5 ()
  11445. Local0 &= One
  11446. If ((Local0 != PWRS))
  11447. {
  11448. PWRS = Local0
  11449. PNOT ()
  11450. }
  11451.  
  11452. Return (Local0)
  11453. }
  11454.  
  11455. Method (_STA, 0, NotSerialized) // _STA: Status
  11456. {
  11457. Return (0x0F)
  11458. }
  11459. }
  11460.  
  11461. Method (ACEV, 2, NotSerialized)
  11462. {
  11463. Notify (AC, 0x80) // Status Change
  11464. }
  11465.  
  11466. Device (BAT0)
  11467. {
  11468. Name (_HID, EisaId ("PNP0C0A") /* Control Method Battery */) // _HID: Hardware ID
  11469. Name (_UID, One) // _UID: Unique ID
  11470. Name (_PCL, Package (0x01) // _PCL: Power Consumer List
  11471. {
  11472. _SB
  11473. })
  11474. Method (_STA, 0, NotSerialized) // _STA: Status
  11475. {
  11476. Local0 = ECG5 ()
  11477. Local0 &= 0x02
  11478. If (Local0)
  11479. {
  11480. Return (0x1F)
  11481. }
  11482.  
  11483. Return (0x0F)
  11484. }
  11485.  
  11486. Method (_BIF, 0, NotSerialized) // _BIF: Battery Information
  11487. {
  11488. Name (BIF0, Package (0x0D) {})
  11489. ECG9 (One, BIF0)
  11490. Return (BIF0) /* \_SB_.BAT0._BIF.BIF0 */
  11491. }
  11492.  
  11493. Method (_BST, 0, NotSerialized) // _BST: Battery Status
  11494. {
  11495. Name (BST0, Package (0x04) {})
  11496. ECG6 (One, BST0)
  11497. Return (BST0) /* \_SB_.BAT0._BST.BST0 */
  11498. }
  11499. }
  11500.  
  11501. Device (BAT1)
  11502. {
  11503. Name (_HID, EisaId ("PNP0C0A") /* Control Method Battery */) // _HID: Hardware ID
  11504. Name (_UID, 0x02) // _UID: Unique ID
  11505. Name (_PCL, Package (0x01) // _PCL: Power Consumer List
  11506. {
  11507. _SB
  11508. })
  11509. Method (_STA, 0, NotSerialized) // _STA: Status
  11510. {
  11511. Local0 = EEAC (0x05, Zero)
  11512. If ((Local0 < 0x02))
  11513. {
  11514. Return (Zero)
  11515. }
  11516.  
  11517. Local0 = ECG5 ()
  11518. Local0 &= 0x08
  11519. If (Local0)
  11520. {
  11521. Return (0x1F)
  11522. }
  11523.  
  11524. Return (0x0F)
  11525. }
  11526.  
  11527. Method (_BIF, 0, NotSerialized) // _BIF: Battery Information
  11528. {
  11529. Name (BIF1, Package (0x0D) {})
  11530. ECG9 (0x02, BIF1)
  11531. Return (BIF1) /* \_SB_.BAT1._BIF.BIF1 */
  11532. }
  11533.  
  11534. Method (_BST, 0, NotSerialized) // _BST: Battery Status
  11535. {
  11536. Name (BST1, Package (0x04) {})
  11537. ECG6 (0x02, BST1)
  11538. Return (BST1) /* \_SB_.BAT1._BST.BST1 */
  11539. }
  11540. }
  11541.  
  11542. Device (BAT2)
  11543. {
  11544. Name (_HID, EisaId ("PNP0C0A") /* Control Method Battery */) // _HID: Hardware ID
  11545. Name (_UID, 0x03) // _UID: Unique ID
  11546. Name (_PCL, Package (0x01) // _PCL: Power Consumer List
  11547. {
  11548. _SB
  11549. })
  11550. Method (_STA, 0, NotSerialized) // _STA: Status
  11551. {
  11552. Local0 = EEAC (0x05, Zero)
  11553. If ((Local0 < 0x03))
  11554. {
  11555. Return (Zero)
  11556. }
  11557.  
  11558. Local0 = ECG5 ()
  11559. Local0 &= 0x20
  11560. If (Local0)
  11561. {
  11562. Return (0x1F)
  11563. }
  11564.  
  11565. Return (0x0F)
  11566. }
  11567.  
  11568. Method (_BIF, 0, NotSerialized) // _BIF: Battery Information
  11569. {
  11570. Name (BIF1, Package (0x0D) {})
  11571. ECG9 (0x03, BIF1)
  11572. Return (BIF1) /* \_SB_.BAT2._BIF.BIF1 */
  11573. }
  11574.  
  11575. Method (_BST, 0, NotSerialized) // _BST: Battery Status
  11576. {
  11577. Name (BST1, Package (0x04) {})
  11578. ECG6 (0x03, BST1)
  11579. Return (BST1) /* \_SB_.BAT2._BST.BST1 */
  11580. }
  11581. }
  11582.  
  11583. Method (BTEV, 2, NotSerialized)
  11584. {
  11585. If ((Arg0 == One))
  11586. {
  11587. If ((Arg1 == Zero))
  11588. {
  11589. Notify (BAT0, 0x81) // Information Change
  11590. }
  11591.  
  11592. If ((Arg1 == One))
  11593. {
  11594. Notify (BAT1, 0x81) // Information Change
  11595. }
  11596. Else
  11597. {
  11598. Notify (BAT2, 0x81) // Information Change
  11599. }
  11600. }
  11601.  
  11602. If ((Arg0 == 0x02))
  11603. {
  11604. If ((Arg1 == Zero))
  11605. {
  11606. Notify (BAT0, 0x80) // Status Change
  11607. Notify (BAT0, 0x81) // Information Change
  11608. }
  11609.  
  11610. If ((Arg1 == One))
  11611. {
  11612. Notify (BAT1, 0x80) // Status Change
  11613. Notify (BAT1, 0x81) // Information Change
  11614. }
  11615. Else
  11616. {
  11617. Notify (BAT2, 0x80) // Status Change
  11618. Notify (BAT2, 0x81) // Information Change
  11619. }
  11620. }
  11621.  
  11622. If ((Arg0 == 0x03))
  11623. {
  11624. If ((Arg1 == Zero))
  11625. {
  11626. Notify (BAT0, 0x80) // Status Change
  11627. }
  11628.  
  11629. If ((Arg1 == One))
  11630. {
  11631. Notify (BAT1, 0x80) // Status Change
  11632. }
  11633. Else
  11634. {
  11635. Notify (BAT2, 0x80) // Status Change
  11636. }
  11637. }
  11638. }
  11639.  
  11640. Scope (\_SB)
  11641. {
  11642. Method (CBAT, 2, NotSerialized)
  11643. {
  11644. Notify (BAT0, 0x81) // Information Change
  11645. Notify (BAT1, 0x81) // Information Change
  11646. Notify (BAT2, 0x81) // Information Change
  11647. Local0 = ECG5 ()
  11648. APRE = (Local0 & 0x2B)
  11649. }
  11650. }
  11651. }
  11652.  
  11653. Scope (_SB.PCI0.LPCB)
  11654. {
  11655. Device (PS2K)
  11656. {
  11657. Name (_HID, "DLLK0533") // _HID: Hardware ID
  11658. Name (_CID, EisaId ("PNP0303") /* IBM Enhanced Keyboard (101/102-key, PS/2 Mouse) */) // _CID: Compatible ID
  11659. Method (_STA, 0, NotSerialized) // _STA: Status
  11660. {
  11661. Return (0x0F)
  11662. }
  11663.  
  11664. Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
  11665. {
  11666. IO (Decode16,
  11667. 0x0060, // Range Minimum
  11668. 0x0060, // Range Maximum
  11669. 0x00, // Alignment
  11670. 0x01, // Length
  11671. )
  11672. IO (Decode16,
  11673. 0x0064, // Range Minimum
  11674. 0x0064, // Range Maximum
  11675. 0x00, // Alignment
  11676. 0x01, // Length
  11677. )
  11678. IRQ (Edge, ActiveHigh, Exclusive, )
  11679. {1}
  11680. })
  11681. Name (_PRS, ResourceTemplate () // _PRS: Possible Resource Settings
  11682. {
  11683. StartDependentFn (0x00, 0x00)
  11684. {
  11685. FixedIO (
  11686. 0x0060, // Address
  11687. 0x01, // Length
  11688. )
  11689. FixedIO (
  11690. 0x0064, // Address
  11691. 0x01, // Length
  11692. )
  11693. IRQNoFlags ()
  11694. {1}
  11695. }
  11696. EndDependentFn ()
  11697. })
  11698. }
  11699.  
  11700. Device (PS2M)
  11701. {
  11702. Name (_HID, EisaId ("DLL0533")) // _HID: Hardware ID
  11703. Name (_CID, EisaId ("PNP0F13") /* PS/2 Mouse */) // _CID: Compatible ID
  11704. Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
  11705. {
  11706. IRQ (Edge, ActiveHigh, Exclusive, )
  11707. {12}
  11708. })
  11709. Name (_PRS, ResourceTemplate () // _PRS: Possible Resource Settings
  11710. {
  11711. StartDependentFn (0x00, 0x00)
  11712. {
  11713. IRQNoFlags ()
  11714. {12}
  11715. }
  11716. EndDependentFn ()
  11717. })
  11718. }
  11719. }
  11720.  
  11721. Scope (_TZ)
  11722. {
  11723. ThermalZone (THM)
  11724. {
  11725. Method (_CRT, 0, NotSerialized) // _CRT: Critical Temperature
  11726. {
  11727. Local0 = 0x6B
  11728. Local0 *= 0x0A
  11729. Local0 += 0x0AAC
  11730. Return (Local0)
  11731. }
  11732.  
  11733. Method (_TMP, 0, NotSerialized) // _TMP: Temperature
  11734. {
  11735. Local0 = GENS (0x16, Zero, Zero)
  11736. If ((Local0 < 0x0BA6))
  11737. {
  11738. Local0 = 0x0BA6
  11739. }
  11740.  
  11741. Return (Local0)
  11742. }
  11743. }
  11744. }
  11745.  
  11746. Scope (_SB)
  11747. {
  11748. Device (RBTN)
  11749. {
  11750. Name (_HID, "DELLABCE" /* Dell Airplane Mode Switch Driver */) // _HID: Hardware ID
  11751. Method (_INI, 0, NotSerialized) // _INI: Initialize
  11752. {
  11753. If ((OIDE () >= One))
  11754. {
  11755. Notify (RBTN, 0x80) // Status Change
  11756. }
  11757. }
  11758.  
  11759. Method (_STA, 0, NotSerialized) // _STA: Status
  11760. {
  11761. If ((OIDE () < One))
  11762. {
  11763. Return (Zero)
  11764. }
  11765.  
  11766. Return (0x0F)
  11767. }
  11768.  
  11769. Method (GRBT, 0, NotSerialized)
  11770. {
  11771. Local0 = ECGC ()
  11772. Return (Local0)
  11773. }
  11774.  
  11775. Method (ARBT, 1, NotSerialized)
  11776. {
  11777. }
  11778.  
  11779. Method (CRBT, 0, NotSerialized)
  11780. {
  11781. Local0 = 0x02
  11782. Return (Local0)
  11783. }
  11784.  
  11785. Method (NRBT, 2, NotSerialized)
  11786. {
  11787. If ((OIDE () >= One))
  11788. {
  11789. Notify (RBTN, 0x80) // Status Change
  11790. }
  11791. }
  11792. }
  11793. }
  11794.  
  11795. Scope (_SB.PCI0.GLAN)
  11796. {
  11797. Method (_PSW, 1, NotSerialized) // _PSW: Power State Wake
  11798. {
  11799. If (Arg0)
  11800. {
  11801. GENS (0x1B, One, Zero)
  11802. }
  11803. Else
  11804. {
  11805. GENS (0x1B, Zero, Zero)
  11806. }
  11807. }
  11808. }
  11809.  
  11810. Name (SP2O, 0x4E)
  11811. Scope (\)
  11812. {
  11813. Name (DCKS, 0xFF)
  11814. Name (DCKT, Zero)
  11815. }
  11816.  
  11817. Scope (_SB.PCI0.LPCB)
  11818. {
  11819. Method (DCK3, 0, NotSerialized)
  11820. {
  11821. If (CondRefOf (\_SB.PCI0.LPCB.LPTE))
  11822. {
  11823. Notify (LPTE, One) // Device Check
  11824. }
  11825.  
  11826. If (CondRefOf (\_SB.PCI0.LPCB.UAR1))
  11827. {
  11828. Notify (UAR1, One) // Device Check
  11829. }
  11830. }
  11831.  
  11832. Method (DCK4, 2, NotSerialized)
  11833. {
  11834. DCKS = Arg0
  11835. DCKT = Arg1
  11836. DCK3 ()
  11837. }
  11838.  
  11839. Method (DCK5, 2, NotSerialized)
  11840. {
  11841. Local0 = ECRB (0x2D)
  11842. If ((Local0 != DCKT))
  11843. {
  11844. DCK3 ()
  11845. }
  11846. }
  11847. }
  11848.  
  11849. Scope (_SB.PCI0.LPCB)
  11850. {
  11851. OperationRegion (LPCB, SystemIO, SP2O, 0x02)
  11852. Field (LPCB, ByteAcc, Lock, Preserve)
  11853. {
  11854. INDX, 8,
  11855. DATA, 8
  11856. }
  11857.  
  11858. IndexField (INDX, DATA, ByteAcc, Lock, Preserve)
  11859. {
  11860. Offset (0x01),
  11861. CR01, 8,
  11862. CR02, 8,
  11863. Offset (0x0C),
  11864. CR0C, 8,
  11865. Offset (0x22),
  11866. CR22, 8,
  11867. CR23, 8,
  11868. CR24, 8,
  11869. CR25, 8,
  11870. CR26, 8,
  11871. CR27, 8,
  11872. CR28, 8,
  11873. Offset (0x55),
  11874. CR55, 8,
  11875. Offset (0xAA),
  11876. CRAA, 8
  11877. }
  11878.  
  11879. Device (UAR1)
  11880. {
  11881. Name (_HID, EisaId ("PNP0501") /* 16550A-compatible COM Serial Port */) // _HID: Hardware ID
  11882. Name (_UID, Zero) // _UID: Unique ID
  11883. Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
  11884. {
  11885. 0x08,
  11886. 0x03
  11887. })
  11888. Method (_STA, 0, Serialized) // _STA: Status
  11889. {
  11890. Name (DCK9, Buffer (0x04) {})
  11891. CreateByteField (DCK9, Zero, DCK8)
  11892. CreateByteField (DCK9, One, DCK6)
  11893. CreateByteField (DCK9, 0x02, DCK2)
  11894. CreateByteField (DCK9, 0x03, DCK7)
  11895. DCK8 = One
  11896. Local0 = GENS (0x13, DCK9, SizeOf (DCK9))
  11897. DCK9 = Local0
  11898. If (((DCK6 == One) && (DCK7 == One)))
  11899. {
  11900. If (((DCK2 == One) || (DCK2 == 0x04)))
  11901. {
  11902. Return (0x0F)
  11903. }
  11904. }
  11905.  
  11906. Return (Zero)
  11907. }
  11908.  
  11909. Method (_DIS, 0, Serialized) // _DIS: Disable Device
  11910. {
  11911. CR55 = Zero
  11912. CR02 = (CR02 & 0xF0)
  11913. CRAA = Zero
  11914. }
  11915.  
  11916. Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
  11917. {
  11918. Name (BUF0, ResourceTemplate ()
  11919. {
  11920. IO (Decode16,
  11921. 0x03F8, // Range Minimum
  11922. 0x03F8, // Range Maximum
  11923. 0x01, // Alignment
  11924. 0x08, // Length
  11925. _Y19)
  11926. IRQNoFlags (_Y1A)
  11927. {4}
  11928. })
  11929. CreateWordField (BUF0, \_SB.PCI0.LPCB.UAR1._CRS._Y19._MIN, IOL0) // _MIN: Minimum Base Address
  11930. CreateByteField (BUF0, 0x03, IOH0)
  11931. CreateWordField (BUF0, \_SB.PCI0.LPCB.UAR1._CRS._Y19._MAX, IOL1) // _MAX: Maximum Base Address
  11932. CreateByteField (BUF0, 0x05, IOH1)
  11933. CreateByteField (BUF0, \_SB.PCI0.LPCB.UAR1._CRS._Y19._LEN, LEN0) // _LEN: Length
  11934. CreateWordField (BUF0, \_SB.PCI0.LPCB.UAR1._CRS._Y1A._INT, IRQW) // _INT: Interrupts
  11935. CR55 = Zero
  11936. IOL0 = (CR24 << 0x02)
  11937. IOL1 = (CR24 << 0x02)
  11938. IOH0 = (CR24 >> 0x06)
  11939. IOH1 = (CR24 >> 0x06)
  11940. LEN0 = 0x08
  11941. IRQW = (One << ((CR28 & 0xF0) >> 0x04))
  11942. CRAA = Zero
  11943. Return (BUF0) /* \_SB_.PCI0.LPCB.UAR1._CRS.BUF0 */
  11944. }
  11945.  
  11946. Name (_PRS, ResourceTemplate () // _PRS: Possible Resource Settings
  11947. {
  11948. StartDependentFn (0x00, 0x02)
  11949. {
  11950. IO (Decode16,
  11951. 0x03F8, // Range Minimum
  11952. 0x03F8, // Range Maximum
  11953. 0x01, // Alignment
  11954. 0x08, // Length
  11955. )
  11956. IRQNoFlags ()
  11957. {4}
  11958. }
  11959. StartDependentFn (0x00, 0x02)
  11960. {
  11961. IO (Decode16,
  11962. 0x03F8, // Range Minimum
  11963. 0x03F8, // Range Maximum
  11964. 0x01, // Alignment
  11965. 0x08, // Length
  11966. )
  11967. IRQNoFlags ()
  11968. {4,5,6,7,10,11,12}
  11969. }
  11970. StartDependentFn (0x00, 0x02)
  11971. {
  11972. IO (Decode16,
  11973. 0x02F8, // Range Minimum
  11974. 0x02F8, // Range Maximum
  11975. 0x01, // Alignment
  11976. 0x08, // Length
  11977. )
  11978. IRQNoFlags ()
  11979. {4,5,6,7,10,11,12}
  11980. }
  11981. StartDependentFn (0x00, 0x02)
  11982. {
  11983. IO (Decode16,
  11984. 0x03E8, // Range Minimum
  11985. 0x03E8, // Range Maximum
  11986. 0x01, // Alignment
  11987. 0x08, // Length
  11988. )
  11989. IRQNoFlags ()
  11990. {4,5,6,7,10,11,12}
  11991. }
  11992. StartDependentFn (0x00, 0x02)
  11993. {
  11994. IO (Decode16,
  11995. 0x02E8, // Range Minimum
  11996. 0x02E8, // Range Maximum
  11997. 0x01, // Alignment
  11998. 0x08, // Length
  11999. )
  12000. IRQNoFlags ()
  12001. {4,5,6,7,10,11,12}
  12002. }
  12003. EndDependentFn ()
  12004. })
  12005. Method (_SRS, 1, Serialized) // _SRS: Set Resource Settings
  12006. {
  12007. CreateByteField (Arg0, 0x02, IOLO)
  12008. CreateByteField (Arg0, 0x03, IOHI)
  12009. CreateWordField (Arg0, 0x09, IRQW)
  12010. CR55 = Zero
  12011. CR02 = (CR02 & 0xF0)
  12012. CR24 = (IOLO >> 0x02)
  12013. CR24 |= (IOHI << 0x06)
  12014. CR28 &= 0x0F
  12015. CR28 |= ((FindSetRightBit (IRQW) - One) << 0x04)
  12016. IOD0 &= 0xF8
  12017. If ((IOHI == 0x03))
  12018. {
  12019. If ((IOLO == 0xF8))
  12020. {
  12021. IOD0 |= Zero
  12022. }
  12023. Else
  12024. {
  12025. IOD0 |= 0x07
  12026. }
  12027. }
  12028. Else
  12029. {
  12030. If ((IOLO == 0xF8))
  12031. {
  12032. IOD0 |= One
  12033. }
  12034. Else
  12035. {
  12036. IOD0 |= 0x05
  12037. }
  12038. }
  12039.  
  12040. CR02 = (CR02 | 0x08)
  12041. CRAA = Zero
  12042. }
  12043.  
  12044. Method (_PS0, 0, Serialized) // _PS0: Power State 0
  12045. {
  12046. CR55 = Zero
  12047. CR02 = (CR02 | 0x08)
  12048. CRAA = Zero
  12049. }
  12050.  
  12051. Method (_PS3, 0, Serialized) // _PS3: Power State 3
  12052. {
  12053. CR55 = Zero
  12054. CR02 = (CR02 & 0xF0)
  12055. CRAA = Zero
  12056. }
  12057. }
  12058.  
  12059. Device (LPTE)
  12060. {
  12061. Name (_HID, EisaId ("PNP0401") /* ECP Parallel Port */) // _HID: Hardware ID
  12062. Name (_UID, 0x05) // _UID: Unique ID
  12063. Method (CLPS, 0, NotSerialized)
  12064. {
  12065. Name (DCK9, Buffer (0x04) {})
  12066. CreateByteField (DCK9, Zero, DCK8)
  12067. CreateByteField (DCK9, One, DCK6)
  12068. CreateByteField (DCK9, 0x02, DCK2)
  12069. CreateByteField (DCK9, 0x03, DCK7)
  12070. DCK8 = 0x02
  12071. Local0 = GENS (0x13, DCK9, SizeOf (DCK9))
  12072. DCK9 = Local0
  12073. If (((DCK6 == One) && (DCK7 == One)))
  12074. {
  12075. If (((DCK2 == One) || (DCK2 == 0x04)))
  12076. {
  12077. Return (One)
  12078. }
  12079. }
  12080.  
  12081. Return (Zero)
  12082. }
  12083.  
  12084. Method (_STA, 0, Serialized) // _STA: Status
  12085. {
  12086. If (CLPS ())
  12087. {
  12088. CR55 = Zero
  12089. Local0 = CR01 /* \_SB_.PCI0.LPCB.CR01 */
  12090. CRAA = Zero
  12091. If ((Local0 & 0x04))
  12092. {
  12093. Return (0x0F)
  12094. }
  12095.  
  12096. Return (0x0D)
  12097. }
  12098.  
  12099. Return (0x0D)
  12100. }
  12101.  
  12102. Method (_DIS, 0, Serialized) // _DIS: Disable Device
  12103. {
  12104. CR55 = Zero
  12105. CR01 = (CR01 & 0xFB)
  12106. CRAA = Zero
  12107. }
  12108.  
  12109. Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
  12110. {
  12111. Name (BUF0, ResourceTemplate ()
  12112. {
  12113. IO (Decode16,
  12114. 0x0000, // Range Minimum
  12115. 0x0000, // Range Maximum
  12116. 0x01, // Alignment
  12117. 0x00, // Length
  12118. _Y1B)
  12119. IRQNoFlags (_Y1C)
  12120. {0}
  12121. })
  12122. If (CLPS ())
  12123. {
  12124. CreateWordField (BUF0, \_SB.PCI0.LPCB.LPTE._CRS._Y1B._MIN, IOL0) // _MIN: Minimum Base Address
  12125. CreateByteField (BUF0, 0x03, IOH0)
  12126. CreateWordField (BUF0, \_SB.PCI0.LPCB.LPTE._CRS._Y1B._MAX, IOL1) // _MAX: Maximum Base Address
  12127. CreateByteField (BUF0, 0x05, IOH1)
  12128. CreateByteField (BUF0, \_SB.PCI0.LPCB.LPTE._CRS._Y1B._LEN, LEN0) // _LEN: Length
  12129. CreateWordField (BUF0, \_SB.PCI0.LPCB.LPTE._CRS._Y1C._INT, IRQW) // _INT: Interrupts
  12130. CR55 = Zero
  12131. IOL0 = (CR23 << 0x02)
  12132. IOL1 = (CR23 << 0x02)
  12133. IOH0 = (CR23 >> 0x06)
  12134. IOH1 = (CR23 >> 0x06)
  12135. LEN0 = 0x04
  12136. Local1 = Zero
  12137. Local1 = (CR27 & 0x0F)
  12138. IRQW = (One << Local1)
  12139. CRAA = Zero
  12140. }
  12141.  
  12142. Return (BUF0) /* \_SB_.PCI0.LPCB.LPTE._CRS.BUF0 */
  12143. }
  12144.  
  12145. Name (_PRS, ResourceTemplate () // _PRS: Possible Resource Settings
  12146. {
  12147. StartDependentFn (0x00, 0x02)
  12148. {
  12149. IO (Decode16,
  12150. 0x0378, // Range Minimum
  12151. 0x0378, // Range Maximum
  12152. 0x01, // Alignment
  12153. 0x04, // Length
  12154. )
  12155. IRQNoFlags ()
  12156. {5}
  12157. }
  12158. StartDependentFn (0x00, 0x02)
  12159. {
  12160. IO (Decode16,
  12161. 0x0278, // Range Minimum
  12162. 0x0278, // Range Maximum
  12163. 0x01, // Alignment
  12164. 0x04, // Length
  12165. )
  12166. IRQNoFlags ()
  12167. {5}
  12168. }
  12169. StartDependentFn (0x00, 0x02)
  12170. {
  12171. IO (Decode16,
  12172. 0x03BC, // Range Minimum
  12173. 0x03BC, // Range Maximum
  12174. 0x01, // Alignment
  12175. 0x04, // Length
  12176. )
  12177. IRQNoFlags ()
  12178. {5}
  12179. }
  12180. StartDependentFn (0x00, 0x02)
  12181. {
  12182. IO (Decode16,
  12183. 0x0378, // Range Minimum
  12184. 0x0378, // Range Maximum
  12185. 0x01, // Alignment
  12186. 0x04, // Length
  12187. )
  12188. IRQNoFlags ()
  12189. {7}
  12190. }
  12191. StartDependentFn (0x00, 0x02)
  12192. {
  12193. IO (Decode16,
  12194. 0x0278, // Range Minimum
  12195. 0x0278, // Range Maximum
  12196. 0x01, // Alignment
  12197. 0x04, // Length
  12198. )
  12199. IRQNoFlags ()
  12200. {7}
  12201. }
  12202. StartDependentFn (0x00, 0x02)
  12203. {
  12204. IO (Decode16,
  12205. 0x03BC, // Range Minimum
  12206. 0x03BC, // Range Maximum
  12207. 0x01, // Alignment
  12208. 0x04, // Length
  12209. )
  12210. IRQNoFlags ()
  12211. {7}
  12212. }
  12213. EndDependentFn ()
  12214. })
  12215. Method (_SRS, 1, Serialized) // _SRS: Set Resource Settings
  12216. {
  12217. If ((CLPS () == Zero))
  12218. {
  12219. Return (Zero)
  12220. }
  12221.  
  12222. CreateByteField (Arg0, 0x02, IOL0)
  12223. CreateByteField (Arg0, 0x03, IOH0)
  12224. CreateWordField (Arg0, 0x09, IRQW)
  12225. CR55 = Zero
  12226. CR01 = (CR01 & 0xFB)
  12227. CR23 = (IOL0 >> 0x02)
  12228. CR23 |= (IOH0 << 0x06)
  12229. FindSetRightBit (IRQW, Local0)
  12230. If ((IRQW != Zero))
  12231. {
  12232. Local0--
  12233. }
  12234.  
  12235. CR27 = Local0
  12236. IOD1 &= 0xFC
  12237. If ((IOH0 == 0x03))
  12238. {
  12239. If ((IOL0 == 0x78))
  12240. {
  12241. IOD1 |= Zero
  12242. }
  12243. Else
  12244. {
  12245. IOD1 |= 0x02
  12246. }
  12247. }
  12248. Else
  12249. {
  12250. IOD1 |= One
  12251. }
  12252.  
  12253. CR01 |= 0x04
  12254. CRAA = Zero
  12255.  
  12256. Return (Zero)
  12257. }
  12258.  
  12259. Method (_PS0, 0, Serialized) // _PS0: Power State 0
  12260. {
  12261. CR55 = Zero
  12262. CR01 = (CR01 | 0x04)
  12263. CRAA = Zero
  12264. }
  12265.  
  12266. Method (_PS3, 0, Serialized) // _PS3: Power State 3
  12267. {
  12268. CR55 = Zero
  12269. CR01 = (CR01 & 0xFB)
  12270. CRAA = Zero
  12271. }
  12272. }
  12273. }
  12274.  
  12275. Scope (_SB)
  12276. {
  12277. Method (_INI, 0, NotSerialized) // _INI: Initialize
  12278. {
  12279. }
  12280. }
  12281.  
  12282. Scope (_SB.PCI0)
  12283. {
  12284. Device (A_CC)
  12285. {
  12286. Name (_HID, "SMO8810") // _HID: Hardware ID
  12287. Method (_STA, 0, NotSerialized) // _STA: Status
  12288. {
  12289. Return (0x0F)
  12290. }
  12291.  
  12292. Name (_UID, One) // _UID: Unique ID
  12293. Name (BUF2, ResourceTemplate ()
  12294. {
  12295. Interrupt (ResourceConsumer, Edge, ActiveHigh, Exclusive, ,, )
  12296. {
  12297. 0x00000017,
  12298. }
  12299. })
  12300. Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
  12301. {
  12302. Return (BUF2) /* \_SB_.PCI0.A_CC.BUF2 */
  12303. }
  12304.  
  12305. Method (_SRS, 1, Serialized) // _SRS: Set Resource Settings
  12306. {
  12307. //Return (BUF2) /* \_SB_.PCI0.A_CC.BUF2 */
  12308. }
  12309. }
  12310. }
  12311.  
  12312. Scope (_SB)
  12313. {
  12314. Name (_HPP, Package (0x04) // _HPP: Hot Plug Parameters
  12315. {
  12316. 0x08,
  12317. 0x40,
  12318. One,
  12319. Zero
  12320. })
  12321. }
  12322.  
  12323. Scope (_SB.PCI0.EHC2.HUBN.PR01.PR13)
  12324. {
  12325. Name (_EJD, "EXPRESS_CARD_PATH") // _EJD: Ejection Dependent Device
  12326. Method (_RMV, 0, NotSerialized) // _RMV: Removal Status
  12327. {
  12328. Return (One)
  12329. }
  12330. }
  12331.  
  12332. Scope (_SB.PCI0.RP03.PXSX)
  12333. {
  12334. Name (_EJD, "EXPRESS_CARD_EJD_PATH") // _EJD: Ejection Dependent Device
  12335. Method (_STA, 0, NotSerialized) // _STA: Status
  12336. {
  12337. If (PDSX)
  12338. {
  12339. Return (0x0F)
  12340. }
  12341. Else
  12342. {
  12343. Return (Zero)
  12344. }
  12345. }
  12346. }
  12347.  
  12348. Scope (_GPE)
  12349. {
  12350. Method (_L0D, 0, NotSerialized) // _Lxx: Level-Triggered GPE
  12351. {
  12352. Notify (\_SB.PCI0.EHC1, 0x02) // Device Wake
  12353. Notify (\_SB.PCI0.EHC2, 0x02) // Device Wake
  12354. Notify (\_SB.PCI0.XHC, 0x02) // Device Wake
  12355. }
  12356. }
  12357.  
  12358. Scope (_SB.PCI0)
  12359. {
  12360. Method (UPRW, 0, NotSerialized)
  12361. {
  12362. Local0 = GENS (0x18, One, Zero)
  12363. Return (Local0)
  12364. }
  12365. }
  12366.  
  12367. Scope (_SB.PCI0.EHC1)
  12368. {
  12369. Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
  12370. {
  12371. Local0 = UPRW ()
  12372. If ((Local0 == 0x03))
  12373. {
  12374. Return (Package (0x02)
  12375. {
  12376. 0x0D,
  12377. 0x03
  12378. })
  12379. }
  12380.  
  12381. If ((Local0 == One))
  12382. {
  12383. Return (Package (0x02)
  12384. {
  12385. 0x0D,
  12386. One
  12387. })
  12388. }
  12389.  
  12390. Return (Package (0x02)
  12391. {
  12392. 0x0D,
  12393. Zero
  12394. })
  12395. }
  12396. }
  12397.  
  12398. Scope (_SB.PCI0.EHC2)
  12399. {
  12400. Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
  12401. {
  12402. Local0 = UPRW ()
  12403. If ((Local0 == 0x03))
  12404. {
  12405. Return (Package (0x02)
  12406. {
  12407. 0x0D,
  12408. 0x03
  12409. })
  12410. }
  12411.  
  12412. If ((Local0 == One))
  12413. {
  12414. Return (Package (0x02)
  12415. {
  12416. 0x0D,
  12417. One
  12418. })
  12419. }
  12420.  
  12421. Return (Package (0x02)
  12422. {
  12423. 0x0D,
  12424. Zero
  12425. })
  12426. }
  12427. }
  12428.  
  12429. Scope (_SB.PCI0.XHC)
  12430. {
  12431. Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
  12432. {
  12433. Local0 = UPRW ()
  12434. If ((Local0 == 0x03))
  12435. {
  12436. Return (Package (0x02)
  12437. {
  12438. 0x0D,
  12439. 0x04
  12440. })
  12441. }
  12442.  
  12443. If ((Local0 == One))
  12444. {
  12445. Return (Package (0x02)
  12446. {
  12447. 0x0D,
  12448. One
  12449. })
  12450. }
  12451.  
  12452. Return (Package (0x02)
  12453. {
  12454. 0x0D,
  12455. Zero
  12456. })
  12457. }
  12458. }
  12459.  
  12460. Scope (_SB.PCI0.SAT0)
  12461. {
  12462. Device (PRT1)
  12463. {
  12464. Name (_ADR, 0x0001FFFF) // _ADR: Address
  12465. Method (_STA, 0, NotSerialized) // _STA: Status
  12466. {
  12467. Local0 = GENS (0x17, One, Zero)
  12468. If (Local0)
  12469. {
  12470. Return (0x0F)
  12471. }
  12472. Else
  12473. {
  12474. Return (Zero)
  12475. }
  12476. }
  12477.  
  12478. Method (_EJ0, 1, NotSerialized) // _EJx: Eject Device
  12479. {
  12480. GENS (0x17, 0x02, Zero)
  12481. Return (Zero)
  12482. }
  12483. }
  12484. }
  12485.  
  12486. Scope (_SB.PCI0.LPCB.ECDV)
  12487. {
  12488. Method (CMFC, 4, Serialized)
  12489. {
  12490. Name (T_2, Zero) // _T_x: Emitted by ASL Compiler
  12491. Name (T_1, Zero) // _T_x: Emitted by ASL Compiler
  12492. Name (T_0, Zero) // _T_x: Emitted by ASL Compiler
  12493. Name (RTVL, Package (0x04)
  12494. {
  12495. Zero,
  12496. Zero,
  12497. Zero,
  12498. Zero
  12499. })
  12500. While (One)
  12501. {
  12502. T_0 = ToInteger (Arg0)
  12503. If ((T_0 == 0xFE00))
  12504. {
  12505. While (One)
  12506. {
  12507. T_1 = ToInteger (Arg1)
  12508. If ((T_1 == One))
  12509. {
  12510. While (One)
  12511. {
  12512. T_2 = ToInteger (Arg2)
  12513. If ((T_2 == Zero))
  12514. {
  12515. If ((ToInteger (Arg3) != Zero))
  12516. {
  12517. Index (RTVL, Zero) = 0x8300
  12518. }
  12519. Else
  12520. {
  12521. Index (RTVL, Zero) = Zero
  12522. Index (RTVL, One) = IDMN /* \IDMN */
  12523. Index (RTVL, 0x02) = IDPC /* \IDPC */
  12524. }
  12525. }
  12526. Else
  12527. {
  12528. If ((T_2 == 0x02))
  12529. {
  12530. Index (RTVL, Zero) = Zero
  12531. Index (RTVL, One) = (DLPN >> 0x08)
  12532. Index (RTVL, 0x02) = (DLPN & 0xFF)
  12533. Index (RTVL, 0x03) = Zero
  12534. Return (RTVL) /* \_SB_.PCI0.LPCB.ECDV.CMFC.RTVL */
  12535. }
  12536. Else
  12537. {
  12538. Index (RTVL, Zero) = 0x8300
  12539. }
  12540. }
  12541.  
  12542. Break
  12543. }
  12544. }
  12545. Else
  12546. {
  12547. Index (RTVL, Zero) = 0x8000
  12548. }
  12549.  
  12550. Break
  12551. }
  12552. }
  12553. Else
  12554. {
  12555. Index (RTVL, Zero) = 0x8000
  12556. }
  12557.  
  12558. Break
  12559. }
  12560.  
  12561. Return (RTVL) /* \_SB_.PCI0.LPCB.ECDV.CMFC.RTVL */
  12562. }
  12563. }
  12564.  
  12565. Name (_S0, Package (0x04) // _S0_: S0 System State
  12566. {
  12567. Zero,
  12568. Zero,
  12569. Zero,
  12570. Zero
  12571. })
  12572. If (SS3)
  12573. {
  12574. Name (_S3, Package (0x04) // _S3_: S3 System State
  12575. {
  12576. 0x05,
  12577. Zero,
  12578. Zero,
  12579. Zero
  12580. })
  12581. }
  12582.  
  12583. If (SS4)
  12584. {
  12585. Name (_S4, Package (0x04) // _S4_: S4 System State
  12586. {
  12587. 0x06,
  12588. Zero,
  12589. Zero,
  12590. Zero
  12591. })
  12592. }
  12593.  
  12594. Name (_S5, Package (0x04) // _S5_: S5 System State
  12595. {
  12596. 0x07,
  12597. Zero,
  12598. Zero,
  12599. Zero
  12600. })
  12601. Method (PTS, 1, NotSerialized)
  12602. {
  12603. If (Arg0)
  12604. {
  12605. \_SB.PCI0.LPCB.SPTS (Arg0)
  12606. \_SB.PCI0.NPTS (Arg0)
  12607. }
  12608. }
  12609.  
  12610. Method (WAK, 1, NotSerialized)
  12611. {
  12612. \_SB.PCI0.LPCB.SWAK (Arg0)
  12613. \_SB.PCI0.NWAK (Arg0)
  12614. \_SB.PCI0.RP03.EWAK (Arg0)
  12615. \_SB.PCI0.RP04.EWAK (Arg0)
  12616. }
  12617.  
  12618. Method (EV13, 2, NotSerialized)
  12619. {
  12620. \_SB.RBTN.NRBT (Arg0, Arg1)
  12621. }
  12622.  
  12623. Method (EV9, 2, NotSerialized)
  12624. {
  12625. \_SB.PCI0.VID.IBL1 (Arg0, Arg1)
  12626. }
  12627.  
  12628. Method (EV10, 2, NotSerialized)
  12629. {
  12630. \_SB.PCI0.PEG0.VID.EVD2 (Arg0, Arg1)
  12631. }
  12632.  
  12633. Method (EV5, 2, NotSerialized)
  12634. {
  12635. \_SB.PCI0.PEG0.VID.BRT6 (Arg0, Arg1)
  12636. \_SB.PCI0.VID.BRT6 (Arg0, Arg1)
  12637. }
  12638.  
  12639. Method (EV8, 2, NotSerialized)
  12640. {
  12641. \_SB.PCI0.VID.IVD2 (Arg0, Arg1)
  12642. }
  12643.  
  12644. Method (EV7, 2, NotSerialized)
  12645. {
  12646. \_SB.PCI0.PEG0.VID.EVD1 (Arg0, Arg1)
  12647. \_SB.PCI0.VID.IVD1 (Arg0, Arg1)
  12648. }
  12649.  
  12650. Method (EV4, 2, NotSerialized)
  12651. {
  12652. WMNF (Arg0, Arg1)
  12653. }
  12654.  
  12655. Method (EV3, 2, NotSerialized)
  12656. {
  12657. \_SB.PCI0.LPCB.EINI (Arg0, Arg1)
  12658. \_SB.PCI0.PEG0.VID.DINI (Arg0, Arg1)
  12659. \_SB.PCI0.PEG0.VID.VINI (Arg0, Arg1)
  12660. \_SB.PCI0.VID.DINI (Arg0, Arg1)
  12661. \_SB.PCI0.VID.VINI (Arg0, Arg1)
  12662. \_SB.SOS0 (Arg0, Arg1)
  12663. }
  12664.  
  12665. Method (EV12, 2, NotSerialized)
  12666. {
  12667. \_PR.PPCE (Arg0, Arg1)
  12668. }
  12669.  
  12670. Method (EV16, 2, NotSerialized)
  12671. {
  12672. \_SB.BTEV (Arg0, Arg1)
  12673. }
  12674.  
  12675. Method (EV1, 2, NotSerialized)
  12676. {
  12677. ECS1 (Arg0, Arg1)
  12678. \_SB.PCI0.VID.IVD4 (Arg0, Arg1)
  12679. }
  12680.  
  12681. Method (EV14, 2, NotSerialized)
  12682. {
  12683. \_SB.PCI0.LPCB.DCK4 (Arg0, Arg1)
  12684. }
  12685.  
  12686. Method (EV11, 2, NotSerialized)
  12687. {
  12688. \_SB.PCI0.PEG0.VID.EVD6 (Arg0, Arg1)
  12689. }
  12690.  
  12691. Method (EV6, 2, NotSerialized)
  12692. {
  12693. \_SB.BTNV (Arg0, Arg1)
  12694. \_SB.PCI0.PEG0.VID.EVD3 (Arg0, Arg1)
  12695. \_SB.PCI0.VID.ILDE (Arg0, Arg1)
  12696. }
  12697.  
  12698. Method (EV15, 2, NotSerialized)
  12699. {
  12700. \_SB.ACEV (Arg0, Arg1)
  12701. }
  12702.  
  12703. Method (EV2, 2, NotSerialized)
  12704. {
  12705. \_GPE.NWAK (Arg0, Arg1)
  12706. \_SB.CBAT (Arg0, Arg1)
  12707. \_SB.PCI0.LPCB.DCK5 (Arg0, Arg1)
  12708. \_SB.PCI0.LPCB.ECDV.ECM9 (Arg0, Arg1)
  12709. \_SB.PCI0.VID.IVD3 (Arg0, Arg1)
  12710. \_SB.RBTN.NRBT (Arg0, Arg1)
  12711. \_SB.SOS4 (Arg0, Arg1)
  12712. }
  12713. }
RAW Paste Data