Lines Matching refs:client_index
228 static struct snd_seq_client *seq_create_client1(int client_index, int poolsize) in seq_create_client1() argument
252 if (client_index < 0) { in seq_create_client1()
263 if (clienttab[client_index] == NULL && !clienttablock[client_index]) { in seq_create_client1()
264 clienttab[client->number = client_index] = client; in seq_create_client1()
2353 int snd_seq_create_kernel_client(struct snd_card *card, int client_index, in snd_seq_create_kernel_client() argument
2362 if (card && client_index >= SNDRV_SEQ_CLIENTS_PER_CARD) in snd_seq_create_kernel_client()
2364 if (card == NULL && client_index >= SNDRV_SEQ_GLOBAL_CLIENTS) in snd_seq_create_kernel_client()
2370 client_index += SNDRV_SEQ_GLOBAL_CLIENTS in snd_seq_create_kernel_client()
2372 if (client_index >= SNDRV_SEQ_DYNAMIC_CLIENTS_BEGIN) in snd_seq_create_kernel_client()
2373 client_index = -1; in snd_seq_create_kernel_client()
2377 client = seq_create_client1(client_index, 0); in snd_seq_create_kernel_client()