Home
last modified time | relevance | path

Searched refs:number (Results 1 – 25 of 117) sorted by relevance

12345

/sound/core/
Dpcm_trace.h18 __field( unsigned int, number )
28 __entry->card = (substream)->pcm->card->number;
30 __entry->number = (substream)->number;
41 __entry->number,
56 __field( unsigned int, number )
64 __entry->card = (substream)->pcm->card->number;
66 __entry->number = (substream)->number;
76 __entry->number,
89 __field( unsigned int, number )
94 __entry->card = (substream)->pcm->card->number;
[all …]
Dsound_oss.c68 minor = SNDRV_MINOR_OSS(card->number, (dev ? SNDRV_MINOR_OSS_MIXER1 : SNDRV_MINOR_OSS_MIXER)); in snd_oss_kernel_minor()
79 minor = SNDRV_MINOR_OSS(card->number, (dev ? SNDRV_MINOR_OSS_PCM1 : SNDRV_MINOR_OSS_PCM)); in snd_oss_kernel_minor()
84 minor = SNDRV_MINOR_OSS(card->number, (dev ? SNDRV_MINOR_OSS_MIDI1 : SNDRV_MINOR_OSS_MIDI)); in snd_oss_kernel_minor()
87 minor = SNDRV_MINOR_OSS(card->number, SNDRV_MINOR_OSS_DMFM); in snd_oss_kernel_minor()
111 if (card && card->number >= SNDRV_MINOR_OSS_DEVICES) in snd_register_oss_device()
119 preg->card = card ? card->number : -1; in snd_register_oss_device()
170 if (card && card->number >= SNDRV_MINOR_OSS_DEVICES) in snd_unregister_oss_device()
Dpcm_param_trace.h43 __entry->card = substream->pcm->card->number;
45 __entry->subdevice = substream->number;
93 __entry->card = substream->pcm->card->number;
95 __entry->subdevice = substream->number;
/sound/pci/emu10k1/
Dvoice.c48 static int voice_alloc(struct snd_emu10k1 *emu, int type, int number, in voice_alloc() argument
56 for (i = emu->next_free_voice, j = 0; j < NUM_G ; i += number, j += number) { in voice_alloc()
64 if ((number == 2) && (i % 2)) { in voice_alloc()
70 for (k = 0; k < number; k++) { in voice_alloc()
80 last_voice = (i + number) % NUM_G; in voice_alloc()
89 for (i = 0; i < number; i++) { in voice_alloc()
115 int snd_emu10k1_voice_alloc(struct snd_emu10k1 *emu, int type, int number, in snd_emu10k1_voice_alloc() argument
123 if (snd_BUG_ON(!number)) in snd_emu10k1_voice_alloc()
128 result = voice_alloc(emu, type, number, rvoice); in snd_emu10k1_voice_alloc()
163 snd_emu10k1_voice_init(emu, pvoice->number); in snd_emu10k1_voice_free()
Demupcm.c101 ptr = snd_emu10k1_ptr_read(emu, CCCA, epcm->voices[0]->number) & 0x00ffffff; in snd_emu10k1_efx_playback_pointer()
140 epcm->voices[i] = &epcm->emu->voices[epcm->voices[0]->number + i]; in snd_emu10k1_pcm_channel_alloc()
299 voice = evoice->number; in snd_emu10k1_pcm_init_voice()
515 &emu->pcm_mixer[substream->number]); in snd_emu10k1_playback_prepare()
519 &emu->pcm_mixer[substream->number]); in snd_emu10k1_playback_prepare()
645 voice = evoice->number; in snd_emu10k1_playback_invalidate_cache()
685 voice = evoice->number; in snd_emu10k1_playback_prepare_voice()
707 voice = evoice->number; in snd_emu10k1_playback_trigger_voice()
728 voice = evoice->number; in snd_emu10k1_playback_stop_voice()
749 ptr = snd_emu10k1_ptr_read(emu, CCCA, epcm->extra->number); in snd_emu10k1_playback_mangle_extra()
[all …]
/sound/firewire/fireface/
Dff-midi.c22 ff->running_status[substream->number] = 0; in midi_playback_open()
23 ff->rx_midi_error[substream->number] = false; in midi_playback_open()
25 ACCESS_ONCE(ff->rx_midi_substreams[substream->number]) = substream; in midi_playback_open()
40 cancel_work_sync(&ff->rx_midi_work[substream->number]); in midi_playback_close()
41 ACCESS_ONCE(ff->rx_midi_substreams[substream->number]) = NULL; in midi_playback_close()
55 ACCESS_ONCE(ff->tx_midi_substreams[substream->number]) = in midi_capture_trigger()
58 ACCESS_ONCE(ff->tx_midi_substreams[substream->number]) = NULL; in midi_capture_trigger()
71 if (up || !ff->rx_midi_error[substream->number]) in midi_playback_trigger()
72 schedule_work(&ff->rx_midi_work[substream->number]); in midi_playback_trigger()
84 "%s MIDI %d", name, substream->number + 1); in set_midi_substream_names()
/sound/firewire/tascam/
Dtascam-midi.c21 snd_fw_async_midi_port_init(&tscm->out_ports[substream->number]); in midi_playback_open()
41 snd_fw_async_midi_port_finish(&tscm->out_ports[substream->number]); in midi_playback_drain()
52 tscm->tx_midi_substreams[substrm->number] = substrm; in midi_capture_trigger()
54 tscm->tx_midi_substreams[substrm->number] = NULL; in midi_capture_trigger()
67 snd_fw_async_midi_port_run(&tscm->out_ports[substrm->number], in midi_playback_trigger()
110 if (subs->number < tscm->spec->midi_capture_ports) { in snd_tscm_create_midi_devices()
114 tscm->card->shortname, subs->number + 1); in snd_tscm_create_midi_devices()
125 if (subs->number < tscm->spec->midi_playback_ports) { in snd_tscm_create_midi_devices()
129 tscm->card->shortname, subs->number + 1); in snd_tscm_create_midi_devices()
/sound/drivers/opl4/
Dopl4_synth.c287 opl4->voices[i].number = i; in snd_opl4_synth_reset()
383 snd_opl4_write(opl4, OPL4_REG_LEVEL + voice->number, in snd_opl4_update_volume()
400 snd_opl4_write(opl4, OPL4_REG_MISC + voice->number, voice->reg_misc); in snd_opl4_update_pan()
415 snd_opl4_write(opl4, OPL4_REG_LFO_VIBRATO + voice->number, in snd_opl4_update_vibrato_depth()
443 snd_opl4_write(opl4, OPL4_REG_OCTAVE + voice->number, in snd_opl4_update_pitch()
447 snd_opl4_write(opl4, OPL4_REG_F_NUMBER + voice->number, voice->reg_f_number); in snd_opl4_update_pitch()
453 snd_opl4_write(opl4, OPL4_REG_ATTACK_DECAY1 + voice->number, in snd_opl4_update_tone_parameters()
455 snd_opl4_write(opl4, OPL4_REG_LEVEL_DECAY2 + voice->number, in snd_opl4_update_tone_parameters()
457 snd_opl4_write(opl4, OPL4_REG_RELEASE_CORRECTION + voice->number, in snd_opl4_update_tone_parameters()
459 snd_opl4_write(opl4, OPL4_REG_TREMOLO + voice->number, in snd_opl4_update_tone_parameters()
[all …]
/sound/drivers/
Dmtpav.c131 u8 number; member
326 struct mtpav_port *portp = &mtp_card->ports[substream->number]; in snd_mtpav_output_write()
356 struct mtpav_port *portp = &mtp_card->ports[substream->number]; in snd_mtpav_input_open()
374 struct mtpav_port *portp = &mtp_card->ports[substream->number]; in snd_mtpav_input_close()
392 struct mtpav_port *portp = &mtp_card->ports[substream->number]; in snd_mtpav_input_trigger()
445 struct mtpav_port *portp = &mtp_card->ports[substream->number]; in snd_mtpav_output_open()
461 struct mtpav_port *portp = &mtp_card->ports[substream->number]; in snd_mtpav_output_close()
477 struct mtpav_port *portp = &mtp_card->ports[substream->number]; in snd_mtpav_output_trigger()
623 if (substream->number >= 0 && substream->number < chip->num_ports) in snd_mtpav_set_name()
624 sprintf(substream->name, "MTP direct %d", (substream->number % chip->num_ports) + 1); in snd_mtpav_set_name()
[all …]
Dserial-u16550.c524 uart->midi_input[substream->number] = substream; in snd_uart16550_input_open()
536 uart->midi_input[substream->number] = NULL; in snd_uart16550_input_close()
566 uart->midi_output[substream->number] = substream; in snd_uart16550_output_open()
578 uart->midi_output[substream->number] = NULL; in snd_uart16550_output_close()
676 addr_byte = (1 << (substream->number + 4)) | 0x08; in snd_uart16550_output_write()
679 addr_byte = (substream->number << 4) | 0x08; in snd_uart16550_output_write()
696 (uart->prev_out != substream->number || in snd_uart16550_output_write()
706 uart->prev_out = substream->number; in snd_uart16550_output_write()
868 sprintf(substream->name, "Serial MIDI %d", substream->number + 1); in snd_uart16550_substreams()
/sound/isa/wavefront/
Dwavefront_synth.c787 header->number); in wavefront_send_patch()
789 if (header->number >= ARRAY_SIZE(dev->patch_status)) in wavefront_send_patch()
792 dev->patch_status[header->number] |= WF_SLOT_FILLED; in wavefront_send_patch()
795 bptr = munge_int32 (header->number, buf, 2); in wavefront_send_patch()
814 header->number); in wavefront_send_program()
816 if (header->number >= ARRAY_SIZE(dev->prog_status)) in wavefront_send_program()
819 dev->prog_status[header->number] = WF_SLOT_USED; in wavefront_send_program()
836 buf[0] = header->number; in wavefront_send_program()
894 header->number, header->subkey, in wavefront_send_sample()
898 if (header->number == WAVEFRONT_FIND_FREE_SAMPLE_SLOT) { in wavefront_send_sample()
[all …]
/sound/core/seq/
Dseq_clientmgr.c234 clienttab[client->number = c] = client; in seq_create_client1()
240 clienttab[client->number = client_index] = client; in seq_create_client1()
259 clienttablock[client->number] = 1; in seq_free_client1()
260 clienttab[client->number] = NULL; in seq_free_client1()
263 snd_seq_queue_client_leave(client->number); in seq_free_client1()
265 snd_seq_queue_client_termination(client->number); in seq_free_client1()
269 clienttablock[client->number] = 0; in seq_free_client1()
281 client->number); in seq_free_client()
291 client->number, client->type); in seq_free_client()
295 snd_seq_system_client_ev_client_exit(client->number); in seq_free_client()
[all …]
Dseq_ports.c140 pr_warn("ALSA: seq: too many ports for client %d\n", client->number); in snd_seq_create_port()
149 new_port->addr.client = client->number; in snd_seq_create_port()
584 connector->number != src_client->number); in snd_seq_port_connect()
589 connector->number != dest_client->number); in snd_seq_port_connect()
597 connector->number != src_client->number); in snd_seq_port_connect()
629 connector->number != src_client->number); in snd_seq_port_disconnect()
631 connector->number != dest_client->number); in snd_seq_port_disconnect()
/sound/firewire/dice/
Ddice-midi.c56 substrm->number, substrm); in midi_capture_trigger()
59 substrm->number, NULL); in midi_capture_trigger()
73 substrm->number, substrm); in midi_playback_trigger()
76 substrm->number, NULL); in midi_playback_trigger()
88 "%s MIDI %d", dice->card->shortname, subs->number + 1); in set_midi_substream_names()
/sound/firewire/motu/
Dmotu-midi.c92 amdtp_motu_midi_trigger(&motu->tx_stream, substrm->number, in midi_capture_trigger()
95 amdtp_motu_midi_trigger(&motu->tx_stream, substrm->number, in midi_capture_trigger()
109 amdtp_motu_midi_trigger(&motu->rx_stream, substrm->number, in midi_playback_trigger()
112 amdtp_motu_midi_trigger(&motu->rx_stream, substrm->number, in midi_playback_trigger()
125 "%s MIDI %d", motu->card->shortname, subs->number + 1); in set_midi_substream_names()
/sound/firewire/fireworks/
Dfireworks_midi.c85 substrm->number, substrm); in midi_capture_trigger()
88 substrm->number, NULL); in midi_capture_trigger()
102 substrm->number, substrm); in midi_playback_trigger()
105 substrm->number, NULL); in midi_playback_trigger()
117 "%s MIDI %d", efw->card->shortname, subs->number + 1); in set_midi_substream_names()
/sound/firewire/bebob/
Dbebob_midi.c84 substrm->number, substrm); in midi_capture_trigger()
87 substrm->number, NULL); in midi_capture_trigger()
101 substrm->number, substrm); in midi_playback_trigger()
104 substrm->number, NULL); in midi_playback_trigger()
117 bebob->card->shortname, subs->number + 1); in set_midi_substream_names()
/sound/firewire/oxfw/
Doxfw-midi.c94 substrm->number, substrm); in midi_capture_trigger()
97 substrm->number, NULL); in midi_capture_trigger()
111 substrm->number, substrm); in midi_playback_trigger()
114 substrm->number, NULL); in midi_playback_trigger()
127 oxfw->card->shortname, subs->number + 1); in set_midi_substream_names()
/sound/drivers/vx/
Dvx_pcm.c146 rmh.Cmd[0] |= pipe->number << FIELD_SIZE; in vx_set_stream_format()
231 vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); in vx_get_pipe_state()
234 *state = (rmh.Stat[0] & (1 << pipe->number)) ? 1 : 0; in vx_get_pipe_state()
256 vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); in vx_query_hbuffer_size()
280 vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); in vx_pipe_can_start()
302 rmh.Cmd[1] = 1 << pipe->number; in vx_conf_pipe()
391 vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); in vx_stop_pipe()
439 pipe->number = audioid; in vx_alloc_pipe()
460 vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); in vx_free_pipe()
478 vx_set_stream_cmd_params(&rmh, pipe->is_capture, pipe->number); in vx_start_stream()
[all …]
/sound/pci/au88x0/
Dau88x0_pcm.c246 substream->number); in snd_vortex_pcm_hw_params()
252 substream->number); in snd_vortex_pcm_hw_params()
264 chip->pcm_vol[substream->number].active = 1; in snd_vortex_pcm_hw_params()
266 chip->pcm_vol[substream->number].kctl, 1); in snd_vortex_pcm_hw_params()
273 vortex_wt_allocroute(chip, substream->number, in snd_vortex_pcm_hw_params()
276 &chip->dma_wt[substream->number]; in snd_vortex_pcm_hw_params()
277 stream->dma = substream->number; in snd_vortex_pcm_hw_params()
279 vortex_wtdma_setbuffers(chip, substream->number, in snd_vortex_pcm_hw_params()
299 chip->pcm_vol[substream->number].active = 0; in snd_vortex_pcm_hw_free()
301 chip->pcm_vol[substream->number].kctl, in snd_vortex_pcm_hw_free()
[all …]
/sound/drivers/opl3/
Dopl3_midi.c326 chan->number, chan->midi_program, note, vel); in snd_opl3_note_on()
342 if (chan->number >= MAX_OPL3_VOICES) in snd_opl3_note_on()
389 voice = snd_opl3_oss_map[chan->number]; in snd_opl3_note_on()
683 chan->number, chan->midi_program, note); in snd_opl3_note_off_unsafe()
701 if (chan->number < MAX_OPL3_VOICES) { in snd_opl3_note_off_unsafe()
702 voice = snd_opl3_oss_map[chan->number]; in snd_opl3_note_off_unsafe()
729 chan->number, chan->midi_program); in snd_opl3_key_press()
743 chan->number, chan->midi_program); in snd_opl3_terminate_note()
813 if (chan->number < MAX_OPL3_VOICES) { in snd_opl3_pitch_ctrl()
814 voice = snd_opl3_oss_map[chan->number]; in snd_opl3_pitch_ctrl()
[all …]
/sound/isa/gus/
Dgus_pcm.c149 snd_gf1_select_voice(gus, pcmp->pvoices[voice]->number); in snd_gf1_pcm_trigger_up()
168 snd_gf1_select_voice(gus, pcmp->pvoices[voice]->number); in snd_gf1_pcm_trigger_up()
178 snd_gf1_select_voice(gus, pcmp->pvoices[voice]->number); in snd_gf1_pcm_trigger_up()
197 snd_gf1_smart_stop_voice(gus, pvoice->number); in snd_gf1_pcm_interrupt_wave()
203 snd_gf1_smart_stop_voice(gus, pvoice->number); in snd_gf1_pcm_interrupt_wave()
210 snd_gf1_select_voice(gus, pvoice->number); in snd_gf1_pcm_interrupt_wave()
214 snd_gf1_select_voice(gus, pvoice->number); in snd_gf1_pcm_interrupt_wave()
217 snd_gf1_select_voice(gus, pcmp->pvoices[1]->number); in snd_gf1_pcm_interrupt_wave()
220 snd_gf1_select_voice(gus, pvoice->number); in snd_gf1_pcm_interrupt_wave()
238 snd_gf1_select_voice(gus, pcmp->pvoices[idx]->number); in snd_gf1_pcm_interrupt_wave()
[all …]
Dgus_reset.c281 snd_gf1_clear_voices(gus, pvoice->number, pvoice->number); in snd_gf1_alloc_voice()
299 snd_gf1_set_default_handlers(gus, SNDRV_GF1_HANDLER_VOICE | voice->number); in snd_gf1_free_voice()
300 snd_gf1_clear_voices(gus, voice->number, voice->number); in snd_gf1_free_voice()
332 gus->gf1.voices[i].number = i; in snd_gf1_start()
/sound/pci/ali5451/
Dali5451.c186 unsigned int number; member
959 dev_dbg(codec->card->dev, "free_voice: channel=%d\n", pvoice->number); in snd_ali_free_voice()
962 snd_ali_clear_voices(codec, pvoice->number, pvoice->number); in snd_ali_free_voice()
969 snd_ali_free_channel_pcm(codec, pvoice->number); in snd_ali_free_voice()
1110 what |= 1 << (pvoice->number & 0x1f); in snd_ali_trigger()
1112 whati |= 1 << (pvoice->number & 0x1f); in snd_ali_trigger()
1114 whati |= 1 << (evoice->number & 0x1f); in snd_ali_trigger()
1115 what |= 1 << (evoice->number & 0x1f); in snd_ali_trigger()
1235 if (pvoice->number == ALI_SPDIF_IN_CHANNEL || in snd_ali_playback_prepare()
1236 pvoice->number == ALI_PCM_IN_CHANNEL) in snd_ali_playback_prepare()
[all …]
/sound/firewire/digi00x/
Ddigi00x-midi.c51 port = substream->number; in midi_capture_trigger()
73 port = substream->number; in midi_playback_trigger()
102 subs->number + 1); in set_substream_names()

12345