Searched refs:twidjoy (Results 1 – 3 of 3) sorted by relevance
75 struct twidjoy { struct87 static void twidjoy_process_packet(struct twidjoy *twidjoy) in twidjoy_process_packet() argument89 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() local131 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 …]
39 obj-$(CONFIG_JOYSTICK_TWIDJOY) += twidjoy.o
208 module will be called twidjoy.