Home
last modified time | relevance | path

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

12345678910>>...24

/OK3568_Linux_fs/kernel/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 */
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/u-boot/include/
H A Dvideo_console.h22 * @xcur_frac: Current X position, in fractional units (VID_TO_POS(x))
28 * @tab_width_frac: Tab width in fractional units
29 * @xsize_frac: Width of the display in fractional units
30 * @xstart_frac: Left margin for the text console in fractional units
59 * @x_frac: Fractional pixel X position (0=left-most pixel) which
63 * @return number of fractional pixels that the cursor should move,
127 * @x_frac: Fractional pixel X position (0=left-most pixel) which
131 * @return number of fractional pixels that the cursor should move,
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/share/info/
H A Dgccint.info271 * Fixed-point fractional library routines::
699 File: gccint.info, Node: Decimal float library routines, Next: Fixed-point fractional library rou…
1008 File: gccint.info, Node: Fixed-point fractional library routines, Next: Exception handling routin…
1010 4.4 Routines for fixed-point fractional emulation
1013 The software fixed-point library implements fixed-point fractional
1019 For illustrative purposes, in this section the fixed-point fractional
2041 These functions convert from fractional and signed non-fractionals
2524 The functions convert from fractional and signed non-fractionals to
2893 …n handling routines, Next: Miscellaneous routines, Prev: Fixed-point fractional library routines…
9977 'INTEGER_TYPE' case. There may be padding bits, fractional bits
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/share/info/
H A Dgccint.info271 * Fixed-point fractional library routines::
699 File: gccint.info, Node: Decimal float library routines, Next: Fixed-point fractional library rou…
1008 File: gccint.info, Node: Fixed-point fractional library routines, Next: Exception handling routin…
1010 4.4 Routines for fixed-point fractional emulation
1013 The software fixed-point library implements fixed-point fractional
1019 For illustrative purposes, in this section the fixed-point fractional
2041 These functions convert from fractional and signed non-fractionals
2524 The functions convert from fractional and signed non-fractionals to
2893 …n handling routines, Next: Miscellaneous routines, Prev: Fixed-point fractional library routines…
9977 'INTEGER_TYPE' case. There may be padding bits, fractional bits
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/algos/awb/
H A Drk_aiq_types_awb_stat_v2xx.h89 unsigned short thcure_th[6];//4bit fractional+8bit integer+0s
90 unsigned short lineP1[3];//4bit fractional+8bit integer+0s
91 short vP1P2[3];//4bit fractional+8bit integer+1s
92 unsigned char disP1P2;// /0bit fractional+5bit integer+0s distance is 2^disP1P2;
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/basics/
H A Dfixpt31_32.c86 /* 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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/
H A Drtl.def608 /* Conversions involving fractional fixed-point types without saturation,
610 fractional to fractional (of different precision),
611 signed integer to fractional,
612 fractional to signed integer,
613 floating point to fractional,
614 fractional to floating point.
615 NOTE: fractional can be either signed or unsigned for conversions. */
618 /* Conversions involving fractional fixed-point types and unsigned integer
620 unsigned integer to fractional,
621 fractional to unsigned integer.
[all …]
H A Dmode-classes.def25 DEF_MODE_CLASS (MODE_FRACT), /* signed fractional number */ \
26 DEF_MODE_CLASS (MODE_UFRACT), /* unsigned fractional number */ \
H A Dmachmode.def103 with FBIT fractional bits. There may be padding bits.
107 with FBIT fractional bits. There may be padding bits.
111 with IBIT integral bits and FBIT fractional bits.
116 with IBIT integral bits and FBIT fractional bits.
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/
H A Drtl.def608 /* Conversions involving fractional fixed-point types without saturation,
610 fractional to fractional (of different precision),
611 signed integer to fractional,
612 fractional to signed integer,
613 floating point to fractional,
614 fractional to floating point.
615 NOTE: fractional can be either signed or unsigned for conversions. */
618 /* Conversions involving fractional fixed-point types and unsigned integer
620 unsigned integer to fractional,
621 fractional to unsigned integer.
[all …]
H A Dmode-classes.def25 DEF_MODE_CLASS (MODE_FRACT), /* signed fractional number */ \
26 DEF_MODE_CLASS (MODE_UFRACT), /* unsigned fractional number */ \
H A Dmachmode.def103 with FBIT fractional bits. There may be padding bits.
107 with FBIT fractional bits. There may be padding bits.
111 with IBIT integral bits and FBIT fractional bits.
116 with IBIT integral bits and FBIT fractional bits.
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/touchscreen/
H A Dstmpe.txt31 - st,fraction-z : Length of the fractional part in z (recommended is 7)
32 (fraction-z ([0..7]) = Count of the fractional part)
97 /* 7 length fractional part in z */
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/kernel/drivers/staging/clocking-wizard/
H A DTODO2 - support for fractional multiplier
3 - support for fractional divider (output 0 only)
/OK3568_Linux_fs/kernel/drivers/clk/spear/
H A Dclk-frac-synth.c9 * Fractional Synthesizer clock implementation
23 * DOC: Fractional Synthesizer clock
29 * 0-13 (fractional part)
/OK3568_Linux_fs/kernel/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) */
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/light/
H A Dus5182d.txt15 fractional bits - Q4.4) applied when light > threshold
18 fractional bits - Q4.4) applied when light < threshold
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_pll.c33 * amdgpu_pll_reduce_ratio - fractional number reduction
107 * frac_fb_div_p: fractional part of the feedback divider
185 /* represent the searched ratio as fractional number */ in amdgpu_pll_compute()
223 /* avoid high jitter with small fractional dividers */ in amdgpu_pll_compute()
/OK3568_Linux_fs/u-boot/arch/arm/cpu/arm926ejs/mxs/
H A Dspl_mem_init.c147 /* Fractional divider for ref_emi is 33 ; 480 * 18 / 33 = 266MHz */ in mxs_mem_init_clock()
150 /* Fractional divider for ref_emi is 21 ; 480 * 18 / 21 = 411MHz */ in mxs_mem_init_clock()
160 /* Set fractional divider for ref_emi */ in mxs_mem_init_clock()
190 /* Set fractional divider for ref_cpu to 480 * 18 / 19 = 454MHz in mxs_mem_setup_cpu_and_hbus()
/OK3568_Linux_fs/kernel/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 */
/OK3568_Linux_fs/kernel/include/linux/
H A Daverage.h20 * used for the fractional part of the fixed-precision values.
38 * some bits for the non-fractional part... \

12345678910>>...24