adj               132 arch/arm/kvm/handle_exit.c 			u32 adj =  kvm_vcpu_trap_il_is32bit(vcpu) ? 4 : 2;
adj               133 arch/arm/kvm/handle_exit.c 			*vcpu_pc(vcpu) -= adj;
adj               264 arch/arm64/kvm/handle_exit.c 			u32 adj =  kvm_vcpu_trap_il_is32bit(vcpu) ? 4 : 2;
adj               265 arch/arm64/kvm/handle_exit.c 			*vcpu_pc(vcpu) -= adj;
adj               278 arch/ia64/kernel/smpboot.c 	long i, delta, adj, adjust_latency = 0, done = 0;
adj               319 arch/ia64/kernel/smpboot.c 					adj = -delta + adjust_latency/4;
adj               321 arch/ia64/kernel/smpboot.c 					adj = -delta;
adj               323 arch/ia64/kernel/smpboot.c 				ia64_set_itc(ia64_get_itc() + adj);
adj               244 arch/s390/kernel/time.c 	unsigned long long now, adj;
adj               248 arch/s390/kernel/time.c 	adj = tod_steering_end - now;
adj               249 arch/s390/kernel/time.c 	if (unlikely((s64) adj >= 0))
adj               256 arch/s390/kernel/time.c 		now += (tod_steering_delta < 0) ? (adj >> 15) : -(adj >> 15);
adj               433 arch/s390/kernel/time.c 	unsigned long now, adj;
adj               444 arch/s390/kernel/time.c 	adj = tod_steering_end - now;
adj               445 arch/s390/kernel/time.c 	if (unlikely((s64) adj >= 0))
adj               448 arch/s390/kernel/time.c 			-(adj >> 15) : (adj >> 15);
adj                65 arch/sh/boards/mach-dreamcast/rtc.c 	u32 adj = secs + TWENTY_YEARS;
adj                68 arch/sh/boards/mach-dreamcast/rtc.c 		__raw_writel((adj & 0xffff0000) >> 16, AICA_RTC_SECS_H);
adj                69 arch/sh/boards/mach-dreamcast/rtc.c 		__raw_writel((adj & 0xffff), AICA_RTC_SECS_L);
adj               205 arch/sparc/kernel/smp_64.c 	long i, delta, adj, adjust_latency = 0, done = 0;
adj               231 arch/sparc/kernel/smp_64.c 					adj = -delta + adjust_latency/4;
adj               233 arch/sparc/kernel/smp_64.c 					adj = -delta;
adj               235 arch/sparc/kernel/smp_64.c 				tick_ops->add_tick(adj);
adj               117 arch/sparc/kernel/time_64.c static int tick_add_compare(unsigned long adj)
adj               142 arch/sparc/kernel/time_64.c 			     : "r" (orig_tick), "r" (adj));
adj               148 arch/sparc/kernel/time_64.c 	return ((long)(new_tick - (orig_tick+adj))) > 0L;
adj               151 arch/sparc/kernel/time_64.c static unsigned long tick_add_tick(unsigned long adj)
adj               160 arch/sparc/kernel/time_64.c 			     : "r" (adj));
adj               250 arch/sparc/kernel/time_64.c static unsigned long stick_add_tick(unsigned long adj)
adj               258 arch/sparc/kernel/time_64.c 			     : "r" (adj));
adj               263 arch/sparc/kernel/time_64.c static int stick_add_compare(unsigned long adj)
adj               273 arch/sparc/kernel/time_64.c 			     : "r" (orig_tick + adj));
adj               279 arch/sparc/kernel/time_64.c 	return ((long)(new_tick - (orig_tick+adj))) > 0L;
adj               392 arch/sparc/kernel/time_64.c static unsigned long hbtick_add_tick(unsigned long adj)
adj               396 arch/sparc/kernel/time_64.c 	val = __hbird_read_stick() + adj;
adj               402 arch/sparc/kernel/time_64.c static int hbtick_add_compare(unsigned long adj)
adj               408 arch/sparc/kernel/time_64.c 	val += adj;
adj                50 arch/x86/kernel/tsc_sync.c 	struct tsc_adjust *adj = this_cpu_ptr(&tsc_adjust);
adj                61 arch/x86/kernel/tsc_sync.c 	if (!resume && time_before(jiffies, adj->nextcheck))
adj                64 arch/x86/kernel/tsc_sync.c 	adj->nextcheck = jiffies + HZ;
adj                67 arch/x86/kernel/tsc_sync.c 	if (adj->adjusted == curval)
adj                71 arch/x86/kernel/tsc_sync.c 	wrmsrl(MSR_IA32_TSC_ADJUST, adj->adjusted);
adj                73 arch/x86/kernel/tsc_sync.c 	if (!adj->warned || resume) {
adj                75 arch/x86/kernel/tsc_sync.c 			smp_processor_id(), adj->adjusted, curval);
adj                76 arch/x86/kernel/tsc_sync.c 		adj->warned = true;
adj              2764 arch/x86/kvm/x86.c 				s64 adj = data - vcpu->arch.ia32_tsc_adjust_msr;
adj              2765 arch/x86/kvm/x86.c 				adjust_tsc_offset_guest(vcpu, adj);
adj               185 arch/x86/math-emu/poly_l2.c 	long int exponent, adj;
adj               221 arch/x86/math-emu/poly_l2.c 	adj = norm_Xsig(&argSignif);
adj               225 arch/x86/math-emu/poly_l2.c 	shr_Xsig(&accumulator, 2 * (-1 - (1 + exponent + adj)));
adj               235 arch/x86/math-emu/poly_l2.c 	shr_Xsig(&accumulator, 6 - adj);
adj                62 arch/x86/math-emu/poly_sin.c 	unsigned long fix_up, adj;
adj               175 arch/x86/math-emu/poly_sin.c 		adj = accumulator.lsw;	/* temp save */
adj               177 arch/x86/math-emu/poly_sin.c 		if (accumulator.lsw > adj)
adj                57 arch/x86/math-emu/poly_tan.c 	unsigned long adj;
adj               178 arch/x86/math-emu/poly_tan.c 			adj = 0xffffffff;	/* We want approx 1.0 here, but
adj               181 arch/x86/math-emu/poly_tan.c 			adj = accum.msw >> -(exponent + 1);	/* tan */
adj               182 arch/x86/math-emu/poly_tan.c 			adj = mul_32_32(adj, adj);	/* tan^2 */
adj               184 arch/x86/math-emu/poly_tan.c 			adj = 0;
adj               185 arch/x86/math-emu/poly_tan.c 		adj = mul_32_32(0x898cc517, adj);	/* delta * tan^2 */
adj               187 arch/x86/math-emu/poly_tan.c 		fix_up.msw += adj;
adj                53 arch/x86/math-emu/reg_constant.c static void fld_const(FPU_REG const * c, int adj, u_char tag)
adj                63 arch/x86/math-emu/reg_constant.c 	st_new_ptr->sigl += adj;	/* For all our fldxxx constants, we don't need to
adj               194 drivers/ata/pata_pdc2027x.c 	u8 adj = (adev->devno) ? 0x08 : 0x00;
adj               195 drivers/ata/pata_pdc2027x.c 	return port_mmio(ap, offset) + adj;
adj               136 drivers/block/drbd/drbd_vli.h 	u64 adj = 1;
adj               141 drivers/block/drbd/drbd_vli.h 			*out = ((in & ((~0ULL) >> (64-t))) >> b) + adj;	\
adj               144 drivers/block/drbd/drbd_vli.h 		adj += 1ULL << (t - b);			\
adj               159 drivers/block/drbd/drbd_vli.h 	u64 adj = 1;
adj               168 drivers/block/drbd/drbd_vli.h 				*out = ((in - adj) << b) | v;	\
adj               171 drivers/block/drbd/drbd_vli.h 		adj = max + 1;		\
adj               200 drivers/gpu/drm/armada/armada_crtc.c 	const struct drm_display_mode *mode, struct drm_display_mode *adj)
adj               210 drivers/gpu/drm/armada/armada_crtc.c 	drm_mode_set_crtcinfo(adj, CRTC_INTERLACE_HALVE_V);
adj               216 drivers/gpu/drm/armada/armada_crtc.c 	if (armada_drm_crtc_mode_valid(crtc, adj) != MODE_OK)
adj               220 drivers/gpu/drm/armada/armada_crtc.c 	ret = dcrtc->variant->compute_clock(dcrtc, adj, NULL);
adj               332 drivers/gpu/drm/armada/armada_crtc.c 	struct drm_display_mode *adj = &crtc->state->adjusted_mode;
adj               338 drivers/gpu/drm/armada/armada_crtc.c 	bool interlaced = !!(adj->flags & DRM_MODE_FLAG_INTERLACE);
adj               341 drivers/gpu/drm/armada/armada_crtc.c 	rm = adj->crtc_hsync_start - adj->crtc_hdisplay;
adj               342 drivers/gpu/drm/armada/armada_crtc.c 	lm = adj->crtc_htotal - adj->crtc_hsync_end;
adj               343 drivers/gpu/drm/armada/armada_crtc.c 	bm = adj->crtc_vsync_start - adj->crtc_vdisplay;
adj               344 drivers/gpu/drm/armada/armada_crtc.c 	tm = adj->crtc_vtotal - adj->crtc_vsync_end;
adj               347 drivers/gpu/drm/armada/armada_crtc.c 		      crtc->base.id, crtc->name, DRM_MODE_ARG(adj));
adj               351 drivers/gpu/drm/armada/armada_crtc.c 	dcrtc->variant->compute_clock(dcrtc, adj, &sclk);
adj               359 drivers/gpu/drm/armada/armada_crtc.c 	dcrtc->v[1].spu_v_h_total = adj->crtc_vtotal << 16 |
adj               360 drivers/gpu/drm/armada/armada_crtc.c 				    adj->crtc_htotal;
adj               362 drivers/gpu/drm/armada/armada_crtc.c 	val = adj->crtc_hsync_start;
adj               367 drivers/gpu/drm/armada/armada_crtc.c 		val -= adj->crtc_htotal / 2;
adj               376 drivers/gpu/drm/armada/armada_crtc.c 	val = adj->crtc_vdisplay << 16 | adj->crtc_hdisplay;
adj               389 drivers/gpu/drm/armada/armada_crtc.c 	val = adj->flags & DRM_MODE_FLAG_NVSYNC ? CFG_VSYNC_INV : 0;
adj               401 drivers/gpu/drm/armada/armada_crtc.c 	if (adj->flags & DRM_MODE_FLAG_NCSYNC)
adj               403 drivers/gpu/drm/armada/armada_crtc.c 	if (adj->flags & DRM_MODE_FLAG_NHSYNC)
adj               405 drivers/gpu/drm/armada/armada_crtc.c 	if (adj->flags & DRM_MODE_FLAG_NVSYNC)
adj                69 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c 	struct drm_display_mode *adj = &c->state->adjusted_mode;
adj                82 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c 	vm.vfront_porch = adj->crtc_vsync_start - adj->crtc_vdisplay;
adj                83 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c 	vm.vback_porch = adj->crtc_vtotal - adj->crtc_vsync_end;
adj                84 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c 	vm.vsync_len = adj->crtc_vsync_end - adj->crtc_vsync_start;
adj                85 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c 	vm.hfront_porch = adj->crtc_hsync_start - adj->crtc_hdisplay;
adj                86 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c 	vm.hback_porch = adj->crtc_htotal - adj->crtc_hsync_end;
adj                87 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c 	vm.hsync_len = adj->crtc_hsync_end - adj->crtc_hsync_start;
adj                99 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c 		     (adj->crtc_hdisplay - 1) |
adj               100 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c 		     ((adj->crtc_vdisplay - 1) << 16));
adj               103 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c 	mode_rate = adj->crtc_clock * 1000;
adj               141 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c 	if (adj->flags & DRM_MODE_FLAG_NVSYNC)
adj               144 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c 	if (adj->flags & DRM_MODE_FLAG_NHSYNC)
adj               351 drivers/gpu/drm/bridge/sii902x.c 				    const struct drm_display_mode *adj)
adj               357 drivers/gpu/drm/bridge/sii902x.c 	u16 pixel_clock_10kHz = adj->clock / 10;
adj               362 drivers/gpu/drm/bridge/sii902x.c 	buf[2] = adj->vrefresh;
adj               364 drivers/gpu/drm/bridge/sii902x.c 	buf[4] = adj->hdisplay;
adj               365 drivers/gpu/drm/bridge/sii902x.c 	buf[5] = adj->hdisplay >> 8;
adj               366 drivers/gpu/drm/bridge/sii902x.c 	buf[6] = adj->vdisplay;
adj               367 drivers/gpu/drm/bridge/sii902x.c 	buf[7] = adj->vdisplay >> 8;
adj               380 drivers/gpu/drm/bridge/sii902x.c 						       &sii902x->connector, adj);
adj              1277 drivers/gpu/drm/bridge/tc358767.c 				 struct drm_display_mode *adj)
adj              1280 drivers/gpu/drm/bridge/tc358767.c 	adj->flags = mode->flags;
adj              1281 drivers/gpu/drm/bridge/tc358767.c 	adj->flags |= (DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC);
adj              1282 drivers/gpu/drm/bridge/tc358767.c 	adj->flags &= ~(DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC);
adj              1309 drivers/gpu/drm/bridge/tc358767.c 			       const struct drm_display_mode *adj)
adj              1176 drivers/gpu/drm/i915/i915_irq.c 	int new_delay, adj, min, max;
adj              1195 drivers/gpu/drm/i915/i915_irq.c 	adj = rps->last_adj;
adj              1203 drivers/gpu/drm/i915/i915_irq.c 		adj = 0;
adj              1205 drivers/gpu/drm/i915/i915_irq.c 		if (adj > 0)
adj              1206 drivers/gpu/drm/i915/i915_irq.c 			adj *= 2;
adj              1208 drivers/gpu/drm/i915/i915_irq.c 			adj = IS_CHERRYVIEW(dev_priv) ? 2 : 1;
adj              1211 drivers/gpu/drm/i915/i915_irq.c 			adj = 0;
adj              1213 drivers/gpu/drm/i915/i915_irq.c 		adj = 0;
adj              1219 drivers/gpu/drm/i915/i915_irq.c 		adj = 0;
adj              1221 drivers/gpu/drm/i915/i915_irq.c 		if (adj < 0)
adj              1222 drivers/gpu/drm/i915/i915_irq.c 			adj *= 2;
adj              1224 drivers/gpu/drm/i915/i915_irq.c 			adj = IS_CHERRYVIEW(dev_priv) ? -2 : -1;
adj              1227 drivers/gpu/drm/i915/i915_irq.c 			adj = 0;
adj              1229 drivers/gpu/drm/i915/i915_irq.c 		adj = 0;
adj              1232 drivers/gpu/drm/i915/i915_irq.c 	rps->last_adj = adj;
adj              1242 drivers/gpu/drm/i915/i915_irq.c 	if ((adj < 0 && rps->power.mode == HIGH_POWER) ||
adj              1243 drivers/gpu/drm/i915/i915_irq.c 	    (adj > 0 && rps->power.mode == LOW_POWER))
adj              1249 drivers/gpu/drm/i915/i915_irq.c 	new_delay += adj;
adj               679 drivers/gpu/drm/mcde/mcde_dsi.c 				     const struct drm_display_mode *adj)
adj                73 drivers/gpu/drm/nouveau/dispnv50/head.c 	const int adj = (vib > 0) ? 50 : 0;
adj                74 drivers/gpu/drm/nouveau/dispnv50/head.c 	asyh->procamp.sat.cos = ((vib * 2047 + adj) / 100) & 0xfff;
adj               131 drivers/ide/pdc202xx_new.c 	u8 adj			= (drive->dn & 1) ? 0x08 : 0x00;
adj               146 drivers/ide/pdc202xx_new.c 			set_indexed_reg(hwif, 0x10 + adj,
adj               148 drivers/ide/pdc202xx_new.c 			set_indexed_reg(hwif, 0x11 + adj,
adj               150 drivers/ide/pdc202xx_new.c 			set_indexed_reg(hwif, 0x12 + adj,
adj               153 drivers/ide/pdc202xx_new.c 			set_indexed_reg(hwif, 0x0e + adj,
adj               155 drivers/ide/pdc202xx_new.c 			set_indexed_reg(hwif, 0x0f + adj,
adj               160 drivers/ide/pdc202xx_new.c 		u8 tmp = get_indexed_reg(hwif, 0x10 + adj);
adj               162 drivers/ide/pdc202xx_new.c 		set_indexed_reg(hwif, 0x10 + adj, tmp & 0x7f);
adj               169 drivers/ide/pdc202xx_new.c 	u8 adj = (drive->dn & 1) ? 0x08 : 0x00;
adj               173 drivers/ide/pdc202xx_new.c 		set_indexed_reg(hwif, 0x0c + adj, pio_timings[pio].reg0c);
adj               174 drivers/ide/pdc202xx_new.c 		set_indexed_reg(hwif, 0x0d + adj, pio_timings[pio].reg0d);
adj               175 drivers/ide/pdc202xx_new.c 		set_indexed_reg(hwif, 0x13 + adj, pio_timings[pio].reg13);
adj                91 drivers/macintosh/windfarm_pid.c 	s32	error, target, sval, adj;
adj               120 drivers/macintosh/windfarm_pid.c 	adj = min(st->param.ttarget, sval);
adj               122 drivers/macintosh/windfarm_pid.c 	DBG("integ: %lx, sval: %lx, adj: %lx\n", integ, sval, adj);
adj               131 drivers/macintosh/windfarm_pid.c 	prop = st->last_delta = (new_temp - adj);
adj               913 drivers/media/platform/rcar_jpu.c 	struct jpu_q_data *src_q_data, *dst_q_data, *orig, adj, *ref;
adj               920 drivers/media/platform/rcar_jpu.c 		adj = *src_q_data;
adj               925 drivers/media/platform/rcar_jpu.c 		adj = *dst_q_data;
adj               931 drivers/media/platform/rcar_jpu.c 	adj.format.width = ref->format.width;
adj               932 drivers/media/platform/rcar_jpu.c 	adj.format.height = ref->format.height;
adj               934 drivers/media/platform/rcar_jpu.c 	__jpu_try_fmt(ctx, NULL, &adj.format, adj_type);
adj               936 drivers/media/platform/rcar_jpu.c 	if (adj.format.width != orig->format.width ||
adj               937 drivers/media/platform/rcar_jpu.c 	    adj.format.height != orig->format.height) {
adj              5713 drivers/media/usb/gspca/zc3xx.c 	int g, i, adj, gp1, gp2;
adj              5740 drivers/media/usb/gspca/zc3xx.c 	adj = 0;
adj              5744 drivers/media/usb/gspca/zc3xx.c 				- delta_c[i] * contrast / 256 - adj / 2;
adj              5751 drivers/media/usb/gspca/zc3xx.c 			adj--;
adj              5753 drivers/media/usb/gspca/zc3xx.c 			adj++;
adj               205 drivers/net/dsa/mv88e6xxx/ptp.c 	u64 adj;
adj               213 drivers/net/dsa/mv88e6xxx/ptp.c 	adj = ptp_ops->cc_mult_num;
adj               214 drivers/net/dsa/mv88e6xxx/ptp.c 	adj *= scaled_ppm;
adj               215 drivers/net/dsa/mv88e6xxx/ptp.c 	diff = div_u64(adj, ptp_ops->cc_mult_dem);
adj               123 drivers/net/ethernet/cadence/macb_ptp.c 	u64 adj;
adj               136 drivers/net/ethernet/cadence/macb_ptp.c 	adj = (u64)scaled_ppm * word;
adj               140 drivers/net/ethernet/cadence/macb_ptp.c 	adj += (USEC_PER_SEC >> 1);
adj               141 drivers/net/ethernet/cadence/macb_ptp.c 	adj >>= PPM_FRACTION; /* remove fractions */
adj               142 drivers/net/ethernet/cadence/macb_ptp.c 	adj = div_u64(adj, USEC_PER_SEC);
adj               143 drivers/net/ethernet/cadence/macb_ptp.c 	adj = neg_adj ? (word - adj) : (word + adj);
adj               145 drivers/net/ethernet/cadence/macb_ptp.c 	incr_spec.ns = (adj >> GEM_SUBNSINCR_SIZE)
adj               147 drivers/net/ethernet/cadence/macb_ptp.c 	incr_spec.sub_ns = adj & ((1 << GEM_SUBNSINCR_SIZE) - 1);
adj               156 drivers/net/ethernet/cadence/macb_ptp.c 	u32 adj, sign = 0;
adj               170 drivers/net/ethernet/cadence/macb_ptp.c 		adj = (sign << GEM_ADDSUB_OFFSET) | delta;
adj               172 drivers/net/ethernet/cadence/macb_ptp.c 		gem_writel(bp, TA, adj);
adj               203 drivers/net/ethernet/cadence/macb_ptp.c 	u64 adj;
adj               207 drivers/net/ethernet/cadence/macb_ptp.c 		adj = rem;
adj               208 drivers/net/ethernet/cadence/macb_ptp.c 		adj <<= GEM_SUBNSINCR_SIZE;
adj               209 drivers/net/ethernet/cadence/macb_ptp.c 		bp->tsu_incr.sub_ns = div_u64(adj, bp->tsu_rate);
adj                96 drivers/net/ethernet/cavium/common/cavium_ptp.c 	u64 adj;
adj               120 drivers/net/ethernet/cavium/common/cavium_ptp.c 	adj = comp * scaled_ppm;
adj               121 drivers/net/ethernet/cavium/common/cavium_ptp.c 	adj >>= 16;
adj               122 drivers/net/ethernet/cavium/common/cavium_ptp.c 	adj = div_u64(adj, 1000000ull);
adj               123 drivers/net/ethernet/cavium/common/cavium_ptp.c 	comp = neg_adj ? comp - adj : comp + adj;
adj               105 drivers/net/ethernet/intel/i40e/i40e_ptp.c 	u64 adj, freq, diff;
adj               118 drivers/net/ethernet/intel/i40e/i40e_ptp.c 		adj = I40E_PTP_40GB_INCVAL - diff;
adj               120 drivers/net/ethernet/intel/i40e/i40e_ptp.c 		adj = I40E_PTP_40GB_INCVAL + diff;
adj               130 drivers/net/ethernet/intel/i40e/i40e_ptp.c 	adj *= READ_ONCE(pf->ptp_adj_mult);
adj               132 drivers/net/ethernet/intel/i40e/i40e_ptp.c 	wr32(hw, I40E_PRTTSYN_INC_L, adj & 0xFFFFFFFF);
adj               133 drivers/net/ethernet/intel/i40e/i40e_ptp.c 	wr32(hw, I40E_PRTTSYN_INC_H, adj >> 32);
adj               123 drivers/net/ethernet/mellanox/mlx4/en_clock.c 	u64 adj;
adj               135 drivers/net/ethernet/mellanox/mlx4/en_clock.c 	adj = mult;
adj               136 drivers/net/ethernet/mellanox/mlx4/en_clock.c 	adj *= delta;
adj               137 drivers/net/ethernet/mellanox/mlx4/en_clock.c 	diff = div_u64(adj, 1000000000ULL);
adj               195 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c 	u64 adj;
adj               207 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c 	adj = clock->nominal_c_mult;
adj               208 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c 	adj *= delta;
adj               209 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c 	diff = div_u64(adj, 1000000000ULL);
adj               157 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	u64 adj;
adj               167 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	adj = clock->nominal_c_mult;
adj               168 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	adj *= ppb;
adj               169 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	diff = div_u64(adj, NSEC_PER_SEC);
adj              1925 drivers/net/ethernet/mscc/ocelot.c 	u64 adj = 0;
adj              1937 drivers/net/ethernet/mscc/ocelot.c 	adj = PSEC_PER_SEC << 16;
adj              1938 drivers/net/ethernet/mscc/ocelot.c 	do_div(adj, scaled_ppm);
adj              1939 drivers/net/ethernet/mscc/ocelot.c 	do_div(adj, 1000);
adj              1942 drivers/net/ethernet/mscc/ocelot.c 	if (adj >= (1L << 30)) {
adj              1944 drivers/net/ethernet/mscc/ocelot.c 		do_div(adj, 1000);
adj              1948 drivers/net/ethernet/mscc/ocelot.c 	if (adj >= (1L << 30))
adj              1951 drivers/net/ethernet/mscc/ocelot.c 	ocelot_write(ocelot, unit | adj, PTP_CLK_CFG_ADJ_FREQ);
adj              3764 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		u8 adj = (reg - BPF_REG_0) * 2;
adj              3770 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		wrp_mov(nfp_prog, reg_lm(0, 1 + idx), reg_b(adj));
adj              3776 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		wrp_mov(nfp_prog, reg_lm(0, 1 + idx + 1), reg_b(adj + 1));
adj              3789 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		u8 adj = (reg - BPF_REG_0) * 2;
adj              3795 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		wrp_mov(nfp_prog, reg_both(adj), reg_lm(0, 1 + idx));
adj              3801 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		wrp_mov(nfp_prog, reg_both(adj + 1), reg_lm(0, 1 + idx + 1));
adj                28 drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c 	u64 adj;
adj                36 drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c 	adj = addend;
adj                37 drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c 	adj *= ppb;
adj                38 drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c 	diff = div_u64(adj, 1000000000ULL);
adj               218 drivers/net/ethernet/ti/cpts.c 	u64 adj;
adj               229 drivers/net/ethernet/ti/cpts.c 	adj = mult;
adj               230 drivers/net/ethernet/ti/cpts.c 	adj *= ppb;
adj               231 drivers/net/ethernet/ti/cpts.c 	diff = div_u64(adj, 1000000000ULL);
adj              1580 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	u32 adj;
adj              1585 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		adj = 7 + (dev->sensitivity + 92) / 2;
adj              1588 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		agc0 |= adj << 12;
adj              1589 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		agc0 |= adj << 16;
adj              1592 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		adj = 7 + (dev->sensitivity + 80) / 2;
adj              1595 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		agc0 |= adj << 8;
adj              1596 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		agc0 |= adj << 12;
adj              1597 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		agc0 |= adj << 16;
adj              1604 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		adj = 7 + (dev->sensitivity + 80) / 2;
adj              1607 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		agc0 |= adj << 4;
adj              1608 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		agc0 |= adj << 8;
adj              1609 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		agc0 |= adj << 12;
adj              1610 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		agc0 |= adj << 16;
adj               125 drivers/ptp/ptp_ixp46x.c 	u64 adj;
adj               136 drivers/ptp/ptp_ixp46x.c 	adj = addend;
adj               137 drivers/ptp/ptp_ixp46x.c 	adj *= ppb;
adj               138 drivers/ptp/ptp_ixp46x.c 	diff = div_u64(adj, 1000000000ULL);
adj               402 drivers/ptp/ptp_pch.c 	u64 adj;
adj               413 drivers/ptp/ptp_pch.c 	adj = addend;
adj               414 drivers/ptp/ptp_pch.c 	adj *= ppb;
adj               415 drivers/ptp/ptp_pch.c 	diff = div_u64(adj, 1000000000ULL);
adj               197 drivers/ptp/ptp_qoriq.c 	u64 adj, diff;
adj               208 drivers/ptp/ptp_qoriq.c 	adj = tmr_add;
adj               213 drivers/ptp/ptp_qoriq.c 	adj *= scaled_ppm;
adj               214 drivers/ptp/ptp_qoriq.c 	diff = div_u64(adj, 8000000);
adj               417 drivers/rtc/rtc-rx8025.c static int rx8025_get_clock_adjust(struct device *dev, int *adj)
adj               426 drivers/rtc/rtc-rx8025.c 	*adj = digoff >= 64 ? digoff - 128 : digoff;
adj               427 drivers/rtc/rtc-rx8025.c 	if (*adj > 0)
adj               428 drivers/rtc/rtc-rx8025.c 		(*adj)--;
adj               429 drivers/rtc/rtc-rx8025.c 	*adj *= -RX8025_ADJ_RESOLUTION;
adj               434 drivers/rtc/rtc-rx8025.c static int rx8025_set_clock_adjust(struct device *dev, int adj)
adj               440 drivers/rtc/rtc-rx8025.c 	adj /= -RX8025_ADJ_RESOLUTION;
adj               441 drivers/rtc/rtc-rx8025.c 	if (adj > RX8025_ADJ_DATA_MAX)
adj               442 drivers/rtc/rtc-rx8025.c 		adj = RX8025_ADJ_DATA_MAX;
adj               443 drivers/rtc/rtc-rx8025.c 	else if (adj < RX8025_ADJ_DATA_MIN)
adj               444 drivers/rtc/rtc-rx8025.c 		adj = RX8025_ADJ_DATA_MIN;
adj               445 drivers/rtc/rtc-rx8025.c 	else if (adj > 0)
adj               446 drivers/rtc/rtc-rx8025.c 		adj++;
adj               447 drivers/rtc/rtc-rx8025.c 	else if (adj < 0)
adj               448 drivers/rtc/rtc-rx8025.c 		adj += 128;
adj               449 drivers/rtc/rtc-rx8025.c 	digoff = adj;
adj               464 drivers/rtc/rtc-rx8025.c 	int err, adj;
adj               466 drivers/rtc/rtc-rx8025.c 	err = rx8025_get_clock_adjust(dev, &adj);
adj               470 drivers/rtc/rtc-rx8025.c 	return sprintf(buf, "%d\n", adj);
adj               477 drivers/rtc/rtc-rx8025.c 	int adj, err;
adj               479 drivers/rtc/rtc-rx8025.c 	if (sscanf(buf, "%i", &adj) != 1)
adj               482 drivers/rtc/rtc-rx8025.c 	err = rx8025_set_clock_adjust(dev, adj);
adj               200 drivers/usb/gadget/udc/r8a66597-udc.h 	int adj = 0;
adj               222 drivers/usb/gadget/udc/r8a66597-udc.h 			adj = 0x03; /* 32-bit wide */
adj               224 drivers/usb/gadget/udc/r8a66597-udc.h 			adj = 0x01; /* 16-bit wide */
adj               230 drivers/usb/gadget/udc/r8a66597-udc.h 		iowrite8(buf[i], fifoaddr + adj - (i & adj));
adj               190 drivers/video/backlight/corgi_lcd.c 	int adj;
adj               195 drivers/video/backlight/corgi_lcd.c 		adj = sharpsl_param.phadadj;
adj               196 drivers/video/backlight/corgi_lcd.c 		adj = (adj < 0) ? PHACTRL_PHASE_MANUAL :
adj               197 drivers/video/backlight/corgi_lcd.c 				  PHACTRL_PHASE_MANUAL | ((adj & 0xf) << 1);
adj               202 drivers/video/backlight/corgi_lcd.c 		adj = (DEFAULT_PHAD_QVGA << 1) | PHACTRL_PHASE_MANUAL;
adj               206 drivers/video/backlight/corgi_lcd.c 	corgi_ssp_lcdtg_send(lcd, PHACTRL_ADRS, adj);
adj                47 fs/jffs2/readinode.c 		int adj = ofs % c->wbuf_pagesize;
adj                48 fs/jffs2/readinode.c 		if (likely(adj))
adj                49 fs/jffs2/readinode.c 			adj = c->wbuf_pagesize - adj;
adj                51 fs/jffs2/readinode.c 		if (adj >= tn->csize) {
adj                57 fs/jffs2/readinode.c 		ofs += adj;
adj                58 fs/jffs2/readinode.c 		len -= adj;
adj               868 fs/xfs/libxfs/xfs_refcount.c 	enum xfs_refc_adjust_op	adj,
adj               903 fs/xfs/libxfs/xfs_refcount.c 			tmp.rc_refcount = 1 + adj;
adj               946 fs/xfs/libxfs/xfs_refcount.c 		ext.rc_refcount += adj;
adj               995 fs/xfs/libxfs/xfs_refcount.c 	enum xfs_refc_adjust_op	adj,
adj              1004 fs/xfs/libxfs/xfs_refcount.c 	if (adj == XFS_REFCOUNT_ADJUST_INCREASE)
adj              1029 fs/xfs/libxfs/xfs_refcount.c 	error = xfs_refcount_merge_extents(cur, new_agbno, new_aglen, adj,
adj              1040 fs/xfs/libxfs/xfs_refcount.c 			adj, oinfo);
adj              1390 fs/xfs/libxfs/xfs_refcount.c 	enum xfs_refc_adjust_op	adj)
adj              1413 fs/xfs/libxfs/xfs_refcount.c 	switch (adj) {
adj              1469 fs/xfs/libxfs/xfs_refcount.c 	enum xfs_refc_adjust_op	adj)
adj              1490 fs/xfs/libxfs/xfs_refcount.c 	error = xfs_refcount_merge_extents(cur, &agbno, &aglen, adj,
adj              1496 fs/xfs/libxfs/xfs_refcount.c 	error = xfs_refcount_adjust_cow_extents(cur, agbno, aglen, adj);
adj               185 fs/xfs/libxfs/xfs_rmap_btree.c 	int			adj;
adj               187 fs/xfs/libxfs/xfs_rmap_btree.c 	adj = be32_to_cpu(rec->rmap.rm_blockcount) - 1;
adj               190 fs/xfs/libxfs/xfs_rmap_btree.c 	be32_add_cpu(&key->rmap.rm_startblock, adj);
adj               197 fs/xfs/libxfs/xfs_rmap_btree.c 	off = (XFS_RMAP_OFF(off) + adj) | (off & ~XFS_RMAP_OFF_MASK);
adj               801 kernel/cgroup/cgroup.c 	int adj = populated ? 1 : -1;
adj               809 kernel/cgroup/cgroup.c 			cgrp->nr_populated_csets += adj;
adj               812 kernel/cgroup/cgroup.c 				cgrp->nr_populated_threaded_children += adj;
adj               814 kernel/cgroup/cgroup.c 				cgrp->nr_populated_domain_children += adj;
adj              1508 kernel/time/timer.c 	unsigned long clk, next, adj;
adj              1559 kernel/time/timer.c 		adj = clk & LVL_CLK_MASK ? 1 : 0;
adj              1561 kernel/time/timer.c 		clk += adj;
adj               201 mm/oom_kill.c  	long adj;
adj               215 mm/oom_kill.c  	adj = (long)p->signal->oom_score_adj;
adj               216 mm/oom_kill.c  	if (adj == OOM_SCORE_ADJ_MIN ||
adj               232 mm/oom_kill.c  	adj *= totalpages / 1000;
adj               233 mm/oom_kill.c  	points += adj;
adj              7556 mm/page_alloc.c #define adj_init_size(start, end, size, pos, adj) \
adj              7558 mm/page_alloc.c 		if (start <= pos && pos < end && size > adj) \
adj              7559 mm/page_alloc.c 			size -= adj; \
adj              6423 net/core/dev.c 	struct netdev_adjacent *adj;
adj              6425 net/core/dev.c 	list_for_each_entry(adj, adj_list, list) {
adj              6426 net/core/dev.c 		if (adj->dev == adj_dev)
adj              6427 net/core/dev.c 			return adj;
adj              6547 net/core/dev.c 	struct netdev_adjacent *adj;
adj              6549 net/core/dev.c 	adj = list_entry(adj_list, struct netdev_adjacent, list);
adj              6551 net/core/dev.c 	return adj->private;
adj              7119 net/core/dev.c 	struct netdev_adjacent *adj;
adj              7122 net/core/dev.c 	adj = __netdev_find_adj(adj_dev, dev_list);
adj              7124 net/core/dev.c 	if (adj) {
adj              7125 net/core/dev.c 		adj->ref_nr += 1;
adj              7127 net/core/dev.c 			 dev->name, adj_dev->name, adj->ref_nr);
adj              7132 net/core/dev.c 	adj = kmalloc(sizeof(*adj), GFP_KERNEL);
adj              7133 net/core/dev.c 	if (!adj)
adj              7136 net/core/dev.c 	adj->dev = adj_dev;
adj              7137 net/core/dev.c 	adj->master = master;
adj              7138 net/core/dev.c 	adj->ref_nr = 1;
adj              7139 net/core/dev.c 	adj->private = private;
adj              7140 net/core/dev.c 	adj->ignore = false;
adj              7144 net/core/dev.c 		 dev->name, adj_dev->name, adj->ref_nr, adj_dev->name);
adj              7159 net/core/dev.c 		list_add_rcu(&adj->list, dev_list);
adj              7161 net/core/dev.c 		list_add_tail_rcu(&adj->list, dev_list);
adj              7170 net/core/dev.c 	kfree(adj);
adj              7181 net/core/dev.c 	struct netdev_adjacent *adj;
adj              7186 net/core/dev.c 	adj = __netdev_find_adj(adj_dev, dev_list);
adj              7188 net/core/dev.c 	if (!adj) {
adj              7195 net/core/dev.c 	if (adj->ref_nr > ref_nr) {
adj              7198 net/core/dev.c 			 adj->ref_nr - ref_nr);
adj              7199 net/core/dev.c 		adj->ref_nr -= ref_nr;
adj              7203 net/core/dev.c 	if (adj->master)
adj              7209 net/core/dev.c 	list_del_rcu(&adj->list);
adj              7213 net/core/dev.c 	kfree_rcu(adj, rcu);
adj              7426 net/core/dev.c 	struct netdev_adjacent *adj;
adj              7428 net/core/dev.c 	adj = __netdev_find_adj(lower_dev, &upper_dev->adj_list.lower);
adj              7429 net/core/dev.c 	if (adj)
adj              7430 net/core/dev.c 		adj->ignore = val;
adj              7432 net/core/dev.c 	adj = __netdev_find_adj(upper_dev, &lower_dev->adj_list.upper);
adj              7433 net/core/dev.c 	if (adj)
adj              7434 net/core/dev.c 		adj->ignore = val;
adj               955 sound/soc/sh/fsi.c 	int adj;
adj               994 sound/soc/sh/fsi.c 	for (adj = 1; adj < 0xffff; adj++) {
adj               996 sound/soc/sh/fsi.c 		cout = target * adj;
adj              1002 sound/soc/sh/fsi.c 		actual	= cout / adj;
adj               816 tools/perf/util/auxtrace.c 	size_t adj = buffer->data_offset & (page_size - 1);
adj               817 tools/perf/util/auxtrace.c 	size_t size = buffer->size + adj;
adj               818 tools/perf/util/auxtrace.c 	off_t file_offset = buffer->data_offset - adj;
adj               831 tools/perf/util/auxtrace.c 	buffer->data = addr + adj;