Lines Matching refs:tmp
261 unsigned int tmp; in snd_ac97_set_rate() local
300 tmp = (rate * ac97->bus->clock) / 48000; in snd_ac97_set_rate()
301 if (tmp > 65535) in snd_ac97_set_rate()
306 snd_ac97_update(ac97, reg, tmp & 0xffff); in snd_ac97_set_rate()
455 unsigned short tmp, slots; in snd_ac97_pcm_assign() local
500 tmp = spdif_slots[j]; in snd_ac97_pcm_assign()
502 tmp = avail_slots[pcm->stream][j]; in snd_ac97_pcm_assign()
505 tmp &= slots; in snd_ac97_pcm_assign()
508 tmp &= ~rpcms[k].r[0].rslots[j]; in snd_ac97_pcm_assign()
512 tmp &= pcm->r[0].slots; in snd_ac97_pcm_assign()
514 if (tmp) { in snd_ac97_pcm_assign()
515 rpcm->r[0].rslots[j] = tmp; 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()
525 slots &= ~tmp; in snd_ac97_pcm_assign()
526 rpcm->r[0].slots |= tmp; in snd_ac97_pcm_assign()
533 tmp = (1<<AC97_SLOT_PCM_LEFT) | (1<<AC97_SLOT_PCM_RIGHT) | in snd_ac97_pcm_assign()
535 if ((tmp & pcm->r[1].slots) == tmp) { in snd_ac97_pcm_assign()
536 rpcm->r[1].slots = tmp; in snd_ac97_pcm_assign()
537 rpcm->r[1].rslots[0] = tmp; in snd_ac97_pcm_assign()
541 avail_slots[pcm->stream][0] &= ~tmp; in snd_ac97_pcm_assign()
545 rates = get_rates(rpcm, 0, tmp, 1); in snd_ac97_pcm_assign()