Home
last modified time | relevance | path

Searched full:fractional (Results 1 – 25 of 285) sorted by relevance

12345678910>>...12

/linux/drivers/iio/common/ssp_sensors/
H A Dssp_iio_sensor.h48 int *fractional) in ssp_convert_to_freq() argument
51 *fractional = 0; in ssp_convert_to_freq()
57 *fractional = *integer_part % SSP_INVERTED_SCALING_FACTOR; in ssp_convert_to_freq()
62 static inline int ssp_convert_to_time(int integer_part, int fractional) in ssp_convert_to_time() argument
66 value = (u64)integer_part * SSP_INVERTED_SCALING_FACTOR + fractional; in ssp_convert_to_time()
/linux/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_tai.c99 /* Read and discard fractional part */ in mvpp22_tai_read_ts()
132 * fractional = abs_scaled_ppm / (2^16 * 10^6)
135 * freq_adjusted = freq_nominal * (1 + fractional)
137 * freq_delta = freq_nominal * (1 + fractional) - freq_nominal
138 * So: freq_delta = freq_nominal * fractional
141 * period_adjusted = period_nominal / (1 + fractional)
143 * period_delta = period_nominal * fractional / (1 + fractional)
319 /* As the fractional nanosecond is a signed offset, if the MSB (sign) in mvpp22_tai_set_step()
407 * size, and a 32-bit fractional nanosecond step size split over two in mvpp22_tai_probe()
408 * registers. The fractional nanosecond step size has units of 2^-32ns. in mvpp22_tai_probe()
[all …]
/linux/include/media/
H A Dv4l2-vp9.h23 * @class0_fr: motion vector class0 fractional bit probabilities.
24 * @fr: motion vector fractional bit probabilities.
25 * @class0_hp: motion vector class0 high precision fractional bit probabilities.
26 * @hp: motion vector high precision fractional bit probabilities.
107 * @class0_fp: motion vector class0 fractional bit counts.
108 * @fp: motion vector fractional bit counts.
109 * @class0_hp: motion vector class0 high precision fractional bit counts.
110 * @hp: motion vector high precision fractional bit counts.
/linux/Documentation/netlink/specs/
H A Dtcp_metrics.yaml96 Round Trip Time (RTT), in msecs with 3 bits fractional
102 Round Trip Time VARiance (RTT), in msecs with 2 bits fractional
120 Round Trip Time (RTT), in usecs, with 3 bits fractional
126 Round Trip Time (RTT), in usecs, with 2 bits fractional
/linux/Documentation/devicetree/bindings/input/touchscreen/
H A Dazoteq,iqs7211.yaml232 description: Specifies the trackpad's ATI fine fractional divider.
238 description: Specifies the trackpad's ATI coarse fractional multiplier.
244 description: Specifies the trackpad's ATI coarse fractional divider.
388 description: Specifies the ALP's ATI fine fractional divider.
394 description: Specifies the ALP's ATI coarse fractional multiplier.
400 description: Specifies the ALP's ATI coarse fractional divider.
480 description: Specifies the button's ATI fine fractional divider.
486 description: Specifies the button's ATI coarse fractional multiplier.
492 description: Specifies the button's ATI coarse fractional divider.
/linux/drivers/clk/mxs/
H A Dclk-frac.c13 * struct clk_frac - mxs fractional divider clock
14 * @hw: clk_hw for the fractional divider clock
20 * The clock is an adjustable fractional divider with a busy bit to wait
/linux/drivers/clk/
H A Dclk-fractional-divider_test.c3 * Kunit tests for clk fractional divider
8 #include "clk-fractional-divider.h"
147 MODULE_DESCRIPTION("Kunit tests for clk fractional divider");
H A DKconfig214 tristate "Clock driver for CS2000 Fractional-N Clock Synthesizer & Clock Multiplier"
451 and jitter attenuator ICs with fractional and integer dividers.
580 tristate "Basic fractional divider type Kunit test" if !KUNIT_ALL_TESTS
584 Kunit test for the clk-fractional-divider type.
/linux/drivers/clk/spear/
H A Dclk-frac-synth.c6 * Fractional Synthesizer clock implementation
20 * DOC: Fractional Synthesizer clock
26 * 0-13 (fractional part)
/linux/arch/powerpc/include/uapi/asm/
H A Dnvram.h45 unsigned int latitude; /* 2+30 bit Fractional number */
46 unsigned int longitude; /* 2+30 bit Fractional number */
/linux/sound/pci/cs46xx/
H A Dcs46xx_dsp_scb_types.h143 fractional phase accumulation
145 Fractional increment per output sample in the input sample buffer
148 On wavetable/3D voices: this 32-bit word specifies the integer.fractional
269 insure that the fractional error is always
317 hi: Fractional sample accumulator 0.16b
329 hi: Fractional sample correction factor 0.16b
674 /* accumPhi: accumulated fractional phase increment (6.26) */
/linux/Documentation/devicetree/bindings/iio/light/
H A Dupisemi,us5182.yaml36 8-bit dark gain compensation factor(4 int and 4 fractional bits - Q4.4)
43 8-bit dark gain compensation factor(4 int and 4 fractional bits - Q4.4)
/linux/include/linux/
H A Daverage.h20 * used for the fractional part of the fixed-precision values.
38 * some bits for the non-fractional part... \
H A Dtimecounter.h53 * @frac: accumulated fractional nanoseconds
68 * @frac: pointer to storage for the fractional nanoseconds.
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_pll.c33 * amdgpu_pll_reduce_ratio - fractional number reduction
115 * @frac_fb_div_p: fractional part of the feedback divider
194 /* represent the searched ratio as fractional number */ in amdgpu_pll_compute()
232 /* avoid high jitter with small fractional dividers */ in amdgpu_pll_compute()
/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_abm.c100 // Take MSB of fractional part since backlight is not max in dmcu_set_backlight_level()
183 * 1 bit integer and 16 bit fractional in dce_abm_get_current_backlight()
194 * 1 bit integer and 16 bit fractional in dce_abm_get_target_backlight()
/linux/drivers/clk/sunxi-ng/
H A Dccu_frac.c71 pr_debug("%s: Read fractional\n", clk_hw_get_name(&common->hw)); in ccu_frac_helper_read_rate()
76 pr_debug("%s: clock is fractional (rates %lu and %lu)\n", in ccu_frac_helper_read_rate()
/linux/sound/soc/tegra/
H A Dtegra186_asrc.c712 /* Controls for fractional part of ratio */
713 SOC_SINGLE_EXT_FRAC("Ratio1 Fractional Part",
719 SOC_SINGLE_EXT_FRAC("Ratio2 Fractional Part",
725 SOC_SINGLE_EXT_FRAC("Ratio3 Fractional Part",
731 SOC_SINGLE_EXT_FRAC("Ratio4 Fractional Part",
737 SOC_SINGLE_EXT_FRAC("Ratio5 Fractional Part",
743 SOC_SINGLE_EXT_FRAC("Ratio6 Fractional Part",
/linux/drivers/clk/zynqmp/
H A Ddivider.c28 #define CLK_FRAC BIT(13) /* has a fractional parent */
29 #define CUSTOM_FLAG_CLK_FRAC BIT(0) /* has a fractional parent in custom type flag */
35 * @is_frac: The divider is a fractional divider
/linux/drivers/clk/bcm/
H A Dclk-kona.h234 * of its bits represent a "fractional" part of the divider. Such
238 * fractional bits. Variable dividers with non-zero fraction width
241 * affects the bits above the fractional part only. (Often in this
247 * been left-shifted by the fractional width of a divider. Dividing
300 /* A divider whose divisor has an integer and fractional part */
/linux/drivers/gpu/drm/amd/display/dc/inc/
H A Dclock_source.h134 /* number of decimal point for fractional feedback divider value */
137 /* number of decimal point to round off for fractional feedback divider value*/
/linux/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/
H A Dsmu11_driver_if_sienna_cichlid.h436 uint32_t a; // store in fixed point, [31:20] signed integer, [19:0] fractional bits
437 uint32_t b; // store in fixed point, [31:20] signed integer, [19:0] fractional bits
438 uint32_t c; // store in fixed point, [31:20] signed integer, [19:0] fractional bits
664 uint16_t LoadLineResistanceGfx; // In mOhms with 8 fractional bits
665 uint16_t LoadLineResistanceSoc; // In mOhms with 8 fractional bits
883 …uint32_t MvddRatio; // This is used for MVDD Svi2 Div Ratio workaround. It has 16 fractional
1024 uint16_t LoadLineResistanceGfx; // In mOhms with 8 fractional bits
1025 uint16_t LoadLineResistanceSoc; // In mOhms with 8 fractional bits
1244 …uint32_t MvddRatio; // This is used for MVDD Svi2 Div Ratio workaround. It has 16 fractional
1709 uint32_t VInversion[AVFS_VOLTAGE_COUNT]; // in mV with 2 fractional bits
/linux/Documentation/devicetree/bindings/input/
H A Dazoteq,iqs7222.yaml67 description: Specifies the preloaded ATI fine fractional divider.
73 description: Specifies the preloaded ATI coarse fractional divider.
522 3: Fine fractional divider
523 4: Coarse fractional divider
530 description: Specifies the channel's ATI fine fractional divider.
536 description: Specifies the channel's ATI coarse fractional multiplier.
542 description: Specifies the channel's ATI coarse fractional divider.
/linux/drivers/gpu/drm/tests/
H A Ddrm_damage_helper_test.c144 /* Plane src has fractional part. */ in drm_test_damage_iter_no_damage_fractional_src()
184 /* Plane src has fractional part and it moved since old plane state. */ in drm_test_damage_iter_no_damage_fractional_src_moved()
350 /* Plane src has fractional part. */ in drm_test_damage_iter_single_damage_fractional_src()
375 /* Plane src has fractional part. */ in drm_test_damage_iter_single_damage_intersect_fractional_src()
402 /* Plane src has fractional part. */ in drm_test_damage_iter_single_damage_outside_fractional_src()
452 /* Plane src with fractional part moved since old plane state. */ in drm_test_damage_iter_single_damage_fractional_src_moved()
/linux/drivers/hwmon/
H A Demc2103.c64 s8 temp_min[4]; /* no fractional part */
65 s8 temp_max[4]; /* no fractional part */
88 u8 degrees, fractional; in read_temp_from_i2c() local
93 if (read_u8_from_i2c(client, i2c_reg + 1, &fractional) < 0) in read_temp_from_i2c()
97 temp->fraction = (fractional & 0xe0) >> 5; in read_temp_from_i2c()

12345678910>>...12