Home
last modified time | relevance | path

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

/drivers/accessibility/speakup/
Dvarhandlers.c95 BUG_ON(!var || var->var_id < 0 || var->var_id >= MAXVARS); in speakup_register_var()
99 var_ptrs[p_header->var_id] = p_header; in speakup_register_var()
103 p_header = var_ptrs[var->var_id]; in speakup_register_var()
120 void speakup_unregister_var(enum var_id_t var_id) in speakup_unregister_var() argument
124 BUG_ON(var_id < 0 || var_id >= MAXVARS); in speakup_unregister_var()
125 p_header = var_ptrs[var_id]; in speakup_unregister_var()
129 struct st_var_header *spk_get_var_header(enum var_id_t var_id) in spk_get_var_header() argument
133 if (var_id < 0 || var_id >= MAXVARS) in spk_get_var_header()
135 p_header = var_ptrs[var_id]; in spk_get_var_header()
155 struct var_t *spk_get_var(enum var_id_t var_id) in spk_get_var() argument
[all …]
Dspeakup.h57 void speakup_unregister_var(enum var_id_t var_id);
58 struct st_var_header *spk_get_var_header(enum var_id_t var_id);
60 struct punc_var_t *spk_get_punc_var(enum var_id_t var_id);
Dspeakup_soft.c160 while (var->var_id != MAXVARS) { in get_initstring()
161 if (var->var_id != CAPS_START && var->var_id != CAPS_STOP && in get_initstring()
162 var->var_id != PAUSE && var->var_id != DIRECT) in get_initstring()
Dspk_types.h109 enum var_id_t var_id; member
126 enum var_id_t var_id; member
135 enum var_id_t var_id; member
Dsynth.c413 (var->var_id >= 0) && (var->var_id < MAXVARS); var++) in do_synth_init()
441 for (var = synth->vars; var->var_id != MAXVARS; var++) in synth_release()
442 speakup_unregister_var(var->var_id); in synth_release()
Dkobjects.c477 var = spk_get_punc_var(p_header->var_id); in punc_show()
480 p_header->var_id); in punc_show()
519 var = spk_get_punc_var(p_header->var_id); in punc_store()
522 p_header->var_id); in punc_store()
667 if (param->var_id == VOICE && synth && in spk_var_store()
Dspk_priv.h46 struct var_t *spk_get_var(enum var_id_t var_id);
Dmain.c1841 int var_id = (int)value - VAR_START; in inc_dec_var() local
1842 int how = (var_id & 1) ? E_INC : E_DEC; in inc_dec_var()
1844 var_id = var_id / 2 + FIRST_SET_VAR; in inc_dec_var()
1845 p_header = spk_get_var_header(var_id); in inc_dec_var()
2364 for (var = spk_vars; var->var_id != MAXVARS; var++) in speakup_init()
2367 (var->var_id >= 0) && (var->var_id < MAXVARS); var++) in speakup_init()