Home
last modified time | relevance | path

Searched refs:active (Results 1 – 25 of 68) sorted by relevance

123

/sound/soc/fsl/
Dmpc5200_dma.c39 if (psc_dma->playback.active && (isr & MPC52xx_PSC_IMR_TXEMP)) in psc_dma_status_irq()
43 if (psc_dma->capture.active && (isr & MPC52xx_PSC_IMR_ORERR)) in psc_dma_status_irq()
95 if (s->active) in psc_dma_bcom_irq()
131 s->active = 1; in psc_dma_trigger()
159 s->active = 0; in psc_dma_trigger()
179 if (psc_dma->playback.active) in psc_dma_trigger()
181 if (psc_dma->capture.active) in psc_dma_trigger()
254 if (!psc_dma->playback.active && in psc_dma_close()
255 !psc_dma->capture.active) { in psc_dma_close()
Dmpc5200_dma.h24 int active; member
/sound/oss/dmasound/
Ddmasound_paula.c516 write_sq.active |= AMI_PLAY_LOADED; in AmiPlayNextFrame()
526 if (write_sq.active & AMI_PLAY_LOADED) { in AmiPlay()
532 if (write_sq.active & AMI_PLAY_PLAYING) in AmiPlay()
563 if (!write_sq.active) { in AmiInterrupt()
571 if (write_sq.active & AMI_PLAY_PLAYING) { in AmiInterrupt()
577 if (write_sq.active & AMI_PLAY_LOADED) in AmiInterrupt()
582 write_sq.active = (write_sq.active<<1) & AMI_PLAY_MASK; in AmiInterrupt()
584 if (!write_sq.active) in AmiInterrupt()
594 if (!write_sq.active) in AmiInterrupt()
Ddmasound_atari.c1185 write_sq.active++; in AtaPlayNextFrame()
1207 if (write_sq.active == 2 || /* DMA is 'full' */ in AtaPlay()
1213 if (write_sq.active == 0) { in AtaPlay()
1267 if (write_sq.active == 2) in AtaInterrupt()
1284 if (!write_sq.active) { in AtaInterrupt()
1300 write_sq.active--; in AtaInterrupt()
1302 if (!write_sq.active) { in AtaInterrupt()
1312 if ((write_sq.active != 1) || (write_sq.count != 1)) in AtaInterrupt()
1322 if (!write_sq.active) WAKE_UP(write_sq.sync_queue); in AtaInterrupt()
Ddmasound_q40.c418 write_sq.active++; in Q40PlayNextFrame()
442 if (write_sq.active || write_sq.count<=0 ) { in Q40Play()
485 if (!write_sq.active) { in Q40Interrupt()
492 } else write_sq.active=0; in Q40Interrupt()
/sound/soc/mediatek/mt8183/
Dmt8183-dai-pcm.c196 dai->playback_widget->active, in mtk_dai_pcm_hw_params()
197 dai->capture_widget->active); in mtk_dai_pcm_hw_params()
199 if (dai->playback_widget->active || dai->capture_widget->active) in mtk_dai_pcm_hw_params()
/sound/soc/mediatek/mt6797/
Dmt6797-dai-pcm.c196 dai->playback_widget->active, in mtk_dai_pcm_hw_params()
197 dai->capture_widget->active); in mtk_dai_pcm_hw_params()
199 if (dai->playback_widget->active || dai->capture_widget->active) in mtk_dai_pcm_hw_params()
/sound/aoa/core/
Dgpio-feature.c380 int gpio, ret, active; in ftr_get_detect() local
385 active = headphone_detect_gpio_activestate; in ftr_get_detect()
389 active = linein_detect_gpio_activestate; in ftr_get_detect()
393 active = lineout_detect_gpio_activestate; in ftr_get_detect()
405 return ((ret >> 1) & 1) == active; in ftr_get_detect()
/sound/core/oss/
Dmixer_oss.c204 int active = 0; in snd_mixer_oss_get_recsrc() local
205 pslot->get_recsrc(fmixer, pslot, &active); in snd_mixer_oss_get_recsrc()
206 if (active) in snd_mixer_oss_get_recsrc()
221 int chn, active; in snd_mixer_oss_set_recsrc() local
238 active = (recsrc & (1 << chn)) ? 1 : 0; in snd_mixer_oss_set_recsrc()
239 pslot->put_recsrc(fmixer, pslot, active); in snd_mixer_oss_set_recsrc()
246 active = 0; in snd_mixer_oss_set_recsrc()
247 pslot->get_recsrc(fmixer, pslot, &active); in snd_mixer_oss_set_recsrc()
248 if (active) in snd_mixer_oss_set_recsrc()
774 int *active) in snd_mixer_oss_get_recsrc1_sw() argument
[all …]
/sound/soc/ti/
Domap-dmic.c45 bool active; member
99 dmic->active = 1; in omap_dmic_dai_startup()
118 dmic->active = 0; in omap_dmic_dai_shutdown()
304 if (dmic->active && dmic_is_enabled(dmic)) { in omap_dmic_select_fclk()
338 if (dmic->active) { in omap_dmic_select_fclk()
/sound/soc/mediatek/mt8195/
Dmt8195-dai-pcm.c220 dai->playback_widget->active, dai->capture_widget->active); in mtk_dai_pcm_prepare()
222 if (dai->playback_widget->active || dai->capture_widget->active) in mtk_dai_pcm_prepare()
/sound/soc/img/
Dimg-spdif-in.c82 bool active; member
201 if (spdif->active) { in img_spdif_in_do_clkgen_single()
247 if (spdif->active) { in img_spdif_in_do_clkgen_multi()
372 if (spdif->active) { in img_spdif_in_set_multi_freq()
457 if (spdif->active) { in img_spdif_in_set_trk()
514 if (spdif->active) { in img_spdif_in_set_lock_acquire()
553 if (spdif->active) { in img_spdif_in_set_lock_release()
646 spdif->active = true; in img_spdif_in_trigger()
654 spdif->active = false; in img_spdif_in_trigger()
/sound/isa/
Des18xx.c97 unsigned short active; /* active channel mask */ member
489 if (chip->active & DAC2) in snd_es18xx_playback1_trigger()
491 chip->active |= DAC2; in snd_es18xx_playback1_trigger()
510 if (!(chip->active & DAC2)) in snd_es18xx_playback1_trigger()
512 chip->active &= ~DAC2; in snd_es18xx_playback1_trigger()
598 if (chip->active & ADC1) in snd_es18xx_capture_trigger()
600 chip->active |= ADC1; in snd_es18xx_capture_trigger()
606 if (!(chip->active & ADC1)) in snd_es18xx_capture_trigger()
608 chip->active &= ~ADC1; in snd_es18xx_capture_trigger()
661 if (chip->active & DAC1) in snd_es18xx_playback2_trigger()
[all …]
/sound/soc/mediatek/mt8192/
Dmt8192-dai-pcm.c286 dai->playback_widget->active, in mtk_dai_pcm_hw_params()
287 dai->capture_widget->active); in mtk_dai_pcm_hw_params()
289 if (dai->playback_widget->active || dai->capture_widget->active) in mtk_dai_pcm_hw_params()
/sound/usb/hiface/
Dpcm.c36 bool active; member
329 if (sub->active) in hiface_pcm_out_urb_handler()
387 sub->active = false; in hiface_pcm_open()
408 sub->active = false; in hiface_pcm_close()
466 sub->active = true; in hiface_pcm_trigger()
473 sub->active = false; in hiface_pcm_trigger()
/sound/soc/samsung/
Ds3c2412-i2s.c119 if (component->active) { in s3c2412_i2s_suspend()
146 component->active, i2s->suspend_iismod, i2s->suspend_iiscon); in s3c2412_i2s_resume()
148 if (component->active) { in s3c2412_i2s_resume()
/sound/soc/sof/intel/
Dhda-stream.c670 bool active = false; in hda_dsp_stream_check() local
682 active = true; in hda_dsp_stream_check()
699 return active; in hda_dsp_stream_check()
709 bool active; in hda_dsp_stream_threaded_handler() local
717 for (i = 0, active = true; i < 10 && active; i++) { in hda_dsp_stream_threaded_handler()
723 active = hda_dsp_stream_check(bus, status); in hda_dsp_stream_threaded_handler()
737 active = true; in hda_dsp_stream_threaded_handler()
/sound/usb/
Dcard.c640 atomic_set(&chip->active, 1); /* avoid autopm during probing */ in snd_usb_audio_create()
783 atomic_inc(&chip->active); /* avoid autopm */ in usb_audio_probe()
892 atomic_dec(&chip->active); in usb_audio_probe()
901 atomic_dec(&chip->active); in usb_audio_probe()
1014 if (atomic_inc_return(&chip->active) != 1) in snd_usb_autoresume()
1023 atomic_dec(&chip->active); in snd_usb_autoresume()
1037 if (!atomic_dec_and_test(&chip->active)) in snd_usb_autosuspend()
1086 atomic_inc(&chip->active); /* avoid autopm */ in usb_audio_resume()
1118 atomic_dec(&chip->active); /* allow autopm after this point */ in usb_audio_resume()
Dmidi.c136 int active; member
646 if (!port->active) in snd_usbmidi_standard_output()
651 port->active = 0; in snd_usbmidi_standard_output()
730 if (!ep->ports[0].active) in snd_usbmidi_akai_output()
741 ep->ports[0].active = 0; in snd_usbmidi_akai_output()
776 ep->ports[0].active = 0; in snd_usbmidi_akai_output()
809 if (!ep->ports[0].active) in snd_usbmidi_novation_output()
816 ep->ports[0].active = 0; in snd_usbmidi_novation_output()
844 if (!ep->ports[0].active) in snd_usbmidi_raw_output()
850 ep->ports[0].active = 0; in snd_usbmidi_raw_output()
[all …]
/sound/soc/dwc/
Ddwc-pcm.c98 bool active, period_elapsed; in dw_pcm_transfer() local
105 active = substream && snd_pcm_running(substream); in dw_pcm_transfer()
106 if (active) { in dw_pcm_transfer()
/sound/usb/6fire/
Dpcm.c317 if (sub->active) { in usb6fire_pcm_in_urb_handler()
342 if (sub->active) { in usb6fire_pcm_in_urb_handler()
417 sub->active = false; in usb6fire_pcm_open()
436 sub->active = false; in usb6fire_pcm_close()
509 sub->active = true; in usb6fire_pcm_trigger()
516 sub->active = false; in usb6fire_pcm_trigger()
Dpcm.h40 bool active; member
/sound/soc/codecs/
Dmax98090.c2238 unsigned int active; in max98090_interrupt() local
2255 ret = regmap_read(max98090->regmap, M98090_REG_DEVICE_STATUS, &active); in max98090_interrupt()
2265 active, mask, active & mask); in max98090_interrupt()
2267 active &= mask; in max98090_interrupt()
2269 if (!active) in max98090_interrupt()
2272 if (active & M98090_CLD_MASK) in max98090_interrupt()
2275 if (active & M98090_SLD_MASK) in max98090_interrupt()
2278 if (active & M98090_ULK_MASK) { in max98090_interrupt()
2283 if (active & M98090_JDET_MASK) { in max98090_interrupt()
2293 if (active & M98090_DRCACT_MASK) in max98090_interrupt()
[all …]
/sound/soc/
Dsoc-dai.c535 dai->component->active += action; in snd_soc_dai_action()
541 int stream, active; in snd_soc_dai_active() local
543 active = 0; in snd_soc_dai_active()
545 active += dai->stream_active[stream]; in snd_soc_dai_active()
547 return active; in snd_soc_dai_active()
/sound/pci/
Des1938.c210 unsigned int active; member
524 chip->active |= ADC1; in snd_es1938_capture_trigger()
529 chip->active &= ~ADC1; in snd_es1938_capture_trigger()
554 chip->active |= DAC2; in snd_es1938_playback1_trigger()
560 chip->active &= ~DAC2; in snd_es1938_playback1_trigger()
577 chip->active |= DAC1; in snd_es1938_playback2_trigger()
582 chip->active &= ~DAC1; in snd_es1938_playback2_trigger()
1622 if (chip->active & ADC1) in snd_es1938_interrupt()
1624 else if (chip->active & DAC1) in snd_es1938_interrupt()
1644 if (chip->active & DAC2) in snd_es1938_interrupt()

123