Lines Matching refs:fx
89 struct snd_emux_effect_table *fx = chan->private; in effect_set_byte() local
91 effect = fx->val[type]; in effect_set_byte()
92 if (fx->flag[type] == EMUX_FX_FLAG_ADD) { in effect_set_byte()
110 struct snd_emux_effect_table *fx = chan->private; in effect_set_word() local
112 effect = *(unsigned short*)&fx->val[type]; in effect_set_word()
113 if (fx->flag[type] == EMUX_FX_FLAG_ADD) in effect_set_word()
127 struct snd_emux_effect_table *fx = chan->private; in effect_get_offset() local
129 if (fx->flag[hi]) in effect_get_offset()
130 addr = (short)fx->val[hi]; in effect_get_offset()
132 if (fx->flag[lo]) in effect_get_offset()
133 addr += (short)fx->val[lo]; in effect_get_offset()
170 struct snd_emux_effect_table *fx; in snd_emux_send_effect() local
174 fx = chan->private; in snd_emux_send_effect()
175 if (emu == NULL || fx == NULL) in snd_emux_send_effect()
180 fx->val[type] = val; in snd_emux_send_effect()
181 fx->flag[type] = mode; in snd_emux_send_effect()
225 struct snd_emux_effect_table *fx; in snd_emux_setup_effect() local
229 fx = chan->private; in snd_emux_setup_effect()
230 if (!fx) in snd_emux_setup_effect()
236 if (!fx->flag[i]) in snd_emux_setup_effect()