Home
last modified time | relevance | path

Searched refs:seq_mode (Results 1 - 25 of 41) sorted by relevance

12

/kernel/linux/linux-5.10/sound/core/seq/
H A Dseq_virmidi.c49 switch (vmidi->seq_mode) { in snd_virmidi_init_event()
137 if (vmidi->seq_mode == SNDRV_VIRMIDI_SEQ_DISPATCH && in snd_vmidi_output_work()
191 vmidi->seq_mode = rdev->seq_mode; in snd_virmidi_input_open()
221 vmidi->seq_mode = rdev->seq_mode; in snd_virmidi_output_open()
425 switch (rdev->seq_mode) { in snd_virmidi_dev_register()
437 pr_err("ALSA: seq_virmidi: seq_mode is not set: %d\n", rdev->seq_mode); in snd_virmidi_dev_register()
451 if (rdev->seq_mode in snd_virmidi_dev_unregister()
[all...]
/kernel/linux/linux-6.6/sound/core/seq/
H A Dseq_virmidi.c49 switch (vmidi->seq_mode) { in snd_virmidi_init_event()
144 if (vmidi->seq_mode == SNDRV_VIRMIDI_SEQ_DISPATCH && in snd_vmidi_output_work()
198 vmidi->seq_mode = rdev->seq_mode; in snd_virmidi_input_open()
228 vmidi->seq_mode = rdev->seq_mode; in snd_virmidi_output_open()
444 switch (rdev->seq_mode) { in snd_virmidi_dev_register()
456 pr_err("ALSA: seq_virmidi: seq_mode is not set: %d\n", rdev->seq_mode); in snd_virmidi_dev_register()
470 if (rdev->seq_mode in snd_virmidi_dev_unregister()
[all...]
/kernel/linux/linux-5.10/sound/core/seq/oss/
H A Dseq_oss_event.c64 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_MUSIC) in snd_seq_oss_process_event()
76 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_MUSIC) in snd_seq_oss_process_event()
81 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_MUSIC) in snd_seq_oss_process_event()
86 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_MUSIC) in snd_seq_oss_process_event()
227 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_MUSIC) in timing_event()
238 if (dp->seq_mode) in timing_event()
243 if (dp->seq_mode) in timing_event()
248 if (dp->seq_mode) in timing_event()
H A Dseq_oss_init.c225 dp->seq_mode = level; in snd_seq_oss_open()
438 if (dp->seq_mode != SNDRV_SEQ_OSS_MODE_MUSIC) { in snd_seq_oss_reset()
494 (dp->seq_mode ? "music" : "synth"), in snd_seq_oss_system_info_read()
496 if (dp->seq_mode) in snd_seq_oss_system_info_read()
H A Dseq_oss_readq.c216 snd_seq_oss_readq_put_timestamp(struct seq_oss_readq *q, unsigned long curt, int seq_mode) in snd_seq_oss_readq_put_timestamp() argument
221 switch (seq_mode) { in snd_seq_oss_readq_put_timestamp()
H A Dseq_oss_rw.c111 dp->seq_mode == SNDRV_SEQ_OSS_MODE_MUSIC) { in snd_seq_oss_write()
127 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_MUSIC) { in snd_seq_oss_write()
H A Dseq_oss_synth.c220 info->arg.seq_mode = dp->seq_mode; in snd_seq_oss_synth_setup()
221 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_SYNTH) in snd_seq_oss_synth_setup()
273 info->arg.seq_mode = dp->seq_mode; in snd_seq_oss_synth_setup_midi()
H A Dseq_oss_midi.c473 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_SYNTH) { in snd_seq_oss_midi_reset()
482 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_MUSIC) { in snd_seq_oss_midi_reset()
532 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_MUSIC) in snd_seq_oss_midi_input()
596 snd_seq_oss_readq_put_timestamp(dp->readq, ev->time.tick, dp->seq_mode); in send_synth_event()
611 snd_seq_oss_readq_put_timestamp(dp->readq, ev->time.tick, dp->seq_mode); in send_midi_event()
H A Dseq_oss_readq.h37 int snd_seq_oss_readq_put_timestamp(struct seq_oss_readq *readq, unsigned long curt, int seq_mode);
H A Dseq_oss_device.h79 int seq_mode; /* sequencer mode */ member
/kernel/linux/linux-6.6/sound/core/seq/oss/
H A Dseq_oss_event.c64 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_MUSIC) in snd_seq_oss_process_event()
76 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_MUSIC) in snd_seq_oss_process_event()
81 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_MUSIC) in snd_seq_oss_process_event()
86 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_MUSIC) in snd_seq_oss_process_event()
227 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_MUSIC) in timing_event()
238 if (dp->seq_mode) in timing_event()
243 if (dp->seq_mode) in timing_event()
248 if (dp->seq_mode) in timing_event()
H A Dseq_oss_init.c224 dp->seq_mode = level; in snd_seq_oss_open()
438 if (dp->seq_mode != SNDRV_SEQ_OSS_MODE_MUSIC) { in snd_seq_oss_reset()
495 (dp->seq_mode ? "music" : "synth"), in snd_seq_oss_system_info_read()
497 if (dp->seq_mode) in snd_seq_oss_system_info_read()
H A Dseq_oss_readq.c216 snd_seq_oss_readq_put_timestamp(struct seq_oss_readq *q, unsigned long curt, int seq_mode) in snd_seq_oss_readq_put_timestamp() argument
221 switch (seq_mode) { in snd_seq_oss_readq_put_timestamp()
H A Dseq_oss_rw.c111 dp->seq_mode == SNDRV_SEQ_OSS_MODE_MUSIC) { in snd_seq_oss_write()
127 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_MUSIC) { in snd_seq_oss_write()
H A Dseq_oss_midi.c480 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_SYNTH) { in snd_seq_oss_midi_reset()
489 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_MUSIC) { in snd_seq_oss_midi_reset()
541 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_MUSIC) in snd_seq_oss_midi_input()
605 snd_seq_oss_readq_put_timestamp(dp->readq, ev->time.tick, dp->seq_mode); in send_synth_event()
620 snd_seq_oss_readq_put_timestamp(dp->readq, ev->time.tick, dp->seq_mode); in send_midi_event()
H A Dseq_oss_synth.c220 info->arg.seq_mode = dp->seq_mode; in snd_seq_oss_synth_setup()
221 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_SYNTH) in snd_seq_oss_synth_setup()
273 info->arg.seq_mode = dp->seq_mode; in snd_seq_oss_synth_setup_midi()
H A Dseq_oss_readq.h37 int snd_seq_oss_readq_put_timestamp(struct seq_oss_readq *readq, unsigned long curt, int seq_mode);
H A Dseq_oss_device.h79 int seq_mode; /* sequencer mode */ member
/kernel/linux/linux-5.10/include/sound/
H A Dseq_virmidi.h22 int seq_mode; member
44 int seq_mode; /* SNDRV_VIRMIDI_XXX */ member
H A Dseq_oss.h21 int seq_mode; /* sequencer mode - see below */ member
53 /* flag: seq_mode */
/kernel/linux/linux-6.6/include/sound/
H A Dseq_virmidi.h22 int seq_mode; member
44 int seq_mode; /* SNDRV_VIRMIDI_XXX */ member
H A Dseq_oss.h21 int seq_mode; /* sequencer mode - see below */ member
53 /* flag: seq_mode */
/kernel/linux/linux-5.10/drivers/iio/adc/
H A Dxilinx-xadc-core.c736 static int xadc_power_adc_b(struct xadc *xadc, unsigned int seq_mode) in xadc_power_adc_b() argument
741 switch (seq_mode) { in xadc_power_adc_b()
801 int seq_mode; in xadc_preenable() local
810 seq_mode = xadc_get_seq_mode(xadc, scan_mask); in xadc_preenable()
823 if (seq_mode == XADC_CONF1_SEQ_SIMULTANEOUS) in xadc_preenable()
830 ret = xadc_power_adc_b(xadc, seq_mode); in xadc_preenable()
835 seq_mode); in xadc_preenable()
/kernel/linux/linux-6.6/drivers/iio/adc/
H A Dxilinx-xadc-core.c771 static int xadc_power_adc_b(struct xadc *xadc, unsigned int seq_mode) in xadc_power_adc_b() argument
785 switch (seq_mode) { in xadc_power_adc_b()
849 int seq_mode; in xadc_preenable() local
858 seq_mode = xadc_get_seq_mode(xadc, scan_mask); in xadc_preenable()
871 if (seq_mode == XADC_CONF1_SEQ_SIMULTANEOUS) in xadc_preenable()
878 ret = xadc_power_adc_b(xadc, seq_mode); in xadc_preenable()
883 seq_mode); in xadc_preenable()
/kernel/linux/linux-5.10/sound/drivers/
H A Dvirmidi.c102 rdev->seq_mode = SNDRV_VIRMIDI_SEQ_DISPATCH; in snd_virmidi_probe()

Completed in 15 milliseconds

12