Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/staging/speakup/
Dvarhandlers.c51 static struct st_var_header *var_ptrs[MAXVARS] = { NULL, NULL, NULL }; variable
95 if (!var_ptrs[0]) { in speakup_register_var()
98 var_ptrs[p_header->var_id] = p_header; in speakup_register_var()
102 p_header = var_ptrs[var->var_id]; in speakup_register_var()
124 p_header = var_ptrs[var_id]; in speakup_unregister_var()
134 p_header = var_ptrs[var_id]; in spk_get_var_header()
148 if (strcmp(name, var_ptrs[i]->name) == 0) in spk_var_header_by_name()
149 return var_ptrs[i]; in spk_var_header_by_name()
157 BUG_ON(!var_ptrs[var_id]); in spk_get_var()
158 return var_ptrs[var_id]->data; in spk_get_var()