Searched defs:appleir (Results 1 – 1 of 1) sorted by relevance
107 struct appleir { struct110 unsigned short keymap[ARRAY_SIZE(appleir_key_table)]; argument111 struct timer_list key_up_timer; /* timer for key up */112 spinlock_t lock; /* protects .current_key */113 int current_key; /* the currently pressed key */114 int prev_key_idx; /* key index in a 2 packets message */151 static void key_up(struct hid_device *hid, struct appleir *appleir, int key) in key_up()157 static void key_down(struct hid_device *hid, struct appleir *appleir, int key) in key_down()163 static void battery_flat(struct appleir *appleir) in battery_flat()170 struct appleir *appleir = from_timer(appleir, t, key_up_timer); in key_up_tick() local[all …]