Searched refs:olpc_platform_info (Results 1 – 2 of 2) sorted by relevance
26 struct olpc_platform_t olpc_platform_info; variable27 EXPORT_SYMBOL_GPL(olpc_platform_info);213 olpc_platform_info.boardrev = get_board_revision(root); in platform_detect()214 olpc_platform_info.flags |= OLPC_F_PRESENT; in platform_detect()217 ((olpc_platform_info.boardrev & 0xf) < 8) ? "pre" : "", in platform_detect()218 olpc_platform_info.boardrev >> 4); in platform_detect()294 if (olpc_platform_info.boardrev < olpc_board_pre(0xd0)) /* XO-1 */ in olpc_init()302 olpc_platform_info.flags |= OLPC_F_DCON; in olpc_init()307 if (olpc_platform_info.boardrev < olpc_board_pre(0xd0) && in olpc_init()312 if (olpc_platform_info.boardrev < olpc_board_pre(0xd0)) { /* XO-1 */ in olpc_init()
19 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()