Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/accessibility/speakup/
A Dvarhandlers.c97 BUG_ON(!var || var->var_id < 0 || var->var_id >= MAXVARS); in speakup_register_var()
126 BUG_ON(var_id < 0 || var_id >= MAXVARS); in speakup_unregister_var()
127 p_header = var_ptrs[var_id]; in speakup_unregister_var()
135 if (var_id < 0 || var_id >= MAXVARS) in spk_get_var_header()
137 p_header = var_ptrs[var_id]; in spk_get_var_header()
160 BUG_ON(var_id < 0 || var_id >= MAXVARS); in spk_get_var()
161 BUG_ON(!var_ptrs[var_id]); in spk_get_var()
162 return var_ptrs[var_id]->data; in spk_get_var()
173 if (where->var_id == var_id) in spk_get_punc_var()
224 if (var->var_id == PUNC_LEVEL) { in spk_set_num_var()
[all …]
A 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);
A Dspeakup_soft.c176 while (var->var_id != MAXVARS) { in get_initstring()
177 if (var->var_id != CAPS_START && var->var_id != CAPS_STOP && in get_initstring()
178 var->var_id != PAUSE && var->var_id != DIRECT) { in get_initstring()
446 if (var->var_id != PUNC_LEVEL) in softsynth_adjust()
A 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
A Dsynth.c416 (var->var_id >= 0) && (var->var_id < MAXVARS); var++) in do_synth_init()
444 for (var = synth->vars; var->var_id != MAXVARS; var++) in synth_release()
445 speakup_unregister_var(var->var_id); in synth_release()
A Dspk_priv.h46 struct var_t *spk_get_var(enum var_id_t var_id);
A 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()
A Dmain.c1853 int var_id = (int)value - VAR_START; in inc_dec_var() local
1854 int how = (var_id & 1) ? E_INC : E_DEC; in inc_dec_var()
1856 var_id = var_id / 2 + FIRST_SET_VAR; in inc_dec_var()
1857 p_header = spk_get_var_header(var_id); in inc_dec_var()
2376 for (var = spk_vars; var->var_id != MAXVARS; var++) in speakup_init()
2379 (var->var_id >= 0) && (var->var_id < MAXVARS); var++) in speakup_init()
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A Dbtf_endian.c23 int var_id; in test_btf_endian() local
71 var_id = btf__add_var(btf, "some_var", BTF_VAR_GLOBAL_ALLOCATED, 1); in test_btf_endian()
72 ASSERT_GT(var_id, 0, "var_id"); in test_btf_endian()
91 t = btf__type_by_id(swap_btf, var_id); in test_btf_endian()

Completed in 19 milliseconds