Home
last modified time | relevance | path

Searched refs:parm (Results 1 – 17 of 17) sorted by relevance

/sound/synth/emux/
Demux_proc.c54 vp->reg.parm.moddelay, in snd_emux_proc_info_read()
55 vp->reg.parm.modatkhld, in snd_emux_proc_info_read()
56 vp->reg.parm.moddcysus, in snd_emux_proc_info_read()
57 vp->reg.parm.modrelease); in snd_emux_proc_info_read()
59 vp->reg.parm.voldelay, in snd_emux_proc_info_read()
60 vp->reg.parm.volatkhld, in snd_emux_proc_info_read()
61 vp->reg.parm.voldcysus, in snd_emux_proc_info_read()
62 vp->reg.parm.volrelease); in snd_emux_proc_info_read()
64 vp->reg.parm.lfo1delay, in snd_emux_proc_info_read()
65 vp->reg.parm.lfo2delay, in snd_emux_proc_info_read()
[all …]
Demux_synth.c548 struct soundfont_voice_parm *parm; in setup_voice() local
567 parm = &vp->reg.parm; in setup_voice()
570 if (LO_BYTE(parm->modatkhld) >= 0x80 && parm->moddelay >= 0x8000) { in setup_voice()
571 parm->moddelay = 0xbfff; in setup_voice()
572 pitch = (HI_BYTE(parm->pefe) << 4) + vp->apitch; in setup_voice()
576 vp->ftarget = parm->cutoff + LO_BYTE(parm->pefe); in setup_voice()
580 vp->ftarget = parm->cutoff; in setup_voice()
596 if (LO_BYTE(parm->modatkhld) >= 0x80) { in setup_voice()
597 parm->modatkhld &= ~0xff; in setup_voice()
598 parm->modatkhld |= 0x7f; in setup_voice()
[all …]
Dsoundfont.c222 struct soundfont_open_parm parm; in open_patch() local
233 if (copy_from_user(&parm, data, sizeof(parm))) in open_patch()
236 if (is_special_type(parm.type)) { in open_patch()
237 parm.type |= SNDRV_SFNT_PAT_SHARED; in open_patch()
238 sf = newsf(sflist, parm.type, NULL); in open_patch()
240 sf = newsf(sflist, parm.type, parm.name); in open_patch()
583 init_voice_parm(&tmpzone.v.parm); in load_info()
619 init_voice_parm(&avp->parm); in init_voice_info()
1067 zone->v.parm.volatkhld = in load_guspatch()
1070 zone->v.parm.voldcysus = (calc_gus_sustain(patch.env_offset[2]) << 8) | in load_guspatch()
[all …]
Demux_effect.c203 srcp = (unsigned char*)&vp->reg.parm + offset; in snd_emux_send_effect()
204 origp = (unsigned char*)&vp->zone->v.parm + offset; in snd_emux_send_effect()
248 srcp = (unsigned char*)&vp->reg.parm + offset; in snd_emux_setup_effect()
/sound/hda/
Dhdac_device.c225 unsigned int verb, unsigned int parm) in snd_hdac_make_cmd() argument
231 (verb & ~0xfff) || (parm & ~0xffff)) { in snd_hdac_make_cmd()
233 addr, nid, verb, parm); in snd_hdac_make_cmd()
240 val |= parm; in snd_hdac_make_cmd()
276 unsigned int verb, unsigned int parm, unsigned int *res) in snd_hdac_read() argument
278 unsigned int cmd = snd_hdac_make_cmd(codec, nid, verb, parm); in snd_hdac_read()
293 int _snd_hdac_read_parm(struct hdac_device *codec, hda_nid_t nid, int parm, in _snd_hdac_read_parm() argument
298 cmd = snd_hdac_regmap_encode_verb(nid, AC_VERB_PARAMETERS) | parm; in _snd_hdac_read_parm()
313 int parm) in snd_hdac_read_parm_uncached() argument
317 cmd = snd_hdac_regmap_encode_verb(nid, AC_VERB_PARAMETERS) | parm; in snd_hdac_read_parm_uncached()
[all …]
/sound/isa/sb/
Demu8000_callback.c89 dcysusv = 0x8000 | (unsigned char)vp->reg.parm.modrelease; in release_voice()
91 dcysusv = 0x8000 | (unsigned char)vp->reg.parm.volrelease; in release_voice()
244 EMU8000_ENVVAL_WRITE(hw, ch, vp->reg.parm.moddelay); in start_voice()
245 EMU8000_ATKHLD_WRITE(hw, ch, vp->reg.parm.modatkhld); in start_voice()
246 EMU8000_DCYSUS_WRITE(hw, ch, vp->reg.parm.moddcysus); in start_voice()
247 EMU8000_ENVVOL_WRITE(hw, ch, vp->reg.parm.voldelay); in start_voice()
248 EMU8000_ATKHLDV_WRITE(hw, ch, vp->reg.parm.volatkhld); in start_voice()
256 EMU8000_PEFE_WRITE(hw, ch, vp->reg.parm.pefe); in start_voice()
259 EMU8000_LFO1VAL_WRITE(hw, ch, vp->reg.parm.lfo1delay); in start_voice()
260 EMU8000_LFO2VAL_WRITE(hw, ch, vp->reg.parm.lfo2delay); in start_voice()
[all …]
/sound/pci/emu10k1/
Demu10k1_callback.c123 dcysusv = 0x8000 | (unsigned char)vp->reg.parm.modrelease; in release_voice()
125 dcysusv = 0x8000 | (unsigned char)vp->reg.parm.volrelease | DCYSUSV_CHANNELENABLE_MASK; in release_voice()
196 snd_emu10k1_ptr_write(hw, TREMFRQ, vp->ch, vp->reg.parm.tremfrq); in update_voice()
360 snd_emu10k1_ptr_write(hw, ENVVAL, ch, vp->reg.parm.moddelay); in start_voice()
361 snd_emu10k1_ptr_write(hw, ATKHLDM, ch, vp->reg.parm.modatkhld); in start_voice()
362 snd_emu10k1_ptr_write(hw, DCYSUSM, ch, vp->reg.parm.moddcysus); in start_voice()
363 snd_emu10k1_ptr_write(hw, ENVVOL, ch, vp->reg.parm.voldelay); in start_voice()
364 snd_emu10k1_ptr_write(hw, ATKHLDV, ch, vp->reg.parm.volatkhld); in start_voice()
373 snd_emu10k1_ptr_write(hw, PEFE, ch, vp->reg.parm.pefe); in start_voice()
376 snd_emu10k1_ptr_write(hw, LFOVAL1, ch, vp->reg.parm.lfo1delay); in start_voice()
[all …]
/sound/core/seq/oss/
Dseq_oss_timer.c75 abstime_t parm = ev->t.time; in snd_seq_oss_process_timer_event() local
80 parm += rec->cur_tick; in snd_seq_oss_process_timer_event()
84 if (parm == 0) { in snd_seq_oss_process_timer_event()
86 } else if (parm >= rec->cur_tick) { in snd_seq_oss_process_timer_event()
88 rec->cur_tick = parm; in snd_seq_oss_process_timer_event()
99 parm = (ev->echo >> 8) & 0xffffff; in snd_seq_oss_process_timer_event()
100 if (parm > rec->cur_tick) { in snd_seq_oss_process_timer_event()
102 rec->cur_tick = parm; in snd_seq_oss_process_timer_event()
Dseq_oss_event.h67 unsigned char note, parm; member
Dseq_oss_event.c181 return note_on_event(dp, q->v.dev, q->v.chn, q->v.note, q->v.parm, ev); in chn_voice_event()
184 return note_off_event(dp, q->v.dev, q->v.chn, q->v.note, q->v.parm, ev); in chn_voice_event()
188 q->v.chn, q->v.note, q->v.parm, ev); in chn_voice_event()
Dseq_oss_midi.c587 ossev.v.parm = ev->data.note.velocity; in send_synth_event()
/sound/pci/hda/
Dpatch_via.c317 unsigned int verb, parm; in __analog_low_current_mode() local
332 parm = enable ? 0x02 : 0x00; /* 0x02: 2/3x, 0x00: 1x */ in __analog_low_current_mode()
338 parm = enable ? 0x51 : 0xe1; /* 0x51: 4/28x, 0xe1: 1x */ in __analog_low_current_mode()
342 parm = enable ? 0x01 : 0x1d; /* 0x01: 4/40x, 0x1d: 1x */ in __analog_low_current_mode()
348 parm = enable ? 0x00 : 0xe0; /* 0x00: 4/40x, 0xe0: 1x */ in __analog_low_current_mode()
353 parm = enable ? 0x00 : 0xe0; /* 0x00: 4/40x, 0xe0: 1x */ in __analog_low_current_mode()
359 snd_hda_codec_write(codec, codec->core.afg, 0, verb, parm); in __analog_low_current_mode()
Dhda_codec.c303 unsigned int parm; in snd_hda_get_num_devices() local
309 parm = snd_hdac_read_parm_uncached(&codec->core, nid, AC_PAR_DEVLIST_LEN); in snd_hda_get_num_devices()
310 if (parm == -1) in snd_hda_get_num_devices()
311 parm = 0; in snd_hda_get_num_devices()
312 return parm & AC_DEV_LIST_LEN_MASK; in snd_hda_get_num_devices()
329 unsigned int parm; in snd_hda_get_devices() local
332 parm = snd_hda_get_num_devices(codec, nid); in snd_hda_get_devices()
333 if (!parm) /* not multi-stream capable */ in snd_hda_get_devices()
336 dev_len = parm + 1; in snd_hda_get_devices()
342 AC_VERB_GET_DEVICE_LIST, devices, &parm)) in snd_hda_get_devices()
[all …]
Dhda_proc.c22 #define param_read(codec, nid, parm) \ argument
23 snd_hdac_read_parm_uncached(&(codec)->core, nid, parm)
Dpatch_ca0132.c1516 unsigned int verb, unsigned int parm, unsigned int *res) in codec_send_command() argument
1519 response = snd_hda_codec_read(codec, nid, 0, verb, parm); in codec_send_command()
/sound/pci/korg1212/
Dkorg1212.c825 int parm, rc; in snd_korg1212_SetRate() local
832 parm = s44[korg1212->clkSource]; in snd_korg1212_SetRate()
836 parm = s48[korg1212->clkSource]; in snd_korg1212_SetRate()
843 korg1212->clkSrcRate = parm; in snd_korg1212_SetRate()
/sound/pci/riptide/
Driptide.c484 static int sendcmd(struct cmdif *cif, u32 flags, u32 cmd, u32 parm,
821 static int sendcmd(struct cmdif *cif, u32 flags, u32 cmd, u32 parm, in sendcmd() argument
869 WRITE_PORT_ULONG(cmdport->data2, parm); in sendcmd()
916 flags, cmd, parm, ret ? ret->retlongs[0] : 0, in sendcmd()