Lines Matching refs:j
450 int i, j, k; in snd_ac97_pcm_assign() local
473 for (j = 0; j < i; j++) { in snd_ac97_pcm_assign()
474 if (bus->codec[j]) in snd_ac97_pcm_assign()
475 avail_slots[1][i] &= ~avail_slots[1][j]; in snd_ac97_pcm_assign()
495 for (j = 0; j < 4 && slots; j++) { in snd_ac97_pcm_assign()
496 if (!bus->codec[j]) in snd_ac97_pcm_assign()
500 tmp = spdif_slots[j]; in snd_ac97_pcm_assign()
502 tmp = avail_slots[pcm->stream][j]; in snd_ac97_pcm_assign()
508 tmp &= ~rpcms[k].r[0].rslots[j]; in snd_ac97_pcm_assign()
515 rpcm->r[0].rslots[j] = tmp; in snd_ac97_pcm_assign()
516 rpcm->r[0].codec[j] = bus->codec[j]; in snd_ac97_pcm_assign()
517 rpcm->r[0].rate_table[j] = rate_table[pcm->stream][j]; in snd_ac97_pcm_assign()
521 rates = get_rates(rpcm, j, tmp, 0); in snd_ac97_pcm_assign()
523 avail_slots[pcm->stream][j] &= ~tmp; in snd_ac97_pcm_assign()