Home
last modified time | relevance | path

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

12345678910>>...19

/openbmc/linux/drivers/staging/media/atomisp/pci/
H A 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 */
/openbmc/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()
/openbmc/u-boot/include/
H A Dvideo_console.h47 * @xcur_frac: Current X position, in fractional units (VID_TO_POS(x))
53 * @tab_width_frac: Tab width in fractional units
54 * @xsize_frac: Width of the display in fractional units
55 * @xstart_frac: Left margin for the text console in fractional units
59 * @col_saved: Saved X position, in fractional units (VID_TO_POS(x))
99 * @x_frac: Fractional pixel X position (0=left-most pixel) which
103 * @return number of fractional pixels that the cursor should move,
167 * @x_frac: Fractional pixel X position (0=left-most pixel) which
171 * @return number of fractional pixels that the cursor should move,
/openbmc/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 …]
/openbmc/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.
/openbmc/linux/drivers/gpu/drm/amd/display/dc/basics/
H A Dfixpt31_32.c90 /* determine fractional part */ in dc_fixpt_from_fraction()
416 * fractional_bits fractional part. For example it is used in
417 * dc_fixpt_u2d19 to receive 2 bits integer part and 19 bits fractional
428 /* 2. mask out fractional part */ in ux_dy()
432 /* 4. make space for fractional part to be filled in after integer */ in ux_dy()
434 /* 5. shrink fixed point fractional part to of fractional_bits width*/ in ux_dy()
/openbmc/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
/openbmc/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.
/openbmc/linux/drivers/iio/light/
H A 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()
/openbmc/linux/Documentation/devicetree/bindings/clock/
H A Dapple,nco.yaml15 fractional division of a high frequency input clock.
32 are derived through fractional division.
/openbmc/linux/drivers/clk/spear/
H A Dclk-frac-synth.c6 * Fractional Synthesizer clock implementation
20 * DOC: Fractional Synthesizer clock
26 * 0-13 (fractional part)
/openbmc/u-boot/doc/device-tree-bindings/clock/
H A Dst,stm32h7-rcc.txt82 When the PLL is configured in fractional mode:
99 - 1 Pll is configure in fractional mode
101 - st,frac: Fractional part of the multiplication factor : <0..8191>
/openbmc/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 */
/openbmc/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)
/openbmc/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... \
/openbmc/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) */
/openbmc/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()
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mxs/
H A Dspl_mem_init.c146 /* Fractional divider for ref_emi is 33 ; 480 * 18 / 33 = 266MHz */ in mxs_mem_init_clock()
149 /* Fractional divider for ref_emi is 21 ; 480 * 18 / 21 = 411MHz */ in mxs_mem_init_clock()
159 /* Set fractional divider for ref_emi */ in mxs_mem_init_clock()
189 /* Set fractional divider for ref_cpu to 480 * 18 / 19 = 454MHz in mxs_mem_setup_cpu_and_hbus()
/openbmc/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()
/openbmc/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()
/openbmc/u-boot/arch/arm/cpu/armv7/bcm235xx/
H A Dclk-core.h241 * of its bits represent a "fractional" part of the divider. Such
245 * fractional bits. Variable dividers with non-zero fraction width
248 * affects the bits above the fractional part only. (Often in this
254 * been left-shifted by the fractional width of a divider. Dividing
307 /* A divider whose divisor has an integer and fractional part */
/openbmc/u-boot/arch/arm/cpu/armv7/bcm281xx/
H A Dclk-core.h241 * of its bits represent a "fractional" part of the divider. Such
245 * fractional bits. Variable dividers with non-zero fraction width
248 * affects the bits above the fractional part only. (Often in this
254 * been left-shifted by the fractional width of a divider. Dividing
307 /* A divider whose divisor has an integer and fractional part */
/openbmc/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
/openbmc/linux/sound/soc/tegra/
H A Dtegra186_asrc.c714 /* Controls for fractional part of ratio */
715 SOC_SINGLE_EXT_FRAC("Ratio1 Fractional Part",
721 SOC_SINGLE_EXT_FRAC("Ratio2 Fractional Part",
727 SOC_SINGLE_EXT_FRAC("Ratio3 Fractional Part",
733 SOC_SINGLE_EXT_FRAC("Ratio4 Fractional Part",
739 SOC_SINGLE_EXT_FRAC("Ratio5 Fractional Part",
745 SOC_SINGLE_EXT_FRAC("Ratio6 Fractional Part",
/openbmc/linux/drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc_1.0/
H A Dia_css_ctc_types.h25 /* Fractional bits for CTC gain (used only for ISP1).
27 * IA_CSS_CTC_COEF_SHIFT(=13) includes not only the fractional bits

12345678910>>...19