Home
last modified time | relevance | path

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

12345678910>>...17

/linux-6.12.1/drivers/staging/media/atomisp/pci/
Dia_css_frac.h20 * This file contains typedefs used for fractional numbers
29 /* Unsigned fixed point value, 0 integer bits, 16 fractional bits */
31 /* Unsigned fixed point value, 5 integer bits, 11 fractional bits */
33 /* Unsigned fixed point value, 8 integer bits, 8 fractional bits */
35 /* Signed fixed point value, 0 integer bits, 15 fractional bits */
/linux-6.12.1/drivers/iio/common/ssp_sensors/
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-6.12.1/drivers/net/ethernet/marvell/mvpp2/
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-6.12.1/include/media/
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-6.12.1/drivers/clk/renesas/
Drcar-gen4-cpg.h17 CLK_TYPE_GEN4_PLL_F8_25, /* Fixed fractional 8.25 PLL */
18 CLK_TYPE_GEN4_PLL_V8_25, /* Variable fractional 8.25 PLL */
19 CLK_TYPE_GEN4_PLL_F9_24, /* Fixed fractional 9.24 PLL */
20 CLK_TYPE_GEN4_PLL_V9_24, /* Variable fractional 9.24 PLL */
Drcar-gen4-cpg.c49 #define CPG_PLLxCR0_SSMODE_FM BIT(18) /* Fractional Multiplication */
55 /* Fractional 8.25 PLL */
57 #define CPG_PLLxCR1_NF25 GENMASK(24, 0) /* Fractional mult. factor */
59 /* Fractional 9.24 PLL */
61 #define CPG_PLLxCR1_NF24 GENMASK(23, 0) /* Fractional mult. factor */
464 /* Variable fractional 9.24 is not yet supported, using fixed */ in rcar_gen4_cpg_clk_register()
/linux-6.12.1/Documentation/netlink/specs/
Ddpll.yaml81 name: fractional-frequency-offset-too-high
83 the FFO (Fractional Frequency Offset) between the RX and TX
97 Value of (DPLL_A_TEMP % DPLL_TEMP_DIVIDER) is fractional part of
208 as a fractional value with three digit decimal precision.
212 fractional part of a measured phase offset value.
339 name: fractional-frequency-offset
342 The FFO (Fractional Frequency Offset) between the RX and TX
532 - fractional-frequency-offset
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-6.12.1/drivers/gpu/drm/amd/display/dc/spl/
Dspl_fixpt31_32.c68 /* determine fractional part */ in spl_fixpt_from_fraction()
394 * fractional_bits fractional part. For example it is used in
395 * spl_fixpt_u2d19 to receive 2 bits integer part and 19 bits fractional
406 /* 2. mask out fractional part */ in ux_dy()
410 /* 4. make space for fractional part to be filled in after integer */ in ux_dy()
412 /* 5. shrink fixed point fractional part to of fractional_bits width*/ in ux_dy()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/basics/
Dfixpt31_32.c90 /* determine fractional part */ in dc_fixpt_from_fraction()
412 * fractional_bits fractional part. For example it is used in
413 * dc_fixpt_u2d19 to receive 2 bits integer part and 19 bits fractional
424 /* 2. mask out fractional part */ in ux_dy()
428 /* 4. make space for fractional part to be filled in after integer */ in ux_dy()
430 /* 5. shrink fixed point fractional part to of fractional_bits width*/ in ux_dy()
/linux-6.12.1/drivers/clk/mxs/
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-6.12.1/Documentation/devicetree/bindings/input/touchscreen/
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-6.12.1/drivers/iio/light/
Dmax44009.c55 /* The fixed-point fractional multiplier for de-scaling threshold values */
299 static int max44009_threshold_byte_from_fraction(int integral, int fractional) in max44009_threshold_byte_from_fraction() argument
303 if ((integral <= 0 && fractional <= 0) || in max44009_threshold_byte_from_fraction()
305 (integral == MAX44009_MAXIMUM_THRESHOLD && fractional != 0)) in max44009_threshold_byte_from_fraction()
312 /* Reverse scaling of fixed-point fractional */ in max44009_threshold_byte_from_fraction()
313 mantissa += fractional / MAX44009_FRACT_MULT * in max44009_threshold_byte_from_fraction()
/linux-6.12.1/drivers/clk/
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");
/linux-6.12.1/drivers/clk/spear/
Dclk-frac-synth.c6 * Fractional Synthesizer clock implementation
20 * DOC: Fractional Synthesizer clock
26 * 0-13 (fractional part)
/linux-6.12.1/Documentation/devicetree/bindings/clock/
Dapple,nco.yaml15 fractional division of a high frequency input clock.
32 are derived through fractional division.
/linux-6.12.1/arch/powerpc/include/uapi/asm/
Dnvram.h45 unsigned int latitude; /* 2+30 bit Fractional number */
46 unsigned int longitude; /* 2+30 bit Fractional number */
/linux-6.12.1/sound/pci/cs46xx/
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-6.12.1/Documentation/devicetree/bindings/iio/light/
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-6.12.1/include/linux/
Daverage.h20 * used for the fractional part of the fixed-precision values.
38 * some bits for the non-fractional part... \
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
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-6.12.1/drivers/gpu/drm/amd/display/dc/dce/
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-6.12.1/drivers/clk/sunxi-ng/
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-6.12.1/sound/soc/tegra/
Dtegra186_asrc.c713 /* Controls for fractional part of ratio */
714 SOC_SINGLE_EXT_FRAC("Ratio1 Fractional Part",
720 SOC_SINGLE_EXT_FRAC("Ratio2 Fractional Part",
726 SOC_SINGLE_EXT_FRAC("Ratio3 Fractional Part",
732 SOC_SINGLE_EXT_FRAC("Ratio4 Fractional Part",
738 SOC_SINGLE_EXT_FRAC("Ratio5 Fractional Part",
744 SOC_SINGLE_EXT_FRAC("Ratio6 Fractional Part",
/linux-6.12.1/drivers/clk/zynqmp/
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

12345678910>>...17