Home
last modified time | relevance | path

Searched refs:fraction (Results 1 – 25 of 41) sorted by relevance

12

/linux/arch/m68k/fpsp040/
H A Dbinstr.S16 | bit 63. The fraction is multiplied by 10 using a mul by 2
26 | Copy the fraction in d2:d3 to d4:d5.
28 | A3. Multiply the fraction in d2:d3 by 8 using bit-field
32 | A4. Multiply the fraction in d4:d5 by 2 using shifts. The msb
51 | d2: upper 32-bits of fraction for mul by 8
52 | d3: lower 32-bits of fraction for mul by 8
53 | d4: upper 32-bits of fraction for mul by 2
54 | d5: lower 32-bits of fraction for mul by 2
84 movel %d2,%d4 |copy the fraction before muls
H A Dsint.S203 | ;there are no fraction bits
208 | ;shift off fraction bits
H A Ddecbin.S27 | digits, rather than 1 integer and 16 fraction digits.
44 | SM = 1 a non-zero digit in Mant0, lsd of the fraction
144 movel #EDIGITS,%d2 |# of nibbles (digits) in fraction part
H A Dbindec.S95 | to be a fraction; i.e. (mantissa)/10^LEN and adjusted
/linux/drivers/regulator/
H A Dsun20i-regulator.c26 unsigned int fraction, uV; in sun20i_d1_system_ldo_list_voltage() local
32 fraction = selector + (desc->min_uV % 4); in sun20i_d1_system_ldo_list_voltage()
37 fraction++; in sun20i_d1_system_ldo_list_voltage()
40 return uV + (fraction / 3); in sun20i_d1_system_ldo_list_voltage()
/linux/sound/core/seq/
H A Dseq_timer.h15 unsigned long fraction; /* current time per tick in nsec */ member
58 tick->fraction += resolution; in snd_seq_timer_update_tick()
59 tick->cur_tick += (unsigned int)(tick->fraction / tick->resolution); in snd_seq_timer_update_tick()
60 tick->fraction %= tick->resolution; in snd_seq_timer_update_tick()
H A Dseq_timer.c118 tmr->tick.fraction = 0; in seq_timer_reset()
220 tmr->tick.fraction = 0; in snd_seq_timer_set_position_tick()
/linux/drivers/media/tuners/
H A Dmax2165.c150 static int fixpt_div32(u32 dividend, u32 divisor, u32 *quotient, u32 *fraction) in fixpt_div32() argument
172 *fraction = f; in fixpt_div32()
182 u32 quotient, fraction; in max2165_set_rf() local
187 &quotient, &fraction); in max2165_set_rf()
192 fraction >>= 12; in max2165_set_rf()
195 max2165_mask_write_reg(priv, REG_NDIV_FRAC2, 0x0F, fraction >> 16); in max2165_set_rf()
196 max2165_write_reg(priv, REG_NDIV_FRAC1, fraction >> 8); in max2165_set_rf()
197 max2165_write_reg(priv, REG_NDIV_FRAC0, fraction); in max2165_set_rf()
/linux/drivers/net/wireless/ath/
H A Ddfs_pri_detector.c44 static u32 pde_get_multiple(u32 val, u32 fraction, u32 tolerance) in pde_get_multiple() argument
50 if (fraction == 0) in pde_get_multiple()
53 delta = (val < fraction) ? (fraction - val) : (val - fraction); in pde_get_multiple()
59 factor = val / fraction; in pde_get_multiple()
60 remainder = val % fraction; in pde_get_multiple()
63 if ((fraction - remainder) <= tolerance) in pde_get_multiple()
/linux/tools/perf/ui/gtk/
H A Dprogress.c12 double fraction = p->total ? 1.0 * p->curr / p->total : 0.0; in gtk_ui_progress__update() local
34 gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(progress), fraction); in gtk_ui_progress__update()
/linux/drivers/hid/amd-sfh-hid/sfh1_1/
H A Damd_sfh_desc.c137 int fraction, shift, mantissa, sign, exp, zeropre; in amd_sfh_float_to_int() local
171 fraction = (shift == 0) ? 0 : mantissa & GENMASK(shift - 1, 0); in amd_sfh_float_to_int()
173 return (((fraction * 100) >> shift) >= 50) ? sign * (flt32_val + 1) : sign * flt32_val; in amd_sfh_float_to_int()
/linux/Documentation/sound/designs/
H A Dtracepoints.rst96 Read-only. This value represents numerator of sampling rate in fraction
103 fraction notation. Basically, when a parameter of
/linux/arch/arm/boot/dts/st/
H A Dspear320-hmi.dts261 ts,fraction-z = <7>;
H A Dspear1310-evb.dts375 ts,fraction-z = <7>;
/linux/drivers/iio/light/
H A Dsi1133.c244 static int si1133_calculate_polynomial_inner(s32 input, u8 fraction, u16 mag, in si1133_calculate_polynomial_inner() argument
247 return ((input << fraction) / mag) << shift; in si1133_calculate_polynomial_inner()
/linux/drivers/hwmon/
H A Dlm90.c1369 int fraction = resolution > 8 ? in lm90_temp_to_reg() local
1373 val = clamp_val(val, -64000, 191000 + fraction); in lm90_temp_to_reg()
1376 val = clamp_val(val, 0, 255000 + fraction); in lm90_temp_to_reg()
1378 val = clamp_val(val, 0, 127000 + fraction); in lm90_temp_to_reg()
1380 val = clamp_val(val, -128000, 127000 + fraction); in lm90_temp_to_reg()
/linux/drivers/gpu/drm/i915/display/
H A Dintel_cdclk.c3846 int divider, fraction; in cnp_rawclk() local
3852 fraction = 0; in cnp_rawclk()
3856 fraction = 200; in cnp_rawclk()
3860 if (fraction) { in cnp_rawclk()
3864 fraction) - 1); in cnp_rawclk()
3870 return divider + fraction; in cnp_rawclk()
/linux/Documentation/scheduler/
H A Dschedutil.rst39 will decrease to reflect the fraction of time each task spends on the CPU
/linux/Documentation/block/
H A Dbfq-iosched.rst189 guaranteeing the desired throughput fraction to processes
245 guarantees that each queue receives a fraction of the device
260 receive a higher fraction of the device throughput.
/linux/Documentation/dev-tools/
H A Dcheckuapi.rst68 * exponent and a 13-bit fraction.
69 * comp2_t is 24-bit with 5-bit base 2 exponent and 20 bit fraction
/linux/mm/
H A Dvmscan.c2445 int swappiness, u64 *fraction, u64 *denominator) in calculate_pressure_balance() argument
2476 fraction[WORKINGSET_ANON] = ap; in calculate_pressure_balance()
2477 fraction[WORKINGSET_FILE] = fp; in calculate_pressure_balance()
2556 u64 fraction[ANON_AND_FILE]; in get_scan_count() local
2625 calculate_pressure_balance(sc, swappiness, fraction, &denominator); in get_scan_count()
2657 div64_u64(scan * fraction[file], denominator) : in get_scan_count()
2658 DIV64_U64_ROUND_UP(scan * fraction[file], in get_scan_count()
/linux/drivers/net/wireless/realtek/rtw89/
H A Drtw8922a.c1396 u8 fraction = value & 0x3; in rtw8922a_set_rx_gain_normal_cck() local
1398 if (fraction) { in rtw8922a_set_rx_gain_normal_cck()
1400 (0x4 - fraction) << 1); in rtw8922a_set_rx_gain_normal_cck()
1402 (0x4 - fraction) << 1); in rtw8922a_set_rx_gain_normal_cck()
/linux/tools/perf/Documentation/
H A Dtopdown.txt272 fraction bit shrinks. So the counters need to be reset regularly.
/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_transform.h613 uint32_t fraction; member
/linux/Documentation/mm/
H A Dunevictable-lru.rst35 fraction of these pages are not evictable for any reason [see below], vmscan
36 will spend a lot of time scanning the LRU lists looking for the small fraction

12