Lines Matching defs:cycle
30 unsigned int cycle = 1000000000 / clock;
35 wt = DIV_ROUND_UP(t->act8b, cycle) - 2;
37 wt = max_t(int, wt, DIV_ROUND_UP(35, cycle));
38 /* actual wait-cycle is max(wt & ~1, 1) */
43 shwt = DIV_ROUND_UP(t->setup, cycle);
45 /* -DIOx recovery time (SHWT * 4) and cycle time requirement */
46 while ((shwt * 4 + wt + (wt ? 2 : 3)) * cycle < t->cycle)
52 pr_debug("tx4938ide: ebus %d, bus cycle %dns, WT %d, SHWT %d\n",
53 ebus_ch, cycle, wt, shwt);