Home
last modified time | relevance | path

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

/linux-6.1.9/sound/core/seq/
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()
436 switch (rdev->seq_mode) { in snd_virmidi_dev_register()
448 pr_err("ALSA: seq_virmidi: seq_mode is not set: %d\n", rdev->seq_mode); in snd_virmidi_dev_register()
462 if (rdev->seq_mode == SNDRV_VIRMIDI_SEQ_DISPATCH) in snd_virmidi_dev_unregister()
515 rdev->seq_mode = SNDRV_VIRMIDI_SEQ_DISPATCH; in snd_virmidi_new()
/linux-6.1.9/include/sound/
Dseq_virmidi.h22 int seq_mode; member
44 int seq_mode; /* SNDRV_VIRMIDI_XXX */ member
Dseq_oss.h21 int seq_mode; /* sequencer mode - see below */ member
/linux-6.1.9/sound/core/seq/oss/
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()
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()
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()
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()
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()
Dseq_oss_midi.c471 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_SYNTH) { in snd_seq_oss_midi_reset()
480 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()
Dseq_oss_readq.h37 int snd_seq_oss_readq_put_timestamp(struct seq_oss_readq *readq, unsigned long curt, int seq_mode);
Dseq_oss_device.h79 int seq_mode; /* sequencer mode */ member
Dseq_oss_timer.c232 if (timer->dp->seq_mode == SNDRV_SEQ_OSS_MODE_SYNTH) in snd_seq_oss_timer_ioctl()
/linux-6.1.9/drivers/iio/adc/
Dxilinx-xadc-core.c762 static int xadc_power_adc_b(struct xadc *xadc, unsigned int seq_mode) in xadc_power_adc_b() argument
776 switch (seq_mode) { in xadc_power_adc_b()
840 int seq_mode; in xadc_preenable() local
849 seq_mode = xadc_get_seq_mode(xadc, scan_mask); in xadc_preenable()
862 if (seq_mode == XADC_CONF1_SEQ_SIMULTANEOUS) in xadc_preenable()
869 ret = xadc_power_adc_b(xadc, seq_mode); in xadc_preenable()
874 seq_mode); in xadc_preenable()
/linux-6.1.9/drivers/staging/rts5208/
Dms.c2572 if (ms_card->seq_mode) {
2577 ms_card->seq_mode = 0;
2663 if (ms_card->seq_mode) {
2667 (mode_2k && (ms_card->seq_mode & MODE_512_SEQ)) ||
2668 (!mode_2k && (ms_card->seq_mode & MODE_2K_SEQ)) ||
2671 ms_card->seq_mode = 0;
2684 if (!ms_card->seq_mode) {
2694 ms_card->seq_mode = MODE_2K_SEQ;
2696 ms_card->seq_mode = MODE_512_SEQ;
2703 ms_card->seq_mode = 0;
[all …]
Dsd.c2011 sd_card->seq_mode = 0;
3136 sd_card->seq_mode = 0;
3220 if (sd_card->seq_mode) {
3234 sd_card->seq_mode = 0;
3307 sd_card->seq_mode = 0;
3335 if (sd_card->seq_mode &&
3356 sd_card->seq_mode = 0;
3394 if (sd_card->seq_mode) {
3489 sd_card->seq_mode = 1;
3499 sd_card->seq_mode = 0;
[all …]
Drtsx_chip.h487 int seq_mode; member
607 u8 seq_mode; member
Drtsx_card.c32 if (sd_card->seq_mode) { in do_remaining_work()
53 if (ms_card->seq_mode) { in do_remaining_work()
/linux-6.1.9/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-6.1.9/sound/synth/emux/
Demux_seq.c371 rdev->seq_mode = SNDRV_VIRMIDI_SEQ_ATTACH; in snd_emux_init_virmidi()
Demux_oss.c129 reset_port_mode(p, arg->seq_mode); in snd_emux_open_seq_oss()
/linux-6.1.9/drivers/net/wireless/broadcom/b43/
Dphy_n.c125 u16 seq_mode = b43_phy_read(dev, B43_NPHY_RFSEQMODE); in b43_nphy_force_rf_sequence() local
139 b43_phy_write(dev, B43_NPHY_RFSEQMODE, seq_mode); in b43_nphy_force_rf_sequence()
1580 u16 seq_mode; in b43_nphy_run_samples() local
1624 seq_mode = b43_phy_read(dev, B43_NPHY_RFSEQMODE); in b43_nphy_run_samples()
1644 b43_phy_write(dev, B43_NPHY_RFSEQMODE, seq_mode); in b43_nphy_run_samples()