Home
last modified time | relevance | path

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

/drivers/staging/speakup/
Dvarhandlers.c92 BUG_ON(!var || var->var_id < 0 || var->var_id >= MAXVARS); in speakup_register_var()
96 var_ptrs[p_header->var_id] = p_header; in speakup_register_var()
100 p_header = var_ptrs[var->var_id]; in speakup_register_var()
118 void speakup_unregister_var(enum var_id_t var_id) in speakup_unregister_var() argument
121 BUG_ON(var_id < 0 || var_id >= MAXVARS); in speakup_unregister_var()
122 p_header = var_ptrs[var_id]; in speakup_unregister_var()
126 struct st_var_header *get_var_header(enum var_id_t var_id) in get_var_header() argument
129 if (var_id < 0 || var_id >= MAXVARS) in get_var_header()
131 p_header = var_ptrs[var_id]; in get_var_header()
154 struct var_t *get_var(enum var_id_t var_id) in get_var() argument
[all …]
Dspeakup.h68 extern void speakup_unregister_var(enum var_id_t var_id);
69 extern struct st_var_header *get_var_header(enum var_id_t var_id);
71 extern struct punc_var_t *get_punc_var(enum var_id_t var_id);
Dspk_types.h104 enum var_id_t var_id; member
121 enum var_id_t var_id; member
130 enum var_id_t var_id; member
Dspeakup_soft.c166 while (var->var_id != MAXVARS) { in get_initstring()
167 if (var->var_id != CAPS_START && var->var_id != CAPS_STOP in get_initstring()
168 && var->var_id != DIRECT) in get_initstring()
Dsynth.c385 (var->var_id >= 0) && (var->var_id < MAXVARS); var++) in do_synth_init()
413 for (var = synth->vars; var->var_id != MAXVARS; var++) in synth_release()
414 speakup_unregister_var(var->var_id); in synth_release()
Dspk_priv.h58 extern struct var_t *get_var(enum var_id_t var_id);
Dkobjects.c465 var = get_punc_var(p_header->var_id); in punc_show()
468 p_header->var_id); in punc_show()
507 var = get_punc_var(p_header->var_id); in punc_store()
510 p_header->var_id); in punc_store()
Dmain.c1764 int var_id = (int)value - VAR_START; in inc_dec_var() local
1765 int how = (var_id & 1) ? E_INC : E_DEC; in inc_dec_var()
1766 var_id = var_id / 2 + FIRST_SET_VAR; in inc_dec_var()
1767 p_header = get_var_header(var_id); in inc_dec_var()
2262 for (var = spk_vars; var->var_id != MAXVARS; var++) in speakup_init()
2265 (var->var_id >= 0) && (var->var_id < MAXVARS); var++) in speakup_init()
/drivers/net/wireless/brcm80211/brcmsmac/
Dmain.c1887 enum brcms_srom_id var_id = BRCMS_SROM_MACADDR; in brcms_c_get_macaddr() local
1891 macaddr = getvar(wlc_hw->sih, var_id); in brcms_c_get_macaddr()
1896 var_id = BRCMS_SROM_ET1MACADDR; in brcms_c_get_macaddr()
1898 var_id = BRCMS_SROM_IL0MACADDR; in brcms_c_get_macaddr()
1900 macaddr = getvar(wlc_hw->sih, var_id); in brcms_c_get_macaddr()
1903 "getvar(%d) not found\n", wlc_hw->unit, var_id); in brcms_c_get_macaddr()