20 for (i = 0; i < 8; i++) {
22 if (c < 0x20 || c > 0x7f) {
23 i =
snprintf(str,
sizeof(str),
"*INVALID");
38 char tpec[] =
"IBM ThinkPad Embedded Controller -[ ]-";
49 fwvh >> 4, fwvh & 0x0f, fwvl >> 4, 0x41 + (fwvl & 0xf));
struct chip_operations mainboard_ops
static int acpi_is_wakeup_s3(void)
void * memcpy(void *dest, const void *src, size_t n)
int smbios_add_string(u8 *start, const char *str)
#define printk(level,...)
void install_intel_vga_int15_handler(int active_lfp_, int pfit_, int display_, int panel_type_)
@ GMA_INT15_BOOT_DISPLAY_DEFAULT
@ GMA_INT15_ACTIVE_LFP_INT_LVDS
@ GMA_INT15_PANEL_FIT_DEFAULT
static void mainboard_smbios_strings(struct device *dev, struct smbios_type11 *t)
static u8 mainboard_fill_ec_version(char *buf, u8 buf_len)
static void mainboard_enable(struct device *dev)
#define BIOS_INFO
BIOS_INFO - Expected events.
void lenovo_s230u_ec_init(void)
void(* enable_dev)(struct device *dev)
struct device_operations * ops
#define c(value, pmcreg, dst_bits)
int snprintf(char *buf, size_t size, const char *fmt,...)
Note: This file is only for POSIX compatibility, and is meant to be chain-included via string....