Home
last modified time | relevance | path

Searched refs:olpc_platform_info (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/arch/x86/platform/olpc/
Dolpc.c27 struct olpc_platform_t olpc_platform_info; variable
28 EXPORT_SYMBOL_GPL(olpc_platform_info);
222 olpc_platform_info.flags |= OLPC_F_PRESENT; in platform_detect()
223 olpc_platform_info.boardrev = get_board_revision(); in platform_detect()
253 olpc_platform_info.flags |= OLPC_F_DCON; in olpc_init()
257 (unsigned char *) &olpc_platform_info.ecver, 1); in olpc_init()
262 if (olpc_platform_info.boardrev < olpc_board_pre(0xd0) && in olpc_init()
268 ((olpc_platform_info.boardrev & 0xf) < 8) ? "pre" : "", in olpc_init()
269 olpc_platform_info.boardrev >> 4, in olpc_init()
270 olpc_platform_info.ecver); in olpc_init()
[all …]
/linux-2.6.39/arch/x86/include/asm/
Dolpc.h19 extern struct olpc_platform_t olpc_platform_info;
40 return (olpc_platform_info.flags & OLPC_F_PRESENT) ? 1 : 0; in machine_is_olpc()
49 return (olpc_platform_info.flags & OLPC_F_DCON) ? 1 : 0; in olpc_has_dcon()
62 return olpc_platform_info.boardrev >= rev; in olpc_board_at_least()
/linux-2.6.39/drivers/power/
Dolpc_battery.c95 if (olpc_platform_info.ecver > 0x44) { in olpc_bat_get_status()
542 if (!olpc_platform_info.ecver) in olpc_bat_init()
549 if (olpc_platform_info.ecver < 0x44) { in olpc_bat_init()
551 "battery driver.\n", olpc_platform_info.ecver); in olpc_bat_init()