Lines Matching refs:periods
509 for (i = 0; i < dwc->cdesc->periods; i++)
1200 unsigned int periods;
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 = periods;
1358 for (i = 0; i < cdesc->periods; i++)