Searched refs:twidjoy (Results 1 – 3 of 3) sorted by relevance
78 struct twidjoy { struct90 static void twidjoy_process_packet(struct twidjoy *twidjoy) in twidjoy_process_packet() argument92 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() local134 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 …]
38 obj-$(CONFIG_JOYSTICK_TWIDJOY) += twidjoy.o
207 module will be called twidjoy.