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

Go to the source code of this file.

Enumerations

enum  beaglebone_led {
  BEAGLEBONE_LED_USR0 , BEAGLEBONE_LED_USR1 , BEAGLEBONE_LED_USR2 , BEAGLEBONE_LED_USR3 ,
  BEAGLEBONE_LED_COUNT
}
 

Functions

void beaglebone_leds_init (void)
 
void beaglebone_leds_set (enum beaglebone_led led, int on)
 

Enumeration Type Documentation

◆ beaglebone_led

Enumerator
BEAGLEBONE_LED_USR0 
BEAGLEBONE_LED_USR1 
BEAGLEBONE_LED_USR2 
BEAGLEBONE_LED_USR3 
BEAGLEBONE_LED_COUNT 

Definition at line 6 of file leds.h.

Function Documentation

◆ beaglebone_leds_init()

void beaglebone_leds_init ( void  )

Definition at line 15 of file leds.c.

References ARRAY_SIZE, gpio_direction_output(), and led_gpios.

Referenced by bootblock_mainboard_early_init().

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

◆ beaglebone_leds_set()

void beaglebone_leds_set ( enum beaglebone_led  led,
int  on 
)

Definition at line 23 of file leds.c.

References ARRAY_SIZE, ASSERT, gpio_set_value(), and led_gpios.

Referenced by bootblock_mainboard_early_init().

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