Lines Matching defs:adj
130 u64 adj;
143 adj = (u64)scaled_ppm * word;
147 adj += (USEC_PER_SEC >> 1);
148 adj >>= PPM_FRACTION; /* remove fractions */
149 adj = div_u64(adj, USEC_PER_SEC);
150 adj = neg_adj ? (word - adj) : (word + adj);
152 incr_spec.ns = (adj >> GEM_SUBNSINCR_SIZE)
154 incr_spec.sub_ns = adj & ((1 << GEM_SUBNSINCR_SIZE) - 1);
163 u32 adj, sign = 0;
177 adj = (sign << GEM_ADDSUB_OFFSET) | delta;
179 gem_writel(bp, TA, adj);
210 u64 adj;
214 adj = rem;
215 adj <<= GEM_SUBNSINCR_SIZE;
216 bp->tsu_incr.sub_ns = div_u64(adj, bp->tsu_rate);