factor 173 arch/m68k/fpsp040/fpsp.h .set kfact_bit,12 | distinguishes static/dynamic k-factor factor 157 arch/m68k/math-emu/fp_decode.h move.w %d2,%d1 | scale factor factor 607 arch/parisc/include/uapi/asm/pdc.h int factor; factor 877 arch/parisc/kernel/firmware.c case 1: initiator->factor = 50; break; factor 878 arch/parisc/kernel/firmware.c case 2: initiator->factor = 25; break; factor 879 arch/parisc/kernel/firmware.c case 5: initiator->factor = 12; break; factor 880 arch/parisc/kernel/firmware.c case 25: initiator->factor = 10; break; factor 881 arch/parisc/kernel/firmware.c case 20: initiator->factor = 12; break; factor 882 arch/parisc/kernel/firmware.c case 40: initiator->factor = 10; break; factor 883 arch/parisc/kernel/firmware.c default: initiator->factor = -1; break; factor 373 arch/s390/kernel/perf_cpum_sf.c unsigned long n_sdb, freq, factor; factor 402 arch/s390/kernel/perf_cpum_sf.c factor = 1; factor 403 arch/s390/kernel/perf_cpum_sf.c n_sdb = DIV_ROUND_UP(freq, factor * ((PAGE_SIZE-64) / sample_size)); factor 230 arch/x86/kernel/cpu/mtrr/cleanup.c char factor; factor 234 arch/x86/kernel/cpu/mtrr/cleanup.c factor = 'K'; factor 236 arch/x86/kernel/cpu/mtrr/cleanup.c factor = 'M'; factor 239 arch/x86/kernel/cpu/mtrr/cleanup.c factor = 'G'; factor 243 arch/x86/kernel/cpu/mtrr/cleanup.c *factorp = factor; factor 400 arch/x86/kernel/cpu/mtrr/if.c char factor; factor 414 arch/x86/kernel/cpu/mtrr/if.c factor = 'K'; factor 417 arch/x86/kernel/cpu/mtrr/if.c factor = 'M'; factor 423 arch/x86/kernel/cpu/mtrr/if.c size, factor, factor 137 drivers/clk/actions/owl-factor.c struct owl_factor *factor = hw_to_owl_factor(hw); factor 138 drivers/clk/actions/owl-factor.c struct owl_factor_hw *factor_hw = &factor->factor_hw; factor 140 drivers/clk/actions/owl-factor.c return owl_factor_helper_round_rate(&factor->common, factor_hw, factor 177 drivers/clk/actions/owl-factor.c struct owl_factor *factor = hw_to_owl_factor(hw); factor 178 drivers/clk/actions/owl-factor.c struct owl_factor_hw *factor_hw = &factor->factor_hw; factor 179 drivers/clk/actions/owl-factor.c struct owl_clk_common *common = &factor->common; factor 209 drivers/clk/actions/owl-factor.c struct owl_factor *factor = hw_to_owl_factor(hw); factor 210 drivers/clk/actions/owl-factor.c struct owl_factor_hw *factor_hw = &factor->factor_hw; factor 211 drivers/clk/actions/owl-factor.c struct owl_clk_common *common = &factor->common; factor 119 drivers/clk/clk-multiplier.c unsigned long factor = __bestmult(hw, rate, parent_rate, factor 122 drivers/clk/clk-multiplier.c return *parent_rate * factor; factor 129 drivers/clk/clk-multiplier.c unsigned long factor = __get_mult(mult, rate, parent_rate); factor 140 drivers/clk/clk-multiplier.c val |= factor << mult->shift; factor 938 drivers/clk/clk-stm32mp1.c unsigned long factor = __bestmult(hw, rate, *parent_rate); factor 940 drivers/clk/clk-stm32mp1.c return *parent_rate * factor; factor 948 drivers/clk/clk-stm32mp1.c unsigned long factor = __bestmult(hw, rate, parent_rate); factor 953 drivers/clk/clk-stm32mp1.c switch (factor) { factor 30 drivers/clk/mmp/clk-frac.c struct mmp_clk_factor *factor = to_clk_factor(hw); factor 34 drivers/clk/mmp/clk-frac.c for (i = 0; i < factor->ftbl_cnt; i++) { factor 36 drivers/clk/mmp/clk-frac.c rate = (((*prate / 10000) * factor->ftbl[i].den) / factor 37 drivers/clk/mmp/clk-frac.c (factor->ftbl[i].num * factor->masks->factor)) * 10000; factor 41 drivers/clk/mmp/clk-frac.c if ((i == 0) || (i == factor->ftbl_cnt)) { factor 54 drivers/clk/mmp/clk-frac.c struct mmp_clk_factor *factor = to_clk_factor(hw); factor 55 drivers/clk/mmp/clk-frac.c struct mmp_clk_factor_masks *masks = factor->masks; factor 58 drivers/clk/mmp/clk-frac.c val = readl_relaxed(factor->base); factor 70 drivers/clk/mmp/clk-frac.c (num * factor->masks->factor)) * 10000; factor 77 drivers/clk/mmp/clk-frac.c struct mmp_clk_factor *factor = to_clk_factor(hw); factor 78 drivers/clk/mmp/clk-frac.c struct mmp_clk_factor_masks *masks = factor->masks; factor 84 drivers/clk/mmp/clk-frac.c for (i = 0; i < factor->ftbl_cnt; i++) { factor 85 drivers/clk/mmp/clk-frac.c rate = (((prate / 10000) * factor->ftbl[i].den) / factor 86 drivers/clk/mmp/clk-frac.c (factor->ftbl[i].num * factor->masks->factor)) * 10000; factor 93 drivers/clk/mmp/clk-frac.c if (factor->lock) factor 94 drivers/clk/mmp/clk-frac.c spin_lock_irqsave(factor->lock, flags); factor 96 drivers/clk/mmp/clk-frac.c val = readl_relaxed(factor->base); factor 99 drivers/clk/mmp/clk-frac.c val |= (factor->ftbl[i].num & masks->num_mask) << masks->num_shift; factor 102 drivers/clk/mmp/clk-frac.c val |= (factor->ftbl[i].den & masks->den_mask) << masks->den_shift; factor 104 drivers/clk/mmp/clk-frac.c writel_relaxed(val, factor->base); factor 106 drivers/clk/mmp/clk-frac.c if (factor->lock) factor 107 drivers/clk/mmp/clk-frac.c spin_unlock_irqrestore(factor->lock, flags); factor 114 drivers/clk/mmp/clk-frac.c struct mmp_clk_factor *factor = to_clk_factor(hw); factor 115 drivers/clk/mmp/clk-frac.c struct mmp_clk_factor_masks *masks = factor->masks; factor 120 drivers/clk/mmp/clk-frac.c if (factor->lock) factor 121 drivers/clk/mmp/clk-frac.c spin_lock_irqsave(factor->lock, flags); factor 123 drivers/clk/mmp/clk-frac.c val = readl(factor->base); factor 131 drivers/clk/mmp/clk-frac.c for (i = 0; i < factor->ftbl_cnt; i++) factor 132 drivers/clk/mmp/clk-frac.c if (den == factor->ftbl[i].den && num == factor->ftbl[i].num) factor 135 drivers/clk/mmp/clk-frac.c if (i >= factor->ftbl_cnt) { factor 137 drivers/clk/mmp/clk-frac.c val |= (factor->ftbl[0].num & masks->num_mask) << factor 141 drivers/clk/mmp/clk-frac.c val |= (factor->ftbl[0].den & masks->den_mask) << factor 144 drivers/clk/mmp/clk-frac.c writel(val, factor->base); factor 147 drivers/clk/mmp/clk-frac.c if (factor->lock) factor 148 drivers/clk/mmp/clk-frac.c spin_unlock_irqrestore(factor->lock, flags); factor 164 drivers/clk/mmp/clk-frac.c struct mmp_clk_factor *factor; factor 173 drivers/clk/mmp/clk-frac.c factor = kzalloc(sizeof(*factor), GFP_KERNEL); factor 174 drivers/clk/mmp/clk-frac.c if (!factor) factor 178 drivers/clk/mmp/clk-frac.c factor->base = base; factor 179 drivers/clk/mmp/clk-frac.c factor->masks = masks; factor 180 drivers/clk/mmp/clk-frac.c factor->ftbl = ftbl; factor 181 drivers/clk/mmp/clk-frac.c factor->ftbl_cnt = ftbl_cnt; factor 182 drivers/clk/mmp/clk-frac.c factor->hw.init = &init; factor 183 drivers/clk/mmp/clk-frac.c factor->lock = lock; factor 191 drivers/clk/mmp/clk-frac.c clk = clk_register(NULL, &factor->hw); factor 193 drivers/clk/mmp/clk-frac.c kfree(factor); factor 58 drivers/clk/mmp/clk-mmp2.c .factor = 2, factor 94 drivers/clk/mmp/clk-of-mmp2.c .factor = 2, factor 83 drivers/clk/mmp/clk-of-pxa168.c .factor = 2, factor 57 drivers/clk/mmp/clk-of-pxa1928.c .factor = 2, factor 83 drivers/clk/mmp/clk-of-pxa910.c .factor = 2, factor 50 drivers/clk/mmp/clk-pxa168.c .factor = 2, factor 48 drivers/clk/mmp/clk-pxa910.c .factor = 2, factor 14 drivers/clk/mmp/clk.h unsigned int factor; factor 125 drivers/clk/qcom/common.c struct clk_fixed_factor *factor; factor 154 drivers/clk/qcom/common.c factor = devm_kzalloc(dev, sizeof(*factor), GFP_KERNEL); factor 155 drivers/clk/qcom/common.c if (!factor) factor 158 drivers/clk/qcom/common.c factor->mult = factor->div = 1; factor 159 drivers/clk/qcom/common.c factor->hw.init = &init_data; factor 167 drivers/clk/qcom/common.c ret = devm_clk_hw_register(dev, &factor->hw); factor 50 drivers/clk/renesas/r9a06g032-clocks.c unsigned int factor; factor 64 drivers/clk/rockchip/clk-mmc-phase.c unsigned long factor = (ROCKCHIP_MMC_DELAY_ELEMENT_PSEC / 10) * factor 69 drivers/clk/rockchip/clk-mmc-phase.c degrees += DIV_ROUND_CLOSEST(delay_num * factor, 1000000); factor 26 drivers/clk/uniphier/clk-uniphier-core.c &data->data.factor); factor 62 drivers/clk/uniphier/clk-uniphier.h struct uniphier_clk_fixed_factor_data factor; factor 88 drivers/clk/uniphier/clk-uniphier.h .data.factor = { \ factor 586 drivers/clk/zte/clk-zx296718.c &top_ffactor_clk[i].factor.hw; factor 588 drivers/clk/zte/clk-zx296718.c name = top_ffactor_clk[i].factor.hw.init->name; factor 589 drivers/clk/zte/clk-zx296718.c ret = clk_hw_register(NULL, &top_ffactor_clk[i].factor.hw); factor 76 drivers/clk/zte/clk.h struct clk_fixed_factor factor; factor 82 drivers/clk/zte/clk.h .factor = { \ factor 236 drivers/clocksource/timer-cadence-ttc.c unsigned long factor, rate_low, rate_high; factor 239 drivers/clocksource/timer-cadence-ttc.c factor = DIV_ROUND_CLOSEST(ndata->new_rate, factor 244 drivers/clocksource/timer-cadence-ttc.c factor = DIV_ROUND_CLOSEST(ndata->old_rate, factor 250 drivers/clocksource/timer-cadence-ttc.c if (!is_power_of_2(factor)) factor 253 drivers/clocksource/timer-cadence-ttc.c if (abs(rate_high - (factor * rate_low)) > MAX_F_ERR) factor 256 drivers/clocksource/timer-cadence-ttc.c factor = __ilog2_u32(factor); factor 270 drivers/clocksource/timer-cadence-ttc.c psv -= factor; factor 272 drivers/clocksource/timer-cadence-ttc.c psv += factor; factor 2336 drivers/dma/coh901318.c unsigned int factor; factor 2344 drivers/dma/coh901318.c factor = size >> MAX_DMA_PACKET_SIZE_SHIFT; factor 2345 drivers/dma/coh901318.c if ((factor << MAX_DMA_PACKET_SIZE_SHIFT) < size) factor 2346 drivers/dma/coh901318.c factor++; factor 2348 drivers/dma/coh901318.c len += factor; factor 1343 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c unsigned factor = (ddr4_dram_factor_single_Channel * dc->dcn_soc->number_of_channels); factor 1345 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c if (clocks_in_khz > dc->dcn_soc->fabric_and_dram_bandwidth_vmax0p9*1000000/factor) { factor 1348 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c } else if (clocks_in_khz > dc->dcn_soc->fabric_and_dram_bandwidth_vnom0p8*1000000/factor) { factor 1350 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c } else if (clocks_in_khz > dc->dcn_soc->fabric_and_dram_bandwidth_vmid0p72*1000000/factor) { factor 1352 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c } else if (clocks_in_khz > dc->dcn_soc->fabric_and_dram_bandwidth_vmin0p65*1000000/factor) { factor 248 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static fInt GetScaledFraction(int X, int factor) factor 263 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h if (factor < 0) { factor 264 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h factor = -1*factor; factor 268 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h if ((X > MAX) || factor > MAX) { factor 269 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h if ((X/factor) <= MAX) { factor 275 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h while (factor > MAX) { factor 276 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h factor = factor >> 1; factor 285 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h if (factor == 1) factor 288 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h fValue = fDivide(ConvertToFraction(X * uPow(-1, bNEGATED)), ConvertToFraction(factor)); factor 260 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c u32 factor, max_memsize; factor 262 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c factor = (256 * ((8 * (srcsize - 1)) - phidef)) / (dstsize - 1); factor 263 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c max_memsize = ((factor * (dstsize - 1)) + (256 * phidef)) / 2048; factor 266 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c factor--; factor 268 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c return factor; factor 9526 drivers/gpu/drm/i915/display/intel_display.c static bool ironlake_needs_fb_cb_tune(struct dpll *dpll, int factor) factor 9528 drivers/gpu/drm/i915/display/intel_display.c return i9xx_dpll_compute_m(dpll) < factor * dpll->n; factor 9537 drivers/gpu/drm/i915/display/intel_display.c int factor; factor 9540 drivers/gpu/drm/i915/display/intel_display.c factor = 21; factor 9546 drivers/gpu/drm/i915/display/intel_display.c factor = 25; factor 9548 drivers/gpu/drm/i915/display/intel_display.c factor = 20; factor 9553 drivers/gpu/drm/i915/display/intel_display.c if (ironlake_needs_fb_cb_tune(&crtc_state->dpll, factor)) factor 9559 drivers/gpu/drm/i915/display/intel_display.c if (reduced_clock->m < factor * reduced_clock->n) factor 427 drivers/gpu/drm/mediatek/mtk_dpi.c unsigned int factor; factor 430 drivers/gpu/drm/mediatek/mtk_dpi.c factor = dpi->conf->cal_factor(mode->clock); factor 432 drivers/gpu/drm/mediatek/mtk_dpi.c pll_rate = vm.pixelclock * factor; factor 440 drivers/gpu/drm/mediatek/mtk_dpi.c vm.pixelclock = pll_rate / factor; factor 251 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm_8960.c unsigned int factor; factor 253 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm_8960.c factor = get_vco_mul_factor(rate); factor 255 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm_8960.c best_parent = rate * factor; factor 258 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm_8960.c return *prate / factor; factor 266 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm_8960.c unsigned int factor; factor 268 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm_8960.c factor = get_vco_mul_factor(rate); factor 271 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm_8960.c val |= (factor - 1) & 0xff; factor 74 drivers/gpu/drm/nouveau/dispnv04/overlay.c sin_mul(int degrees, int factor) factor 78 drivers/gpu/drm/nouveau/dispnv04/overlay.c factor *= -1; factor 80 drivers/gpu/drm/nouveau/dispnv04/overlay.c return factor * 4 * degrees * (180 - degrees) / factor 86 drivers/gpu/drm/nouveau/dispnv04/overlay.c cos_mul(int degrees, int factor) factor 88 drivers/gpu/drm/nouveau/dispnv04/overlay.c return sin_mul((degrees + 90) % 360, factor); factor 97 drivers/gpu/drm/radeon/rv740_dpm.c u32 factor; factor 101 drivers/gpu/drm/radeon/rv740_dpm.c factor = 4; factor 103 drivers/gpu/drm/radeon/rv740_dpm.c factor = 2; factor 105 drivers/gpu/drm/radeon/rv740_dpm.c data_rate = (u16)(memory_clock * factor / 1000); factor 460 drivers/hwmon/lm93.c int factor = mode ? 5 : 10; factor 464 drivers/hwmon/lm93.c return (u8)((off + factor/2) / factor); factor 507 drivers/hwmon/max6697.c int factor = chip->channels; factor 526 drivers/hwmon/max6697.c factor += hweight8(reg); factor 529 drivers/hwmon/max6697.c factor++; factor 553 drivers/hwmon/max6697.c factor++; factor 575 drivers/hwmon/max6697.c factor += hweight8(pdata->resistance_cancellation >> 1); factor 591 drivers/hwmon/max6697.c data->update_interval = factor * MAX6697_CONV_TIME; factor 658 drivers/iio/adc/at91-sama5d2_adc.c u32 factor = 1000; factor 666 drivers/iio/adc/at91-sama5d2_adc.c pres = rxp * (st->touch_st.x_pos * factor / 1024) * factor 667 drivers/iio/adc/at91-sama5d2_adc.c (z2 * factor / z1 - factor) / factor 668 drivers/iio/adc/at91-sama5d2_adc.c factor; factor 295 drivers/iio/adc/at91_adc.c unsigned int factor = 1000; factor 330 drivers/iio/adc/at91_adc.c pres = rxp * (x * factor / 1024) * (z2 * factor / z1 - factor) factor 331 drivers/iio/adc/at91_adc.c / factor; factor 340 drivers/iio/adc/at91_adc.c x, y, pres / factor); factor 267 drivers/iio/adc/qcom-vadc-common.c unsigned int factor) factor 285 drivers/iio/adc/qcom-vadc-common.c temp = prescale->num * factor; factor 154 drivers/iio/afe/iio-rescale.c u32 factor; factor 172 drivers/iio/afe/iio-rescale.c factor = gcd(sense, 1000000); factor 173 drivers/iio/afe/iio-rescale.c rescale->numerator = 1000000 / factor; factor 174 drivers/iio/afe/iio-rescale.c rescale->denominator = sense / factor; factor 176 drivers/iio/afe/iio-rescale.c factor = gcd(rescale->numerator, gain_mult); factor 177 drivers/iio/afe/iio-rescale.c rescale->numerator /= factor; factor 178 drivers/iio/afe/iio-rescale.c rescale->denominator *= gain_mult / factor; factor 180 drivers/iio/afe/iio-rescale.c factor = gcd(rescale->denominator, gain_div); factor 181 drivers/iio/afe/iio-rescale.c rescale->numerator *= gain_div / factor; factor 182 drivers/iio/afe/iio-rescale.c rescale->denominator /= factor; factor 191 drivers/iio/afe/iio-rescale.c u32 factor; factor 201 drivers/iio/afe/iio-rescale.c factor = gcd(shunt, 1000000); factor 202 drivers/iio/afe/iio-rescale.c rescale->numerator = 1000000 / factor; factor 203 drivers/iio/afe/iio-rescale.c rescale->denominator = shunt / factor; factor 212 drivers/iio/afe/iio-rescale.c u32 factor; factor 228 drivers/iio/afe/iio-rescale.c factor = gcd(rescale->numerator, rescale->denominator); factor 229 drivers/iio/afe/iio-rescale.c rescale->numerator /= factor; factor 230 drivers/iio/afe/iio-rescale.c rescale->denominator /= factor; factor 485 drivers/iio/chemical/bme680_core.c u8 durval, factor = 0; factor 492 drivers/iio/chemical/bme680_core.c factor += 1; factor 494 drivers/iio/chemical/bme680_core.c durval = dur + (factor * 64); factor 658 drivers/infiniband/core/rw.c u32 factor; factor 668 drivers/infiniband/core/rw.c factor = 1; factor 677 drivers/infiniband/core/rw.c factor += 2; /* inv + reg */ factor 679 drivers/infiniband/core/rw.c attr->cap.max_send_wr += factor * attr->cap.max_rdma_ctxs; factor 787 drivers/infiniband/hw/cxgb4/device.c unsigned int factor; factor 819 drivers/infiniband/hw/cxgb4/device.c factor = PAGE_SIZE / rdev->lldi.sge_host_page_size; factor 820 drivers/infiniband/hw/cxgb4/device.c rdev->qpmask = (rdev->lldi.udb_density * factor) - 1; factor 821 drivers/infiniband/hw/cxgb4/device.c rdev->cqmask = (rdev->lldi.ucq_density * factor) - 1; factor 429 drivers/md/bcache/util.h #define ewma_add(ewma, val, weight, factor) \ factor 432 drivers/md/bcache/util.h (ewma) += (val) << factor; \ factor 434 drivers/md/bcache/util.h (ewma) >> factor; \ factor 2011 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c int factor = tpg->mv_hor_mode > TPG_MOVE_NONE ? -1 : 1; factor 2014 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c factor = -factor; factor 2032 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c if (factor < 0) factor 2035 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c factor = tpg->mv_vert_mode > TPG_MOVE_NONE ? -1 : 1; factor 2053 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c if (factor < 0) factor 2528 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c unsigned factor = V4L2_FIELD_HAS_T_OR_B(tpg->field) ? 2 : 1; factor 2531 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c unsigned int_part = (tpg->crop.height / factor) / tpg->compose.height; factor 2532 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c unsigned fract_part = (tpg->crop.height / factor) % tpg->compose.height; factor 295 drivers/media/dvb-frontends/cx24113.c u8 factor; factor 299 drivers/media/dvb-frontends/cx24113.c factor = 1; factor 301 drivers/media/dvb-frontends/cx24113.c factor = 2; factor 323 drivers/media/dvb-frontends/cx24113.c N /= (state->config->xtal_khz) * factor * 2; factor 338 drivers/media/dvb-frontends/cx24113.c do_div(dividend, state->config->xtal_khz * 1000 * factor * 2); factor 970 drivers/media/dvb-frontends/dib7000m.c u32 value, factor; factor 983 drivers/media/dvb-frontends/dib7000m.c factor = BANDWIDTH_TO_KHZ(schan.bandwidth_hz); factor 984 drivers/media/dvb-frontends/dib7000m.c if (factor >= 5000) factor 985 drivers/media/dvb-frontends/dib7000m.c factor = 1; factor 987 drivers/media/dvb-frontends/dib7000m.c factor = 6; factor 990 drivers/media/dvb-frontends/dib7000m.c value = 30 * state->internal_clk * factor; factor 993 drivers/media/dvb-frontends/dib7000m.c value = 100 * state->internal_clk * factor; factor 996 drivers/media/dvb-frontends/dib7000m.c value = 500 * state->internal_clk * factor; factor 1135 drivers/media/dvb-frontends/dib7000p.c u32 value, factor; factor 1148 drivers/media/dvb-frontends/dib7000p.c factor = BANDWIDTH_TO_KHZ(ch->bandwidth_hz); factor 1149 drivers/media/dvb-frontends/dib7000p.c if (factor >= 5000) { factor 1151 drivers/media/dvb-frontends/dib7000p.c factor = 2; factor 1153 drivers/media/dvb-frontends/dib7000p.c factor = 1; factor 1155 drivers/media/dvb-frontends/dib7000p.c factor = 6; factor 1157 drivers/media/dvb-frontends/dib7000p.c value = 30 * internal * factor; factor 1160 drivers/media/dvb-frontends/dib7000p.c value = 100 * internal * factor; factor 1163 drivers/media/dvb-frontends/dib7000p.c value = 500 * internal * factor; factor 158 drivers/media/platform/ti-vpe/sc.c u16 factor = 0; factor 222 drivers/media/platform/ti-vpe/sc.c factor = (u16) ((dst_h << 10) / src_h); factor 224 drivers/media/platform/ti-vpe/sc.c row_acc_init_rav = factor + ((1 + factor) >> 1); factor 238 drivers/media/platform/ti-vpe/sc.c src_h, dst_h, factor, row_acc_init_rav, factor 269 drivers/media/platform/ti-vpe/sc.c *sc_reg13 = factor; factor 408 drivers/media/platform/vivid/vivid-kthread-cap.c unsigned factor = V4L2_FIELD_HAS_T_OR_B(dev->field_cap) ? 2 : 1; factor 409 drivers/media/platform/vivid/vivid-kthread-cap.c unsigned line_height = 16 / factor; factor 560 drivers/media/platform/vivid/vivid-vid-cap.c unsigned factor = 1; factor 589 drivers/media/platform/vivid/vivid-vid-cap.c factor = 2; factor 593 drivers/media/platform/vivid/vivid-vid-cap.c mp->height = h / factor; factor 595 drivers/media/platform/vivid/vivid-vid-cap.c struct v4l2_rect r = { 0, 0, mp->width, mp->height * factor }; factor 609 drivers/media/platform/vivid/vivid-vid-cap.c mp->height = r.height / factor; factor 656 drivers/media/platform/vivid/vivid-vid-cap.c unsigned factor = 1; factor 675 drivers/media/platform/vivid/vivid-vid-cap.c factor = 2; factor 692 drivers/media/platform/vivid/vivid-vid-cap.c factor * r.height / MAX_ZOOM factor 697 drivers/media/platform/vivid/vivid-vid-cap.c factor * r.height * MAX_ZOOM factor 707 drivers/media/platform/vivid/vivid-vid-cap.c factor * compose->height / MAX_ZOOM factor 712 drivers/media/platform/vivid/vivid-vid-cap.c factor * compose->height * MAX_ZOOM factor 720 drivers/media/platform/vivid/vivid-vid-cap.c r.height *= factor; factor 724 drivers/media/platform/vivid/vivid-vid-cap.c r.height /= factor; factor 729 drivers/media/platform/vivid/vivid-vid-cap.c r.height *= factor; factor 732 drivers/media/platform/vivid/vivid-vid-cap.c compose->top *= factor; factor 733 drivers/media/platform/vivid/vivid-vid-cap.c compose->height *= factor; factor 736 drivers/media/platform/vivid/vivid-vid-cap.c compose->top /= factor; factor 737 drivers/media/platform/vivid/vivid-vid-cap.c compose->height /= factor; factor 753 drivers/media/platform/vivid/vivid-vid-cap.c r.height *= factor; factor 886 drivers/media/platform/vivid/vivid-vid-cap.c unsigned factor = V4L2_FIELD_HAS_T_OR_B(dev->field_cap) ? 2 : 1; factor 906 drivers/media/platform/vivid/vivid-vid-cap.c s->r.top /= factor; factor 907 drivers/media/platform/vivid/vivid-vid-cap.c s->r.height /= factor; factor 953 drivers/media/platform/vivid/vivid-vid-cap.c s->r.top *= factor; factor 954 drivers/media/platform/vivid/vivid-vid-cap.c s->r.height *= factor; factor 969 drivers/media/platform/vivid/vivid-vid-cap.c (dev->src_rect.height / factor) * MAX_ZOOM factor 977 drivers/media/platform/vivid/vivid-vid-cap.c (s->r.height * factor) / MAX_ZOOM factor 982 drivers/media/platform/vivid/vivid-vid-cap.c (s->r.height * factor) * MAX_ZOOM factor 990 drivers/media/platform/vivid/vivid-vid-cap.c s->r.top *= factor; factor 991 drivers/media/platform/vivid/vivid-vid-cap.c s->r.height *= factor; factor 995 drivers/media/platform/vivid/vivid-vid-cap.c s->r.top /= factor; factor 996 drivers/media/platform/vivid/vivid-vid-cap.c s->r.height /= factor; factor 999 drivers/media/platform/vivid/vivid-vid-cap.c s->r.height /= factor; factor 358 drivers/media/platform/vivid/vivid-vid-out.c unsigned factor = 1; factor 379 drivers/media/platform/vivid/vivid-vid-out.c factor = 2; factor 382 drivers/media/platform/vivid/vivid-vid-out.c mp->height = h / factor; factor 384 drivers/media/platform/vivid/vivid-vid-out.c struct v4l2_rect r = { 0, 0, mp->width, mp->height * factor }; factor 398 drivers/media/platform/vivid/vivid-vid-out.c mp->height = r.height / factor; factor 456 drivers/media/platform/vivid/vivid-vid-out.c unsigned factor = 1; factor 482 drivers/media/platform/vivid/vivid-vid-out.c factor = 2; factor 496 drivers/media/platform/vivid/vivid-vid-out.c factor * r.height / MAX_ZOOM factor 501 drivers/media/platform/vivid/vivid-vid-out.c factor * r.height * MAX_ZOOM factor 511 drivers/media/platform/vivid/vivid-vid-out.c factor * crop->height / MAX_ZOOM factor 516 drivers/media/platform/vivid/vivid-vid-out.c factor * crop->height * MAX_ZOOM factor 525 drivers/media/platform/vivid/vivid-vid-out.c r.height *= factor; factor 530 drivers/media/platform/vivid/vivid-vid-out.c r.height /= factor; factor 533 drivers/media/platform/vivid/vivid-vid-out.c r.height *= factor; factor 536 drivers/media/platform/vivid/vivid-vid-out.c crop->top *= factor; factor 537 drivers/media/platform/vivid/vivid-vid-out.c crop->height *= factor; factor 540 drivers/media/platform/vivid/vivid-vid-out.c crop->top /= factor; factor 541 drivers/media/platform/vivid/vivid-vid-out.c crop->height /= factor; factor 547 drivers/media/platform/vivid/vivid-vid-out.c r.height /= factor; factor 684 drivers/media/platform/vivid/vivid-vid-out.c unsigned factor = V4L2_FIELD_HAS_T_OR_B(dev->field_out) ? 2 : 1; factor 705 drivers/media/platform/vivid/vivid-vid-out.c (dev->sink_rect.height / factor) * MAX_ZOOM factor 713 drivers/media/platform/vivid/vivid-vid-out.c (s->r.height * factor) / MAX_ZOOM factor 718 drivers/media/platform/vivid/vivid-vid-out.c (s->r.height * factor) * MAX_ZOOM factor 726 drivers/media/platform/vivid/vivid-vid-out.c s->r.top *= factor; factor 727 drivers/media/platform/vivid/vivid-vid-out.c s->r.height *= factor; factor 731 drivers/media/platform/vivid/vivid-vid-out.c s->r.top /= factor; factor 732 drivers/media/platform/vivid/vivid-vid-out.c s->r.height /= factor; factor 735 drivers/media/platform/vivid/vivid-vid-out.c s->r.height /= factor; factor 749 drivers/media/platform/vivid/vivid-vid-out.c s->r.top /= factor; factor 750 drivers/media/platform/vivid/vivid-vid-out.c s->r.height /= factor; factor 791 drivers/media/platform/vivid/vivid-vid-out.c crop->height /= factor; factor 794 drivers/media/platform/vivid/vivid-vid-out.c s->r.top *= factor; factor 795 drivers/media/platform/vivid/vivid-vid-out.c s->r.height *= factor; factor 116 drivers/message/fusion/mptspi.c u8 factor = MPT_ASYNC; factor 125 drivers/message/fusion/mptspi.c factor = MPT_ULTRA2; factor 133 drivers/message/fusion/mptspi.c factor = pspi_data->minSyncFactor; factor 135 drivers/message/fusion/mptspi.c factor = MPT_ULTRA2; factor 139 drivers/message/fusion/mptspi.c factor = MPT_ULTRA160; factor 141 drivers/message/fusion/mptspi.c factor = MPT_ULTRA320; factor 165 drivers/message/fusion/mptspi.c factor = MPT_ASYNC; factor 190 drivers/message/fusion/mptspi.c factor = max(factor, nfactor); factor 191 drivers/message/fusion/mptspi.c if (factor == MPT_ASYNC) factor 195 drivers/message/fusion/mptspi.c factor = MPT_ASYNC; factor 198 drivers/message/fusion/mptspi.c factor = MPT_ASYNC; factor 204 drivers/message/fusion/mptspi.c if ((!width) && (factor < MPT_ULTRA2)) factor 205 drivers/message/fusion/mptspi.c factor = MPT_ULTRA2; factor 209 drivers/message/fusion/mptspi.c target->minSyncFactor = factor; factor 213 drivers/message/fusion/mptspi.c spi_min_period(scsi_target(sdev)) = factor; factor 227 drivers/message/fusion/mptspi.c if ( factor > MPT_ULTRA320 ) factor 112 drivers/misc/echo/echo.c int factor; factor 116 drivers/misc/echo/echo.c factor = clean << shift; factor 118 drivers/misc/echo/echo.c factor = clean >> -shift; factor 126 drivers/misc/echo/echo.c exp = (ec->fir_state_bg.history[i - offset1] * factor); factor 130 drivers/misc/echo/echo.c exp = (ec->fir_state_bg.history[i + offset2] * factor); factor 370 drivers/misc/echo/echo.c ec->factor = 0; factor 132 drivers/misc/echo/echo.h int32_t factor; factor 102 drivers/net/dsa/sja1105/sja1105_clocking.c bool enabled, int factor) factor 109 drivers/net/dsa/sja1105/sja1105_clocking.c if (enabled && factor != 1 && factor != 10) { factor 117 drivers/net/dsa/sja1105/sja1105_clocking.c idiv.idiv = factor - 1; /* Divide by 1 or 10 */ factor 6672 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int factor; factor 6677 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c factor = 120; factor 6679 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c factor = 200; factor 6681 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c factor = 1; factor 6697 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c count = 1000 * factor; factor 6714 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c count = 1000 * factor; factor 6753 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c count = 1000 * factor; factor 6778 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c msleep(10 * factor); factor 7215 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int factor = CHIP_REV_IS_EMUL(bp) ? 1000 : factor 7225 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c } while (factor-- && (val != 1)); factor 888 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c unsigned int factor) factor 890 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c unsigned int rem = val % factor; factor 893 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c snprintf(buf, len, "%u", val / factor); factor 897 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c snprintf(buf, len, "%u.%u", val / factor, rem); factor 667 drivers/net/ethernet/mellanox/mlx4/en_rx.c int factor = priv->cqe_factor; factor 692 drivers/net/ethernet/mellanox/mlx4/en_rx.c cqe = mlx4_en_get_cqe(cq->buf, index, priv->cqe_size) + factor; factor 899 drivers/net/ethernet/mellanox/mlx4/en_rx.c cqe = mlx4_en_get_cqe(cq->buf, index, priv->cqe_size) + factor; factor 411 drivers/net/ethernet/mellanox/mlx4/en_tx.c int factor = priv->cqe_factor; factor 423 drivers/net/ethernet/mellanox/mlx4/en_tx.c cqe = mlx4_en_get_cqe(buf, index, priv->cqe_size) + factor; factor 479 drivers/net/ethernet/mellanox/mlx4/en_tx.c cqe = mlx4_en_get_cqe(buf, index, priv->cqe_size) + factor; factor 2695 drivers/net/ethernet/netronome/nfp/nfp_net_common.c u32 factor; factor 2702 drivers/net/ethernet/netronome/nfp/nfp_net_common.c factor = nn->tlv_caps.me_freq_mhz / 16; factor 2706 drivers/net/ethernet/netronome/nfp/nfp_net_common.c (factor * nn->rx_coalesce_usecs); factor 2712 drivers/net/ethernet/netronome/nfp/nfp_net_common.c (factor * nn->tx_coalesce_usecs); factor 1244 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c unsigned int factor; factor 1270 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c factor = nn->me_freq_mhz / 16; factor 1295 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c if (ec->rx_coalesce_usecs * factor >= ((1 << 16) - 1)) factor 1298 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c if (ec->tx_coalesce_usecs * factor >= ((1 << 16) - 1)) factor 17 drivers/net/wireless/ath/ath10k/htt_tx.c int factor; factor 20 drivers/net/wireless/ath/ath10k/htt_tx.c factor = count >> 7; factor 22 drivers/net/wireless/ath/ath10k/htt_tx.c while (factor >= 64 && exp < 4) { factor 23 drivers/net/wireless/ath/ath10k/htt_tx.c factor >>= 3; factor 31 drivers/net/wireless/ath/ath10k/htt_tx.c factor = max(1, factor); factor 34 drivers/net/wireless/ath/ath10k/htt_tx.c SM(factor, HTT_TX_Q_STATE_ENTRY_FACTOR); factor 2965 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c int bf, factor, plus; factor 2968 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c factor = bf / 2; factor 2970 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c return ya + factor + plus; factor 1041 drivers/net/wireless/ath/carl9170/tx.c unsigned int density, factor; factor 1046 drivers/net/wireless/ath/carl9170/tx.c factor = min_t(unsigned int, 1u, sta->ht_cap.ampdu_factor); factor 1064 drivers/net/wireless/ath/carl9170/tx.c txc->s.ampdu_settings, factor); factor 48 drivers/net/wireless/ath/dfs_pri_detector.c u32 factor; factor 60 drivers/net/wireless/ath/dfs_pri_detector.c factor = val / fraction; factor 66 drivers/net/wireless/ath/dfs_pri_detector.c factor++; factor 68 drivers/net/wireless/ath/dfs_pri_detector.c factor = 0; factor 70 drivers/net/wireless/ath/dfs_pri_detector.c return factor; factor 259 drivers/net/wireless/ath/dfs_pri_detector.c u32 factor; factor 264 drivers/net/wireless/ath/dfs_pri_detector.c factor = pde_get_multiple(ps.last_ts - p2->ts, ps.pri, factor 266 drivers/net/wireless/ath/dfs_pri_detector.c if (factor > 0) { factor 311 drivers/net/wireless/ath/dfs_pri_detector.c u32 factor; factor 321 drivers/net/wireless/ath/dfs_pri_detector.c factor = pde_get_multiple(delta_ts, ps->pri, factor 323 drivers/net/wireless/ath/dfs_pri_detector.c if (factor > 0) { factor 185 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c int remainder, factor; factor 193 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c factor = val / frac; factor 198 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c factor++; factor 200 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c factor = 0; factor 202 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c return factor; factor 432 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c u32 width_delta, with_sum, factor, cur_pri; factor 488 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c factor = mt76x02_dfs_get_multiple(cur_pri, seq.pri, factor 490 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c if (factor > 0) { factor 520 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c u32 factor, pri; factor 534 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c factor = mt76x02_dfs_get_multiple(pri, seq->pri, factor 536 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c if (factor > 0) { factor 1583 drivers/net/wireless/realtek/rtw88/phy.c u8 factor = chip->txgi_factor; factor 1591 drivers/net/wireless/realtek/rtw88/phy.c tx_power += pwr_idx_2g->ht_1s_diff.ofdm * factor; factor 1607 drivers/net/wireless/realtek/rtw88/phy.c tx_power += pwr_idx_2g->ht_1s_diff.bw20 * factor; factor 1609 drivers/net/wireless/realtek/rtw88/phy.c tx_power += pwr_idx_2g->ht_2s_diff.bw20 * factor; factor 1614 drivers/net/wireless/realtek/rtw88/phy.c tx_power += pwr_idx_2g->ht_2s_diff.bw40 * factor; factor 1631 drivers/net/wireless/realtek/rtw88/phy.c u8 factor = chip->txgi_factor; factor 1642 drivers/net/wireless/realtek/rtw88/phy.c tx_power += pwr_idx_5g->ht_1s_diff.ofdm * factor; factor 1651 drivers/net/wireless/realtek/rtw88/phy.c tx_power += pwr_idx_5g->ht_1s_diff.bw20 * factor; factor 1653 drivers/net/wireless/realtek/rtw88/phy.c tx_power += pwr_idx_5g->ht_2s_diff.bw20 * factor; factor 1658 drivers/net/wireless/realtek/rtw88/phy.c tx_power += pwr_idx_5g->ht_2s_diff.bw40 * factor; factor 1666 drivers/net/wireless/realtek/rtw88/phy.c tx_power += pwr_idx_5g->vht_1s_diff.bw80 * factor; factor 1668 drivers/net/wireless/realtek/rtw88/phy.c tx_power += pwr_idx_5g->vht_2s_diff.bw80 * factor; factor 254 drivers/nvme/host/rdma.c static int nvme_rdma_create_qp(struct nvme_rdma_queue *queue, const int factor) factor 263 drivers/nvme/host/rdma.c init_attr.cap.max_send_wr = factor * queue->queue_size + 1; factor 184 drivers/s390/block/dasd_proc.c static void dasd_statistics_array(struct seq_file *m, unsigned int *array, int factor) factor 189 drivers/s390/block/dasd_proc.c seq_printf(m, "%7d ", array[i] / factor); factor 201 drivers/s390/block/dasd_proc.c int factor; factor 214 drivers/s390/block/dasd_proc.c for (factor = 1; (prof->dasd_io_reqs / factor) > 9999999; factor 215 drivers/s390/block/dasd_proc.c factor *= 10); factor 220 drivers/s390/block/dasd_proc.c seq_printf(m, "Scale Factor is %d\n", factor); factor 231 drivers/s390/block/dasd_proc.c dasd_statistics_array(m, prof->dasd_io_secs, factor); factor 233 drivers/s390/block/dasd_proc.c dasd_statistics_array(m, prof->dasd_io_times, factor); factor 235 drivers/s390/block/dasd_proc.c dasd_statistics_array(m, prof->dasd_io_timps, factor); factor 237 drivers/s390/block/dasd_proc.c dasd_statistics_array(m, prof->dasd_io_time1, factor); factor 239 drivers/s390/block/dasd_proc.c dasd_statistics_array(m, prof->dasd_io_time2, factor); factor 242 drivers/s390/block/dasd_proc.c dasd_statistics_array(m, prof->dasd_io_time2ps, factor); factor 244 drivers/s390/block/dasd_proc.c dasd_statistics_array(m, prof->dasd_io_time3, factor); factor 246 drivers/s390/block/dasd_proc.c dasd_statistics_array(m, prof->dasd_io_nr_req, factor); factor 62 drivers/scsi/sym53c8xx_2/sym_nvram.c if (nvram->data.parisc.factor != -1) factor 63 drivers/scsi/sym53c8xx_2/sym_nvram.c np->minsync = nvram->data.parisc.factor; factor 260 drivers/staging/pi433/rf69.c u64 factor = 1000000; // to improve precision of calculation factor 269 drivers/staging/pi433/rf69.c f_step = F_OSC * factor; factor 273 drivers/staging/pi433/rf69.c f_reg = deviation * factor; factor 305 drivers/staging/pi433/rf69.c u64 factor = 1000000; // to improve precision of calculation factor 308 drivers/staging/pi433/rf69.c f_step = F_OSC * factor; factor 312 drivers/staging/pi433/rf69.c f_max = div_u64(f_step * 8388608, factor); factor 319 drivers/staging/pi433/rf69.c f_reg = frequency * factor; factor 15 drivers/thermal/thermal_mmio.c int factor; factor 30 drivers/thermal/thermal_mmio.c t *= sensor->factor; factor 98 drivers/thermal/thermal_mmio.c sensor->factor = 1000; factor 452 drivers/usb/gadget/function/f_uac2.c unsigned int factor, bool is_playback) factor 468 drivers/usb/gadget/function/f_uac2.c DIV_ROUND_UP(srate, factor / (1 << (ep_desc->bInterval - 1))); factor 425 drivers/usb/gadget/function/u_audio.c unsigned int factor, rate; factor 437 drivers/usb/gadget/function/u_audio.c factor = 1000; factor 439 drivers/usb/gadget/function/u_audio.c factor = 8000; factor 445 drivers/usb/gadget/function/u_audio.c uac->p_interval = factor / (1 << (ep_desc->bInterval - 1)); factor 153 drivers/usb/serial/ch341.c unsigned long factor; factor 158 drivers/usb/serial/ch341.c factor = (CH341_BAUDBASE_FACTOR / priv->baud_rate); factor 161 drivers/usb/serial/ch341.c while ((factor > 0xfff0) && divisor) { factor 162 drivers/usb/serial/ch341.c factor >>= 3; factor 166 drivers/usb/serial/ch341.c if (factor > 0xfff0) factor 169 drivers/usb/serial/ch341.c factor = 0x10000 - factor; factor 170 drivers/usb/serial/ch341.c a = (factor & 0xff00) | divisor; factor 873 fs/btrfs/block-group.c int factor; factor 893 fs/btrfs/block-group.c factor = btrfs_bg_type_to_factor(block_group->flags); factor 1054 fs/btrfs/block-group.c < block_group->key.offset * factor); factor 1058 fs/btrfs/block-group.c block_group->space_info->disk_total -= block_group->key.offset * factor; factor 2643 fs/btrfs/block-group.c int factor; factor 2662 fs/btrfs/block-group.c factor = btrfs_bg_type_to_factor(cache->flags); factor 2691 fs/btrfs/block-group.c cache->space_info->disk_used += num_bytes * factor; factor 2701 fs/btrfs/block-group.c cache->space_info->disk_used -= num_bytes * factor; factor 5504 fs/btrfs/extent-tree.c int factor; factor 5519 fs/btrfs/extent-tree.c factor = btrfs_bg_type_to_factor(block_group->flags); factor 5522 fs/btrfs/extent-tree.c factor; factor 34 fs/btrfs/misc.h static inline u64 div_factor(u64 num, int factor) factor 36 fs/btrfs/misc.h if (factor == 10) factor 38 fs/btrfs/misc.h num *= factor; factor 42 fs/btrfs/misc.h static inline u64 div_factor_fine(u64 num, int factor) factor 44 fs/btrfs/misc.h if (factor == 100) factor 46 fs/btrfs/misc.h num *= factor; factor 3088 fs/btrfs/scrub.c int factor = map->num_stripes / map->sub_stripes; factor 3090 fs/btrfs/scrub.c increment = map->stripe_len * factor; factor 120 fs/btrfs/space-info.c int factor; factor 122 fs/btrfs/space-info.c factor = btrfs_bg_type_to_factor(flags); factor 128 fs/btrfs/space-info.c found->disk_total += total_bytes * factor; factor 130 fs/btrfs/space-info.c found->disk_used += bytes_used * factor; factor 171 fs/btrfs/space-info.c int factor; factor 191 fs/btrfs/space-info.c factor = btrfs_bg_type_to_factor(profile); factor 192 fs/btrfs/space-info.c avail = div_u64(avail, factor); factor 2034 fs/btrfs/super.c unsigned factor = 1; factor 2051 fs/btrfs/super.c factor = btrfs_bg_type_to_factor( factor 2072 fs/btrfs/super.c buf->f_blocks = div_u64(btrfs_super_total_bytes(disk_super), factor); factor 2074 fs/btrfs/super.c buf->f_bfree = buf->f_blocks - (div_u64(total_used, factor) >> bits); factor 2085 fs/btrfs/super.c buf->f_bavail = div_u64(total_free_data, factor); factor 2089 fs/btrfs/super.c buf->f_bavail += div_u64(total_free_data, factor); factor 3527 fs/btrfs/volumes.c int factor; factor 3534 fs/btrfs/volumes.c factor = calc_data_stripes(type, num_stripes); factor 3543 fs/btrfs/volumes.c stripe_length = div_u64(stripe_length, factor); factor 5650 fs/btrfs/volumes.c u32 factor = 0; factor 5704 fs/btrfs/volumes.c factor = map->num_stripes / sub_stripes; factor 5707 fs/btrfs/volumes.c stripe_nr = div_u64_rem(stripe_nr, factor, &stripe_index); factor 5709 fs/btrfs/volumes.c stripes_per_dev = div_u64_rem(stripe_cnt, factor, factor 5711 fs/btrfs/volumes.c div_u64_rem(stripe_nr_end - 1, factor, &last_stripe); factor 6156 fs/btrfs/volumes.c u32 factor = map->num_stripes / map->sub_stripes; factor 6158 fs/btrfs/volumes.c stripe_nr = div_u64_rem(stripe_nr, factor, &stripe_index); factor 395 fs/gfs2/bmap.c sector_t factor = 1, block = 0; factor 400 fs/gfs2/bmap.c block += mp->mp_list[hgt] * factor; factor 401 fs/gfs2/bmap.c factor *= sdp->sd_inptrs; factor 485 fs/gfs2/bmap.c max_len += mp->mp_list[hgt] * factor; factor 487 fs/gfs2/bmap.c factor *= sdp->sd_inptrs; factor 498 fs/gfs2/bmap.c len = ptrs * factor; factor 500 fs/gfs2/bmap.c ptrs = DIV_ROUND_UP_ULL(max_len, factor); factor 508 fs/gfs2/bmap.c len = ptrs * factor; factor 527 fs/gfs2/bmap.c factor *= sdp->sd_inptrs; factor 546 fs/gfs2/bmap.c do_div(factor, sdp->sd_inptrs); factor 4045 fs/jfs/jfs_dmap.c int complete, factor; factor 4061 fs/jfs/jfs_dmap.c factor = factor 4063 fs/jfs/jfs_dmap.c complete = (u32) npages / factor; factor 4068 fs/jfs/jfs_dmap.c npages = (u32) npages % factor; factor 627 fs/ubifs/budget.c int divisor, factor, f; factor 643 fs/ubifs/budget.c factor = UBIFS_BLOCK_SIZE; factor 646 fs/ubifs/budget.c free *= factor; factor 56 init/do_mounts_md.c int minor, level, factor, fault, partitioned = 0; factor 86 init/do_mounts_md.c if (get_option(&str, &factor) != 2 || /* Chunk Size */ factor 92 init/do_mounts_md.c md_setup_args[ent].chunk = 1 << (factor+12); factor 442 kernel/locking/locktorture.c const unsigned int factor = 50000; /* yes, quite arbitrary */ factor 451 kernel/locking/locktorture.c (cxt.nrealwriters_stress * factor))) { factor 465 kernel/locking/locktorture.c (cxt.nrealwriters_stress * factor * 2))) { factor 151 kernel/sched/fair.c unsigned int factor; factor 155 kernel/sched/fair.c factor = 1; factor 158 kernel/sched/fair.c factor = cpus; factor 162 kernel/sched/fair.c factor = 1 + ilog2(cpus); factor 166 kernel/sched/fair.c return factor; factor 171 kernel/sched/fair.c unsigned int factor = get_update_sysctl_factor(); factor 174 kernel/sched/fair.c (sysctl_##name = (factor) * normalized_sysctl_##name) factor 640 kernel/sched/fair.c unsigned int factor = get_update_sysctl_factor(); factor 649 kernel/sched/fair.c (normalized_sysctl_##name = sysctl_##name / (factor)) factor 5458 kernel/sched/fair.c int factor = this_cpu_read(sd_llc_size); factor 5462 kernel/sched/fair.c if (slave < factor || master < slave * factor) factor 205 lib/zstd/zstd_internal.h U32 factor; factor 35 lib/zstd/zstd_opt.h ssPtr->factor = 1 + ((ssPtr->litSum >> 5) / ssPtr->litLengthSum) + ((ssPtr->litSum << 1) / (ssPtr->litSum + ssPtr->matchSum)); factor 162 lib/zstd/zstd_opt.h return price + ZSTD_getLiteralPrice(seqStorePtr, litLength, literals) + seqStorePtr->factor; factor 176 net/ipv4/tcp_htcp.c u32 factor = 1; factor 181 net/ipv4/tcp_htcp.c factor = 1 + (10 * diff + ((diff / 2) * (diff / 2) / HZ)) / HZ; factor 189 net/ipv4/tcp_htcp.c factor = (factor << 3) / scale; factor 190 net/ipv4/tcp_htcp.c if (!factor) factor 191 net/ipv4/tcp_htcp.c factor = 1; factor 194 net/ipv4/tcp_htcp.c ca->alpha = 2 * factor * ((1 << 7) - ca->beta); factor 2264 net/ipv4/tcp_output.c unsigned int factor) factor 2274 net/ipv4/tcp_output.c limit <<= factor; factor 1340 net/sched/sch_generic.c u64 factor = NSEC_PER_SEC; factor 1343 net/sched/sch_generic.c r->mult = div64_u64(factor, r->rate_bytes_ps); factor 1344 net/sched/sch_generic.c if (r->mult & (1U << 31) || factor & (1ULL << 63)) factor 1346 net/sched/sch_generic.c factor <<= 1; factor 1386 sound/soc/codecs/da7219.c unsigned long factor) factor 1390 sound/soc/codecs/da7219.c switch (factor) { factor 2050 sound/soc/codecs/da7219.c unsigned long factor; factor 2052 sound/soc/codecs/da7219.c factor = rate / parent_rate; factor 2053 sound/soc/codecs/da7219.c if (factor < 64) factor 2055 sound/soc/codecs/da7219.c else if (factor < 128) factor 2057 sound/soc/codecs/da7219.c else if (factor < 256) factor 2069 sound/soc/codecs/da7219.c unsigned long factor; factor 2081 sound/soc/codecs/da7219.c factor = da7219_bclk_get_factor(rate, *parent_rate); factor 2083 sound/soc/codecs/da7219.c return *parent_rate * factor; factor 2093 sound/soc/codecs/da7219.c unsigned long factor; factor 2098 sound/soc/codecs/da7219.c factor = da7219_bclk_get_factor(rate, parent_rate); factor 2100 sound/soc/codecs/da7219.c return da7219_set_bclks_per_wclk(component, factor); factor 679 sound/soc/fsl/fsl_ssi.c u32 pm = 999, div2, psr, stccr, mask, afreq, factor, i; factor 717 sound/soc/fsl/fsl_ssi.c factor = (div2 + 1) * (7 * psr + 1) * 2; factor 720 sound/soc/fsl/fsl_ssi.c tmprate = freq * factor * (i + 1); factor 727 sound/soc/fsl/fsl_ssi.c clkrate /= factor; factor 51 tools/perf/arch/s390/util/auxtrace.c unsigned int factor = 1; factor 66 tools/perf/arch/s390/util/auxtrace.c factor = (opts->user_freq + DEFAULT_FREQ factor 68 tools/perf/arch/s390/util/auxtrace.c pages = DEFAULT_AUX_PAGES * factor; factor 321 tools/perf/util/config.c unsigned long factor = 1; factor 323 tools/perf/util/config.c if (!parse_unit_factor(end, &factor)) factor 325 tools/perf/util/config.c *ret = val * factor; factor 336 tools/perf/util/config.c unsigned long factor = 1; factor 337 tools/perf/util/config.c if (!parse_unit_factor(end, &factor)) factor 339 tools/perf/util/config.c *ret = val * factor;