Home
last modified time | relevance | path

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

123

/sound/isa/sb/
Dsb16_csp.c159 if (p->running & SNDRV_SB_CSP_ST_RUNNING) in snd_sb_csp_free()
208 info.state = p->running; in snd_sb_csp_ioctl()
217 err = (p->running & SNDRV_SB_CSP_ST_RUNNING ? in snd_sb_csp_ioctl()
221 err = (p->running & SNDRV_SB_CSP_ST_RUNNING ? in snd_sb_csp_ioctl()
356 p->running = 0; in snd_sb_csp_riff_load()
440 p->running = SNDRV_SB_CSP_ST_LOADED; /* set LOADED flag */ in snd_sb_csp_riff_load()
453 if (p->running & SNDRV_SB_CSP_ST_RUNNING) in snd_sb_csp_unload()
455 if (!(p->running & SNDRV_SB_CSP_ST_LOADED)) in snd_sb_csp_unload()
466 p->running = 0; in snd_sb_csp_unload()
721 if (p->running & (SNDRV_SB_CSP_ST_RUNNING | SNDRV_SB_CSP_ST_LOADED)) in snd_sb_csp_autoload()
[all …]
Demu8000_pcm.c55 unsigned int running: 1; member
382 rec->running = 1; in emu8k_pcm_trigger()
385 rec->running = 0; in emu8k_pcm_trigger()
654 if (rec->running) in emu8k_pcm_pointer()
/sound/pci/ctxfi/
Dcttimer.c40 unsigned int running:1; member
55 unsigned int running:1; /* global timer running */ member
86 if (ti->running) in ct_systimer_callback()
102 ti->running = 1; in ct_systimer_start()
114 ti->running = 0; in ct_systimer_stop()
150 if (!atimer->running) in ct_xfitimer_irq_rearm()
152 atimer->running = 1; in ct_xfitimer_irq_rearm()
157 if (atimer->running) { in ct_xfitimer_irq_stop()
161 atimer->running = 0; in ct_xfitimer_irq_stop()
236 if (ti->running && ti->need_update) { in ct_xfitimer_check_period()
[all …]
/sound/core/seq/oss/
Dseq_oss_timer.c44 rec->running = 0; in snd_seq_oss_timer_new()
152 if (timer->running) in snd_seq_oss_timer_start()
162 timer->running = 1; in snd_seq_oss_timer_start()
174 if (! timer->running) in snd_seq_oss_timer_stop()
177 timer->running = 0; in snd_seq_oss_timer_stop()
188 if (timer->running) in snd_seq_oss_timer_continue()
191 timer->running = 1; in snd_seq_oss_timer_continue()
208 if (timer->running) in snd_seq_oss_timer_tempo()
Dseq_oss_timer.h21 int running; member
/sound/ppc/
Dbeep.c20 int running; /* boolean */ member
36 if (beep && beep->running) { in snd_pmac_beep_stop()
37 beep->running = 0; in snd_pmac_beep_stop()
113 if (beep->running) in snd_pmac_beep_event()
126 if (chip->playback.running || chip->capture.running || beep->running) { in snd_pmac_beep_event()
130 beep->running = 1; in snd_pmac_beep_event()
239 beep->running = 0; in snd_pmac_attach_beep()
/sound/core/seq/
Dseq_timer.c67 t->running = 0; in snd_seq_timer_delete()
85 tmr->running = 0; in snd_seq_timer_defaults()
134 if (!tmr->running) { in snd_seq_timer_interrupt()
190 if (tmr->running && (ppq != tmr->ppq)) { in snd_seq_timer_set_tempo_ppq()
322 if (!tmr->running) in seq_timer_stop()
324 tmr->running = 0; in seq_timer_stop()
374 if (tmr->running) in seq_timer_start()
380 tmr->running = 1; in seq_timer_start()
400 if (tmr->running) in seq_timer_continue()
408 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.c203 if (test_bit(LINE6_STREAM_PCM, &line6pcm->out.running) && in submit_audio_out_urb()
248 if (test_bit(LINE6_STREAM_IMPULSE, &line6pcm->out.running)) { in submit_audio_out_urb()
251 if (test_bit(LINE6_STREAM_PCM, &line6pcm->in.running)) { in submit_audio_out_urb()
261 && line6pcm->out.running && line6pcm->in.running) in submit_audio_out_urb()
332 if (test_bit(LINE6_STREAM_PCM, &line6pcm->out.running)) { in audio_out_callback()
356 if (test_bit(LINE6_STREAM_PCM, &line6pcm->out.running)) { in audio_out_callback()
Dcapture.c196 if (!test_bit(LINE6_STREAM_IMPULSE, &line6pcm->in.running) && in audio_in_callback()
197 test_bit(LINE6_STREAM_PCM, &line6pcm->in.running) && in audio_in_callback()
210 if (!test_bit(LINE6_STREAM_IMPULSE, &line6pcm->in.running) && in audio_in_callback()
211 test_bit(LINE6_STREAM_PCM, &line6pcm->in.running)) in audio_in_callback()
Dpcm.c190 if (!test_and_set_bit(type, &pstr->running) && in line6_stream_start()
201 clear_bit(type, &pstr->running); in line6_stream_start()
214 clear_bit(type, &pstr->running); in line6_stream_stop()
215 if (!pstr->running) { in line6_stream_stop()
313 if (!pstr->running) in line6_pcm_acquire()
601 if (!pstr->running) in snd_line6_prepare()
/sound/pci/nm256/
Dnm256.c177 int running; member
563 if (! s->running) { in snd_nm256_playback_trigger()
565 s->running = 1; in snd_nm256_playback_trigger()
572 if (s->running) { in snd_nm256_playback_trigger()
574 s->running = 0; in snd_nm256_playback_trigger()
599 if (! s->running) { in snd_nm256_capture_trigger()
601 s->running = 1; in snd_nm256_capture_trigger()
606 if (s->running) { in snd_nm256_capture_trigger()
608 s->running = 0; in snd_nm256_capture_trigger()
637 s->running = 0; in snd_nm256_pcm_prepare()
[all …]
/sound/pci/rme9652/
Drme9652.c224 int running; member
443 if ((restart = s->running)) { in rme9652_set_interrupt_interval()
528 if ((restart = rme9652->running)) { in rme9652_set_rate()
895 if ((restart = rme9652->running)) { in rme9652_set_adat1_input()
960 if ((restart = rme9652->running)) { in rme9652_set_spdif_input()
1027 if ((restart = rme9652->running)) { in rme9652_set_spdif_output()
1103 if ((restart = rme9652->running)) { in rme9652_set_sync_mode()
1190 if ((restart = rme9652->running)) { in rme9652_set_sync_pref()
1969 if (rme9652->running) in snd_rme9652_reset()
2101 int running; in snd_rme9652_trigger() local
[all …]
/sound/core/
Dhrtimer.c39 if (!t->running) in snd_hrtimer_callback()
53 if (t->running) { in snd_hrtimer_callback()
84 t->running = 0; /* just to be sure */ in snd_hrtimer_close()
/sound/pci/emu10k1/
Dp16v.c454 int running = 0; in snd_p16v_pcm_trigger_playback() local
458 running=1; in snd_p16v_pcm_trigger_playback()
462 running = 0; in snd_p16v_pcm_trigger_playback()
473 epcm->running = running; in snd_p16v_pcm_trigger_playback()
511 epcm->running = 1; in snd_p16v_pcm_trigger_capture()
517 epcm->running = 0; in snd_p16v_pcm_trigger_capture()
535 if (!epcm->running) in snd_p16v_pcm_pointer_playback()
561 if (!epcm->running) in snd_p16v_pcm_pointer_capture()
/sound/oss/dmasound/
DKconfig12 inserted in and removed from the running kernel whenever you
26 inserted in and removed from the running kernel whenever you
40 inserted in and removed from the running kernel whenever you
/sound/drivers/
Daloop.c66 unsigned int running; member
263 cable->running |= stream; in loopback_trigger()
272 cable->running &= ~stream; in loopback_trigger()
467 unsigned int running, count1, count2; in loopback_pos_update() local
470 running = cable->running ^ cable->pause; in loopback_pos_update()
471 if (running & (1 << SNDRV_PCM_STREAM_PLAYBACK)) { in loopback_pos_update()
476 if (running & (1 << SNDRV_PCM_STREAM_CAPTURE)) { in loopback_pos_update()
511 return running; in loopback_pos_update()
883 unsigned int running = cable->running ^ cable->pause; in loopback_active_get() local
885 val = (running & (1 << SNDRV_PCM_STREAM_PLAYBACK)) ? 1 : 0; in loopback_active_get()
[all …]
/sound/soc/ti/
Domap-mcbsp-st.c57 bool running; member
311 if (st_data->enabled && !st_data->running) { in omap_mcbsp_st_start()
317 st_data->running = 1; in omap_mcbsp_st_start()
328 if (st_data->running) { in omap_mcbsp_st_stop()
331 st_data->running = 0; in omap_mcbsp_st_stop()
/sound/soc/uniphier/
Daio-dma.c81 if (!sub->running || !aiodma_rb_is_irq(sub)) in aiodma_irq()
166 sub->running = 1; in uniphier_aiodma_trigger()
170 sub->running = 0; in uniphier_aiodma_trigger()
/sound/hda/
Dhdac_stream.c110 azx_dev->running = true; in snd_hdac_stream_start()
125 azx_dev->running = false; in snd_hdac_stream_clear()
336 res->running = 0; in snd_hdac_stream_assign()
357 azx_dev->running = 0; in snd_hdac_stream_release()
703 if (azx_dev->running || azx_dev->locked) { in snd_hdac_dsp_prepare()
/sound/pci/hda/
Dhda_tegra.c171 if (chip && chip->running) { in hda_tegra_runtime_suspend()
195 if (chip && chip->running) { in hda_tegra_runtime_resume()
500 chip->running = 1; in hda_tegra_probe_work()
526 if (chip && chip->running) in hda_tegra_shutdown()
/sound/aoa/soundbus/i2sbus/
Dpcm.c348 if (pi->dbdma_ring.running) { in i2sbus_pcm_prepare()
552 if (pi->dbdma_ring.running) { in i2sbus_pcm_trigger()
559 pi->dbdma_ring.running = 1; in i2sbus_pcm_trigger()
595 if (!pi->dbdma_ring.running) { in i2sbus_pcm_trigger()
599 pi->dbdma_ring.running = 0; in i2sbus_pcm_trigger()
645 if (!pi->dbdma_ring.running && !pi->dbdma_ring.stopping) in handle_interrupt()
698 if (!pi->dbdma_ring.running) in handle_interrupt()
/sound/soc/sof/intel/
Dhda-stream.c281 hstream->running = true; in hda_dsp_stream_trigger()
304 hstream->running = false; in hda_dsp_stream_trigger()
574 !s->running || in hda_dsp_stream_check()
723 hstream->running = false; in hda_dsp_stream_init()
779 hstream->running = false; in hda_dsp_stream_init()
/sound/pci/ca0106/
Dca0106_main.c956 int running = 0; in snd_ca0106_pcm_trigger_playback() local
961 running = 1; in snd_ca0106_pcm_trigger_playback()
966 running = 0; in snd_ca0106_pcm_trigger_playback()
977 epcm->running = running; in snd_ca0106_pcm_trigger_playback()
1024 epcm->running = 1; in snd_ca0106_pcm_trigger_capture()
1029 epcm->running = 0; in snd_ca0106_pcm_trigger_capture()
1049 if (!epcm->running) in snd_ca0106_pcm_pointer_playback()
1078 if (!epcm->running) in snd_ca0106_pcm_pointer_capture()
/sound/pci/
Dvia82xx_modem.c210 int running; member
491 if (viadev->substream && viadev->running) { in snd_via82xx_interrupt()
519 viadev->running = 1; in snd_via82xx_pcm_trigger()
523 viadev->running = 0; in snd_via82xx_pcm_trigger()
527 viadev->running = 0; in snd_via82xx_pcm_trigger()
530 viadev->running = 1; in snd_via82xx_pcm_trigger()

123