Lines Matching refs:nsamples
37 int nsamples;
107 int period, ncycles, nsamples;
147 nsamples = beep->nsamples;
151 nsamples = (period * ncycles) >> 8;
152 f = ncycles * 65536 / nsamples;
155 for (i = 0; i < nsamples; ++i, p += 2) {
161 beep->nsamples = nsamples;
165 snd_pmac_beep_dma_start(chip, beep->nsamples * 4, beep->addr, beep_speed);