/kernel/linux/linux-5.10/sound/soc/fsl/ |
H A D | imx-pcm-fiq.c | 41 atomic_t capturing; member 51 if (!atomic_read(&iprtd->playing) && !atomic_read(&iprtd->capturing)) in snd_hrtimer_callback() 122 atomic_set(&iprtd->capturing, 1); in snd_imx_pcm_trigger() 134 atomic_set(&iprtd->capturing, 0); in snd_imx_pcm_trigger() 136 !atomic_read(&iprtd->capturing)) in snd_imx_pcm_trigger() 188 atomic_set(&iprtd->capturing, 0); in snd_imx_open()
|
/kernel/linux/linux-6.6/sound/soc/fsl/ |
H A D | imx-pcm-fiq.c | 41 atomic_t capturing; member 51 if (!atomic_read(&iprtd->playing) && !atomic_read(&iprtd->capturing)) in snd_hrtimer_callback() 121 atomic_set(&iprtd->capturing, 1); in snd_imx_pcm_trigger() 133 atomic_set(&iprtd->capturing, 0); in snd_imx_pcm_trigger() 135 !atomic_read(&iprtd->capturing)) in snd_imx_pcm_trigger() 187 atomic_set(&iprtd->capturing, 0); in snd_imx_open()
|
/kernel/linux/linux-5.10/drivers/media/usb/go7007/ |
H A D | snd-go7007.c | 43 int capturing; member 94 if (gosnd->capturing) in parse_audio_stream_data() 156 gosnd->capturing = 1; in go7007_snd_pcm_trigger() 160 gosnd->capturing = 0; in go7007_snd_pcm_trigger() 215 gosnd->capturing = 0; in go7007_snd_init()
|
/kernel/linux/linux-6.6/drivers/media/usb/go7007/ |
H A D | snd-go7007.c | 43 int capturing; member 94 if (gosnd->capturing) in parse_audio_stream_data() 156 gosnd->capturing = 1; in go7007_snd_pcm_trigger() 160 gosnd->capturing = 0; in go7007_snd_pcm_trigger() 215 gosnd->capturing = 0; in go7007_snd_init()
|
/kernel/linux/linux-5.10/drivers/media/pci/ivtv/ |
H A D | ivtv-streams.c | 546 if (atomic_read(&itv->capturing) == 0) { in ivtv_start_v4l2_encode_stream() 601 /* mute if capturing radio */ in ivtv_start_v4l2_encode_stream() 614 if (atomic_read(&itv->capturing) == 0) { in ivtv_start_v4l2_encode_stream() 650 atomic_inc(&itv->capturing); in ivtv_start_v4l2_encode_stream() 799 and that we are actually capturing */ in ivtv_stop_v4l2_encode_stream() 805 if (atomic_read(&itv->capturing) == 0) in ivtv_stop_v4l2_encode_stream() 876 atomic_dec(&itv->capturing); in ivtv_stop_v4l2_encode_stream() 884 if (atomic_read(&itv->capturing) > 0) { in ivtv_stop_v4l2_encode_stream() 1010 if (atomic_read(&itv->capturing) == 0) { in ivtv_passthrough_mode() 1017 atomic_inc(&itv->capturing); in ivtv_passthrough_mode() [all...] |
H A D | ivtv-firmware.c | 334 if (!res && !atomic_read(&itv->capturing) && in ivtv_firmware_check() 365 if (res && !atomic_read(&itv->capturing) && in ivtv_firmware_check()
|
H A D | ivtv-ioctl.c | 589 if (atomic_read(&itv->capturing) > 0) in ivtv_s_fmt_vid_cap() 607 if (!ivtv_raw_vbi(itv) && atomic_read(&itv->capturing) > 0) in ivtv_s_fmt_vbi_cap() 626 if (ivtv_raw_vbi(itv) && atomic_read(&itv->capturing) > 0) in ivtv_s_fmt_sliced_vbi_cap() 997 if (atomic_read(&itv->capturing) > 0) { in ivtv_s_input() 1175 atomic_read(&itv->capturing) > 0 || in ivtv_s_std() 1269 if (!atomic_read(&itv->capturing)) in ivtv_g_enc_index() 1304 if (!atomic_read(&itv->capturing)) in ivtv_encoder_cmd() 1317 if (!atomic_read(&itv->capturing)) in ivtv_encoder_cmd()
|
H A D | ivtv-fileops.c | 352 if (atomic_read(&itv->capturing) == 0 && s->fh == NULL) { in ivtv_read() 433 /* This stream does not need to start capturing */ in ivtv_start_capture() 453 We only need to start the VBI capturing. */ in ivtv_start_capture() 467 /* Tell the card to start capturing */ in ivtv_start_capture() 478 IVTV_DEBUG_WARN("Failed to start capturing for stream %s\n", s->name); in ivtv_start_capture() 482 We only need to stop the VBI capturing. */ in ivtv_start_capture() 805 /* Stop capturing */ in ivtv_stop_capture() 821 /* Also used internally, don't stop capturing */ in ivtv_stop_capture() 892 if (atomic_read(&itv->capturing) > 0) { in ivtv_v4l2_close() 996 if (atomic_read(&itv->capturing) > [all...] |
H A D | ivtv-driver.h | 670 atomic_t capturing; /* count number of active capture streams */ member
|
H A D | ivtv-driver.c | 1402 if (atomic_read(&itv->capturing) > 0) in ivtv_remove()
|
/kernel/linux/linux-6.6/drivers/media/pci/ivtv/ |
H A D | ivtv-streams.c | 546 if (atomic_read(&itv->capturing) == 0) { in ivtv_start_v4l2_encode_stream() 601 /* mute if capturing radio */ in ivtv_start_v4l2_encode_stream() 614 if (atomic_read(&itv->capturing) == 0) { in ivtv_start_v4l2_encode_stream() 650 atomic_inc(&itv->capturing); in ivtv_start_v4l2_encode_stream() 799 and that we are actually capturing */ in ivtv_stop_v4l2_encode_stream() 805 if (atomic_read(&itv->capturing) == 0) in ivtv_stop_v4l2_encode_stream() 876 atomic_dec(&itv->capturing); in ivtv_stop_v4l2_encode_stream() 884 if (atomic_read(&itv->capturing) > 0) { in ivtv_stop_v4l2_encode_stream() 1010 if (atomic_read(&itv->capturing) == 0) { in ivtv_passthrough_mode() 1017 atomic_inc(&itv->capturing); in ivtv_passthrough_mode() [all...] |
H A D | ivtv-firmware.c | 334 if (!res && !atomic_read(&itv->capturing) && in ivtv_firmware_check() 365 if (res && !atomic_read(&itv->capturing) && in ivtv_firmware_check()
|
H A D | ivtv-ioctl.c | 584 if (atomic_read(&itv->capturing) > 0) in ivtv_s_fmt_vid_cap() 602 if (!ivtv_raw_vbi(itv) && atomic_read(&itv->capturing) > 0) in ivtv_s_fmt_vbi_cap() 621 if (ivtv_raw_vbi(itv) && atomic_read(&itv->capturing) > 0) in ivtv_s_fmt_sliced_vbi_cap() 991 if (atomic_read(&itv->capturing) > 0) { in ivtv_s_input() 1169 atomic_read(&itv->capturing) > 0 || in ivtv_s_std() 1263 if (!atomic_read(&itv->capturing)) in ivtv_g_enc_index() 1298 if (!atomic_read(&itv->capturing)) in ivtv_encoder_cmd() 1311 if (!atomic_read(&itv->capturing)) in ivtv_encoder_cmd()
|
H A D | ivtv-fileops.c | 352 if (atomic_read(&itv->capturing) == 0 && s->fh == NULL) { in ivtv_read() 433 /* This stream does not need to start capturing */ in ivtv_start_capture() 453 We only need to start the VBI capturing. */ in ivtv_start_capture() 467 /* Tell the card to start capturing */ in ivtv_start_capture() 478 IVTV_DEBUG_WARN("Failed to start capturing for stream %s\n", s->name); in ivtv_start_capture() 482 We only need to stop the VBI capturing. */ in ivtv_start_capture() 805 /* Stop capturing */ in ivtv_stop_capture() 821 /* Also used internally, don't stop capturing */ in ivtv_stop_capture() 892 if (atomic_read(&itv->capturing) > 0) { in ivtv_v4l2_close() 996 if (atomic_read(&itv->capturing) > [all...] |
H A D | ivtv-driver.h | 668 atomic_t capturing; /* count number of active capture streams */ member
|
H A D | ivtv-driver.c | 1404 if (atomic_read(&itv->capturing) > 0) in ivtv_remove()
|
/kernel/linux/linux-5.10/sound/parisc/ |
H A D | harmony.c | 213 if (h->csubs && h->st.capturing) { in snd_harmony_interrupt() 297 if (h->st.capturing) in snd_harmony_playback_trigger() 339 h->st.capturing = 1; in snd_harmony_capture_trigger() 346 h->st.capturing = 0; in snd_harmony_capture_trigger() 400 if (h->st.capturing) in snd_harmony_playback_prepare() 437 h->st.capturing = 0; in snd_harmony_capture_prepare() 491 if (!(h->st.capturing) || (h->csubs == NULL)) in snd_harmony_capture_pointer()
|
H A D | harmony.h | 31 int capturing; member
|
/kernel/linux/linux-6.6/sound/parisc/ |
H A D | harmony.c | 213 if (h->csubs && h->st.capturing) { in snd_harmony_interrupt() 297 if (h->st.capturing) in snd_harmony_playback_trigger() 339 h->st.capturing = 1; in snd_harmony_capture_trigger() 346 h->st.capturing = 0; in snd_harmony_capture_trigger() 400 if (h->st.capturing) in snd_harmony_playback_prepare() 437 h->st.capturing = 0; in snd_harmony_capture_prepare() 491 if (!(h->st.capturing) || (h->csubs == NULL)) in snd_harmony_capture_pointer()
|
H A D | harmony.h | 31 int capturing; member
|