Lines Matching refs:adj
123 u64 adj;
136 adj = (u64)scaled_ppm * word;
140 adj += (USEC_PER_SEC >> 1);
141 adj >>= PPM_FRACTION; /* remove fractions */
142 adj = div_u64(adj, USEC_PER_SEC);
143 adj = neg_adj ? (word - adj) : (word + adj);
145 incr_spec.ns = (adj >> GEM_SUBNSINCR_SIZE)
147 incr_spec.sub_ns = adj & ((1 << GEM_SUBNSINCR_SIZE) - 1);
156 u32 adj, sign = 0;
170 adj = (sign << GEM_ADDSUB_OFFSET) | delta;
172 gem_writel(bp, TA, adj);
203 u64 adj;
207 adj = rem;
208 adj <<= GEM_SUBNSINCR_SIZE;
209 bp->tsu_incr.sub_ns = div_u64(adj, bp->tsu_rate);