Lines Matching refs:phase
282 * return x rounded up to the next phase (offset) within align.
283 * phase should be < align.
284 * eg, P2PHASEUP(0x1234, 0x100, 0x10) == 0x1310 (0x13*align + phase)
285 * eg, P2PHASEUP(0x5600, 0x100, 0x10) == 0x5610 (0x56*align + phase)
287 #define P2PHASEUP(x, align, phase) ((phase) - (((phase) - (x)) & -(align)))
326 #define P2PHASEUP_TYPED(x, align, phase, type) \
327 ((type)(phase) - (((type)(phase) - (type)(x)) & -(type)(align)))