coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
ww_ring.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef __SRC_DRIVERS_VIDEO_WW_RING__H__
4 #define __SRC_DRIVERS_VIDEO_WW_RING__H__
5 
6 /*
7  * Different types of display patterns to be shown by the LED ring while
8  * contrlled by coreboot.
9  */
11  WWR_ALL_OFF, /* Turn the LEDs off. */
12  WWR_RECOVERY_PUSHED, /* Recovery button push detected on start up. */
13  WWR_WIPEOUT_REQUEST, /* Held long enough for wipout request. */
14  WWR_RECOVERY_REQUEST, /* Held long enough for recovery request. */
15  WWR_NORMAL_BOOT /* No buttons pressed, normal boot sequence. */
16 };
17 /*
18  * ww_ring_display_pattern
19  *
20  * Display pattern on the ring LEDs.
21  */
23 
24 #endif
static const u32 pattern[8]
Definition: ast_post.c:428
Definition: i2c.c:65
display_pattern
Definition: ww_ring.h:10
@ WWR_RECOVERY_REQUEST
Definition: ww_ring.h:14
@ WWR_ALL_OFF
Definition: ww_ring.h:11
@ WWR_RECOVERY_PUSHED
Definition: ww_ring.h:12
@ WWR_NORMAL_BOOT
Definition: ww_ring.h:15
@ WWR_WIPEOUT_REQUEST
Definition: ww_ring.h:13
int ww_ring_display_pattern(unsigned int i2c_bus, enum display_pattern pattern)
Definition: ww_ring.c:326