Home
last modified time | relevance | path

Searched refs:twidjoy (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/input/joystick/
H A Dtwidjoy.c75 struct twidjoy { struct
87 static void twidjoy_process_packet(struct twidjoy *twidjoy) in twidjoy_process_packet() argument
89 struct input_dev *dev = twidjoy->dev; in twidjoy_process_packet()
90 unsigned char *data = twidjoy->data; in twidjoy_process_packet()
124 struct twidjoy *twidjoy = serio_get_drvdata(serio); in twidjoy_interrupt() local
131 twidjoy->idx = 0; /* this byte starts a new packet */ in twidjoy_interrupt()
132 else if (twidjoy->idx == 0) in twidjoy_interrupt()
135 if (twidjoy->idx < TWIDJOY_MAX_LENGTH) in twidjoy_interrupt()
136 twidjoy->data[twidjoy->idx++] = data; in twidjoy_interrupt()
138 if (twidjoy->idx == TWIDJOY_MAX_LENGTH) { in twidjoy_interrupt()
[all …]
H A DMakefile39 obj-$(CONFIG_JOYSTICK_TWIDJOY) += twidjoy.o
H A DKconfig208 module will be called twidjoy.