Searched refs:nsamples (Results 1 – 1 of 1) sorted by relevance
24 int nsamples; member94 int period, ncycles, nsamples; in snd_pmac_beep_event() local137 nsamples = beep->nsamples; in snd_pmac_beep_event()141 nsamples = (period * ncycles) >> 8; in snd_pmac_beep_event()142 f = ncycles * 65536 / nsamples; in snd_pmac_beep_event()145 for (i = 0; i < nsamples; ++i, p += 2) { in snd_pmac_beep_event()151 beep->nsamples = nsamples; in snd_pmac_beep_event()155 snd_pmac_beep_dma_start(chip, beep->nsamples * 4, beep->addr, beep_speed); in snd_pmac_beep_event()
Completed in 5 milliseconds