/linux-4.4.14/sound/oss/ |
H A D | sequencer.c | 41 * The seq_mode gives the operating mode of the sequencer: 48 static int seq_mode = SEQ_1; variable 93 ev_len = seq_mode == SEQ_1 ? 4 : 8; sequencer_read() 146 if ((seq_mode == SEQ_1) != (len == 4)) seq_copy_to_input() 189 if (seq_mode == SEQ_2) seq_input_event() 250 if (seq_mode == SEQ_2 && ev_code == SEQ_EXTENDED) sequencer_write() 270 if (seq_mode == SEQ_2) sequencer_write() 459 if (seq_mode == SEQ_2) seq_chn_voice_event() 477 if (voice == -1 && seq_mode == SEQ_2 && synth_devs[dev]->alloc_voice) seq_chn_voice_event() 485 if (seq_mode == SEQ_2 && (int) dev < num_synths) seq_chn_voice_event() 544 if (seq_mode == SEQ_2) seq_chn_common_event() 559 if (seq_mode == SEQ_2) seq_chn_common_event() 598 if (seq_mode == SEQ_2) seq_chn_common_event() 632 if (seq_mode == SEQ_2) seq_timing_event() 939 seq_mode = SEQ_2; setup_mode2() 985 seq_mode = SEQ_1; sequencer_open() 1059 if (seq_mode == SEQ_1 && (mode == OPEN_READ || mode == OPEN_READWRITE)) sequencer_open() 1079 if (seq_mode == SEQ_2) { sequencer_open() 1081 tmr->open(tmr_no, seq_mode); sequencer_open() 1175 if (seq_mode == SEQ_2) { sequencer_release() 1244 if (seq_mode == SEQ_2) seq_reset() 1256 else /* seq_mode == SEQ_1 */ seq_reset() 1335 if (seq_mode != SEQ_2) sequencer_ioctl() 1340 if (seq_mode != SEQ_2) sequencer_ioctl() 1393 if (seq_mode == SEQ_2) sequencer_ioctl() 1402 if (seq_mode == SEQ_2) sequencer_ioctl()
|
/linux-4.4.14/sound/core/seq/ |
H A D | seq_virmidi.c | 63 switch (vmidi->seq_mode) { snd_virmidi_init_event() 162 if (vmidi->seq_mode == SNDRV_VIRMIDI_SEQ_DISPATCH && snd_virmidi_output_trigger() 222 vmidi->seq_mode = rdev->seq_mode; snd_virmidi_input_open() 250 vmidi->seq_mode = rdev->seq_mode; snd_virmidi_output_open() 448 switch (rdev->seq_mode) { snd_virmidi_dev_register() 460 pr_err("ALSA: seq_virmidi: seq_mode is not set: %d\n", rdev->seq_mode); snd_virmidi_dev_register() 474 if (rdev->seq_mode == SNDRV_VIRMIDI_SEQ_DISPATCH) snd_virmidi_dev_unregister() 525 rdev->seq_mode = SNDRV_VIRMIDI_SEQ_DISPATCH; snd_virmidi_new()
|
/linux-4.4.14/include/sound/ |
H A D | seq_oss.h | 34 int seq_mode; /* sequencer mode - see below */ member in struct:snd_seq_oss_arg 66 /* flag: seq_mode */
|
H A D | seq_virmidi.h | 36 int seq_mode; member in struct:snd_virmidi 57 int seq_mode; /* SNDRV_VIRMIDI_XXX */ member in struct:snd_virmidi_dev
|
/linux-4.4.14/sound/core/seq/oss/ |
H A D | seq_oss_event.c | 76 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_MUSIC) snd_seq_oss_process_event() 88 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_MUSIC) snd_seq_oss_process_event() 93 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_MUSIC) snd_seq_oss_process_event() 98 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_MUSIC) snd_seq_oss_process_event() 239 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_MUSIC) timing_event() 250 if (dp->seq_mode) timing_event() 255 if (dp->seq_mode) timing_event() 260 if (dp->seq_mode) timing_event()
|
H A D | seq_oss_readq.h | 48 int snd_seq_oss_readq_put_timestamp(struct seq_oss_readq *readq, unsigned long curt, int seq_mode);
|
H A D | seq_oss_readq.c | 200 snd_seq_oss_readq_put_timestamp(struct seq_oss_readq *q, unsigned long curt, int seq_mode) snd_seq_oss_readq_put_timestamp() argument 205 switch (seq_mode) { snd_seq_oss_readq_put_timestamp()
|
H A D | seq_oss_rw.c | 124 dp->seq_mode == SNDRV_SEQ_OSS_MODE_MUSIC) { snd_seq_oss_write() 140 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_MUSIC) { snd_seq_oss_write()
|
H A D | seq_oss_init.c | 238 dp->seq_mode = level; snd_seq_oss_open() 451 if (dp->seq_mode != SNDRV_SEQ_OSS_MODE_MUSIC) { snd_seq_oss_reset() 507 (dp->seq_mode ? "music" : "synth"), snd_seq_oss_system_info_read() 509 if (dp->seq_mode) snd_seq_oss_system_info_read()
|
H A D | seq_oss_midi.c | 473 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_SYNTH) { snd_seq_oss_midi_reset() 482 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_MUSIC) { snd_seq_oss_midi_reset() 532 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_MUSIC) snd_seq_oss_midi_input() 596 snd_seq_oss_readq_put_timestamp(dp->readq, ev->time.tick, dp->seq_mode); send_synth_event() 611 snd_seq_oss_readq_put_timestamp(dp->readq, ev->time.tick, dp->seq_mode); send_midi_event()
|
H A D | seq_oss_synth.c | 232 info->arg.seq_mode = dp->seq_mode; snd_seq_oss_synth_setup() 233 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_SYNTH) snd_seq_oss_synth_setup() 285 info->arg.seq_mode = dp->seq_mode; snd_seq_oss_synth_setup_midi()
|
H A D | seq_oss_device.h | 91 int seq_mode; /* sequencer mode */ member in struct:seq_oss_devinfo
|
H A D | seq_oss_timer.c | 245 if (timer->dp->seq_mode == SNDRV_SEQ_OSS_MODE_SYNTH) snd_seq_oss_timer_ioctl()
|
/linux-4.4.14/sound/drivers/ |
H A D | virmidi.c | 116 rdev->seq_mode = SNDRV_VIRMIDI_SEQ_DISPATCH; snd_virmidi_probe()
|
/linux-4.4.14/drivers/iio/adc/ |
H A D | xilinx-xadc-core.c | 708 static int xadc_power_adc_b(struct xadc *xadc, unsigned int seq_mode) xadc_power_adc_b() argument 712 switch (seq_mode) { xadc_power_adc_b() 772 int seq_mode; xadc_preenable() local 781 seq_mode = xadc_get_seq_mode(xadc, scan_mask); xadc_preenable() 791 ret = xadc_power_adc_b(xadc, seq_mode); xadc_preenable() 796 seq_mode); xadc_preenable()
|
/linux-4.4.14/drivers/staging/rts5208/ |
H A D | ms.c | 2911 if (ms_card->seq_mode) { mspro_stop_seq_mode() 2916 ms_card->seq_mode = 0; mspro_stop_seq_mode() 3008 if (ms_card->seq_mode) { mspro_rw_multi_sector() 3011 || (mode_2k && (ms_card->seq_mode & MODE_512_SEQ)) mspro_rw_multi_sector() 3012 || (!mode_2k && (ms_card->seq_mode & MODE_2K_SEQ)) mspro_rw_multi_sector() 3015 ms_card->seq_mode = 0; mspro_rw_multi_sector() 3029 if (!ms_card->seq_mode) { mspro_rw_multi_sector() 3039 ms_card->seq_mode = MODE_2K_SEQ; mspro_rw_multi_sector() 3041 ms_card->seq_mode = MODE_512_SEQ; mspro_rw_multi_sector() 3048 ms_card->seq_mode = 0; mspro_rw_multi_sector() 3058 ms_card->seq_mode = 0; mspro_rw_multi_sector() 3082 if (ms_card->seq_mode) { mspro_rw_multi_sector() 4721 if (ms_card->seq_mode) { ms_cleanup_work()
|
H A D | sd.c | 2244 sd_card->seq_mode = 0; sd_prepare_reset() 3567 sd_card->seq_mode = 0; reset_mmc_only() 3668 if (sd_card->seq_mode) { sd_stop_seq_mode() 3682 sd_card->seq_mode = 0; sd_stop_seq_mode() 3757 sd_card->seq_mode = 0; sd_rw() 3787 if (sd_card->seq_mode && sd_rw() 3809 sd_card->seq_mode = 0; sd_rw() 3848 if (sd_card->seq_mode) { sd_rw() 3945 sd_card->seq_mode = 1; sd_rw() 3955 sd_card->seq_mode = 0; sd_rw() 4005 sd_card->seq_mode = 0; sd_rw() 5234 if (sd_card->seq_mode) { sd_cleanup_work()
|
H A D | rtsx_card.c | 43 if (sd_card->seq_mode) { do_remaining_work() 64 if (ms_card->seq_mode) { do_remaining_work()
|
H A D | rtsx_chip.h | 476 int seq_mode; member in struct:sd_info 593 u8 seq_mode; member in struct:ms_info
|
/linux-4.4.14/sound/synth/emux/ |
H A D | emux_seq.c | 384 rdev->seq_mode = SNDRV_VIRMIDI_SEQ_ATTACH; snd_emux_init_virmidi()
|
H A D | emux_oss.c | 144 reset_port_mode(p, arg->seq_mode); snd_emux_open_seq_oss()
|
/linux-4.4.14/drivers/net/wireless/b43/ |
H A D | phy_n.c | 137 u16 seq_mode = b43_phy_read(dev, B43_NPHY_RFSEQMODE); b43_nphy_force_rf_sequence() local 151 b43_phy_write(dev, B43_NPHY_RFSEQMODE, seq_mode); b43_nphy_force_rf_sequence() 1592 u16 seq_mode; b43_nphy_run_samples() local 1636 seq_mode = b43_phy_read(dev, B43_NPHY_RFSEQMODE); b43_nphy_run_samples() 1656 b43_phy_write(dev, B43_NPHY_RFSEQMODE, seq_mode); b43_nphy_run_samples()
|