Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/input/joystick/
Dtwidjoy.c78 struct twidjoy { struct
90 static void twidjoy_process_packet(struct twidjoy *twidjoy) in twidjoy_process_packet() argument
92 struct input_dev *dev = twidjoy->dev; in twidjoy_process_packet()
93 unsigned char *data = twidjoy->data; in twidjoy_process_packet()
127 struct twidjoy *twidjoy = serio_get_drvdata(serio); in twidjoy_interrupt() local
134 twidjoy->idx = 0; /* this byte starts a new packet */ in twidjoy_interrupt()
135 else if (twidjoy->idx == 0) in twidjoy_interrupt()
138 if (twidjoy->idx < TWIDJOY_MAX_LENGTH) in twidjoy_interrupt()
139 twidjoy->data[twidjoy->idx++] = data; in twidjoy_interrupt()
141 if (twidjoy->idx == TWIDJOY_MAX_LENGTH) { in twidjoy_interrupt()
[all …]
DMakefile38 obj-$(CONFIG_JOYSTICK_TWIDJOY) += twidjoy.o
DKconfig207 module will be called twidjoy.