12 #define MAINBOARD_POWER_OFF 0
13 #define MAINBOARD_POWER_ON 1
14 #define MAINBOARD_POWER_KEEP 2
37 if (!mouse_detected) {
50 CONFIG_MAINBOARD_POWER_FAILURE_STATE);
61 printk(
BIOS_INFO,
"set power %s after power fail\n", power_status ?
"on" :
"off");
#define printk(level,...)
const struct pnp_mode_ops pnp_conf_mode_8787_aa
uint8_t pc_keyboard_init(uint8_t probe_aux)
#define BIOS_INFO
BIOS_INFO - Expected events.
#define NCT5572D_HWM_TSI_FPLED
#define NCT5572D_GPIO_PP_OD
#define MAINBOARD_POWER_ON
static void nct5572d_init(struct device *dev)
static void enable_dev(struct device *dev)
static struct device_operations ops
static struct pnp_info pnp_dev_info[]
#define MAINBOARD_POWER_KEEP
struct chip_operations superio_nuvoton_nct5572d_ops
unsigned int get_uint_option(const char *name, const unsigned int fallback)
void pnp_exit_conf_mode(struct device *dev)
void pnp_read_resources(struct device *dev)
void pnp_enable_devices(struct device *base_dev, struct device_operations *ops, unsigned int functions, struct pnp_info *info)
void pnp_set_logical_device(struct device *dev)
void pnp_set_resources(struct device *dev)
void pnp_alt_enable(struct device *dev)
u8 pnp_read_config(struct device *dev, u8 reg)
void pnp_enter_conf_mode(struct device *dev)
void pnp_write_config(struct device *dev, u8 reg, u8 value)
void pnp_enable_resources(struct device *dev)
void(* read_resources)(struct device *dev)