1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * Copyright 2015 The Chromium OS Authors. All rights reserved. 4 */ 5 6/* 7 * EMEM data may be accessed through port 62/66 or through LPC at 900h. 8 */ 9 10Offset (0x00), 11TIN0, 8, // Temperature 0 12TIN1, 8, // Temperature 1 13TIN2, 8, // Temperature 2 14TIN3, 8, // Temperature 3 15TIN4, 8, // Temperature 4 16TIN5, 8, // Temperature 5 17TIN6, 8, // Temperature 6 18TIN7, 8, // Temperature 7 19TIN8, 8, // Temperature 8 20TIN9, 8, // Temperature 9 21Offset (0x10), 22FAN0, 16, // Fan Speed 0 23Offset (0x24), 24BTVR, 8, // Battery structure version 25Offset (0x30), 26LIDS, 1, // Lid Switch State 27PBTN, 1, // Power Button Pressed 28WPDI, 1, // Write Protect Disabled 29RECK, 1, // Keyboard Initiated Recovery 30RECD, 1, // Dedicated Recovery Mode 31Offset (0x40), 32BTVO, 32, // Battery Present Voltage 33BTPR, 32, // Battery Present Rate 34BTRA, 32, // Battery Remaining Capacity 35ACEX, 1, // AC Present 36BTEX, 1, // Battery Present 37BFDC, 1, // Battery Discharging 38BFCG, 1, // Battery Charging 39BFCR, 1, // Battery Level Critical 40Offset (0x4d), 41BTCN, 8, // Battery Count 42BTIX, 8, // Battery index 43Offset (0x50), 44BTDA, 32, // Battery Design Capacity 45BTDV, 32, // Battery Design Voltage 46BTDF, 32, // Battery Last Full Charge Capacity 47BTCC, 32, // Battery Cycle Count 48BMFG, 64, // Battery Manufacturer String 49BMOD, 64, // Battery Model String 50BSER, 64, // Battery Serial String 51BTYP, 64, // Battery Type String 52Offset (0x80), 53ALS0, 16, // ALS reading 0 in lux 54