Home
last modified time | relevance | path

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

/linux-4.4.14/sound/pci/rme9652/
Drme9652.c232 pid_t capture_pid; member
338 if ((rme9652->playback_pid != rme9652->capture_pid) && in snd_rme9652_use_is_exclusive()
339 (rme9652->playback_pid >= 0) && (rme9652->capture_pid >= 0)) { in snd_rme9652_use_is_exclusive()
536 if (reject_if_open && (rme9652->capture_pid >= 0 || rme9652->playback_pid >= 0)) { in rme9652_set_rate()
1979 other_pid = rme9652->capture_pid; in snd_rme9652_hw_params()
1981 this_pid = rme9652->capture_pid; in snd_rme9652_hw_params()
2339 rme9652->capture_pid = current->pid; in snd_rme9652_capture_open()
2364 rme9652->capture_pid = -1; in snd_rme9652_capture_release()
2538 rme9652->capture_pid = -1; in snd_rme9652_create()
Dhdsp.c491 pid_t capture_pid; member
973 if ((hdsp->playback_pid != hdsp->capture_pid) && in snd_hdsp_use_is_exclusive()
974 (hdsp->playback_pid >= 0) && (hdsp->capture_pid >= 0)) in snd_hdsp_use_is_exclusive()
1234 if (reject_if_open && (hdsp->capture_pid >= 0 || hdsp->playback_pid >= 0)) { in hdsp_set_rate()
1237 hdsp->capture_pid, in hdsp_set_rate()
4009 other_pid = hdsp->capture_pid; in snd_hdsp_hw_params()
4011 this_pid = hdsp->capture_pid; in snd_hdsp_hw_params()
4515 hdsp->capture_pid = current->pid; in snd_hdsp_capture_open()
4547 hdsp->capture_pid = -1; in snd_hdsp_capture_release()
5041 hdsp->capture_pid = -1; in snd_hdsp_create_alsa_devices()
Dhdspm.c1038 pid_t capture_pid; /* process id which uses capture */ member
1218 if ((hdspm->playback_pid != hdspm->capture_pid) && in snd_hdspm_use_is_exclusive()
1219 (hdspm->playback_pid >= 0) && (hdspm->capture_pid >= 0)) { in snd_hdspm_use_is_exclusive()
1740 && (hdspm->capture_pid >= 0 || hdspm->playback_pid >= 0)) { in hdspm_set_rate()
1745 hdspm->capture_pid, hdspm->playback_pid); in hdspm_set_rate()
5522 other_pid = hdspm->capture_pid; in snd_hdspm_hw_params()
5524 this_pid = hdspm->capture_pid; in snd_hdspm_hw_params()
6075 hdspm->capture_pid = current->pid; in snd_hdspm_open()
6141 hdspm->capture_pid = -1; in snd_hdspm_release()
6515 hdspm->capture_pid = -1; in snd_hdspm_create_alsa_devices()
/linux-4.4.14/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()
1421 korg1212->capture_pid = current->pid; in snd_korg1212_capture_open()
1464 korg1212->capture_pid = -1; in snd_korg1212_capture_close()
1507 other_pid = korg1212->capture_pid; in snd_korg1212_hw_params()
1509 this_pid = korg1212->capture_pid; in snd_korg1212_hw_params()
2187 korg1212->capture_pid = -1; in snd_korg1212_create()