su_type
if (up->su_type == SU_PORT_NONE)
if (up->su_type == SU_PORT_KBD) {
(up->su_type == SU_PORT_KBD) ? "Keyboard" : "Mouse",
if (up->su_type == SU_PORT_KBD) {
static enum su_type su_get_type(struct device_node *dp)
enum su_type type;
up->su_type = type;
if (up->su_type == SU_PORT_KBD || up->su_type == SU_PORT_MS) {
if (up->su_type == SU_PORT_MS ||
up->su_type == SU_PORT_KBD)
if (up->su_type == SU_PORT_KBD) {
} else if (up->su_type == SU_PORT_MS) {
if (up->su_type != SU_PORT_PORT) {
IRQF_SHARED, su_typev[up->su_type], up);
IRQF_SHARED, su_typev[up->su_type], up);
enum su_type su_type;