Home
last modified time | relevance | path

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

/sound/synth/emux/
Demux_proc.c67 vp->reg.parm.moddelay, in snd_emux_proc_info_read()
68 vp->reg.parm.modatkhld, in snd_emux_proc_info_read()
69 vp->reg.parm.moddcysus, in snd_emux_proc_info_read()
70 vp->reg.parm.modrelease); in snd_emux_proc_info_read()
72 vp->reg.parm.voldelay, in snd_emux_proc_info_read()
73 vp->reg.parm.volatkhld, in snd_emux_proc_info_read()
74 vp->reg.parm.voldcysus, in snd_emux_proc_info_read()
75 vp->reg.parm.volrelease); in snd_emux_proc_info_read()
77 vp->reg.parm.lfo1delay, in snd_emux_proc_info_read()
78 vp->reg.parm.lfo2delay, in snd_emux_proc_info_read()
[all …]
Demux_synth.c562 struct soundfont_voice_parm *parm; in setup_voice() local
581 parm = &vp->reg.parm; in setup_voice()
584 if (LO_BYTE(parm->modatkhld) >= 0x80 && parm->moddelay >= 0x8000) { in setup_voice()
585 parm->moddelay = 0xbfff; in setup_voice()
586 pitch = (HI_BYTE(parm->pefe) << 4) + vp->apitch; in setup_voice()
590 vp->ftarget = parm->cutoff + LO_BYTE(parm->pefe); in setup_voice()
594 vp->ftarget = parm->cutoff; in setup_voice()
610 if (LO_BYTE(parm->modatkhld) >= 0x80) { in setup_voice()
611 parm->modatkhld &= ~0xff; in setup_voice()
612 parm->modatkhld |= 0x7f; in setup_voice()
[all …]
Dsoundfont.c235 struct soundfont_open_parm parm; in open_patch() local
246 if (copy_from_user(&parm, data, sizeof(parm))) in open_patch()
249 if (is_special_type(parm.type)) { in open_patch()
250 parm.type |= SNDRV_SFNT_PAT_SHARED; in open_patch()
251 sf = newsf(sflist, parm.type, NULL); in open_patch()
253 sf = newsf(sflist, parm.type, parm.name); in open_patch()
592 init_voice_parm(&tmpzone.v.parm); in load_info()
628 init_voice_parm(&avp->parm); in init_voice_info()
1070 zone->v.parm.volatkhld = in load_guspatch()
1073 zone->v.parm.voldcysus = (calc_gus_sustain(patch.env_offset[2]) << 8) | in load_guspatch()
[all …]
Demux_effect.c214 srcp = (unsigned char*)&vp->reg.parm + offset; in snd_emux_send_effect()
215 origp = (unsigned char*)&vp->zone->v.parm + offset; in snd_emux_send_effect()
255 srcp = (unsigned char*)&vp->reg.parm + offset; in snd_emux_setup_effect()
/sound/hda/
Dhdac_device.c216 unsigned int verb, unsigned int parm) in snd_hdac_make_cmd() argument
222 (verb & ~0xfff) || (parm & ~0xffff)) { in snd_hdac_make_cmd()
224 addr, nid, verb, parm); in snd_hdac_make_cmd()
231 val |= parm; in snd_hdac_make_cmd()
269 unsigned int verb, unsigned int parm, unsigned int *res) in snd_hdac_read() argument
271 unsigned int cmd = snd_hdac_make_cmd(codec, nid, verb, parm); in snd_hdac_read()
282 int _snd_hdac_read_parm(struct hdac_device *codec, hda_nid_t nid, int parm, in _snd_hdac_read_parm() argument
287 cmd = snd_hdac_regmap_encode_verb(nid, AC_VERB_PARAMETERS) | parm; in _snd_hdac_read_parm()
302 int parm) in snd_hdac_read_parm_uncached() argument
308 val = snd_hdac_read_parm(codec, nid, parm); in snd_hdac_read_parm_uncached()
[all …]
/sound/oss/
Dsys_timer.c117 unsigned long parm = *(int *) &event[4]; in def_tmr_event() local
122 parm += prev_event_time; in def_tmr_event()
124 if (parm > 0) in def_tmr_event()
128 if (parm <= curr_ticks) /* It's the time */ in def_tmr_event()
131 time = parm; in def_tmr_event()
152 if (parm) in def_tmr_event()
154 if (parm < 8) in def_tmr_event()
155 parm = 8; in def_tmr_event()
156 if (parm > 360) in def_tmr_event()
157 parm = 360; in def_tmr_event()
[all …]
Dsound_timer.c116 unsigned long parm = *(int *) &event[4]; in timer_event() local
121 parm += prev_event_time; in timer_event()
123 if (parm > 0) in timer_event()
127 if (parm <= curr_ticks) /* It's the time */ in timer_event()
129 time = parm; in timer_event()
151 if (parm) in timer_event()
153 if (parm < 8) in timer_event()
154 parm = 8; in timer_event()
155 if (parm > 250) in timer_event()
156 parm = 250; in timer_event()
[all …]
Dmpu401.c122 static void timer_ext_event(struct mpu_config *devc, int event, int parm);
1399 unsigned long parm = *(unsigned int *) &event[4]; in mpu_timer_event() local
1405 parm += prev_event_time; in mpu_timer_event()
1407 if (parm > 0) in mpu_timer_event()
1411 if (parm <= curr_ticks) /* It's the time */ in mpu_timer_event()
1413 time = parm; in mpu_timer_event()
1440 if (parm) in mpu_timer_event()
1442 if (parm < 8) in mpu_timer_event()
1443 parm = 8; in mpu_timer_event()
1444 if (parm > 250) in mpu_timer_event()
[all …]
Dsequencer.c448 #define parm event_rec[5] in seq_chn_voice_event() macro
464 if (cmd == MIDI_NOTEON && parm == 0) in seq_chn_voice_event()
467 parm = 64; in seq_chn_voice_event()
499 synth_devs[dev]->start_note(dev, voice, note, parm); in seq_chn_voice_event()
505 synth_devs[dev]->kill_note(dev, voice, note, parm); in seq_chn_voice_event()
511 synth_devs[dev]->aftertouch(dev, voice, parm); in seq_chn_voice_event()
520 #undef parm in seq_chn_voice_event()
630 unsigned int parm = *(int *) &event_rec[4]; in seq_timing_event() local
644 parm += prev_event_time; in seq_timing_event()
652 if (parm > 0) in seq_timing_event()
[all …]
Ddev_table.h141 void (*audio_callback) (int dev, int parm);
/sound/isa/sb/
Demu8000_callback.c102 dcysusv = 0x8000 | (unsigned char)vp->reg.parm.modrelease; in release_voice()
104 dcysusv = 0x8000 | (unsigned char)vp->reg.parm.volrelease; in release_voice()
257 EMU8000_ENVVAL_WRITE(hw, ch, vp->reg.parm.moddelay); in start_voice()
258 EMU8000_ATKHLD_WRITE(hw, ch, vp->reg.parm.modatkhld); in start_voice()
259 EMU8000_DCYSUS_WRITE(hw, ch, vp->reg.parm.moddcysus); in start_voice()
260 EMU8000_ENVVOL_WRITE(hw, ch, vp->reg.parm.voldelay); in start_voice()
261 EMU8000_ATKHLDV_WRITE(hw, ch, vp->reg.parm.volatkhld); in start_voice()
269 EMU8000_PEFE_WRITE(hw, ch, vp->reg.parm.pefe); in start_voice()
272 EMU8000_LFO1VAL_WRITE(hw, ch, vp->reg.parm.lfo1delay); in start_voice()
273 EMU8000_LFO2VAL_WRITE(hw, ch, vp->reg.parm.lfo2delay); in start_voice()
[all …]
/sound/pci/emu10k1/
Demu10k1_callback.c135 dcysusv = 0x8000 | (unsigned char)vp->reg.parm.modrelease; in release_voice()
137 dcysusv = 0x8000 | (unsigned char)vp->reg.parm.volrelease | DCYSUSV_CHANNELENABLE_MASK; in release_voice()
208 snd_emu10k1_ptr_write(hw, TREMFRQ, vp->ch, vp->reg.parm.tremfrq); in update_voice()
372 snd_emu10k1_ptr_write(hw, ENVVAL, ch, vp->reg.parm.moddelay); in start_voice()
373 snd_emu10k1_ptr_write(hw, ATKHLDM, ch, vp->reg.parm.modatkhld); in start_voice()
374 snd_emu10k1_ptr_write(hw, DCYSUSM, ch, vp->reg.parm.moddcysus); in start_voice()
375 snd_emu10k1_ptr_write(hw, ENVVOL, ch, vp->reg.parm.voldelay); in start_voice()
376 snd_emu10k1_ptr_write(hw, ATKHLDV, ch, vp->reg.parm.volatkhld); in start_voice()
385 snd_emu10k1_ptr_write(hw, PEFE, ch, vp->reg.parm.pefe); in start_voice()
388 snd_emu10k1_ptr_write(hw, LFOVAL1, ch, vp->reg.parm.lfo1delay); in start_voice()
[all …]
/sound/core/seq/oss/
Dseq_oss_timer.c88 abstime_t parm = ev->t.time; in snd_seq_oss_process_timer_event() local
93 parm += rec->cur_tick; in snd_seq_oss_process_timer_event()
97 if (parm == 0) { in snd_seq_oss_process_timer_event()
99 } else if (parm >= rec->cur_tick) { in snd_seq_oss_process_timer_event()
101 rec->cur_tick = parm; in snd_seq_oss_process_timer_event()
112 parm = (ev->echo >> 8) & 0xffffff; in snd_seq_oss_process_timer_event()
113 if (parm > rec->cur_tick) { in snd_seq_oss_process_timer_event()
115 rec->cur_tick = parm; in snd_seq_oss_process_timer_event()
Dseq_oss_event.h80 unsigned char note, parm; member
Dseq_oss_event.c194 return note_on_event(dp, q->v.dev, q->v.chn, q->v.note, q->v.parm, ev); in chn_voice_event()
197 return note_off_event(dp, q->v.dev, q->v.chn, q->v.note, q->v.parm, ev); in chn_voice_event()
201 q->v.chn, q->v.note, q->v.parm, ev); in chn_voice_event()
Dseq_oss_midi.c580 ossev.v.parm = ev->data.note.velocity; in send_synth_event()
/sound/pci/hda/
Dhda_codec.h318 unsigned int verb, unsigned int parm) in snd_hda_codec_read() argument
320 return snd_hdac_codec_read(&codec->core, nid, flags, verb, parm); in snd_hda_codec_read()
325 unsigned int verb, unsigned int parm) in snd_hda_codec_write() argument
327 return snd_hdac_codec_write(&codec->core, nid, flags, verb, parm); in snd_hda_codec_write()
375 int flags, unsigned int verb, unsigned int parm) in snd_hda_codec_write_cache() argument
377 return snd_hdac_regmap_write(&codec->core, nid, verb, parm); in snd_hda_codec_write_cache()
380 #define snd_hda_codec_update_cache(codec, nid, flags, verb, parm) \ argument
381 snd_hda_codec_write_cache(codec, nid, flags, verb, parm)
Dpatch_via.c357 unsigned int verb, parm; in __analog_low_current_mode() local
372 parm = enable ? 0x02 : 0x00; /* 0x02: 2/3x, 0x00: 1x */ in __analog_low_current_mode()
378 parm = enable ? 0x51 : 0xe1; /* 0x51: 4/28x, 0xe1: 1x */ in __analog_low_current_mode()
382 parm = enable ? 0x01 : 0x1d; /* 0x01: 4/40x, 0x1d: 1x */ in __analog_low_current_mode()
388 parm = enable ? 0x00 : 0xe0; /* 0x00: 4/40x, 0xe0: 1x */ in __analog_low_current_mode()
393 parm = enable ? 0x00 : 0xe0; /* 0x00: 4/40x, 0xe0: 1x */ in __analog_low_current_mode()
399 snd_hda_codec_write(codec, codec->core.afg, 0, verb, parm); in __analog_low_current_mode()
Dlocal.h7 int hdac_read_parm(struct hdac_device *codec, hda_nid_t nid, int parm);
Dhda_codec.c319 unsigned int parm; in get_num_devices() local
325 parm = snd_hdac_read_parm_uncached(&codec->core, nid, AC_PAR_DEVLIST_LEN); in get_num_devices()
326 if (parm == -1) in get_num_devices()
327 parm = 0; in get_num_devices()
328 return parm & AC_DEV_LIST_LEN_MASK; in get_num_devices()
344 unsigned int parm; in snd_hda_get_devices() local
347 parm = get_num_devices(codec, nid); in snd_hda_get_devices()
348 if (!parm) /* not multi-stream capable */ in snd_hda_get_devices()
351 dev_len = parm + 1; in snd_hda_get_devices()
357 AC_VERB_GET_DEVICE_LIST, devices, &parm)) in snd_hda_get_devices()
[all …]
Dhda_proc.c36 #define param_read(codec, nid, parm) \ argument
37 snd_hdac_read_parm_uncached(&(codec)->core, nid, parm)
Dpatch_ca0132.c795 unsigned int verb, unsigned int parm, unsigned int *res) in codec_send_command() argument
798 response = snd_hda_codec_read(codec, nid, 0, verb, parm); in codec_send_command()
/sound/pci/korg1212/
Dkorg1212.c840 int parm, rc; in snd_korg1212_SetRate() local
847 parm = s44[korg1212->clkSource]; in snd_korg1212_SetRate()
851 parm = s48[korg1212->clkSource]; in snd_korg1212_SetRate()
858 korg1212->clkSrcRate = parm; in snd_korg1212_SetRate()
/sound/pci/riptide/
Driptide.c500 static int sendcmd(struct cmdif *cif, u32 flags, u32 cmd, u32 parm,
837 static int sendcmd(struct cmdif *cif, u32 flags, u32 cmd, u32 parm, in sendcmd() argument
885 WRITE_PORT_ULONG(cmdport->data2, parm); in sendcmd()
932 flags, cmd, parm, ret ? ret->retlongs[0] : 0, in sendcmd()