Lines Matching refs:fx
103 struct snd_emux_effect_table *fx = chan->private; in effect_set_byte() local
105 effect = fx->val[type]; in effect_set_byte()
106 if (fx->flag[type] == EMUX_FX_FLAG_ADD) { in effect_set_byte()
124 struct snd_emux_effect_table *fx = chan->private; in effect_set_word() local
126 effect = *(unsigned short*)&fx->val[type]; in effect_set_word()
127 if (fx->flag[type] == EMUX_FX_FLAG_ADD) in effect_set_word()
141 struct snd_emux_effect_table *fx = chan->private; in effect_get_offset() local
143 if (fx->flag[hi]) in effect_get_offset()
144 addr = (short)fx->val[hi]; in effect_get_offset()
146 if (fx->flag[lo]) in effect_get_offset()
147 addr += (short)fx->val[lo]; in effect_get_offset()
184 struct snd_emux_effect_table *fx; in snd_emux_send_effect() local
188 fx = chan->private; in snd_emux_send_effect()
189 if (emu == NULL || fx == NULL) in snd_emux_send_effect()
194 fx->val[type] = val; in snd_emux_send_effect()
195 fx->flag[type] = mode; in snd_emux_send_effect()
236 struct snd_emux_effect_table *fx; in snd_emux_setup_effect() local
240 if (! (fx = chan->private)) in snd_emux_setup_effect()
246 if (! fx->flag[i] || (offset = parm_defs[i].offset) < 0) in snd_emux_setup_effect()