1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 #ifndef SUPERIO_WINBOND_W83627THG_W83627THG_H
4 #define SUPERIO_WINBOND_W83627THG_W83627THG_H
6 #include <device/pnp_type.h>
8 #define W83627THG_FDC 0 /* Floppy */
9 #define W83627THG_PP 1 /* Parallel port */
10 #define W83627THG_SP1 2 /* Com1 */
11 #define W83627THG_SP2 3 /* Com2 */
12 #define W83627THG_KBC 5 /* PS/2 keyboard & mouse */
13 #define W83627THG_GAME_MIDI_GPIO1 7
14 #define W83627THG_GPIO2 8
15 #define W83627THG_GPIO3 9
16 #define W83627THG_ACPI 10
17 #define W83627THG_HWM 11 /* Hardware monitor */
19 void pnp_enter_ext_func_mode(pnp_devfn_t dev
);
20 void pnp_exit_ext_func_mode(pnp_devfn_t dev
);
22 void w83627thg_set_clksel_48(pnp_devfn_t dev
);
24 #endif /* SUPERIO_WINBOND_W83627THG_W83627THG_H */