coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
ww_ring.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  display_pattern {
  WWR_ALL_OFF , WWR_RECOVERY_PUSHED , WWR_WIPEOUT_REQUEST , WWR_RECOVERY_REQUEST ,
  WWR_NORMAL_BOOT
}
 

Functions

int ww_ring_display_pattern (unsigned int i2c_bus, enum display_pattern pattern)
 

Enumeration Type Documentation

◆ display_pattern

Enumerator
WWR_ALL_OFF 
WWR_RECOVERY_PUSHED 
WWR_WIPEOUT_REQUEST 
WWR_RECOVERY_REQUEST 
WWR_NORMAL_BOOT 

Definition at line 10 of file ww_ring.h.

Function Documentation

◆ ww_ring_display_pattern()

int ww_ring_display_pattern ( unsigned int  i2c_bus,
enum display_pattern  pattern 
)

Definition at line 326 of file ww_ring.c.

References BIOS_WARNING, WwRingStateProg::led_pattern, ledc_run_program(), ledc_write_engctrl2(), LP55231_ENGCTRL2_ALL_DISABLE, lp55231s, pattern, printk, WwRingStateProg::programs, ww_ring_init(), WW_RING_NUM_LED_CONTROLLERS, and wwr_state_programs.

Referenced by display_pattern().

Here is the call graph for this function:
Here is the caller graph for this function: