Home
last modified time | relevance | path

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

1234

/sound/isa/sb/
Dsb16_csp.c161 if (p->running & SNDRV_SB_CSP_ST_RUNNING) in snd_sb_csp_free()
210 info.state = p->running; in snd_sb_csp_ioctl()
219 err = (p->running & SNDRV_SB_CSP_ST_RUNNING ? in snd_sb_csp_ioctl()
223 err = (p->running & SNDRV_SB_CSP_ST_RUNNING ? in snd_sb_csp_ioctl()
358 p->running = 0; in snd_sb_csp_riff_load()
442 p->running = SNDRV_SB_CSP_ST_LOADED; /* set LOADED flag */ in snd_sb_csp_riff_load()
455 if (p->running & SNDRV_SB_CSP_ST_RUNNING) in snd_sb_csp_unload()
457 if (!(p->running & SNDRV_SB_CSP_ST_LOADED)) in snd_sb_csp_unload()
468 p->running = 0; in snd_sb_csp_unload()
723 if (p->running & (SNDRV_SB_CSP_ST_RUNNING | SNDRV_SB_CSP_ST_LOADED)) in snd_sb_csp_autoload()
[all …]
/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()
116 if (beep->running) in snd_pmac_beep_event()
129 if (chip->playback.running || chip->capture.running || beep->running) { in snd_pmac_beep_event()
133 beep->running = 1; in snd_pmac_beep_event()
242 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()
336 if (!tmr->running) in seq_timer_stop()
338 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_mute()
322 if (host->running) in spdif_out_suspend()
333 if (host->running) { in spdif_out_resume()
/sound/drivers/
Daloop.c104 unsigned int running; member
272 if (cable->running ^ cable->pause) in loopback_snd_timer_stop()
393 cable->running |= stream; in loopback_trigger()
402 cable->running &= ~stream; in loopback_trigger()
609 unsigned int running, count1, count2; in loopback_jiffies_timer_pos_update() local
612 running = cable->running ^ cable->pause; in loopback_jiffies_timer_pos_update()
613 if (running & (1 << SNDRV_PCM_STREAM_PLAYBACK)) { in loopback_jiffies_timer_pos_update()
618 if (running & (1 << SNDRV_PCM_STREAM_CAPTURE)) { in loopback_jiffies_timer_pos_update()
653 return running; in loopback_jiffies_timer_pos_update()
717 unsigned int running, elapsed_bytes; in loopback_snd_timer_period_elapsed() local
[all …]
/sound/pci/nm256/
Dnm256.c175 int running; member
561 if (! s->running) { in snd_nm256_playback_trigger()
563 s->running = 1; in snd_nm256_playback_trigger()
570 if (s->running) { in snd_nm256_playback_trigger()
572 s->running = 0; in snd_nm256_playback_trigger()
597 if (! s->running) { in snd_nm256_capture_trigger()
599 s->running = 1; in snd_nm256_capture_trigger()
604 if (s->running) { in snd_nm256_capture_trigger()
606 s->running = 0; in snd_nm256_capture_trigger()
635 s->running = 0; in snd_nm256_pcm_prepare()
[all …]
/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()
592 if (!pstr->running) in snd_line6_prepare()
/sound/pci/rme9652/
Drme9652.c225 int running; member
433 restart = s->running; in rme9652_set_interrupt_interval()
518 restart = rme9652->running; in rme9652_set_rate()
877 restart = rme9652->running; in rme9652_set_adat1_input()
941 restart = rme9652->running; in rme9652_set_spdif_input()
1007 restart = rme9652->running; in rme9652_set_spdif_output()
1082 restart = rme9652->running; in rme9652_set_sync_mode()
1168 restart = rme9652->running; in rme9652_set_sync_pref()
1942 if (rme9652->running) in snd_rme9652_reset()
2076 int running; in snd_rme9652_trigger() local
[all …]
/sound/pci/emu10k1/
Dp16v.c426 int running = 0; in snd_p16v_pcm_trigger_playback() local
430 running=1; in snd_p16v_pcm_trigger_playback()
434 running = 0; in snd_p16v_pcm_trigger_playback()
445 epcm->running = running; in snd_p16v_pcm_trigger_playback()
483 epcm->running = 1; in snd_p16v_pcm_trigger_capture()
489 epcm->running = 0; in snd_p16v_pcm_trigger_capture()
507 if (!epcm->running) in snd_p16v_pcm_pointer_playback()
533 if (!epcm->running) in snd_p16v_pcm_pointer_capture()
/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/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/soc/ti/
Domap-mcbsp-st.c57 bool running; member
308 if (st_data->enabled && !st_data->running) { in omap_mcbsp_st_start()
314 st_data->running = 1; in omap_mcbsp_st_start()
325 if (st_data->running) { in omap_mcbsp_st_stop()
328 st_data->running = 0; in omap_mcbsp_st_stop()
/sound/pci/hda/
Dhda_tegra.c158 if (chip && chip->running) { in hda_tegra_runtime_suspend()
178 if (!chip->running) { in hda_tegra_runtime_resume()
187 if (chip->running) { in hda_tegra_runtime_resume()
544 chip->running = 1; in hda_tegra_probe_work()
570 if (chip && chip->running) in hda_tegra_shutdown()
/sound/usb/
Dcard.h69 atomic_t running; /* running status */ member
171 unsigned int running: 1; /* running status */ member
/sound/soc/uniphier/
Daio-dma.c81 if (!sub->running || !aiodma_rb_is_irq(sub)) in aiodma_irq()
152 sub->running = 1; in uniphier_aiodma_trigger()
156 sub->running = 0; in uniphier_aiodma_trigger()
/sound/aoa/soundbus/i2sbus/
Dpcm.c340 if (pi->dbdma_ring.running) { in i2sbus_pcm_prepare()
544 if (pi->dbdma_ring.running) { in i2sbus_pcm_trigger()
551 pi->dbdma_ring.running = 1; in i2sbus_pcm_trigger()
587 if (!pi->dbdma_ring.running) { in i2sbus_pcm_trigger()
591 pi->dbdma_ring.running = 0; in i2sbus_pcm_trigger()
637 if (!pi->dbdma_ring.running && !pi->dbdma_ring.stopping) in handle_interrupt()
690 if (!pi->dbdma_ring.running) in handle_interrupt()
/sound/hda/
Dhdac_stream.c110 azx_dev->running = true; in snd_hdac_stream_start()
125 azx_dev->running = false; in snd_hdac_stream_clear()
343 res->running = 0; in snd_hdac_stream_assign()
364 azx_dev->running = 0; in snd_hdac_stream_release()
709 if (azx_dev->running || azx_dev->locked) { in snd_hdac_dsp_prepare()
/sound/soc/sh/
Drz-ssi.c94 int running; /* 0=stopped, 1=running */ member
218 strm->running = 0; in rz_ssi_stream_init()
338 strm->running = 1; in rz_ssi_start()
349 strm->running = 0; in rz_ssi_stop()
392 if (!strm->running || !substream || !substream->runtime) in rz_ssi_pointer_update()
559 if (!strm->running) in rz_ssi_interrupt()
653 if (!strm->running || !strm->substream || !strm->substream->runtime) in rz_ssi_dma_complete()
/sound/soc/sof/intel/
Dhda-stream.c293 hstream->running = true; in hda_dsp_stream_trigger()
320 hstream->running = false; in hda_dsp_stream_trigger()
684 !s->running || in hda_dsp_stream_check()
844 hstream->running = false; in hda_dsp_stream_init()
900 hstream->running = false; in hda_dsp_stream_init()
/sound/pci/ca0106/
Dca0106_main.c931 int running = 0; in snd_ca0106_pcm_trigger_playback() local
936 running = 1; in snd_ca0106_pcm_trigger_playback()
941 running = 0; in snd_ca0106_pcm_trigger_playback()
952 epcm->running = running; in snd_ca0106_pcm_trigger_playback()
999 epcm->running = 1; in snd_ca0106_pcm_trigger_capture()
1004 epcm->running = 0; in snd_ca0106_pcm_trigger_capture()
1024 if (!epcm->running) in snd_ca0106_pcm_pointer_playback()
1053 if (!epcm->running) in snd_ca0106_pcm_pointer_capture()

1234