Home
last modified time | relevance | path

Searched refs:update (Results 1 – 25 of 36) 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) in snd_emux_send_effect()
216 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,
180 update_voice(struct snd_emux_voice *vp, int update) in update_voice() argument
185 if (update & SNDRV_EMUX_UPDATE_VOLUME) in update_voice()
187 if (update & SNDRV_EMUX_UPDATE_PITCH) in update_voice()
189 if (update & SNDRV_EMUX_UPDATE_PAN) { in update_voice()
193 if (update & SNDRV_EMUX_UPDATE_FMMOD) in update_voice()
195 if (update & SNDRV_EMUX_UPDATE_TREMFREQ) in update_voice()
197 if (update & SNDRV_EMUX_UPDATE_FM2FRQ2) in update_voice()
199 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.c165 struct snd_soc_dapm_update update = {}; in snd_soc_dapm_put_volsw_aic3x() local
184 update.kcontrol = kcontrol; in snd_soc_dapm_put_volsw_aic3x()
185 update.reg = reg; in snd_soc_dapm_put_volsw_aic3x()
186 update.mask = mask; in snd_soc_dapm_put_volsw_aic3x()
187 update.val = val; in snd_soc_dapm_put_volsw_aic3x()
190 &update); in snd_soc_dapm_put_volsw_aic3x()
/sound/soc/
Dsoc-dapm.c1747 struct snd_soc_dapm_update *update = card->update; in dapm_widget_update() local
1753 if (!update || !dapm_kcontrol_is_powered(update->kcontrol)) in dapm_widget_update()
1756 wlist = dapm_kcontrol_get_wlist(update->kcontrol); in dapm_widget_update()
1760 ret = w->event(w, update->kcontrol, SND_SOC_DAPM_PRE_REG); in dapm_widget_update()
1770 ret = soc_dapm_update_bits(w->dapm, update->reg, update->mask, in dapm_widget_update()
1771 update->val); in dapm_widget_update()
1776 if (update->has_second_set) { in dapm_widget_update()
1777 ret = soc_dapm_update_bits(w->dapm, update->reg2, in dapm_widget_update()
1778 update->mask2, update->val2); in dapm_widget_update()
1787 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.h722 void (*update)(struct rsnd_dai_stream *io, struct rsnd_mod *mod); member
753 void (*update)(struct rsnd_dai_stream *io,
760 #define rsnd_kctrl_new_m(mod, io, rtd, name, accept, update, cfg, size, max) \ argument
761 rsnd_kctrl_new(mod, io, rtd, name, accept, update, rsnd_kctrl_init_m(cfg), \
764 #define rsnd_kctrl_new_s(mod, io, rtd, name, accept, update, cfg, max) \ argument
765 rsnd_kctrl_new(mod, io, rtd, name, accept, update, rsnd_kctrl_init_s(cfg), \
768 #define rsnd_kctrl_new_e(mod, io, rtd, name, accept, update, cfg, texts, size) \ argument
769 rsnd_kctrl_new(mod, io, rtd, name, accept, update, rsnd_kctrl_init_s(cfg), \
Dcore.c1686 if (change && cfg->update) in rsnd_kctrl_put()
1687 cfg->update(cfg->io, cfg->mod); in rsnd_kctrl_put()
1757 void (*update)(struct rsnd_dai_stream *io, in rsnd_kctrl_new()
1803 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/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/soc/sof/
DKconfig154 bool "SOF force to use IPC for position update on SKL+"
156 This option forces to handle stream position update IPCs and run PCM
159 On platforms (e.g. Intel SKL-) where position update IPC is the only
161 If you are trying to debug pointer update with position IPCs or where
/sound/drivers/vx/
Dvx_pcm.c652 int err, update; in vx_update_pipe_position() local
662 update = (int)(count - pipe->cur_count); in vx_update_pipe_position()
664 pipe->position += update; in vx_update_pipe_position()
667 pipe->transferred += update; in vx_update_pipe_position()
/sound/firewire/digi00x/
Ddigi00x.c161 .update = snd_dg00x_update,
/sound/firewire/motu/
Dmotu.c177 .update = motu_bus_update,
/sound/firewire/tascam/
Dtascam.c220 .update = snd_tscm_update,
/sound/firewire/fireface/
Dff.c240 .update = snd_ff_update,
/sound/soc/qcom/qdsp6/
Dq6routing.c489 struct snd_soc_dapm_update *update = NULL; in msm_routing_put_audio_mixer() local
499 snd_soc_dapm_mixer_update_power(dapm, kcontrol, 1, update); in msm_routing_put_audio_mixer()
505 snd_soc_dapm_mixer_update_power(dapm, kcontrol, 0, update); in msm_routing_put_audio_mixer()
/sound/firewire/oxfw/
Doxfw.c381 .update = oxfw_bus_reset,
/sound/firewire/dice/
Ddice.c400 .update = dice_bus_reset,

12