Home
last modified time | relevance | path

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

12

/sound/synth/emux/
Demux_synth.c35 static void update_voice(struct snd_emux *emu, struct snd_emux_voice *vp, int update);
235 if (snd_BUG_ON(!emu || !emu->ops.update)) in snd_emux_key_press()
255 snd_emux_update_channel(struct snd_emux_port *port, struct snd_midi_channel *chan, int update) in snd_emux_update_channel() argument
262 if (! update) in snd_emux_update_channel()
266 if (snd_BUG_ON(!emu || !emu->ops.update)) in snd_emux_update_channel()
273 update_voice(emu, vp, update); in snd_emux_update_channel()
282 snd_emux_update_port(struct snd_emux_port *port, int update) in snd_emux_update_port() argument
289 if (! update) in snd_emux_update_port()
293 if (snd_BUG_ON(!emu || !emu->ops.update)) in snd_emux_update_port()
300 update_voice(emu, vp, update); in snd_emux_update_port()
[all …]
Demux_voice.h42 struct snd_midi_channel *chan, int update);
43 void snd_emux_update_port(struct snd_emux_port *port, int update);
Demux_effect.c41 int update; /* flgas for real-time update */ member
184 if (! parm_defs[type].update || (offset = parm_defs[type].offset) < 0) in snd_emux_send_effect()
213 snd_emux_update_channel(port, chan, parm_defs[type].update); in snd_emux_send_effect()
/sound/isa/sb/
Demu8000_callback.c21 static void update_voice(struct snd_emux_voice *vp, int update);
58 .update = update_voice,
111 update_voice(struct snd_emux_voice *vp, int update) in update_voice() argument
116 if (update & SNDRV_EMUX_UPDATE_VOLUME) in update_voice()
118 if (update & SNDRV_EMUX_UPDATE_PITCH) in update_voice()
120 if ((update & SNDRV_EMUX_UPDATE_PAN) && in update_voice()
123 if (update & SNDRV_EMUX_UPDATE_FMMOD) in update_voice()
125 if (update & SNDRV_EMUX_UPDATE_TREMFREQ) in update_voice()
127 if (update & SNDRV_EMUX_UPDATE_FM2FRQ2) in update_voice()
129 if (update & SNDRV_EMUX_UPDATE_Q) in update_voice()
/sound/soc/tegra/
Dtegra210_ahub.c61 struct snd_soc_dapm_update update[TEGRA_XBAR_UPDATE_MAX_REG] = { }; in tegra_ahub_put_value_enum() local
83 update[i].reg = e->reg + (TEGRA210_XBAR_PART1_RX * i); in tegra_ahub_put_value_enum()
84 update[i].val = (i == reg_idx) ? reg_val : 0; in tegra_ahub_put_value_enum()
85 update[i].mask = ahub->soc_data->mask[i]; in tegra_ahub_put_value_enum()
86 update[i].kcontrol = kctl; in tegra_ahub_put_value_enum()
89 if (snd_soc_component_test_bits(cmpnt, update[i].reg, in tegra_ahub_put_value_enum()
90 update[i].mask, in tegra_ahub_put_value_enum()
91 update[i].val)) in tegra_ahub_put_value_enum()
94 &update[i]); in tegra_ahub_put_value_enum()
/sound/pci/emu10k1/
Demu10k1_callback.c33 static void update_voice(struct snd_emux_voice *vp, int update);
57 .update = update_voice,
179 update_voice(struct snd_emux_voice *vp, int update) in update_voice() argument
184 if (update & SNDRV_EMUX_UPDATE_VOLUME) in update_voice()
186 if (update & SNDRV_EMUX_UPDATE_PITCH) in update_voice()
188 if (update & SNDRV_EMUX_UPDATE_PAN) { in update_voice()
192 if (update & SNDRV_EMUX_UPDATE_FMMOD) in update_voice()
194 if (update & SNDRV_EMUX_UPDATE_TREMFREQ) in update_voice()
196 if (update & SNDRV_EMUX_UPDATE_FM2FRQ2) in update_voice()
198 if (update & SNDRV_EMUX_UPDATE_Q) in update_voice()
/sound/soc/codecs/
Dwm9712.c225 struct snd_soc_dapm_update update = {}; 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()
Dwm9713.c234 struct snd_soc_dapm_update update = {}; 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()
Dadau17x1.c193 struct snd_soc_dapm_update update = {}; in adau17x1_dsp_mux_enum_put() local
219 update.kcontrol = kcontrol; in adau17x1_dsp_mux_enum_put()
220 update.mask = 0xff; in adau17x1_dsp_mux_enum_put()
221 update.reg = reg; in adau17x1_dsp_mux_enum_put()
222 update.val = val; in adau17x1_dsp_mux_enum_put()
225 ucontrol->value.enumerated.item[0], e, &update); in adau17x1_dsp_mux_enum_put()
Dtlv320aic3x.c172 struct snd_soc_dapm_update update = {}; in snd_soc_dapm_put_volsw_aic3x() local
191 update.kcontrol = kcontrol; in snd_soc_dapm_put_volsw_aic3x()
192 update.reg = reg; in snd_soc_dapm_put_volsw_aic3x()
193 update.mask = mask; in snd_soc_dapm_put_volsw_aic3x()
194 update.val = val; in snd_soc_dapm_put_volsw_aic3x()
197 &update); in snd_soc_dapm_put_volsw_aic3x()
/sound/soc/
Dsoc-dapm.c1745 struct snd_soc_dapm_update *update = card->update; in dapm_widget_update() local
1751 if (!update || !dapm_kcontrol_is_powered(update->kcontrol)) in dapm_widget_update()
1754 wlist = dapm_kcontrol_get_wlist(update->kcontrol); in dapm_widget_update()
1758 ret = w->event(w, update->kcontrol, SND_SOC_DAPM_PRE_REG); in dapm_widget_update()
1768 ret = soc_dapm_update_bits(w->dapm, update->reg, update->mask, in dapm_widget_update()
1769 update->val); in dapm_widget_update()
1774 if (update->has_second_set) { in dapm_widget_update()
1775 ret = soc_dapm_update_bits(w->dapm, update->reg2, in dapm_widget_update()
1776 update->mask2, update->val2); in dapm_widget_update()
1785 ret = w->event(w, update->kcontrol, SND_SOC_DAPM_POST_REG); in dapm_widget_update()
[all …]
/sound/pci/ice1712/
Dmaya44.c115 unsigned short update; /* update bits */ member
126 .update = 0x180, /* update and zero-cross enable */
134 .update = 0x100, /* zero-cross enable */
142 .update = 0x100, /* update */
207 data |= vol->update; in maya_vol_put()
209 vol->mask | vol->update, data); in maya_vol_put()
/sound/soc/sh/rcar/
Drsnd.h717 void (*update)(struct rsnd_dai_stream *io, struct rsnd_mod *mod); member
748 void (*update)(struct rsnd_dai_stream *io,
755 #define rsnd_kctrl_new_m(mod, io, rtd, name, accept, update, cfg, size, max) \ argument
756 rsnd_kctrl_new(mod, io, rtd, name, accept, update, rsnd_kctrl_init_m(cfg), \
759 #define rsnd_kctrl_new_s(mod, io, rtd, name, accept, update, cfg, max) \ argument
760 rsnd_kctrl_new(mod, io, rtd, name, accept, update, rsnd_kctrl_init_s(cfg), \
763 #define rsnd_kctrl_new_e(mod, io, rtd, name, accept, update, cfg, texts, size) \ argument
764 rsnd_kctrl_new(mod, io, rtd, name, accept, update, rsnd_kctrl_init_s(cfg), \
Dcore.c1591 if (change && cfg->update) in rsnd_kctrl_put()
1592 cfg->update(cfg->io, cfg->mod); in rsnd_kctrl_put()
1662 void (*update)(struct rsnd_dai_stream *io, in rsnd_kctrl_new()
1708 cfg->update = update; in rsnd_kctrl_new()
/sound/aoa/fabrics/
Dlayout.c854 int v, update; in layout_notify() local
862 update = ldev->switch_on_headphone; in layout_notify()
863 if (update) { in layout_notify()
871 update = ldev->switch_on_lineout; in layout_notify()
872 if (update) { in layout_notify()
882 if (update) { in layout_notify()
/sound/soc/sof/
DKconfig138 bool "SOF force to use IPC for position update on SKL+"
140 This option force to handle stream position update IPCs and run pcm
143 On platforms (e.g. Intel SKL-) where position update IPC is the only
145 if you are trying to debug pointer update with position IPCs or where
/sound/pci/ctxfi/
Dcttimer.c247 int update; in ct_xfitimer_callback() local
253 update = ct_xfitimer_reprogram(atimer, 1); in ct_xfitimer_callback()
255 if (update) in ct_xfitimer_callback()
/sound/drivers/vx/
Dvx_pcm.c650 int err, update; in vx_update_pipe_position() local
660 update = (int)(count - pipe->cur_count); in vx_update_pipe_position()
662 pipe->position += update; in vx_update_pipe_position()
665 pipe->transferred += update; in vx_update_pipe_position()
/sound/firewire/digi00x/
Ddigi00x.c204 .update = snd_dg00x_update,
/sound/firewire/motu/
Dmotu.c207 .update = motu_bus_update,
/sound/firewire/tascam/
Dtascam.c256 .update = snd_tscm_update,
/sound/soc/qcom/qdsp6/
Dq6routing.c485 struct snd_soc_dapm_update *update = NULL; in msm_routing_put_audio_mixer() local
495 snd_soc_dapm_mixer_update_power(dapm, kcontrol, 1, update); in msm_routing_put_audio_mixer()
501 snd_soc_dapm_mixer_update_power(dapm, kcontrol, 0, update); in msm_routing_put_audio_mixer()
/sound/firewire/fireface/
Dff.c274 .update = snd_ff_update,
/sound/firewire/dice/
Ddice.c406 .update = dice_bus_reset,
/sound/firewire/oxfw/
Doxfw.c409 .update = oxfw_bus_reset,

12