Lines Matching refs:client_index
222 static struct snd_seq_client *seq_create_client1(int client_index, int poolsize) in seq_create_client1() argument
245 if (client_index < 0) { in seq_create_client1()
256 if (clienttab[client_index] == NULL && !clienttablock[client_index]) { in seq_create_client1()
257 clienttab[client->number = client_index] = client; in seq_create_client1()
2195 int snd_seq_create_kernel_client(struct snd_card *card, int client_index, in snd_seq_create_kernel_client() argument
2204 if (card && client_index >= SNDRV_SEQ_CLIENTS_PER_CARD) in snd_seq_create_kernel_client()
2206 if (card == NULL && client_index >= SNDRV_SEQ_GLOBAL_CLIENTS) in snd_seq_create_kernel_client()
2212 client_index += SNDRV_SEQ_GLOBAL_CLIENTS in snd_seq_create_kernel_client()
2214 if (client_index >= SNDRV_SEQ_DYNAMIC_CLIENTS_BEGIN) in snd_seq_create_kernel_client()
2215 client_index = -1; in snd_seq_create_kernel_client()
2219 client = seq_create_client1(client_index, 0); in snd_seq_create_kernel_client()