Home
last modified time | relevance | path

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

/openbmc/linux/sound/pci/rme9652/
H A Drme9652.c220 pid_t capture_pid; member
315 if ((rme9652->playback_pid != rme9652->capture_pid) && in snd_rme9652_use_is_exclusive()
316 (rme9652->playback_pid >= 0) && (rme9652->capture_pid >= 0)) { in snd_rme9652_use_is_exclusive()
513 if (reject_if_open && (rme9652->capture_pid >= 0 || rme9652->playback_pid >= 0)) { in rme9652_set_rate()
1941 other_pid = rme9652->capture_pid; in snd_rme9652_hw_params()
1943 this_pid = rme9652->capture_pid; in snd_rme9652_hw_params()
2301 rme9652->capture_pid = current->pid; in snd_rme9652_capture_open()
2326 rme9652->capture_pid = -1; in snd_rme9652_capture_release()
2501 rme9652->capture_pid = -1; in snd_rme9652_create()
H A Dhdsp.c479 pid_t capture_pid; member
946 if ((hdsp->playback_pid != hdsp->capture_pid) && in snd_hdsp_use_is_exclusive()
947 (hdsp->playback_pid >= 0) && (hdsp->capture_pid >= 0)) in snd_hdsp_use_is_exclusive()
1207 if (reject_if_open && (hdsp->capture_pid >= 0 || hdsp->playback_pid >= 0)) { in hdsp_set_rate()
1210 hdsp->capture_pid, in hdsp_set_rate()
4060 other_pid = hdsp->capture_pid; in snd_hdsp_hw_params()
4062 this_pid = hdsp->capture_pid; in snd_hdsp_hw_params()
4567 hdsp->capture_pid = current->pid; in snd_hdsp_capture_open()
4599 hdsp->capture_pid = -1; in snd_hdsp_capture_release()
5108 hdsp->capture_pid = -1; in snd_hdsp_create_alsa_devices()
H A Dhdspm.c1031 pid_t capture_pid; /* process id which uses capture */ member
1211 if ((hdspm->playback_pid != hdspm->capture_pid) && in snd_hdspm_use_is_exclusive()
1212 (hdspm->playback_pid >= 0) && (hdspm->capture_pid >= 0)) { in snd_hdspm_use_is_exclusive()
1733 && (hdspm->capture_pid >= 0 || hdspm->playback_pid >= 0)) { in hdspm_set_rate()
1738 hdspm->capture_pid, hdspm->playback_pid); in hdspm_set_rate()
5506 other_pid = hdspm->capture_pid; in snd_hdspm_hw_params()
5508 this_pid = hdspm->capture_pid; in snd_hdspm_hw_params()
6070 hdspm->capture_pid = current->pid; in snd_hdspm_open()
6136 hdspm->capture_pid = -1; in snd_hdspm_release()
6492 hdspm->capture_pid = -1; in snd_hdspm_create_alsa_devices()
/openbmc/linux/sound/pci/korg1212/
H A Dkorg1212.c360 pid_t capture_pid; member
806 if (korg1212->playback_pid != korg1212->capture_pid && in snd_korg1212_use_is_exclusive()
807 korg1212->playback_pid >= 0 && korg1212->capture_pid >= 0) in snd_korg1212_use_is_exclusive()
1413 korg1212->capture_pid = current->pid; in snd_korg1212_capture_open()
1456 korg1212->capture_pid = -1; in snd_korg1212_capture_close()
1499 other_pid = korg1212->capture_pid; in snd_korg1212_hw_params()
1501 this_pid = korg1212->capture_pid; in snd_korg1212_hw_params()
2099 korg1212->capture_pid = -1; in snd_korg1212_create()