Home
last modified time | relevance | path

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

/Linux-v5.4/sound/pci/rme9652/
Drme9652.c219 pid_t capture_pid; member
325 if ((rme9652->playback_pid != rme9652->capture_pid) && in snd_rme9652_use_is_exclusive()
326 (rme9652->playback_pid >= 0) && (rme9652->capture_pid >= 0)) { in snd_rme9652_use_is_exclusive()
523 if (reject_if_open && (rme9652->capture_pid >= 0 || rme9652->playback_pid >= 0)) { in rme9652_set_rate()
1999 other_pid = rme9652->capture_pid; in snd_rme9652_hw_params()
2001 this_pid = rme9652->capture_pid; in snd_rme9652_hw_params()
2359 rme9652->capture_pid = current->pid; in snd_rme9652_capture_open()
2384 rme9652->capture_pid = -1; in snd_rme9652_capture_release()
2560 rme9652->capture_pid = -1; in snd_rme9652_create()
Dhdsp.c478 pid_t capture_pid; member
956 if ((hdsp->playback_pid != hdsp->capture_pid) && in snd_hdsp_use_is_exclusive()
957 (hdsp->playback_pid >= 0) && (hdsp->capture_pid >= 0)) in snd_hdsp_use_is_exclusive()
1217 if (reject_if_open && (hdsp->capture_pid >= 0 || hdsp->playback_pid >= 0)) { in hdsp_set_rate()
1220 hdsp->capture_pid, in hdsp_set_rate()
4020 other_pid = hdsp->capture_pid; in snd_hdsp_hw_params()
4022 this_pid = hdsp->capture_pid; in snd_hdsp_hw_params()
4527 hdsp->capture_pid = current->pid; in snd_hdsp_capture_open()
4559 hdsp->capture_pid = -1; in snd_hdsp_capture_release()
5055 hdsp->capture_pid = -1; in snd_hdsp_create_alsa_devices()
Dhdspm.c1028 pid_t capture_pid; /* process id which uses capture */ member
1208 if ((hdspm->playback_pid != hdspm->capture_pid) && in snd_hdspm_use_is_exclusive()
1209 (hdspm->playback_pid >= 0) && (hdspm->capture_pid >= 0)) { in snd_hdspm_use_is_exclusive()
1730 && (hdspm->capture_pid >= 0 || hdspm->playback_pid >= 0)) { in hdspm_set_rate()
1735 hdspm->capture_pid, hdspm->playback_pid); in hdspm_set_rate()
5509 other_pid = hdspm->capture_pid; in snd_hdspm_hw_params()
5511 this_pid = hdspm->capture_pid; in snd_hdspm_hw_params()
6073 hdspm->capture_pid = current->pid; in snd_hdspm_open()
6139 hdspm->capture_pid = -1; in snd_hdspm_release()
6501 hdspm->capture_pid = -1; in snd_hdspm_create_alsa_devices()
/Linux-v5.4/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()
2188 korg1212->capture_pid = -1; in snd_korg1212_create()