Home
last modified time | relevance | path

Searched refs:running (Results 1 – 25 of 72) sorted by relevance

123

/sound/isa/sb/
Dsb16_csp.c173 if (p->running & SNDRV_SB_CSP_ST_RUNNING) in snd_sb_csp_free()
222 info.state = p->running; in snd_sb_csp_ioctl()
231 err = (p->running & SNDRV_SB_CSP_ST_RUNNING ? in snd_sb_csp_ioctl()
235 err = (p->running & SNDRV_SB_CSP_ST_RUNNING ? in snd_sb_csp_ioctl()
370 p->running = 0; in snd_sb_csp_riff_load()
454 p->running = SNDRV_SB_CSP_ST_LOADED; /* set LOADED flag */ in snd_sb_csp_riff_load()
467 if (p->running & SNDRV_SB_CSP_ST_RUNNING) in snd_sb_csp_unload()
469 if (!(p->running & SNDRV_SB_CSP_ST_LOADED)) in snd_sb_csp_unload()
480 p->running = 0; in snd_sb_csp_unload()
735 if (p->running & (SNDRV_SB_CSP_ST_RUNNING | SNDRV_SB_CSP_ST_LOADED)) in snd_sb_csp_autoload()
[all …]
Demu8000_pcm.c68 unsigned int running: 1; member
395 rec->running = 1; in emu8k_pcm_trigger()
398 rec->running = 0; in emu8k_pcm_trigger()
667 if (rec->running) in emu8k_pcm_pointer()
/sound/core/seq/oss/
Dseq_oss_timer.c57 rec->running = 0; in snd_seq_oss_timer_new()
165 if (timer->running) in snd_seq_oss_timer_start()
175 timer->running = 1; in snd_seq_oss_timer_start()
187 if (! timer->running) in snd_seq_oss_timer_stop()
190 timer->running = 0; in snd_seq_oss_timer_stop()
201 if (timer->running) in snd_seq_oss_timer_continue()
204 timer->running = 1; in snd_seq_oss_timer_continue()
221 if (timer->running) in snd_seq_oss_timer_tempo()
Dseq_oss_timer.h34 int running; member
/sound/pci/ctxfi/
Dcttimer.c43 unsigned int running:1; member
58 unsigned int running:1; /* global timer running */ member
89 if (ti->running) in ct_systimer_callback()
106 ti->running = 1; in ct_systimer_start()
118 ti->running = 0; in ct_systimer_stop()
154 if (!atimer->running) in ct_xfitimer_irq_rearm()
156 atimer->running = 1; in ct_xfitimer_irq_rearm()
161 if (atimer->running) { in ct_xfitimer_irq_stop()
165 atimer->running = 0; in ct_xfitimer_irq_stop()
240 if (ti->running && ti->need_update) { in ct_xfitimer_check_period()
[all …]
/sound/ppc/
Dbeep.c33 int running; /* boolean */ member
49 if (beep && beep->running) { in snd_pmac_beep_stop()
50 beep->running = 0; in snd_pmac_beep_stop()
126 if (beep->running) in snd_pmac_beep_event()
139 if (chip->playback.running || chip->capture.running || beep->running) { in snd_pmac_beep_event()
143 beep->running = 1; in snd_pmac_beep_event()
252 beep->running = 0; in snd_pmac_attach_beep()
Dsnd_ps3.h92 int running; member
/sound/core/seq/
Dseq_timer.c82 t->running = 0; in snd_seq_timer_delete()
100 tmr->running = 0; in snd_seq_timer_defaults()
149 if (!tmr->running) { in snd_seq_timer_interrupt()
204 if (tmr->running && (ppq != tmr->ppq)) { in snd_seq_timer_set_ppq()
334 if (!tmr->running) in seq_timer_stop()
336 tmr->running = 0; in seq_timer_stop()
388 if (tmr->running) in seq_timer_start()
394 tmr->running = 1; in seq_timer_start()
414 if (tmr->running) in seq_timer_continue()
422 tmr->running = 1; in seq_timer_continue()
[all …]
/sound/soc/spear/
Dspdif_out.c38 u32 running; member
73 host->running = true; in spdif_out_startup()
88 host->running = false; in spdif_out_shutdown()
203 if (host->running) in spdif_digital_mute()
321 if (host->running) in spdif_out_suspend()
332 if (host->running) { in spdif_out_resume()
/sound/usb/line6/
Dplayback.c207 if (test_bit(LINE6_STREAM_PCM, &line6pcm->out.running) && in submit_audio_out_urb()
252 if (test_bit(LINE6_STREAM_IMPULSE, &line6pcm->out.running)) { in submit_audio_out_urb()
255 if (test_bit(LINE6_STREAM_PCM, &line6pcm->in.running)) { in submit_audio_out_urb()
265 && line6pcm->out.running && line6pcm->in.running) in submit_audio_out_urb()
336 if (test_bit(LINE6_STREAM_PCM, &line6pcm->out.running)) { in audio_out_callback()
360 if (test_bit(LINE6_STREAM_PCM, &line6pcm->out.running)) { in audio_out_callback()
Dcapture.c200 if (!test_bit(LINE6_STREAM_IMPULSE, &line6pcm->in.running) && in audio_in_callback()
201 test_bit(LINE6_STREAM_PCM, &line6pcm->in.running) && in audio_in_callback()
214 if (!test_bit(LINE6_STREAM_IMPULSE, &line6pcm->in.running) && in audio_in_callback()
215 test_bit(LINE6_STREAM_PCM, &line6pcm->in.running)) in audio_in_callback()
Dpcm.c192 if (!test_and_set_bit(type, &pstr->running) && in line6_stream_start()
203 clear_bit(type, &pstr->running); in line6_stream_start()
216 clear_bit(type, &pstr->running); in line6_stream_stop()
217 if (!pstr->running) { in line6_stream_stop()
315 if (!pstr->running) in line6_pcm_acquire()
603 if (!pstr->running) in snd_line6_prepare()
Dpcm.h135 unsigned long running; member
/sound/pci/nm256/
Dnm256.c191 int running; member
577 if (! s->running) { in snd_nm256_playback_trigger()
579 s->running = 1; in snd_nm256_playback_trigger()
586 if (s->running) { in snd_nm256_playback_trigger()
588 s->running = 0; in snd_nm256_playback_trigger()
613 if (! s->running) { in snd_nm256_capture_trigger()
615 s->running = 1; in snd_nm256_capture_trigger()
620 if (s->running) { in snd_nm256_capture_trigger()
622 s->running = 0; in snd_nm256_capture_trigger()
651 s->running = 0; in snd_nm256_pcm_prepare()
[all …]
/sound/pci/rme9652/
Drme9652.c238 int running; member
457 if ((restart = s->running)) { in rme9652_set_interrupt_interval()
542 if ((restart = rme9652->running)) { in rme9652_set_rate()
909 if ((restart = rme9652->running)) { in rme9652_set_adat1_input()
974 if ((restart = rme9652->running)) { in rme9652_set_spdif_input()
1041 if ((restart = rme9652->running)) { in rme9652_set_spdif_output()
1117 if ((restart = rme9652->running)) { in rme9652_set_sync_mode()
1204 if ((restart = rme9652->running)) { in rme9652_set_sync_pref()
1984 if (rme9652->running) in snd_rme9652_reset()
2116 int running; in snd_rme9652_trigger() local
[all …]
/sound/core/
Dhrtimer.c53 if (!t->running) in snd_hrtimer_callback()
67 if (t->running) { in snd_hrtimer_callback()
98 t->running = 0; /* just to be sure */ in snd_hrtimer_close()
/sound/pci/emu10k1/
Dp16v.c468 int running = 0; in snd_p16v_pcm_trigger_playback() local
472 running=1; in snd_p16v_pcm_trigger_playback()
476 running = 0; in snd_p16v_pcm_trigger_playback()
487 epcm->running = running; in snd_p16v_pcm_trigger_playback()
525 epcm->running = 1; in snd_p16v_pcm_trigger_capture()
531 epcm->running = 0; in snd_p16v_pcm_trigger_capture()
549 if (!epcm->running) in snd_p16v_pcm_pointer_playback()
575 if (!epcm->running) in snd_p16v_pcm_pointer_capture()
/sound/oss/dmasound/
DKconfig11 inserted in and removed from the running kernel whenever you
25 inserted in and removed from the running kernel whenever you
39 inserted in and removed from the running kernel whenever you
/sound/drivers/
Daloop.c80 unsigned int running; member
277 cable->running |= stream; in loopback_trigger()
286 cable->running &= ~stream; in loopback_trigger()
481 unsigned int running, count1, count2; in loopback_pos_update() local
483 running = cable->running ^ cable->pause; in loopback_pos_update()
484 if (running & (1 << SNDRV_PCM_STREAM_PLAYBACK)) { in loopback_pos_update()
489 if (running & (1 << SNDRV_PCM_STREAM_CAPTURE)) { in loopback_pos_update()
524 return running; in loopback_pos_update()
909 unsigned int running = cable->running ^ cable->pause; in loopback_active_get() local
911 val = (running & (1 << SNDRV_PCM_STREAM_PLAYBACK)) ? 1 : 0; in loopback_active_get()
[all …]
Ddummy.c377 atomic_t running; member
386 if (atomic_read(&dpcm->running)) in dummy_hrtimer_pcm_elapsed()
395 if (!atomic_read(&dpcm->running)) in dummy_hrtimer_callback()
408 atomic_set(&dpcm->running, 1); in dummy_hrtimer_start()
416 atomic_set(&dpcm->running, 0); in dummy_hrtimer_stop()
472 atomic_set(&dpcm->running, 0); in dummy_hrtimer_create()
/sound/hda/
Dhdac_stream.c63 azx_dev->running = true; in snd_hdac_stream_start()
76 azx_dev->running = false; in snd_hdac_stream_clear()
262 res->running = 0; in snd_hdac_stream_assign()
283 azx_dev->running = 0; in snd_hdac_stream_release()
629 if (azx_dev->running || azx_dev->locked) { in snd_hdac_dsp_prepare()
/sound/aoa/soundbus/i2sbus/
Dpcm.c349 if (pi->dbdma_ring.running) { in i2sbus_pcm_prepare()
553 if (pi->dbdma_ring.running) { in i2sbus_pcm_trigger()
560 pi->dbdma_ring.running = 1; in i2sbus_pcm_trigger()
596 if (!pi->dbdma_ring.running) { in i2sbus_pcm_trigger()
600 pi->dbdma_ring.running = 0; in i2sbus_pcm_trigger()
646 if (!pi->dbdma_ring.running && !pi->dbdma_ring.stopping) in handle_interrupt()
699 if (!pi->dbdma_ring.running) in handle_interrupt()
/sound/pci/ca0106/
Dca0106_main.c969 int running = 0; in snd_ca0106_pcm_trigger_playback() local
974 running = 1; in snd_ca0106_pcm_trigger_playback()
979 running = 0; in snd_ca0106_pcm_trigger_playback()
990 epcm->running = running; in snd_ca0106_pcm_trigger_playback()
1037 epcm->running = 1; in snd_ca0106_pcm_trigger_capture()
1042 epcm->running = 0; in snd_ca0106_pcm_trigger_capture()
1062 if (!epcm->running) in snd_ca0106_pcm_pointer_playback()
1091 if (!epcm->running) in snd_ca0106_pcm_pointer_capture()
/sound/pci/
Dvia82xx_modem.c224 int running; member
503 if (viadev->substream && viadev->running) { in snd_via82xx_interrupt()
531 viadev->running = 1; in snd_via82xx_pcm_trigger()
535 viadev->running = 0; in snd_via82xx_pcm_trigger()
539 viadev->running = 0; in snd_via82xx_pcm_trigger()
542 viadev->running = 1; in snd_via82xx_pcm_trigger()
/sound/soc/intel/baytrail/
Dsst-baytrail-ipc.c160 bool running; member
234 stream->running = false; in sst_byt_stream_update()
238 stream->running = true; in sst_byt_stream_update()
290 if (stream && stream->running && stream->notify_position) { in sst_byt_process_notification()

123