Searched refs:button_map (Results 1 - 2 of 2) sorted by relevance

/openwrt/package/kernel/button-hotplug/src/
H A Dbutton-hotplug.c75 static struct bh_map button_map[] = { variable in typeref:struct:bh_map
215 for (i = 0; i < ARRAY_SIZE(button_map); i++)
216 if (button_map[i].code == code)
237 button_hotplug_create_event(button_map[btn].name,
249 for (i = 0; i < ARRAY_SIZE(button_map); i++)
250 if (test_bit(button_map[i].code, dev->keybit))
253 if (i == ARRAY_SIZE(button_map))
257 (sizeof(unsigned long) * ARRAY_SIZE(button_map)),
/openwrt/package/kernel/gpio-button-hotplug/src/
H A Dgpio-button-hotplug.c84 static struct bh_map button_map[] = { variable in typeref:struct:bh_map
230 for (i = 0; i < ARRAY_SIZE(button_map); i++)
231 if (button_map[i].code == code)
253 button_hotplug_create_event(button_map[btn].name, type,

Completed in 25 milliseconds