Lines Matching full:effect
84 /* set byte effect value */
88 short effect; in effect_set_byte() local
91 effect = fx->val[type]; in effect_set_byte()
94 effect += *(char*)valp; in effect_set_byte()
96 effect += *valp; in effect_set_byte()
98 if (effect < parm_defs[type].low) in effect_set_byte()
99 effect = parm_defs[type].low; in effect_set_byte()
100 else if (effect > parm_defs[type].high) in effect_set_byte()
101 effect = parm_defs[type].high; in effect_set_byte()
102 *valp = (unsigned char)effect; in effect_set_byte()
105 /* set word effect value */
109 int effect; in effect_set_word() local
112 effect = *(unsigned short*)&fx->val[type]; in effect_set_word()
114 effect += *valp; in effect_set_word()
115 if (effect < parm_defs[type].low) in effect_set_word()
116 effect = parm_defs[type].low; in effect_set_word()
117 else if (effect > parm_defs[type].high) in effect_set_word()
118 effect = parm_defs[type].high; in effect_set_word()
119 *valp = (unsigned short)effect; in effect_set_word()
159 /* Modify the effect value.
233 /* modify the register values via effect table */ in snd_emux_setup_effect()
270 * effect table
276 p->effect = kcalloc(p->chset.max_channels, in snd_emux_create_effect()
278 if (p->effect) { in snd_emux_create_effect()
280 p->chset.channels[i].private = p->effect + i; in snd_emux_create_effect()
290 kfree(p->effect); in snd_emux_delete_effect()
291 p->effect = NULL; in snd_emux_delete_effect()
297 if (p->effect) { in snd_emux_clear_effect()
298 memset(p->effect, 0, sizeof(struct snd_emux_effect_table) * in snd_emux_clear_effect()