Home
last modified time | relevance | path

Searched refs:seq_mode (Results 1 – 22 of 22) sorted by relevance

/Linux-v4.19/sound/core/seq/
Dseq_virmidi.c63 switch (vmidi->seq_mode) { in snd_virmidi_init_event()
150 if (vmidi->seq_mode == SNDRV_VIRMIDI_SEQ_DISPATCH && in snd_vmidi_output_work()
206 vmidi->seq_mode = rdev->seq_mode; in snd_virmidi_input_open()
236 vmidi->seq_mode = rdev->seq_mode; in snd_virmidi_output_open()
440 switch (rdev->seq_mode) { in snd_virmidi_dev_register()
452 pr_err("ALSA: seq_virmidi: seq_mode is not set: %d\n", rdev->seq_mode); in snd_virmidi_dev_register()
466 if (rdev->seq_mode == SNDRV_VIRMIDI_SEQ_DISPATCH) in snd_virmidi_dev_unregister()
518 rdev->seq_mode = SNDRV_VIRMIDI_SEQ_DISPATCH; in snd_virmidi_new()
/Linux-v4.19/include/sound/
Dseq_virmidi.h36 int seq_mode; member
58 int seq_mode; /* SNDRV_VIRMIDI_XXX */ member
Dseq_oss.h34 int seq_mode; /* sequencer mode - see below */ member
/Linux-v4.19/sound/core/seq/oss/
Dseq_oss_event.c77 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_MUSIC) in snd_seq_oss_process_event()
89 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_MUSIC) in snd_seq_oss_process_event()
94 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_MUSIC) in snd_seq_oss_process_event()
99 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_MUSIC) in snd_seq_oss_process_event()
240 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_MUSIC) in timing_event()
251 if (dp->seq_mode) in timing_event()
256 if (dp->seq_mode) in timing_event()
261 if (dp->seq_mode) in timing_event()
Dseq_oss_init.c238 dp->seq_mode = level; in snd_seq_oss_open()
451 if (dp->seq_mode != SNDRV_SEQ_OSS_MODE_MUSIC) { in snd_seq_oss_reset()
507 (dp->seq_mode ? "music" : "synth"), in snd_seq_oss_system_info_read()
509 if (dp->seq_mode) in snd_seq_oss_system_info_read()
Dseq_oss_synth.c233 info->arg.seq_mode = dp->seq_mode; in snd_seq_oss_synth_setup()
234 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_SYNTH) in snd_seq_oss_synth_setup()
286 info->arg.seq_mode = dp->seq_mode; in snd_seq_oss_synth_setup_midi()
Dseq_oss_readq.c229 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
234 switch (seq_mode) { in snd_seq_oss_readq_put_timestamp()
Dseq_oss_rw.c124 dp->seq_mode == SNDRV_SEQ_OSS_MODE_MUSIC) { in snd_seq_oss_write()
140 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_MUSIC) { in snd_seq_oss_write()
Dseq_oss_midi.c475 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_SYNTH) { in snd_seq_oss_midi_reset()
484 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_MUSIC) { in snd_seq_oss_midi_reset()
534 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_MUSIC) in snd_seq_oss_midi_input()
598 snd_seq_oss_readq_put_timestamp(dp->readq, ev->time.tick, dp->seq_mode); in send_synth_event()
613 snd_seq_oss_readq_put_timestamp(dp->readq, ev->time.tick, dp->seq_mode); in send_midi_event()
Dseq_oss_readq.h50 int snd_seq_oss_readq_put_timestamp(struct seq_oss_readq *readq, unsigned long curt, int seq_mode);
Dseq_oss_device.h91 int seq_mode; /* sequencer mode */ member
Dseq_oss_timer.c245 if (timer->dp->seq_mode == SNDRV_SEQ_OSS_MODE_SYNTH) in snd_seq_oss_timer_ioctl()
/Linux-v4.19/drivers/iio/adc/
Dxilinx-xadc-core.c722 static int xadc_power_adc_b(struct xadc *xadc, unsigned int seq_mode) in xadc_power_adc_b() argument
726 switch (seq_mode) { in xadc_power_adc_b()
786 int seq_mode; in xadc_preenable() local
795 seq_mode = xadc_get_seq_mode(xadc, scan_mask); in xadc_preenable()
805 ret = xadc_power_adc_b(xadc, seq_mode); in xadc_preenable()
810 seq_mode); in xadc_preenable()
/Linux-v4.19/sound/drivers/
Dvirmidi.c116 rdev->seq_mode = SNDRV_VIRMIDI_SEQ_DISPATCH; in snd_virmidi_probe()
/Linux-v4.19/drivers/staging/rts5208/
Dms.c2705 if (ms_card->seq_mode) {
2710 ms_card->seq_mode = 0;
2799 if (ms_card->seq_mode) {
2803 (mode_2k && (ms_card->seq_mode & MODE_512_SEQ)) ||
2804 (!mode_2k && (ms_card->seq_mode & MODE_2K_SEQ)) ||
2807 ms_card->seq_mode = 0;
2821 if (!ms_card->seq_mode) {
2831 ms_card->seq_mode = MODE_2K_SEQ;
2833 ms_card->seq_mode = MODE_512_SEQ;
2840 ms_card->seq_mode = 0;
[all …]
Dsd.c2116 sd_card->seq_mode = 0;
3311 sd_card->seq_mode = 0;
3403 if (sd_card->seq_mode) {
3417 sd_card->seq_mode = 0;
3491 sd_card->seq_mode = 0;
3519 if (sd_card->seq_mode &&
3540 sd_card->seq_mode = 0;
3578 if (sd_card->seq_mode) {
3673 sd_card->seq_mode = 1;
3683 sd_card->seq_mode = 0;
[all …]
Drtsx_chip.h499 int seq_mode; member
619 u8 seq_mode; member
Drtsx_card.c43 if (sd_card->seq_mode) { in do_remaining_work()
64 if (ms_card->seq_mode) { in do_remaining_work()
/Linux-v4.19/Documentation/sound/designs/
Dseq-oss.rst224 int seq_mode;
230 The first three fields, ``app_index``, ``file_mode`` and ``seq_mode``
234 ``seq_oss.h`` for its meaning. The ``seq_mode`` is sequencer operation
/Linux-v4.19/sound/synth/emux/
Demux_seq.c384 rdev->seq_mode = SNDRV_VIRMIDI_SEQ_ATTACH; in snd_emux_init_virmidi()
Demux_oss.c142 reset_port_mode(p, arg->seq_mode); in snd_emux_open_seq_oss()
/Linux-v4.19/drivers/net/wireless/broadcom/b43/
Dphy_n.c137 u16 seq_mode = b43_phy_read(dev, B43_NPHY_RFSEQMODE); in b43_nphy_force_rf_sequence() local
151 b43_phy_write(dev, B43_NPHY_RFSEQMODE, seq_mode); in b43_nphy_force_rf_sequence()
1592 u16 seq_mode; in b43_nphy_run_samples() local
1636 seq_mode = b43_phy_read(dev, B43_NPHY_RFSEQMODE); in b43_nphy_run_samples()
1656 b43_phy_write(dev, B43_NPHY_RFSEQMODE, seq_mode); in b43_nphy_run_samples()