![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
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) |
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().
int dock_connect | ( | void | ) |
Definition at line 215 of file dock.c.
References DLPC_CONTROL, dlpc_write_register(), dock_gpio_set_mode(), dock_identify(), dock_read_register(), dock_superio_init(), DOCK_TYPE_2505, DOCK_TYPE_NONE, dock_write_register(), ec_set_bit(), ec_write(), GPIO_LEVEL_HIGH, H8_LED_CONTROL, H8_LED_CONTROL_DOCK_LED1, H8_LED_CONTROL_DOCK_LED2, H8_LED_CONTROL_OFF, H8_LED_CONTROL_ON, inb(), outb(), pc87382_connect(), pc87382_disconnect(), pc87384_init(), PC87392_GPIO_PIN_DEBOUNCE, PC87392_GPIO_PIN_OE, PC87392_GPIO_PIN_PULLUP, PC87392_GPIO_PIN_TRIGGERS_SMI, PC87392_GPIO_PIN_TYPE_PUSH_PULL, set_gpio(), and udelay().
Referenced by bootblock_mainboard_early_init(), h8_mb_init(), mainboard_io_trap_handler(), and mainboard_smi_handle_ec_sci().
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().
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().
int dock_ultrabay_device_present | ( | void | ) |
Definition at line 246 of file dock.c.
References inb().
Referenced by mainboard_init().