Home
last modified time | relevance | path

Searched refs:capture_pid (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/sound/pci/rme9652/
Drme9652.c219 pid_t capture_pid; member
320 if ((rme9652->playback_pid != rme9652->capture_pid) && in snd_rme9652_use_is_exclusive()
321 (rme9652->playback_pid >= 0) && (rme9652->capture_pid >= 0)) { in snd_rme9652_use_is_exclusive()
518 if (reject_if_open && (rme9652->capture_pid >= 0 || rme9652->playback_pid >= 0)) { in rme9652_set_rate()
1994 other_pid = rme9652->capture_pid; in snd_rme9652_hw_params()
1996 this_pid = rme9652->capture_pid; in snd_rme9652_hw_params()
2354 rme9652->capture_pid = current->pid; in snd_rme9652_capture_open()
2379 rme9652->capture_pid = -1; in snd_rme9652_capture_release()
2556 rme9652->capture_pid = -1; in snd_rme9652_create()
Dhdsp.c478 pid_t capture_pid; member
951 if ((hdsp->playback_pid != hdsp->capture_pid) && in snd_hdsp_use_is_exclusive()
952 (hdsp->playback_pid >= 0) && (hdsp->capture_pid >= 0)) in snd_hdsp_use_is_exclusive()
1212 if (reject_if_open && (hdsp->capture_pid >= 0 || hdsp->playback_pid >= 0)) { in hdsp_set_rate()
1215 hdsp->capture_pid, in hdsp_set_rate()
4015 other_pid = hdsp->capture_pid; in snd_hdsp_hw_params()
4017 this_pid = hdsp->capture_pid; in snd_hdsp_hw_params()
4522 hdsp->capture_pid = current->pid; in snd_hdsp_capture_open()
4554 hdsp->capture_pid = -1; in snd_hdsp_capture_release()
5049 hdsp->capture_pid = -1; in snd_hdsp_create_alsa_devices()
Dhdspm.c1032 pid_t capture_pid; /* process id which uses capture */ member
1212 if ((hdspm->playback_pid != hdspm->capture_pid) && in snd_hdspm_use_is_exclusive()
1213 (hdspm->playback_pid >= 0) && (hdspm->capture_pid >= 0)) { in snd_hdspm_use_is_exclusive()
1734 && (hdspm->capture_pid >= 0 || hdspm->playback_pid >= 0)) { in hdspm_set_rate()
1739 hdspm->capture_pid, hdspm->playback_pid); in hdspm_set_rate()
5513 other_pid = hdspm->capture_pid; in snd_hdspm_hw_params()
5515 this_pid = hdspm->capture_pid; in snd_hdspm_hw_params()
6077 hdspm->capture_pid = current->pid; in snd_hdspm_open()
6143 hdspm->capture_pid = -1; in snd_hdspm_release()
6504 hdspm->capture_pid = -1; in snd_hdspm_create_alsa_devices()
/Linux-v5.10/sound/pci/korg1212/
Dkorg1212.c360 pid_t capture_pid; member
807 if (korg1212->playback_pid != korg1212->capture_pid && in snd_korg1212_use_is_exclusive()
808 korg1212->playback_pid >= 0 && korg1212->capture_pid >= 0) in snd_korg1212_use_is_exclusive()
1422 korg1212->capture_pid = current->pid; in snd_korg1212_capture_open()
1465 korg1212->capture_pid = -1; in snd_korg1212_capture_close()
1508 other_pid = korg1212->capture_pid; in snd_korg1212_hw_params()
1510 this_pid = korg1212->capture_pid; in snd_korg1212_hw_params()
2190 korg1212->capture_pid = -1; in snd_korg1212_create()