Lines Matching refs:adj
128 u64 adj;
141 adj = (u64)scaled_ppm * word;
145 adj += (USEC_PER_SEC >> 1);
146 adj >>= PPM_FRACTION; /* remove fractions */
147 adj = div_u64(adj, USEC_PER_SEC);
148 adj = neg_adj ? (word - adj) : (word + adj);
150 incr_spec.ns = (adj >> GEM_SUBNSINCR_SIZE)
152 incr_spec.sub_ns = adj & ((1 << GEM_SUBNSINCR_SIZE) - 1);
161 u32 adj, sign = 0;
175 adj = (sign << GEM_ADDSUB_OFFSET) | delta;
177 gem_writel(bp, TA, adj);
208 u64 adj;
212 adj = rem;
213 adj <<= GEM_SUBNSINCR_SIZE;
214 bp->tsu_incr.sub_ns = div_u64(adj, bp->tsu_rate);