Lines Matching refs:var_id
96 BUG_ON(!var || var->var_id < 0 || var->var_id >= MAXVARS); in speakup_register_var()
100 var_ptrs[p_header->var_id] = p_header; in speakup_register_var()
104 p_header = var_ptrs[var->var_id]; in speakup_register_var()
121 void speakup_unregister_var(enum var_id_t var_id) in speakup_unregister_var() argument
125 BUG_ON(var_id < 0 || var_id >= MAXVARS); in speakup_unregister_var()
126 p_header = var_ptrs[var_id]; in speakup_unregister_var()
130 struct st_var_header *spk_get_var_header(enum var_id_t var_id) in spk_get_var_header() argument
134 if (var_id < 0 || var_id >= MAXVARS) in spk_get_var_header()
136 p_header = var_ptrs[var_id]; in spk_get_var_header()
156 struct var_t *spk_get_var(enum var_id_t var_id) in spk_get_var() argument
158 BUG_ON(var_id < 0 || var_id >= MAXVARS); in spk_get_var()
159 BUG_ON(!var_ptrs[var_id]); in spk_get_var()
160 return var_ptrs[var_id]->data; in spk_get_var()
164 struct punc_var_t *spk_get_punc_var(enum var_id_t var_id) in spk_get_punc_var() argument
170 while ((where->var_id != -1) && (!rv)) { in spk_get_punc_var()
171 if (where->var_id == var_id) in spk_get_punc_var()
222 if (var->var_id == PUNC_LEVEL) { in spk_set_num_var()
229 if (var->var_id < FIRST_SYNTH_VAR || !synth) in spk_set_num_var()
236 if (var->var_id == PITCH) in spk_set_num_var()