Home
last modified time | relevance | path

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

/Linux-v4.19/sound/pci/rme9652/
Drme9652.c233 pid_t capture_pid; member
339 if ((rme9652->playback_pid != rme9652->capture_pid) && in snd_rme9652_use_is_exclusive()
340 (rme9652->playback_pid >= 0) && (rme9652->capture_pid >= 0)) { in snd_rme9652_use_is_exclusive()
537 if (reject_if_open && (rme9652->capture_pid >= 0 || rme9652->playback_pid >= 0)) { in rme9652_set_rate()
2015 other_pid = rme9652->capture_pid; in snd_rme9652_hw_params()
2017 this_pid = rme9652->capture_pid; in snd_rme9652_hw_params()
2376 rme9652->capture_pid = current->pid; in snd_rme9652_capture_open()
2401 rme9652->capture_pid = -1; in snd_rme9652_capture_release()
2577 rme9652->capture_pid = -1; in snd_rme9652_create()
Dhdsp.c491 pid_t capture_pid; member
969 if ((hdsp->playback_pid != hdsp->capture_pid) && in snd_hdsp_use_is_exclusive()
970 (hdsp->playback_pid >= 0) && (hdsp->capture_pid >= 0)) in snd_hdsp_use_is_exclusive()
1230 if (reject_if_open && (hdsp->capture_pid >= 0 || hdsp->playback_pid >= 0)) { in hdsp_set_rate()
1233 hdsp->capture_pid, in hdsp_set_rate()
4036 other_pid = hdsp->capture_pid; in snd_hdsp_hw_params()
4038 this_pid = hdsp->capture_pid; in snd_hdsp_hw_params()
4542 hdsp->capture_pid = current->pid; in snd_hdsp_capture_open()
4574 hdsp->capture_pid = -1; in snd_hdsp_capture_release()
5070 hdsp->capture_pid = -1; in snd_hdsp_create_alsa_devices()
Dhdspm.c1039 pid_t capture_pid; /* process id which uses capture */ member
1219 if ((hdspm->playback_pid != hdspm->capture_pid) && in snd_hdspm_use_is_exclusive()
1220 (hdspm->playback_pid >= 0) && (hdspm->capture_pid >= 0)) { in snd_hdspm_use_is_exclusive()
1741 && (hdspm->capture_pid >= 0 || hdspm->playback_pid >= 0)) { in hdspm_set_rate()
1746 hdspm->capture_pid, hdspm->playback_pid); in hdspm_set_rate()
5529 other_pid = hdspm->capture_pid; in snd_hdspm_hw_params()
5531 this_pid = hdspm->capture_pid; in snd_hdspm_hw_params()
6085 hdspm->capture_pid = current->pid; in snd_hdspm_open()
6151 hdspm->capture_pid = -1; in snd_hdspm_release()
6525 hdspm->capture_pid = -1; in snd_hdspm_create_alsa_devices()
/Linux-v4.19/sound/pci/korg1212/
Dkorg1212.c374 pid_t capture_pid; member
821 if (korg1212->playback_pid != korg1212->capture_pid && in snd_korg1212_use_is_exclusive()
822 korg1212->playback_pid >= 0 && korg1212->capture_pid >= 0) in snd_korg1212_use_is_exclusive()
1436 korg1212->capture_pid = current->pid; in snd_korg1212_capture_open()
1479 korg1212->capture_pid = -1; in snd_korg1212_capture_close()
1522 other_pid = korg1212->capture_pid; in snd_korg1212_hw_params()
1524 this_pid = korg1212->capture_pid; in snd_korg1212_hw_params()
2204 korg1212->capture_pid = -1; in snd_korg1212_create()