Home
last modified time | relevance | path

Searched defs:appleir (Results 1 – 1 of 1) sorted by relevance

/linux-4.19.296/drivers/hid/
Dhid-appleir.c115 struct appleir { struct
118 unsigned short keymap[ARRAY_SIZE(appleir_key_table)]; argument
119 struct timer_list key_up_timer; /* timer for key up */
120 spinlock_t lock; /* protects .current_key */
121 int current_key; /* the currently pressed key */
122 int prev_key_idx; /* key index in a 2 packets message */
159 static void key_up(struct hid_device *hid, struct appleir *appleir, int key) in key_up()
165 static void key_down(struct hid_device *hid, struct appleir *appleir, int key) in key_down()
171 static void battery_flat(struct appleir *appleir) in battery_flat()
178 struct appleir *appleir = from_timer(appleir, t, key_up_timer); in key_up_tick() local
[all …]