coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
dock.c File Reference
#include <console/console.h>
#include <device/device.h>
#include <southbridge/intel/common/gpio.h>
#include <ec/lenovo/h8/h8.h>
#include <ec/acpi/ec.h>
#include "../../dock.h"
Include dependency graph for dock.c:

Go to the source code of this file.

Functions

void h8_mb_init (void)
 
void dock_connect (void)
 
void dock_disconnect (void)
 
int dock_present (void)
 

Function Documentation

◆ dock_connect()

void dock_connect ( void  )

Definition at line 21 of file dock.c.

References ec_set_bit(), GPIO_LEVEL_HIGH, and set_gpio().

Here is the call graph for this function:

◆ dock_disconnect()

void dock_disconnect ( void  )

Definition at line 27 of file dock.c.

References ec_clr_bit(), GPIO_LEVEL_LOW, and set_gpio().

Here is the call graph for this function:

◆ dock_present()

int dock_present ( void  )

Definition at line 33 of file dock.c.

References get_gpios().

Here is the call graph for this function:

◆ h8_mb_init()

void h8_mb_init ( void  )

Definition at line 11 of file dock.c.

References BIOS_DEBUG, dock_connect(), dock_present(), and printk.

Here is the call graph for this function: