![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <stdint.h>
Go to the source code of this file.
Macros | |
#define | NPCD837_HWM_WRITE_LOCK_CTRL 0x4 |
#define | NPCD837_HWM_WRITE_LOCK_BIT 0x1 |
#define | NPCD378_HWM_PSU_FAN_MIN 0x17 |
#define | NPCD378_HWM_PSU_FAN_MAX 0xf8 |
#define | NPCD378_HWM_PSU_FAN_PWM_CTRL 0x198 |
#define | NPCD378_FDC 0x00 /* Floppy */ |
#define | NPCD378_PP 0x01 /* Parallel port */ |
#define | NPCD378_SP1 0x02 /* Com1 */ |
#define | NPCD378_SP2 0x03 /* Com2 & IR */ |
#define | NPCD378_PWR 0x04 /* LED and PWR button control */ |
#define | NPCD378_AUX 0x05 /* PS/2 mouse */ |
#define | NPCD378_KBC 0x06 /* PS/2 keyboard */ |
#define | NPCD378_WDT1 0x07 |
#define | NPCD378_HWM 0x08 /* HWM: 16 pages with each 255 byte */ |
#define | NPCD378_GPIO_PP_OD 0x0F /* GPIO Push-Pull/Open drain select */ |
#define | NPCD378_I2C 0x15 /* Provides 35Khz at IOBASE + 0x9 */ |
#define | NPCD378_SUSPEND 0x1c /* Suspend control ? */ |
#define | NPCD378_GPIOA 0x1e |
Functions | |
uint8_t | npcd378_hwm_read (const uint16_t iobase, const uint16_t reg) |
void | npcd378_hwm_write (const uint16_t iobase, const uint16_t reg, const uint8_t val) |
void | npcd378_hwm_write_start (const uint16_t iobase) |
void | npcd378_hwm_write_finished (const uint16_t iobase) |
#define NPCD378_GPIO_PP_OD 0x0F /* GPIO Push-Pull/Open drain select */ |
#define NPCD378_HWM 0x08 /* HWM: 16 pages with each 255 byte */ |
#define NPCD378_I2C 0x15 /* Provides 35Khz at IOBASE + 0x9 */ |
Definition at line 17 of file superio.c.
Referenced by npcd378_hwm_write_finished(), and npcd378_hwm_write_start().
Definition at line 28 of file superio.c.
Referenced by npcd378_hwm_write_finished(), npcd378_hwm_write_start(), and npcd378_init().
Definition at line 43 of file superio.c.
References npcd378_hwm_read(), npcd378_hwm_write(), NPCD837_HWM_WRITE_LOCK_BIT, and NPCD837_HWM_WRITE_LOCK_CTRL.
Referenced by npcd378_init().
Definition at line 36 of file superio.c.
References npcd378_hwm_read(), npcd378_hwm_write(), NPCD837_HWM_WRITE_LOCK_BIT, and NPCD837_HWM_WRITE_LOCK_CTRL.
Referenced by npcd378_init().