Home
last modified time | relevance | path

Searched refs:clientid (Results 1 – 2 of 2) sorted by relevance

/sound/core/seq/
Dseq_clientmgr.h73 struct snd_seq_client *snd_seq_client_use_ptr(int clientid);
81 int snd_seq_kernel_client_write_poll(int clientid, struct file *file, poll_table *wait);
86 bool snd_seq_client_ioctl_lock(int clientid);
87 void snd_seq_client_ioctl_unlock(int clientid);
Dseq_clientmgr.c93 static struct snd_seq_client *clientptr(int clientid) in clientptr() argument
95 if (clientid < 0 || clientid >= SNDRV_SEQ_MAX_CLIENTS) { in clientptr()
97 clientid); in clientptr()
100 return clienttab[clientid]; in clientptr()
103 struct snd_seq_client *snd_seq_client_use_ptr(int clientid) in snd_seq_client_use_ptr() argument
108 if (clientid < 0 || clientid >= SNDRV_SEQ_MAX_CLIENTS) { in snd_seq_client_use_ptr()
110 clientid); in snd_seq_client_use_ptr()
114 client = clientptr(clientid); in snd_seq_client_use_ptr()
117 if (clienttablock[clientid]) { in snd_seq_client_use_ptr()
127 if (clientid < SNDRV_SEQ_GLOBAL_CLIENTS) { in snd_seq_client_use_ptr()
[all …]