Home
last modified time | relevance | path

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

/sound/ppc/
Dbeep.c37 int nsamples; member
107 int period, ncycles, nsamples; in snd_pmac_beep_event() local
147 nsamples = beep->nsamples; in snd_pmac_beep_event()
151 nsamples = (period * ncycles) >> 8; in snd_pmac_beep_event()
152 f = ncycles * 65536 / nsamples; in snd_pmac_beep_event()
155 for (i = 0; i < nsamples; ++i, p += 2) { in snd_pmac_beep_event()
161 beep->nsamples = nsamples; in snd_pmac_beep_event()
165 snd_pmac_beep_dma_start(chip, beep->nsamples * 4, beep->addr, beep_speed); in snd_pmac_beep_event()