Searched refs:periods (Results 1 - 13 of 13) sorted by relevance

/drivers/watchdog/
H A Docteon-wdt-main.c41 * and decrement the counter. But for the last two periods we need to
462 unsigned int periods; local
474 periods = t / timeout_sec;
477 * The last two periods are after the irq is disabled, and
481 countdown_reset = periods > 2 ? periods - 2 : 0;
H A DKconfig643 during inactivity periods (includes interrupt activity monitoring).
/drivers/media/video/saa7134/
H A Dsaa7134-alsa.c138 * and notifies ALSA when periods elapse
611 unsigned int period_size, periods; local
615 periods = params_periods(hw_params);
619 if (periods < 4)
621 if (period_size * periods > 1024 * 1024)
626 if (dev->dmasound.blocks == periods &&
637 dev->dmasound.blocks = periods;
639 dev->dmasound.bufsize = period_size * periods;
/drivers/dma/
H A Dimx-dma.c809 unsigned int periods = buf_len / period_len; local
823 imxdmac->sg_list = kcalloc(periods + 1,
828 sg_init_table(imxdmac->sg_list, periods);
830 for (i = 0; i < periods; i++) {
839 imxdmac->sg_list[periods].offset = 0;
840 imxdmac->sg_list[periods].length = 0;
841 imxdmac->sg_list[periods].page_link =
846 desc->sgcount = periods;
H A Ddw_dmac.c509 for (i = 0; i < dwc->cdesc->periods; i++)
1200 unsigned int periods; local
1227 periods = buf_len / period_len;
1229 /* Check for too big/unaligned periods and unaligned DMA buffer. */
1241 if (periods > NR_DESCS_PER_CHANNEL)
1248 cdesc->desc = kzalloc(sizeof(struct dw_desc *) * periods, GFP_KERNEL);
1252 for (i = 0; i < periods; i++) {
1311 "period %zu periods %d\n", buf_addr, buf_len,
1312 period_len, periods);
1314 cdesc->periods
[all...]
H A Dat_hdmac.c768 * Check for too big/unaligned periods and unaligned DMA buffer
860 unsigned int periods = buf_len / period_len; local
866 periods, buf_len, period_len);
884 /* Check for too big/unaligned periods and unaligned DMA buffer */
890 for (i = 0; i < periods; i++) {
H A Dste_dma40.c2352 unsigned int periods = buf_len / period_len; local
2357 sg = kcalloc(periods + 1, sizeof(struct scatterlist), GFP_NOWAIT);
2358 for (i = 0; i < periods; i++) {
2364 sg[periods].offset = 0;
2365 sg[periods].length = 0;
2366 sg[periods].page_link =
2369 txd = d40_prep_sg(chan, sg, sg, periods, direction,
/drivers/staging/media/easycap/
H A Deasycap_sound.c568 JOM(16, "ALSA decides %8i =periods\n", pss->runtime->periods);
580 if (prt->dma_bytes != 4 * ((int)prt->period_size) * ((int)prt->periods)) {
/drivers/media/video/cx23885/
H A Dcx23885-alsa.c115 dprintk(1, "Start audio DMA, %d B/line, %d lines/FIFO, %d periods, %d "
420 return runtime->period_size * (count & (runtime->periods-1));
/drivers/net/wireless/p54/
H A Dlmac.h459 __le16 periods; member in struct:p54_psm_interval
H A Dfwio.c622 psm->intervals[i].periods = cpu_to_le16(1);
/drivers/media/video/cx25821/
H A Dcx25821-alsa.c183 pr_info("DEBUG: Start audio DMA, %d B/line, cmds_start(0x%x)= %d lines/FIFO, %d periods, %d byte buffer\n",
563 return runtime->period_size * (count & (runtime->periods - 1));
/drivers/media/video/cx88/
H A Dcx88-alsa.c152 dprintk(1, "Start audio DMA, %d B/line, %d lines/FIFO, %d periods, %d "
506 // count, new, count & (runtime->periods-1),
507 // runtime->period_size * (count & (runtime->periods-1)));
508 return runtime->period_size * (count & (runtime->periods-1));

Completed in 192 milliseconds