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

Go to the source code of this file.

Functions

int dock_connect (void)
 
void dock_disconnect (void)
 
int dock_present (void)
 
int dlpc_init (void)
 
int dock_ultrabay_device_present (void)
 

Function Documentation

◆ dlpc_init()

int dlpc_init ( void  )

Definition at line 72 of file dock.c.

References DLPC_CONTROL, dlpc_gpio_init(), dlpc_read_register(), dlpc_write_register(), outb(), and udelay().

Referenced by bootblock_mainboard_early_init().

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

◆ dock_connect()

◆ dock_disconnect()

void dock_disconnect ( void  )

Definition at line 234 of file dock.c.

References BIOS_DEBUG, DLPC_CONTROL, ec_clr_bit(), ec_write(), GPIO_LEVEL_LOW, H8_LED_CONTROL, H8_LED_CONTROL_DOCK_LED1, H8_LED_CONTROL_DOCK_LED2, H8_LED_CONTROL_OFF, outb(), pc87382_disconnect(), printk, set_gpio(), and udelay().

Referenced by mainboard_io_trap_handler(), and mainboard_smi_handle_ec_sci().

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

◆ dock_present()

int dock_present ( void  )

Definition at line 36 of file dock.c.

References DEFAULT_GPIOBASE, get_gpios(), inw(), and pmh7_register_read().

Referenced by h8_mb_init().

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

◆ dock_ultrabay_device_present()

int dock_ultrabay_device_present ( void  )

Definition at line 246 of file dock.c.

References inb().

Referenced by mainboard_init().

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