3 #ifndef SUPERIO_NUVOTON_NPCD378_H
4 #define SUPERIO_NUVOTON_NPCD378_H
9 #define NPCD837_HWM_WRITE_LOCK_CTRL 0x4
10 #define NPCD837_HWM_WRITE_LOCK_BIT 0x1
12 #define NPCD378_HWM_PSU_FAN_MIN 0x17
13 #define NPCD378_HWM_PSU_FAN_MAX 0xf8
14 #define NPCD378_HWM_PSU_FAN_PWM_CTRL 0x198
53 #define NPCD378_FDC 0x00
54 #define NPCD378_PP 0x01
55 #define NPCD378_SP1 0x02
56 #define NPCD378_SP2 0x03
57 #define NPCD378_PWR 0x04
58 #define NPCD378_AUX 0x05
59 #define NPCD378_KBC 0x06
61 #define NPCD378_WDT1 0x07
62 #define NPCD378_HWM 0x08
63 #define NPCD378_GPIO_PP_OD 0x0F
64 #define NPCD378_I2C 0x15
65 #define NPCD378_SUSPEND 0x1c
66 #define NPCD378_GPIOA 0x1e
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)