Home
last modified time | relevance | path

Searched refs:button_callback_list (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/drivers/char/
Dnwbutton.c36 static struct button_callback button_callback_list[32]; /* The callback list */ variable
67 for (; (button_callback_list [lp].callback); lp++); in button_add_callback()
68 button_callback_list [lp].callback = callback; in button_add_callback()
69 button_callback_list [lp].count = count; in button_add_callback()
92 if ((button_callback_list [lp].callback) == callback) { in button_del_callback()
93 button_callback_list [lp].callback = NULL; in button_del_callback()
94 button_callback_list [lp].count = 0; in button_del_callback()
115 if ((button_callback_list [lp].count) == bpcount) { in button_consume_callbacks()
116 if (button_callback_list [lp].callback) { in button_consume_callbacks()
117 button_callback_list[lp].callback(); in button_consume_callbacks()