Home
last modified time | relevance | path

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

/Linux-v6.6/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()
437 switch (rdev->seq_mode) { in snd_virmidi_dev_register()
449 pr_err("ALSA: seq_virmidi: seq_mode is not set: %d\n", rdev->seq_mode); in snd_virmidi_dev_register()
463 if (rdev->seq_mode == SNDRV_VIRMIDI_SEQ_DISPATCH) in snd_virmidi_dev_unregister()
516 rdev->seq_mode = SNDRV_VIRMIDI_SEQ_DISPATCH; in snd_virmidi_new()
/Linux-v6.6/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-v6.6/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.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()
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-v6.6/drivers/iio/adc/
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()
/Linux-v6.6/drivers/staging/rts5208/
Dms.c2574 if (ms_card->seq_mode) {
2579 ms_card->seq_mode = 0;
2665 if (ms_card->seq_mode) {
2669 (mode_2k && (ms_card->seq_mode & MODE_512_SEQ)) ||
2670 (!mode_2k && (ms_card->seq_mode & MODE_2K_SEQ)) ||
2673 ms_card->seq_mode = 0;
2686 if (!ms_card->seq_mode) {
2696 ms_card->seq_mode = MODE_2K_SEQ;
2698 ms_card->seq_mode = MODE_512_SEQ;
2705 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-v6.6/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-v6.6/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-v6.6/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()