Home
last modified time | relevance | path

Searched refs:p1 (Results 1 – 12 of 12) sorted by relevance

/sound/synth/emux/
Demux_oss.c339 unsigned short p1; in emuspec_control() local
350 p1 = *(unsigned short *) &event[4]; in emuspec_control()
361 snd_emux_send_effect_oss(port, chan, p1, p2); in emuspec_control()
384 port->volume_atten = (short)p1; in emuspec_control()
391 chan->midi_pressure = p1; in emuspec_control()
397 reset_port_mode(port, p1); in emuspec_control()
410 if (p1 < EMUX_MD_END) in emuspec_control()
411 port->ctrls[p1] = p2; in emuspec_control()
418 emu->ops.oss_ioctl(emu, cmd, p1, p2); in emuspec_control()
434 unsigned short p1; in gusspec_control() local
[all …]
/sound/core/seq/oss/
Dseq_oss_event.c140 return note_off_event(dp, q->e.dev, q->e.chn, q->e.p1, q->e.p2, ev); in extended_event()
143 return note_on_event(dp, q->e.dev, q->e.chn, q->e.p1, q->e.p2, ev); in extended_event()
147 q->e.chn, 0, q->e.p1, ev); in extended_event()
151 q->e.chn, 0, q->e.p1, ev); in extended_event()
155 val = (char)q->e.p1; in extended_event()
162 switch (q->e.p1) { in extended_event()
176 q->e.chn, q->e.p1, val, ev); in extended_event()
216 q->l.chn, 0, q->l.p1, ev); in chn_common_event()
220 q->l.chn, q->l.p1, q->l.val, ev); in chn_common_event()
Dseq_oss_event.h61 unsigned char p1, p2, p3, p4; member
70 unsigned char p1, p2; member
Dseq_oss_midi.c587 ossev.l.p1 = ev->data.control.param; in send_synth_event()
/sound/oss/
Dsequencer.c529 unsigned char p1 = event_rec[4]; in seq_chn_common_event() local
549 synth_devs[dev]->chn_info[chn].pgm_num = p1; in seq_chn_common_event()
551 synth_devs[dev]->set_instr(dev, chn, p1); in seq_chn_common_event()
554 synth_devs[dev]->set_instr(dev, chn, p1); in seq_chn_common_event()
561 if (chn > 15 || p1 > 127) in seq_chn_common_event()
564 synth_devs[dev]->chn_info[chn].controllers[p1] = w14 & 0x7f; in seq_chn_common_event()
566 if (p1 < 32) /* Setting MSB should clear LSB to 0 */ in seq_chn_common_event()
567 synth_devs[dev]->chn_info[chn].controllers[p1 + 32] = 0; in seq_chn_common_event()
574 if (p1 < 64) /* Combine MSB and LSB */ in seq_chn_common_event()
577 chn_info[chn].controllers[p1 & ~32] & 0x7f) << 7) in seq_chn_common_event()
[all …]
/sound/usb/
Dmixer.c719 void *p1; in __check_input_term() local
728 p1 = find_audio_control_unit(state, id); in __check_input_term()
729 if (!p1) in __check_input_term()
732 hdr = p1; in __check_input_term()
737 struct uac_input_terminal_descriptor *d = p1; in __check_input_term()
743 struct uac2_input_terminal_descriptor *d = p1; in __check_input_term()
763 struct uac_feature_unit_descriptor *d = p1; in __check_input_term()
768 struct uac_mixer_unit_descriptor *d = p1; in __check_input_term()
777 struct uac_selector_unit_descriptor *d = p1; in __check_input_term()
792 struct uac_processing_unit_descriptor *d = p1; in __check_input_term()
[all …]
Dmidi.c523 uint8_t p1, uint8_t p2, in snd_usbmidi_output_standard_packet() argument
530 buf[1] = p1; in snd_usbmidi_output_standard_packet()
540 uint8_t p1, uint8_t p2, in snd_usbmidi_output_midiman_packet() argument
546 buf[0] = p1; in snd_usbmidi_output_midiman_packet()
/sound/isa/sb/
Demu8000_callback.c40 static int oss_ioctl(struct snd_emux *emu, int cmd, int p1, int p2);
485 oss_ioctl(struct snd_emux *emu, int cmd, int p1, int p2) in oss_ioctl() argument
493 hw->reverb_mode = p1; in oss_ioctl()
498 hw->chorus_mode = p1; in oss_ioctl()
507 hw->bass_level = p1; in oss_ioctl()
/sound/firewire/
Dfcp.c316 const u8 *p1, *p2; in is_matching_response() local
319 p1 = response; in is_matching_response()
324 if ((mask & 1) && p1[i] != p2[i]) in is_matching_response()
/sound/pci/asihpi/
Dhpifunc.c33 static u16 hpi_handle_indexes(const u32 h, u16 *p1, u16 *p2) in hpi_handle_indexes() argument
41 *p1 = (u16)uhandle.h.adapter_index; in hpi_handle_indexes()
1364 #define hpi_control_param1_get(h, a, p1) \ argument
1365 hpi_control_param_get(h, a, 0, 0, p1, NULL)
1366 #define hpi_control_param2_get(h, a, p1, p2) \ argument
1367 hpi_control_param_get(h, a, 0, 0, p1, p2)
Dhpi_internal.h708 u32 p1; member
Dhpi6000.c617 phr->u.ax.assert.p1 = in adapter_get_asserts()