Home
last modified time | relevance | path

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

/sound/synth/emux/
Demux_oss.c347 unsigned short p1; in emuspec_control() local
358 p1 = *(unsigned short *) &event[4]; in emuspec_control()
369 snd_emux_send_effect_oss(port, chan, p1, p2); in emuspec_control()
392 port->volume_atten = (short)p1; in emuspec_control()
399 chan->midi_pressure = p1; in emuspec_control()
405 reset_port_mode(port, p1); in emuspec_control()
418 if (p1 < EMUX_MD_END) in emuspec_control()
419 port->ctrls[p1] = p2; in emuspec_control()
426 emu->ops.oss_ioctl(emu, cmd, p1, p2); in emuspec_control()
442 unsigned short p1; in gusspec_control() local
[all …]
/sound/core/seq/oss/
Dseq_oss_event.c139 return note_off_event(dp, q->e.dev, q->e.chn, q->e.p1, q->e.p2, ev); in extended_event()
142 return note_on_event(dp, q->e.dev, q->e.chn, q->e.p1, q->e.p2, ev); in extended_event()
146 q->e.chn, 0, q->e.p1, ev); in extended_event()
150 q->e.chn, 0, q->e.p1, ev); in extended_event()
154 val = (char)q->e.p1; in extended_event()
161 switch (q->e.p1) { in extended_event()
175 q->e.chn, q->e.p1, val, ev); in extended_event()
215 q->l.chn, 0, q->l.p1, ev); in chn_common_event()
219 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.c591 ossev.l.p1 = ev->data.control.param; in send_synth_event()
/sound/oss/
Dsequencer.c531 unsigned char p1 = event_rec[4]; in seq_chn_common_event() local
551 synth_devs[dev]->chn_info[chn].pgm_num = p1; in seq_chn_common_event()
553 synth_devs[dev]->set_instr(dev, chn, p1); in seq_chn_common_event()
556 synth_devs[dev]->set_instr(dev, chn, p1); in seq_chn_common_event()
563 if (chn > 15 || p1 > 127) in seq_chn_common_event()
566 synth_devs[dev]->chn_info[chn].controllers[p1] = w14 & 0x7f; in seq_chn_common_event()
568 if (p1 < 32) /* Setting MSB should clear LSB to 0 */ in seq_chn_common_event()
569 synth_devs[dev]->chn_info[chn].controllers[p1 + 32] = 0; in seq_chn_common_event()
576 if (p1 < 64) /* Combine MSB and LSB */ in seq_chn_common_event()
579 chn_info[chn].controllers[p1 & ~32] & 0x7f) << 7) in seq_chn_common_event()
[all …]
/sound/firewire/
Dfcp.c148 const u8 *p1, *p2; in is_matching_response() local
151 p1 = response; in is_matching_response()
156 if ((mask & 1) && p1[i] != p2[i]) in is_matching_response()
/sound/usb/
Dmixer.c673 void *p1; in check_input_term() local
676 while ((p1 = find_audio_control_unit(state, id)) != NULL) { in check_input_term()
677 unsigned char *hdr = p1; in check_input_term()
682 struct uac_input_terminal_descriptor *d = p1; in check_input_term()
688 struct uac2_input_terminal_descriptor *d = p1; in check_input_term()
702 struct uac_feature_unit_descriptor *d = p1; in check_input_term()
707 struct uac_mixer_unit_descriptor *d = p1; in check_input_term()
716 struct uac_selector_unit_descriptor *d = p1; in check_input_term()
731 struct uac_processing_unit_descriptor *d = p1; in check_input_term()
752 struct uac_clock_source_descriptor *d = p1; in check_input_term()
[all …]
Dmidi.c483 uint8_t p1, uint8_t p2, uint8_t p3) in snd_usbmidi_output_standard_packet() argument
488 buf[1] = p1; in snd_usbmidi_output_standard_packet()
498 uint8_t p1, uint8_t p2, uint8_t p3) in snd_usbmidi_output_midiman_packet() argument
502 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/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.h704 u32 p1; member
Dhpi6000.c617 phr->u.ax.assert.p1 = in adapter_get_asserts()