Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/accessibility/speakup/
Dvarhandlers.c96 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()
157 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.c167 while (var->var_id != MAXVARS) { in get_initstring()
168 if (var->var_id != CAPS_START && var->var_id != CAPS_STOP && in get_initstring()
169 var->var_id != PAUSE && var->var_id != DIRECT) { in get_initstring()
437 if (var->var_id != PUNC_LEVEL) in softsynth_adjust()
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.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()
Dspk_priv.h46 struct var_t *spk_get_var(enum var_id_t var_id);
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()
Dmain.c1839 int var_id = (int)value - VAR_START; in inc_dec_var() local
1840 int how = (var_id & 1) ? E_INC : E_DEC; in inc_dec_var()
1842 var_id = var_id / 2 + FIRST_SET_VAR; in inc_dec_var()
1843 p_header = spk_get_var_header(var_id); in inc_dec_var()
2362 for (var = spk_vars; var->var_id != MAXVARS; var++) in speakup_init()
2365 (var->var_id >= 0) && (var->var_id < MAXVARS); var++) in speakup_init()
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
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()