Home
last modified time | relevance | path

Searched refs:update (Results 1 – 25 of 28) sorted by relevance

12

/sound/synth/emux/
Demux_synth.c49 static void update_voice(struct snd_emux *emu, struct snd_emux_voice *vp, int update);
249 if (snd_BUG_ON(!emu || !emu->ops.update)) in snd_emux_key_press()
269 snd_emux_update_channel(struct snd_emux_port *port, struct snd_midi_channel *chan, int update) in snd_emux_update_channel() argument
276 if (! update) in snd_emux_update_channel()
280 if (snd_BUG_ON(!emu || !emu->ops.update)) in snd_emux_update_channel()
287 update_voice(emu, vp, update); in snd_emux_update_channel()
296 snd_emux_update_port(struct snd_emux_port *port, int update) in snd_emux_update_port() argument
303 if (! update) in snd_emux_update_port()
307 if (snd_BUG_ON(!emu || !emu->ops.update)) in snd_emux_update_port()
314 update_voice(emu, vp, update); in snd_emux_update_port()
[all …]
Demux_voice.h55 struct snd_midi_channel *chan, int update);
56 void snd_emux_update_port(struct snd_emux_port *port, int update);
Demux_effect.c55 int update; /* flgas for real-time update */ member
198 if (! parm_defs[type].update || (offset = parm_defs[type].offset) < 0) in snd_emux_send_effect()
227 snd_emux_update_channel(port, chan, parm_defs[type].update); in snd_emux_send_effect()
/sound/isa/sb/
Demu8000_callback.c34 static void update_voice(struct snd_emux_voice *vp, int update);
71 .update = update_voice,
124 update_voice(struct snd_emux_voice *vp, int update) in update_voice() argument
129 if (update & SNDRV_EMUX_UPDATE_VOLUME) in update_voice()
131 if (update & SNDRV_EMUX_UPDATE_PITCH) in update_voice()
133 if ((update & SNDRV_EMUX_UPDATE_PAN) && in update_voice()
136 if (update & SNDRV_EMUX_UPDATE_FMMOD) in update_voice()
138 if (update & SNDRV_EMUX_UPDATE_TREMFREQ) in update_voice()
140 if (update & SNDRV_EMUX_UPDATE_FM2FRQ2) in update_voice()
142 if (update & SNDRV_EMUX_UPDATE_Q) in update_voice()
/sound/pci/emu10k1/
Demu10k1_callback.c46 static void update_voice(struct snd_emux_voice *vp, int update);
70 .update = update_voice,
192 update_voice(struct snd_emux_voice *vp, int update) in update_voice() argument
197 if (update & SNDRV_EMUX_UPDATE_VOLUME) in update_voice()
199 if (update & SNDRV_EMUX_UPDATE_PITCH) in update_voice()
201 if (update & SNDRV_EMUX_UPDATE_PAN) { in update_voice()
205 if (update & SNDRV_EMUX_UPDATE_FMMOD) in update_voice()
207 if (update & SNDRV_EMUX_UPDATE_TREMFREQ) in update_voice()
209 if (update & SNDRV_EMUX_UPDATE_FM2FRQ2) in update_voice()
211 if (update & SNDRV_EMUX_UPDATE_Q) in update_voice()
/sound/soc/codecs/
Dwm9712.c225 struct snd_soc_dapm_update update = { 0 }; in wm9712_hp_mixer_put() local
241 update.kcontrol = kcontrol; in wm9712_hp_mixer_put()
242 update.reg = wm9712_mixer_mute_regs[shift]; in wm9712_hp_mixer_put()
243 update.mask = 0x8000; in wm9712_hp_mixer_put()
246 update.val = 0x0; in wm9712_hp_mixer_put()
248 update.val = 0x8000; in wm9712_hp_mixer_put()
251 &update); in wm9712_hp_mixer_put()
Dadau17x1.c184 struct snd_soc_dapm_update update = { 0 }; in adau17x1_dsp_mux_enum_put() local
210 update.kcontrol = kcontrol; in adau17x1_dsp_mux_enum_put()
211 update.mask = 0xff; in adau17x1_dsp_mux_enum_put()
212 update.reg = reg; in adau17x1_dsp_mux_enum_put()
213 update.val = val; in adau17x1_dsp_mux_enum_put()
216 ucontrol->value.enumerated.item[0], e, &update); in adau17x1_dsp_mux_enum_put()
Dwm9713.c234 struct snd_soc_dapm_update update = { 0 }; in wm9713_hp_mixer_put() local
250 update.kcontrol = kcontrol; in wm9713_hp_mixer_put()
251 update.reg = wm9713_mixer_mute_regs[shift]; in wm9713_hp_mixer_put()
252 update.mask = 0x8000; in wm9713_hp_mixer_put()
255 update.val = 0x0; in wm9713_hp_mixer_put()
257 update.val = 0x8000; in wm9713_hp_mixer_put()
260 &update); in wm9713_hp_mixer_put()
Dtlv320aic3x.c175 struct snd_soc_dapm_update update = { 0 }; in snd_soc_dapm_put_volsw_aic3x() local
194 update.kcontrol = kcontrol; in snd_soc_dapm_put_volsw_aic3x()
195 update.reg = reg; in snd_soc_dapm_put_volsw_aic3x()
196 update.mask = mask; in snd_soc_dapm_put_volsw_aic3x()
197 update.val = val; in snd_soc_dapm_put_volsw_aic3x()
200 &update); in snd_soc_dapm_put_volsw_aic3x()
/sound/soc/
Dsoc-dapm.c1656 struct snd_soc_dapm_update *update = card->update; in dapm_widget_update() local
1662 if (!update || !dapm_kcontrol_is_powered(update->kcontrol)) in dapm_widget_update()
1665 wlist = dapm_kcontrol_get_wlist(update->kcontrol); in dapm_widget_update()
1671 ret = w->event(w, update->kcontrol, SND_SOC_DAPM_PRE_REG); in dapm_widget_update()
1681 ret = soc_dapm_update_bits(w->dapm, update->reg, update->mask, in dapm_widget_update()
1682 update->val); in dapm_widget_update()
1687 if (update->has_second_set) { in dapm_widget_update()
1688 ret = soc_dapm_update_bits(w->dapm, update->reg2, in dapm_widget_update()
1689 update->mask2, update->val2); in dapm_widget_update()
1700 ret = w->event(w, update->kcontrol, SND_SOC_DAPM_POST_REG); in dapm_widget_update()
[all …]
/sound/soc/sh/rcar/
Drsnd.h621 void (*update)(struct rsnd_dai_stream *io, struct rsnd_mod *mod); member
648 void (*update)(struct rsnd_dai_stream *io,
655 #define rsnd_kctrl_new_m(mod, io, rtd, name, accept, update, cfg, size, max) \ argument
656 rsnd_kctrl_new(mod, io, rtd, name, accept, update, rsnd_kctrl_init_m(cfg), \
659 #define rsnd_kctrl_new_s(mod, io, rtd, name, accept, update, cfg, max) \ argument
660 rsnd_kctrl_new(mod, io, rtd, name, accept, update, rsnd_kctrl_init_s(cfg), \
663 #define rsnd_kctrl_new_e(mod, io, rtd, name, accept, update, cfg, texts) \ argument
664 rsnd_kctrl_new(mod, io, rtd, name, accept, update, rsnd_kctrl_init_s(cfg), \
Dcore.c1225 if (change && cfg->update) in rsnd_kctrl_put()
1226 cfg->update(cfg->io, cfg->mod); in rsnd_kctrl_put()
1262 void (*update)(struct rsnd_dai_stream *io, in rsnd_kctrl_new()
1308 cfg->update = update; in rsnd_kctrl_new()
/sound/pci/ice1712/
Dmaya44.c129 unsigned short update; /* update bits */ member
140 .update = 0x180, /* update and zero-cross enable */
148 .update = 0x100, /* zero-cross enable */
156 .update = 0x100, /* update */
221 data |= vol->update; in maya_vol_put()
223 vol->mask | vol->update, data); in maya_vol_put()
/sound/aoa/fabrics/
Dlayout.c856 int v, update; in layout_notify() local
864 update = ldev->switch_on_headphone; in layout_notify()
865 if (update) { in layout_notify()
873 update = ldev->switch_on_lineout; in layout_notify()
874 if (update) { in layout_notify()
884 if (update) { in layout_notify()
/sound/pci/ctxfi/
Dcttimer.c251 int update; in ct_xfitimer_callback() local
257 update = ct_xfitimer_reprogram(atimer, 1); in ct_xfitimer_callback()
259 if (update) in ct_xfitimer_callback()
/sound/drivers/vx/
Dvx_pcm.c667 int err, update; in vx_update_pipe_position() local
677 update = (int)(count - pipe->cur_count); in vx_update_pipe_position()
679 pipe->position += update; in vx_update_pipe_position()
682 pipe->transferred += update; in vx_update_pipe_position()
/sound/firewire/digi00x/
Ddigi00x.c209 .update = snd_dg00x_update,
/sound/firewire/fireface/
Dff.c193 .update = snd_ff_update,
/sound/firewire/tascam/
Dtascam.c246 .update = snd_tscm_update,
/sound/firewire/motu/
Dmotu.c267 .update = motu_bus_update,
/sound/firewire/dice/
Ddice.c338 .update = dice_bus_reset,
/sound/oss/
Dvidc_fill.S150 moveq r2, r3 @ DMAing A, update B
/sound/pci/lola/
Dlola.h518 int lola_set_src_config(struct lola *chip, unsigned int src_mask, bool update);
Dlola_mixer.c424 int lola_set_src_config(struct lola *chip, unsigned int src_mask, bool update) in lola_set_src_config() argument
441 if (update) { in lola_set_src_config()
/sound/firewire/oxfw/
Doxfw.c461 .update = oxfw_bus_reset,

12