Searched defs:appleir (Results 1 – 2 of 2) sorted by relevance
| /kernel/linux/linux-6.6/drivers/hid/ |
| D | hid-appleir.c | 107 struct appleir { struct 110 unsigned short keymap[ARRAY_SIZE(appleir_key_table)]; argument 111 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 …]
|
| /kernel/linux/linux-5.10/drivers/hid/ |
| D | hid-appleir.c | 107 struct appleir { struct 110 unsigned short keymap[ARRAY_SIZE(appleir_key_table)]; argument 111 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 …]
|