Lines Matching refs:bursts
1333 unsigned long *bursts, const struct _xfer_spec *pxs) in _loop() argument
1339 if (*bursts == 1) in _loop()
1343 if (*bursts >= 256*256) { in _loop()
1346 cyc = *bursts / lcnt1 / lcnt0; in _loop()
1347 } else if (*bursts > 256) { in _loop()
1349 lcnt0 = *bursts / lcnt1; in _loop()
1352 lcnt1 = *bursts; in _loop()
1406 *bursts = lcnt1 * cyc; in _loop()
1408 *bursts *= lcnt0; in _loop()
1414 unsigned long bursts, const struct _xfer_spec *pxs, int ev) in _period() argument
1421 if (bursts > 256) { in _period()
1423 cyc = bursts / 256; in _period()
1425 lcnt1 = bursts; in _period()
1440 lcnt1 = bursts - (lcnt1 * cyc); in _period()
1478 u8 buf[], unsigned long bursts, in _loop_cyclic() argument
1507 off += _period(pl330, dry_run, &buf[off], bursts, pxs, ev); in _loop_cyclic()
1516 off += _period(pl330, dry_run, &buf[off], bursts, pxs, ev); in _loop_cyclic()
1533 unsigned long c, bursts = BYTE_TO_BURST(x->bytes, ccr); in _setup_loops() local
1534 int num_dregs = (x->bytes - BURST_TO_BYTE(bursts, ccr)) / in _setup_loops()
1540 bursts = x->bytes / (BRST_SIZE(ccr) * BRST_LEN(ccr) + in _setup_loops()
1543 bursts = x->bytes / (BRST_SIZE(ccr) * BRST_LEN(ccr) + in _setup_loops()
1546 while (bursts) { in _setup_loops()
1547 c = bursts; in _setup_loops()
1549 bursts -= c; in _setup_loops()
1585 unsigned long bursts = BYTE_TO_BURST(x->bytes, ccr); in _setup_xfer_cyclic() local
1590 bursts = x->bytes / (BRST_SIZE(ccr) * BRST_LEN(ccr) in _setup_xfer_cyclic()
1593 bursts = x->bytes / (BRST_SIZE(ccr) * BRST_LEN(ccr) in _setup_xfer_cyclic()
1597 off += _loop_cyclic(pl330, dry_run, &buf[off], bursts, pxs, ev); in _setup_xfer_cyclic()