coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
kbc1100.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef SUPERIO_SMSC_KBC1100_H
4 #define SUPERIO_SMSC_KBC1100_H
5 
6 #include <device/pnp_type.h>
7 #include <stdint.h>
8 
9 #define KBC1100_PM1 1 /* PM1 */
10 #define SMSCSUPERIO_SP1 4 /* Com1 */
11 #define SMSCSUPERIO_SP2 5 /* Com2 */
12 #define KBC1100_KBC 7 /* Keyboard */
13 #define KBC1100_EC0 8 /* EC Channel 0 */
14 #define KBC1100_MAILBOX 9 /* Mail Box */
15 #define KBC1100_GPIO 0x0A /* GPIO */
16 #define KBC1100_SPI 0x0B /* Share flash interface */
17 
18 #define KBC1100_EC1 0x0D /* EC Channel 1 */
19 #define KBC1100_EC2 0x0E /* EC Channel 2 */
20 
21 void kbc1100_early_serial(pnp_devfn_t dev, u16 iobase);
23 
24 #endif /* SUPERIO_SMSC_KBC1100_H */
port
Definition: i915.h:29
void kbc1100_early_serial(pnp_devfn_t dev, u16 iobase)
Definition: early_init.c:24
void kbc1100_early_init(u16 port)
Definition: early_init.c:34
u32 pnp_devfn_t
Definition: pnp_type.h:8
uint16_t u16
Definition: stdint.h:48