Lines Matching defs:phase
274 * return x rounded up to the next phase (offset) within align.
275 * phase should be < align.
276 * eg, P2PHASEUP(0x1234, 0x100, 0x10) == 0x1310 (0x13*align + phase)
277 * eg, P2PHASEUP(0x5600, 0x100, 0x10) == 0x5610 (0x56*align + phase)
279 #define P2PHASEUP(x, align, phase) ((phase) - (((phase) - (x)) & -(align)))
318 #define P2PHASEUP_TYPED(x, align, phase, type) \
319 ((type)(phase) - (((type)(phase) - (type)(x)) & -(type)(align)))